aurora-scheduler / australis

Aurora Scheduler client written in Go
Apache License 2.0
6 stars 10 forks source link

given a task status, list all tasks that have that status in the cluster #35

Closed lawwong1 closed 2 years ago

lawwong1 commented 2 years ago

https://github.com/aurora-scheduler/australis/issues/31

lawwong1 commented 2 years ago

@lawwong1 : make sure users have to enter status. And, Could you please test the following cases or share results if you did.

  1. users enter env but no role --> invalid input
  2. users enter name but no role or no env --> invalid input
  3. users do not enter role, env, and name --> print out all tasks in the clusters (may be expensive but its useful at debug time)
  4. users enter role but no env & name --> print out all tasks under that role (may be expensive but its useful at debug time)
  5. users enter role & env but no name --> print out all tasks under that role-env (may be expensive but its useful at debug time)
  6. users enter role & env & name --> print out all tasks under that job

Done in latest commit

lawwong1 commented 2 years ago

Re-open pull request