open-nomad/api/contexts/contexts.go

16 lines
379 B
Go
Raw Normal View History

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 (
2017-08-22 20:05:24 +00:00
Allocs Context = "allocs"
Deployments Context = "deployment"
Evals Context = "evals"
Jobs Context = "jobs"
Nodes Context = "nodes"
2017-09-07 23:56:15 +00:00
Namespaces Context = "namespaces"
2017-10-13 21:36:02 +00:00
Quotas Context = "quotas"
2017-08-26 00:04:23 +00:00
All Context = "all"
2017-08-11 13:33:00 +00:00
)