1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-10-17 08:40:54 +00:00

support for job and node tags

This commit is contained in:
Oliver Giles
2015-09-24 22:02:11 +02:00
parent 79c3ee5fcb
commit 0df97e95fd
6 changed files with 72 additions and 31 deletions

View File

@@ -16,10 +16,11 @@
/// You should have received a copy of the GNU General Public License
/// along with Laminar. If not, see <http://www.gnu.org/licenses/>
///
#ifndef NODE_H
#define NODE_H
#ifndef _LAMINAR_NODE_H_
#define _LAMINAR_NODE_H_
#include <string>
#include <set>
class Run;
@@ -32,10 +33,11 @@ public:
std::string name;
int numExecutors;
int busyExecutors = 0;
std::set<std::string> tags;
// Attempts to queue the given run to this node. Returns true if succeeded.
bool queue(const Run& run);
};
#endif // NODE_H
#endif // _LAMINAR_NODE_H_