open-nomad/api/contexts/contexts.go
Alex Dadgar c1cc51dbee sync
2017-10-13 14:36:02 -07:00

16 lines
379 B
Go

package contexts
// Context defines the scope in which a search for Nomad object operates
type Context string
const (
Allocs Context = "allocs"
Deployments Context = "deployment"
Evals Context = "evals"
Jobs Context = "jobs"
Nodes Context = "nodes"
Namespaces Context = "namespaces"
Quotas Context = "quotas"
All Context = "all"
)