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

Pluggable task id resolution #21

Open
grampelberg opened this issue Sep 3, 2014 · 0 comments
Open

Pluggable task id resolution #21

grampelberg opened this issue Sep 3, 2014 · 0 comments

Comments

@grampelberg
Copy link
Contributor

Currently, task id resolution is task id -> task id. For frameworks that use alternative ways to look up tasks, this makes it difficult to use the CLI.

So, the proposed solution is to add a configuration variable "task_id_resolution = []". This takes a list of python functions. The function will take a string and returns a list of task ids.

An example use case of this is marathon. You would be able to look up tasks based off marathon constraints (for example). If you had a constraint defined, instead of mesos tail task-id, you could now do mesos tail constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant