Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workers and Gangs both have criteria which governs whether they run or just pass through #4

Open
joelhelbling opened this issue Mar 15, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@joelhelbling
Copy link
Owner

The criteria are basically just a series of callables which accept the target entity (gang or worker) and evaluate truthiness to determine whether to operate on incoming values or simply pass them through untouched.

@joelhelbling joelhelbling added the enhancement New feature or request label Mar 15, 2019
@joelhelbling
Copy link
Owner Author

That's a seriously powerful way to do this, but ultimately they'd likely end up looking at the worker's tags I think...couldn't run criteria be done as a series of hash-like matchers? e.g.

[
  { tags_any: 'foo' },
  { tags_none: /bar/ }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant