Documentation
¶
Index ¶
- Constants
- func IntToPtr(i int) *int
- func NewAllocations(action structs.Action, client *api.Client, query *api.QueryOptions) *allocations
- func NewDeployments(action structs.Action, client *api.Client, query *api.QueryOptions) *deployments
- func NewForceEvaluate(action structs.Action, client *api.Client) *forceEvaluate
- func NewInfo(action structs.Action, client *api.Client, query *api.QueryOptions) *info
- func NewList(action structs.Action, client *api.Client, query *api.QueryOptions) *list
- func NewPeriodicForce(action structs.Action, client *api.Client) *periodicForce
- func NewScale(action structs.Action, client *api.Client) *scale
- func NewStop(action structs.Action, client *api.Client) *stop
- func NewSubmit(action structs.Action, client *api.Client, cfg *config.Config) *submit
- func NewVersions(action structs.Action, client *api.Client, query *api.QueryOptions) *versions
- func PtrToInt(i *int) int
Constants ¶
View Source
const ( WatchAllocations = "NOMAD_WATCH_JOB_ALLOCATIONS" UnwatchAllocations = "NOMAD_UNWATCH_JOB_ALLOCATIONS" )
View Source
const ( WatchDeployments = "NOMAD_WATCH_JOB_DEPLOYMENTS" UnwatchDeployments = "NOMAD_UNWATCH_JOB_DEPLOYMENTS" )
View Source
const ( WatchInfo = "NOMAD_WATCH_JOB" UnwatchInfo = "NOMAD_UNWATCH_JOB" )
View Source
const ( UnwatchList = "NOMAD_UNWATCH_JOBS" UnwatchListFiltered = "NOMAD_UNWATCH_JOBS_FILTERED" WatchList = "NOMAD_WATCH_JOBS" WatchListFiltered = "NOMAD_WATCH_JOBS_FILTERED" )
View Source
const ( WatchVersions = "NOMAD_WATCH_JOB_VERSIONS" UnwatchVersions = "NOMAD_UNWATCH_JOB_VERSIONS" )
View Source
const (
ForceEvaluate = "NOMAD_EVALUATE_JOB"
)
View Source
const (
PeriodicForce = "NOMAD_FORCE_PERIODIC_RUN"
)
View Source
const (
Scale = "NOMAD_CHANGE_TASK_GROUP_COUNT"
)
View Source
const (
Stop = "NOMAD_STOP_JOB"
)
View Source
const (
Submit = "NOMAD_SUBMIT_JOB"
)
Variables ¶
This section is empty.
Functions ¶
func NewAllocations ¶
func NewDeployments ¶
func NewForceEvaluate ¶
func NewPeriodicForce ¶
func NewVersions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.