2017-08-11 13:33:00 +00:00
|
|
|
package contexts
|
|
|
|
|
2017-08-14 13:34:31 +00:00
|
|
|
// Context defines the scope in which a search for Nomad object operates
|
2017-08-11 13:33:00 +00:00
|
|
|
type Context string
|
|
|
|
|
|
|
|
const (
|
2020-11-11 10:29:42 +00:00
|
|
|
Allocs Context = "allocs"
|
|
|
|
Deployments Context = "deployment"
|
|
|
|
Evals Context = "evals"
|
|
|
|
Jobs Context = "jobs"
|
|
|
|
Nodes Context = "nodes"
|
|
|
|
Namespaces Context = "namespaces"
|
|
|
|
Quotas Context = "quotas"
|
|
|
|
Recommendations Context = "recommendations"
|
|
|
|
Plugins Context = "plugins"
|
|
|
|
Volumes Context = "volumes"
|
|
|
|
All Context = "all"
|
2017-08-11 13:33:00 +00:00
|
|
|
)
|