Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Affinity
- func (o *Affinity) GetLTarget() string
- func (o *Affinity) GetLTargetOk() (*string, bool)
- func (o *Affinity) GetOperand() string
- func (o *Affinity) GetOperandOk() (*string, bool)
- func (o *Affinity) GetRTarget() string
- func (o *Affinity) GetRTargetOk() (*string, bool)
- func (o *Affinity) GetWeight() int32
- func (o *Affinity) GetWeightOk() (*int32, bool)
- func (o *Affinity) HasLTarget() bool
- func (o *Affinity) HasOperand() bool
- func (o *Affinity) HasRTarget() bool
- func (o *Affinity) HasWeight() bool
- func (o Affinity) MarshalJSON() ([]byte, error)
- func (o *Affinity) SetLTarget(v string)
- func (o *Affinity) SetOperand(v string)
- func (o *Affinity) SetRTarget(v string)
- func (o *Affinity) SetWeight(v int32)
- type AllocDeploymentStatus
- func (o *AllocDeploymentStatus) GetCanary() bool
- func (o *AllocDeploymentStatus) GetCanaryOk() (*bool, bool)
- func (o *AllocDeploymentStatus) GetHealthy() bool
- func (o *AllocDeploymentStatus) GetHealthyOk() (*bool, bool)
- func (o *AllocDeploymentStatus) GetModifyIndex() int32
- func (o *AllocDeploymentStatus) GetModifyIndexOk() (*int32, bool)
- func (o *AllocDeploymentStatus) GetTimestamp() time.Time
- func (o *AllocDeploymentStatus) GetTimestampOk() (*time.Time, bool)
- func (o *AllocDeploymentStatus) HasCanary() bool
- func (o *AllocDeploymentStatus) HasHealthy() bool
- func (o *AllocDeploymentStatus) HasModifyIndex() bool
- func (o *AllocDeploymentStatus) HasTimestamp() bool
- func (o AllocDeploymentStatus) MarshalJSON() ([]byte, error)
- func (o *AllocDeploymentStatus) SetCanary(v bool)
- func (o *AllocDeploymentStatus) SetHealthy(v bool)
- func (o *AllocDeploymentStatus) SetModifyIndex(v int32)
- func (o *AllocDeploymentStatus) SetTimestamp(v time.Time)
- type AllocListStub
- func (o *AllocListStub) GetAllocatedResources() AllocatedResources
- func (o *AllocListStub) GetAllocatedResourcesOk() (*AllocatedResources, bool)
- func (o *AllocListStub) GetClientDescription() string
- func (o *AllocListStub) GetClientDescriptionOk() (*string, bool)
- func (o *AllocListStub) GetClientStatus() string
- func (o *AllocListStub) GetClientStatusOk() (*string, bool)
- func (o *AllocListStub) GetCreateIndex() int32
- func (o *AllocListStub) GetCreateIndexOk() (*int32, bool)
- func (o *AllocListStub) GetCreateTime() int64
- func (o *AllocListStub) GetCreateTimeOk() (*int64, bool)
- func (o *AllocListStub) GetDeploymentStatus() AllocDeploymentStatus
- func (o *AllocListStub) GetDeploymentStatusOk() (*AllocDeploymentStatus, bool)
- func (o *AllocListStub) GetDesiredDescription() string
- func (o *AllocListStub) GetDesiredDescriptionOk() (*string, bool)
- func (o *AllocListStub) GetDesiredStatus() string
- func (o *AllocListStub) GetDesiredStatusOk() (*string, bool)
- func (o *AllocListStub) GetDesiredTransition() DesiredTransition
- func (o *AllocListStub) GetDesiredTransitionOk() (*DesiredTransition, bool)
- func (o *AllocListStub) GetEvalID() string
- func (o *AllocListStub) GetEvalIDOk() (*string, bool)
- func (o *AllocListStub) GetFollowupEvalID() string
- func (o *AllocListStub) GetFollowupEvalIDOk() (*string, bool)
- func (o *AllocListStub) GetID() string
- func (o *AllocListStub) GetIDOk() (*string, bool)
- func (o *AllocListStub) GetJobID() string
- func (o *AllocListStub) GetJobIDOk() (*string, bool)
- func (o *AllocListStub) GetJobType() string
- func (o *AllocListStub) GetJobTypeOk() (*string, bool)
- func (o *AllocListStub) GetJobVersion() int32
- func (o *AllocListStub) GetJobVersionOk() (*int32, bool)
- func (o *AllocListStub) GetModifyIndex() int32
- func (o *AllocListStub) GetModifyIndexOk() (*int32, bool)
- func (o *AllocListStub) GetModifyTime() int64
- func (o *AllocListStub) GetModifyTimeOk() (*int64, bool)
- func (o *AllocListStub) GetName() string
- func (o *AllocListStub) GetNameOk() (*string, bool)
- func (o *AllocListStub) GetNamespace() string
- func (o *AllocListStub) GetNamespaceOk() (*string, bool)
- func (o *AllocListStub) GetNodeID() string
- func (o *AllocListStub) GetNodeIDOk() (*string, bool)
- func (o *AllocListStub) GetNodeName() string
- func (o *AllocListStub) GetNodeNameOk() (*string, bool)
- func (o *AllocListStub) GetPreemptedAllocations() []string
- func (o *AllocListStub) GetPreemptedAllocationsOk() (*[]string, bool)
- func (o *AllocListStub) GetPreemptedByAllocation() string
- func (o *AllocListStub) GetPreemptedByAllocationOk() (*string, bool)
- func (o *AllocListStub) GetRescheduleTracker() RescheduleTracker
- func (o *AllocListStub) GetRescheduleTrackerOk() (*RescheduleTracker, bool)
- func (o *AllocListStub) GetTaskGroup() string
- func (o *AllocListStub) GetTaskGroupOk() (*string, bool)
- func (o *AllocListStub) GetTaskStates() map[string]TaskState
- func (o *AllocListStub) GetTaskStatesOk() (*map[string]TaskState, bool)
- func (o *AllocListStub) HasAllocatedResources() bool
- func (o *AllocListStub) HasClientDescription() bool
- func (o *AllocListStub) HasClientStatus() bool
- func (o *AllocListStub) HasCreateIndex() bool
- func (o *AllocListStub) HasCreateTime() bool
- func (o *AllocListStub) HasDeploymentStatus() bool
- func (o *AllocListStub) HasDesiredDescription() bool
- func (o *AllocListStub) HasDesiredStatus() bool
- func (o *AllocListStub) HasDesiredTransition() bool
- func (o *AllocListStub) HasEvalID() bool
- func (o *AllocListStub) HasFollowupEvalID() bool
- func (o *AllocListStub) HasID() bool
- func (o *AllocListStub) HasJobID() bool
- func (o *AllocListStub) HasJobType() bool
- func (o *AllocListStub) HasJobVersion() bool
- func (o *AllocListStub) HasModifyIndex() bool
- func (o *AllocListStub) HasModifyTime() bool
- func (o *AllocListStub) HasName() bool
- func (o *AllocListStub) HasNamespace() bool
- func (o *AllocListStub) HasNodeID() bool
- func (o *AllocListStub) HasNodeName() bool
- func (o *AllocListStub) HasPreemptedAllocations() bool
- func (o *AllocListStub) HasPreemptedByAllocation() bool
- func (o *AllocListStub) HasRescheduleTracker() bool
- func (o *AllocListStub) HasTaskGroup() bool
- func (o *AllocListStub) HasTaskStates() bool
- func (o AllocListStub) MarshalJSON() ([]byte, error)
- func (o *AllocListStub) SetAllocatedResources(v AllocatedResources)
- func (o *AllocListStub) SetClientDescription(v string)
- func (o *AllocListStub) SetClientStatus(v string)
- func (o *AllocListStub) SetCreateIndex(v int32)
- func (o *AllocListStub) SetCreateTime(v int64)
- func (o *AllocListStub) SetDeploymentStatus(v AllocDeploymentStatus)
- func (o *AllocListStub) SetDesiredDescription(v string)
- func (o *AllocListStub) SetDesiredStatus(v string)
- func (o *AllocListStub) SetDesiredTransition(v DesiredTransition)
- func (o *AllocListStub) SetEvalID(v string)
- func (o *AllocListStub) SetFollowupEvalID(v string)
- func (o *AllocListStub) SetID(v string)
- func (o *AllocListStub) SetJobID(v string)
- func (o *AllocListStub) SetJobType(v string)
- func (o *AllocListStub) SetJobVersion(v int32)
- func (o *AllocListStub) SetModifyIndex(v int32)
- func (o *AllocListStub) SetModifyTime(v int64)
- func (o *AllocListStub) SetName(v string)
- func (o *AllocListStub) SetNamespace(v string)
- func (o *AllocListStub) SetNodeID(v string)
- func (o *AllocListStub) SetNodeName(v string)
- func (o *AllocListStub) SetPreemptedAllocations(v []string)
- func (o *AllocListStub) SetPreemptedByAllocation(v string)
- func (o *AllocListStub) SetRescheduleTracker(v RescheduleTracker)
- func (o *AllocListStub) SetTaskGroup(v string)
- func (o *AllocListStub) SetTaskStates(v map[string]TaskState)
- type AllocatedCpuResources
- func (o *AllocatedCpuResources) GetCpuShares() int64
- func (o *AllocatedCpuResources) GetCpuSharesOk() (*int64, bool)
- func (o *AllocatedCpuResources) GetReservedCores() []int32
- func (o *AllocatedCpuResources) GetReservedCoresOk() (*[]int32, bool)
- func (o *AllocatedCpuResources) HasCpuShares() bool
- func (o *AllocatedCpuResources) HasReservedCores() bool
- func (o AllocatedCpuResources) MarshalJSON() ([]byte, error)
- func (o *AllocatedCpuResources) SetCpuShares(v int64)
- func (o *AllocatedCpuResources) SetReservedCores(v []int32)
- type AllocatedDeviceResource
- func (o *AllocatedDeviceResource) GetDeviceIDs() []string
- func (o *AllocatedDeviceResource) GetDeviceIDsOk() (*[]string, bool)
- func (o *AllocatedDeviceResource) GetName() string
- func (o *AllocatedDeviceResource) GetNameOk() (*string, bool)
- func (o *AllocatedDeviceResource) GetType() string
- func (o *AllocatedDeviceResource) GetTypeOk() (*string, bool)
- func (o *AllocatedDeviceResource) GetVendor() string
- func (o *AllocatedDeviceResource) GetVendorOk() (*string, bool)
- func (o *AllocatedDeviceResource) HasDeviceIDs() bool
- func (o *AllocatedDeviceResource) HasName() bool
- func (o *AllocatedDeviceResource) HasType() bool
- func (o *AllocatedDeviceResource) HasVendor() bool
- func (o AllocatedDeviceResource) MarshalJSON() ([]byte, error)
- func (o *AllocatedDeviceResource) SetDeviceIDs(v []string)
- func (o *AllocatedDeviceResource) SetName(v string)
- func (o *AllocatedDeviceResource) SetType(v string)
- func (o *AllocatedDeviceResource) SetVendor(v string)
- type AllocatedMemoryResources
- func (o *AllocatedMemoryResources) GetMemoryMB() int64
- func (o *AllocatedMemoryResources) GetMemoryMBOk() (*int64, bool)
- func (o *AllocatedMemoryResources) GetMemoryMaxMB() int64
- func (o *AllocatedMemoryResources) GetMemoryMaxMBOk() (*int64, bool)
- func (o *AllocatedMemoryResources) HasMemoryMB() bool
- func (o *AllocatedMemoryResources) HasMemoryMaxMB() bool
- func (o AllocatedMemoryResources) MarshalJSON() ([]byte, error)
- func (o *AllocatedMemoryResources) SetMemoryMB(v int64)
- func (o *AllocatedMemoryResources) SetMemoryMaxMB(v int64)
- type AllocatedPortMapping
- func (o *AllocatedPortMapping) GetHostIP() string
- func (o *AllocatedPortMapping) GetHostIPOk() (*string, bool)
- func (o *AllocatedPortMapping) GetLabel() string
- func (o *AllocatedPortMapping) GetLabelOk() (*string, bool)
- func (o *AllocatedPortMapping) GetTo() int64
- func (o *AllocatedPortMapping) GetToOk() (*int64, bool)
- func (o *AllocatedPortMapping) GetValue() int64
- func (o *AllocatedPortMapping) GetValueOk() (*int64, bool)
- func (o *AllocatedPortMapping) HasHostIP() bool
- func (o *AllocatedPortMapping) HasLabel() bool
- func (o *AllocatedPortMapping) HasTo() bool
- func (o *AllocatedPortMapping) HasValue() bool
- func (o AllocatedPortMapping) MarshalJSON() ([]byte, error)
- func (o *AllocatedPortMapping) SetHostIP(v string)
- func (o *AllocatedPortMapping) SetLabel(v string)
- func (o *AllocatedPortMapping) SetTo(v int64)
- func (o *AllocatedPortMapping) SetValue(v int64)
- type AllocatedResources
- func (o *AllocatedResources) GetShared() AllocatedSharedResources
- func (o *AllocatedResources) GetSharedOk() (*AllocatedSharedResources, bool)
- func (o *AllocatedResources) GetTaskLifecycles() map[string]TaskLifecycleConfig
- func (o *AllocatedResources) GetTaskLifecyclesOk() (*map[string]TaskLifecycleConfig, bool)
- func (o *AllocatedResources) GetTasks() map[string]AllocatedTaskResources
- func (o *AllocatedResources) GetTasksOk() (*map[string]AllocatedTaskResources, bool)
- func (o *AllocatedResources) HasShared() bool
- func (o *AllocatedResources) HasTaskLifecycles() bool
- func (o *AllocatedResources) HasTasks() bool
- func (o AllocatedResources) MarshalJSON() ([]byte, error)
- func (o *AllocatedResources) SetShared(v AllocatedSharedResources)
- func (o *AllocatedResources) SetTaskLifecycles(v map[string]TaskLifecycleConfig)
- func (o *AllocatedResources) SetTasks(v map[string]AllocatedTaskResources)
- type AllocatedSharedResources
- func (o *AllocatedSharedResources) GetDiskMB() int64
- func (o *AllocatedSharedResources) GetDiskMBOk() (*int64, bool)
- func (o *AllocatedSharedResources) GetNetworks() []NetworkResource
- func (o *AllocatedSharedResources) GetNetworksOk() (*[]NetworkResource, bool)
- func (o *AllocatedSharedResources) GetPorts() []AllocatedPortMapping
- func (o *AllocatedSharedResources) GetPortsOk() (*[]AllocatedPortMapping, bool)
- func (o *AllocatedSharedResources) HasDiskMB() bool
- func (o *AllocatedSharedResources) HasNetworks() bool
- func (o *AllocatedSharedResources) HasPorts() bool
- func (o AllocatedSharedResources) MarshalJSON() ([]byte, error)
- func (o *AllocatedSharedResources) SetDiskMB(v int64)
- func (o *AllocatedSharedResources) SetNetworks(v []NetworkResource)
- func (o *AllocatedSharedResources) SetPorts(v []AllocatedPortMapping)
- type AllocatedTaskResources
- func (o *AllocatedTaskResources) GetCpu() AllocatedCpuResources
- func (o *AllocatedTaskResources) GetCpuOk() (*AllocatedCpuResources, bool)
- func (o *AllocatedTaskResources) GetDevices() []AllocatedDeviceResource
- func (o *AllocatedTaskResources) GetDevicesOk() (*[]AllocatedDeviceResource, bool)
- func (o *AllocatedTaskResources) GetMemory() AllocatedMemoryResources
- func (o *AllocatedTaskResources) GetMemoryOk() (*AllocatedMemoryResources, bool)
- func (o *AllocatedTaskResources) GetNetworks() []NetworkResource
- func (o *AllocatedTaskResources) GetNetworksOk() (*[]NetworkResource, bool)
- func (o *AllocatedTaskResources) HasCpu() bool
- func (o *AllocatedTaskResources) HasDevices() bool
- func (o *AllocatedTaskResources) HasMemory() bool
- func (o *AllocatedTaskResources) HasNetworks() bool
- func (o AllocatedTaskResources) MarshalJSON() ([]byte, error)
- func (o *AllocatedTaskResources) SetCpu(v AllocatedCpuResources)
- func (o *AllocatedTaskResources) SetDevices(v []AllocatedDeviceResource)
- func (o *AllocatedTaskResources) SetMemory(v AllocatedMemoryResources)
- func (o *AllocatedTaskResources) SetNetworks(v []NetworkResource)
- type AllocationListStub
- func (o *AllocationListStub) GetAllocatedResources() AllocatedResources
- func (o *AllocationListStub) GetAllocatedResourcesOk() (*AllocatedResources, bool)
- func (o *AllocationListStub) GetClientDescription() string
- func (o *AllocationListStub) GetClientDescriptionOk() (*string, bool)
- func (o *AllocationListStub) GetClientStatus() string
- func (o *AllocationListStub) GetClientStatusOk() (*string, bool)
- func (o *AllocationListStub) GetCreateIndex() int32
- func (o *AllocationListStub) GetCreateIndexOk() (*int32, bool)
- func (o *AllocationListStub) GetCreateTime() int64
- func (o *AllocationListStub) GetCreateTimeOk() (*int64, bool)
- func (o *AllocationListStub) GetDeploymentStatus() AllocDeploymentStatus
- func (o *AllocationListStub) GetDeploymentStatusOk() (*AllocDeploymentStatus, bool)
- func (o *AllocationListStub) GetDesiredDescription() string
- func (o *AllocationListStub) GetDesiredDescriptionOk() (*string, bool)
- func (o *AllocationListStub) GetDesiredStatus() string
- func (o *AllocationListStub) GetDesiredStatusOk() (*string, bool)
- func (o *AllocationListStub) GetEvalID() string
- func (o *AllocationListStub) GetEvalIDOk() (*string, bool)
- func (o *AllocationListStub) GetFollowupEvalID() string
- func (o *AllocationListStub) GetFollowupEvalIDOk() (*string, bool)
- func (o *AllocationListStub) GetID() string
- func (o *AllocationListStub) GetIDOk() (*string, bool)
- func (o *AllocationListStub) GetJobID() string
- func (o *AllocationListStub) GetJobIDOk() (*string, bool)
- func (o *AllocationListStub) GetJobType() string
- func (o *AllocationListStub) GetJobTypeOk() (*string, bool)
- func (o *AllocationListStub) GetJobVersion() int32
- func (o *AllocationListStub) GetJobVersionOk() (*int32, bool)
- func (o *AllocationListStub) GetModifyIndex() int32
- func (o *AllocationListStub) GetModifyIndexOk() (*int32, bool)
- func (o *AllocationListStub) GetModifyTime() int64
- func (o *AllocationListStub) GetModifyTimeOk() (*int64, bool)
- func (o *AllocationListStub) GetName() string
- func (o *AllocationListStub) GetNameOk() (*string, bool)
- func (o *AllocationListStub) GetNamespace() string
- func (o *AllocationListStub) GetNamespaceOk() (*string, bool)
- func (o *AllocationListStub) GetNodeID() string
- func (o *AllocationListStub) GetNodeIDOk() (*string, bool)
- func (o *AllocationListStub) GetNodeName() string
- func (o *AllocationListStub) GetNodeNameOk() (*string, bool)
- func (o *AllocationListStub) GetPreemptedAllocations() []string
- func (o *AllocationListStub) GetPreemptedAllocationsOk() (*[]string, bool)
- func (o *AllocationListStub) GetPreemptedByAllocation() string
- func (o *AllocationListStub) GetPreemptedByAllocationOk() (*string, bool)
- func (o *AllocationListStub) GetRescheduleTracker() RescheduleTracker
- func (o *AllocationListStub) GetRescheduleTrackerOk() (*RescheduleTracker, bool)
- func (o *AllocationListStub) GetTaskGroup() string
- func (o *AllocationListStub) GetTaskGroupOk() (*string, bool)
- func (o *AllocationListStub) GetTaskStates() map[string]TaskState
- func (o *AllocationListStub) GetTaskStatesOk() (*map[string]TaskState, bool)
- func (o *AllocationListStub) HasAllocatedResources() bool
- func (o *AllocationListStub) HasClientDescription() bool
- func (o *AllocationListStub) HasClientStatus() bool
- func (o *AllocationListStub) HasCreateIndex() bool
- func (o *AllocationListStub) HasCreateTime() bool
- func (o *AllocationListStub) HasDeploymentStatus() bool
- func (o *AllocationListStub) HasDesiredDescription() bool
- func (o *AllocationListStub) HasDesiredStatus() bool
- func (o *AllocationListStub) HasEvalID() bool
- func (o *AllocationListStub) HasFollowupEvalID() bool
- func (o *AllocationListStub) HasID() bool
- func (o *AllocationListStub) HasJobID() bool
- func (o *AllocationListStub) HasJobType() bool
- func (o *AllocationListStub) HasJobVersion() bool
- func (o *AllocationListStub) HasModifyIndex() bool
- func (o *AllocationListStub) HasModifyTime() bool
- func (o *AllocationListStub) HasName() bool
- func (o *AllocationListStub) HasNamespace() bool
- func (o *AllocationListStub) HasNodeID() bool
- func (o *AllocationListStub) HasNodeName() bool
- func (o *AllocationListStub) HasPreemptedAllocations() bool
- func (o *AllocationListStub) HasPreemptedByAllocation() bool
- func (o *AllocationListStub) HasRescheduleTracker() bool
- func (o *AllocationListStub) HasTaskGroup() bool
- func (o *AllocationListStub) HasTaskStates() bool
- func (o AllocationListStub) MarshalJSON() ([]byte, error)
- func (o *AllocationListStub) SetAllocatedResources(v AllocatedResources)
- func (o *AllocationListStub) SetClientDescription(v string)
- func (o *AllocationListStub) SetClientStatus(v string)
- func (o *AllocationListStub) SetCreateIndex(v int32)
- func (o *AllocationListStub) SetCreateTime(v int64)
- func (o *AllocationListStub) SetDeploymentStatus(v AllocDeploymentStatus)
- func (o *AllocationListStub) SetDesiredDescription(v string)
- func (o *AllocationListStub) SetDesiredStatus(v string)
- func (o *AllocationListStub) SetEvalID(v string)
- func (o *AllocationListStub) SetFollowupEvalID(v string)
- func (o *AllocationListStub) SetID(v string)
- func (o *AllocationListStub) SetJobID(v string)
- func (o *AllocationListStub) SetJobType(v string)
- func (o *AllocationListStub) SetJobVersion(v int32)
- func (o *AllocationListStub) SetModifyIndex(v int32)
- func (o *AllocationListStub) SetModifyTime(v int64)
- func (o *AllocationListStub) SetName(v string)
- func (o *AllocationListStub) SetNamespace(v string)
- func (o *AllocationListStub) SetNodeID(v string)
- func (o *AllocationListStub) SetNodeName(v string)
- func (o *AllocationListStub) SetPreemptedAllocations(v []string)
- func (o *AllocationListStub) SetPreemptedByAllocation(v string)
- func (o *AllocationListStub) SetRescheduleTracker(v RescheduleTracker)
- func (o *AllocationListStub) SetTaskGroup(v string)
- func (o *AllocationListStub) SetTaskStates(v map[string]TaskState)
- type AllocationMetric
- func (o *AllocationMetric) GetAllocationTime() int64
- func (o *AllocationMetric) GetAllocationTimeOk() (*int64, bool)
- func (o *AllocationMetric) GetClassExhausted() map[string]int64
- func (o *AllocationMetric) GetClassExhaustedOk() (*map[string]int64, bool)
- func (o *AllocationMetric) GetClassFiltered() map[string]int64
- func (o *AllocationMetric) GetClassFilteredOk() (*map[string]int64, bool)
- func (o *AllocationMetric) GetCoalescedFailures() int64
- func (o *AllocationMetric) GetCoalescedFailuresOk() (*int64, bool)
- func (o *AllocationMetric) GetConstraintFiltered() map[string]int64
- func (o *AllocationMetric) GetConstraintFilteredOk() (*map[string]int64, bool)
- func (o *AllocationMetric) GetDimensionExhausted() map[string]int64
- func (o *AllocationMetric) GetDimensionExhaustedOk() (*map[string]int64, bool)
- func (o *AllocationMetric) GetNodesAvailable() map[string]int64
- func (o *AllocationMetric) GetNodesAvailableOk() (*map[string]int64, bool)
- func (o *AllocationMetric) GetNodesEvaluated() int64
- func (o *AllocationMetric) GetNodesEvaluatedOk() (*int64, bool)
- func (o *AllocationMetric) GetNodesExhausted() int64
- func (o *AllocationMetric) GetNodesExhaustedOk() (*int64, bool)
- func (o *AllocationMetric) GetNodesFiltered() int64
- func (o *AllocationMetric) GetNodesFilteredOk() (*int64, bool)
- func (o *AllocationMetric) GetQuotaExhausted() []string
- func (o *AllocationMetric) GetQuotaExhaustedOk() (*[]string, bool)
- func (o *AllocationMetric) GetResourcesExhausted() map[string]Resources
- func (o *AllocationMetric) GetResourcesExhaustedOk() (*map[string]Resources, bool)
- func (o *AllocationMetric) GetScoreMetaData() []NodeScoreMeta
- func (o *AllocationMetric) GetScoreMetaDataOk() (*[]NodeScoreMeta, bool)
- func (o *AllocationMetric) GetScores() map[string]float64
- func (o *AllocationMetric) GetScoresOk() (*map[string]float64, bool)
- func (o *AllocationMetric) HasAllocationTime() bool
- func (o *AllocationMetric) HasClassExhausted() bool
- func (o *AllocationMetric) HasClassFiltered() bool
- func (o *AllocationMetric) HasCoalescedFailures() bool
- func (o *AllocationMetric) HasConstraintFiltered() bool
- func (o *AllocationMetric) HasDimensionExhausted() bool
- func (o *AllocationMetric) HasNodesAvailable() bool
- func (o *AllocationMetric) HasNodesEvaluated() bool
- func (o *AllocationMetric) HasNodesExhausted() bool
- func (o *AllocationMetric) HasNodesFiltered() bool
- func (o *AllocationMetric) HasQuotaExhausted() bool
- func (o *AllocationMetric) HasResourcesExhausted() bool
- func (o *AllocationMetric) HasScoreMetaData() bool
- func (o *AllocationMetric) HasScores() bool
- func (o AllocationMetric) MarshalJSON() ([]byte, error)
- func (o *AllocationMetric) SetAllocationTime(v int64)
- func (o *AllocationMetric) SetClassExhausted(v map[string]int64)
- func (o *AllocationMetric) SetClassFiltered(v map[string]int64)
- func (o *AllocationMetric) SetCoalescedFailures(v int64)
- func (o *AllocationMetric) SetConstraintFiltered(v map[string]int64)
- func (o *AllocationMetric) SetDimensionExhausted(v map[string]int64)
- func (o *AllocationMetric) SetNodesAvailable(v map[string]int64)
- func (o *AllocationMetric) SetNodesEvaluated(v int64)
- func (o *AllocationMetric) SetNodesExhausted(v int64)
- func (o *AllocationMetric) SetNodesFiltered(v int64)
- func (o *AllocationMetric) SetQuotaExhausted(v []string)
- func (o *AllocationMetric) SetResourcesExhausted(v map[string]Resources)
- func (o *AllocationMetric) SetScoreMetaData(v []NodeScoreMeta)
- func (o *AllocationMetric) SetScores(v map[string]float64)
- type ApiEvaluateJobRequest
- type ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) All(all int32) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) Execute() ([]AllocListStub, *_nethttp.Response, error)
- func (r ApiGetJobAllocationsRequest) Namespace(namespace string) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) NextToken(nextToken string) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) PerPage(perPage int32) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) Prefix(prefix string) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) Region(region string) ApiGetJobAllocationsRequest
- func (r ApiGetJobAllocationsRequest) Stale(stale string) ApiGetJobAllocationsRequest
- type ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) Execute() ([]Evaluation, *_nethttp.Response, error)
- func (r ApiGetJobEvaluationsRequest) Namespace(namespace string) ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) NextToken(nextToken string) ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) PerPage(perPage int32) ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) Prefix(prefix string) ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) Region(region string) ApiGetJobEvaluationsRequest
- func (r ApiGetJobEvaluationsRequest) Stale(stale string) ApiGetJobEvaluationsRequest
- type ApiGetJobsRequest
- func (r ApiGetJobsRequest) Execute() ([]JobListStub, *_nethttp.Response, error)
- func (r ApiGetJobsRequest) Namespace(namespace string) ApiGetJobsRequest
- func (r ApiGetJobsRequest) NextToken(nextToken string) ApiGetJobsRequest
- func (r ApiGetJobsRequest) PerPage(perPage int32) ApiGetJobsRequest
- func (r ApiGetJobsRequest) Prefix(prefix string) ApiGetJobsRequest
- func (r ApiGetJobsRequest) Region(region string) ApiGetJobsRequest
- func (r ApiGetJobsRequest) Stale(stale string) ApiGetJobsRequest
- type ApiParseJobSpecRequest
- type ApiPutJobForceRequestRequest
- func (r ApiPutJobForceRequestRequest) Execute() (PeriodicForceResponse, *_nethttp.Response, error)
- func (r ApiPutJobForceRequestRequest) Namespace(namespace string) ApiPutJobForceRequestRequest
- func (r ApiPutJobForceRequestRequest) Region(region string) ApiPutJobForceRequestRequest
- func (r ApiPutJobForceRequestRequest) XNomadToken(xNomadToken string) ApiPutJobForceRequestRequest
- type AuthenticateOKBody
- func (o *AuthenticateOKBody) GetIdentityToken() string
- func (o *AuthenticateOKBody) GetIdentityTokenOk() (*string, bool)
- func (o *AuthenticateOKBody) GetStatus() string
- func (o *AuthenticateOKBody) GetStatusOk() (*string, bool)
- func (o AuthenticateOKBody) MarshalJSON() ([]byte, error)
- func (o *AuthenticateOKBody) SetIdentityToken(v string)
- func (o *AuthenticateOKBody) SetStatus(v string)
- type BasicAuth
- type CSIMountOptions
- func (o *CSIMountOptions) GetFSType() string
- func (o *CSIMountOptions) GetFSTypeOk() (*string, bool)
- func (o *CSIMountOptions) GetMountFlags() []string
- func (o *CSIMountOptions) GetMountFlagsOk() (*[]string, bool)
- func (o *CSIMountOptions) HasFSType() bool
- func (o *CSIMountOptions) HasMountFlags() bool
- func (o CSIMountOptions) MarshalJSON() ([]byte, error)
- func (o *CSIMountOptions) SetFSType(v string)
- func (o *CSIMountOptions) SetMountFlags(v []string)
- type CheckRestart
- func (o *CheckRestart) GetGrace() int64
- func (o *CheckRestart) GetGraceOk() (*int64, bool)
- func (o *CheckRestart) GetIgnoreWarnings() bool
- func (o *CheckRestart) GetIgnoreWarningsOk() (*bool, bool)
- func (o *CheckRestart) GetLimit() int64
- func (o *CheckRestart) GetLimitOk() (*int64, bool)
- func (o *CheckRestart) HasGrace() bool
- func (o *CheckRestart) HasIgnoreWarnings() bool
- func (o *CheckRestart) HasLimit() bool
- func (o CheckRestart) MarshalJSON() ([]byte, error)
- func (o *CheckRestart) SetGrace(v int64)
- func (o *CheckRestart) SetIgnoreWarnings(v bool)
- func (o *CheckRestart) SetLimit(v int64)
- type Configuration
- type Constraint
- func (o *Constraint) GetLTarget() string
- func (o *Constraint) GetLTargetOk() (*string, bool)
- func (o *Constraint) GetOperand() string
- func (o *Constraint) GetOperandOk() (*string, bool)
- func (o *Constraint) GetRTarget() string
- func (o *Constraint) GetRTargetOk() (*string, bool)
- func (o *Constraint) HasLTarget() bool
- func (o *Constraint) HasOperand() bool
- func (o *Constraint) HasRTarget() bool
- func (o Constraint) MarshalJSON() ([]byte, error)
- func (o *Constraint) SetLTarget(v string)
- func (o *Constraint) SetOperand(v string)
- func (o *Constraint) SetRTarget(v string)
- type Consul
- type ConsulConnect
- func (o *ConsulConnect) GetGateway() ConsulGateway
- func (o *ConsulConnect) GetGatewayOk() (*ConsulGateway, bool)
- func (o *ConsulConnect) GetNative() bool
- func (o *ConsulConnect) GetNativeOk() (*bool, bool)
- func (o *ConsulConnect) GetSidecarService() ConsulSidecarService
- func (o *ConsulConnect) GetSidecarServiceOk() (*ConsulSidecarService, bool)
- func (o *ConsulConnect) GetSidecarTask() SidecarTask
- func (o *ConsulConnect) GetSidecarTaskOk() (*SidecarTask, bool)
- func (o *ConsulConnect) HasGateway() bool
- func (o *ConsulConnect) HasNative() bool
- func (o *ConsulConnect) HasSidecarService() bool
- func (o *ConsulConnect) HasSidecarTask() bool
- func (o ConsulConnect) MarshalJSON() ([]byte, error)
- func (o *ConsulConnect) SetGateway(v ConsulGateway)
- func (o *ConsulConnect) SetNative(v bool)
- func (o *ConsulConnect) SetSidecarService(v ConsulSidecarService)
- func (o *ConsulConnect) SetSidecarTask(v SidecarTask)
- type ConsulExposeConfig
- type ConsulExposePath
- func (o *ConsulExposePath) GetListenerPort() string
- func (o *ConsulExposePath) GetListenerPortOk() (*string, bool)
- func (o *ConsulExposePath) GetLocalPathPort() int64
- func (o *ConsulExposePath) GetLocalPathPortOk() (*int64, bool)
- func (o *ConsulExposePath) GetPath() string
- func (o *ConsulExposePath) GetPathOk() (*string, bool)
- func (o *ConsulExposePath) GetProtocol() string
- func (o *ConsulExposePath) GetProtocolOk() (*string, bool)
- func (o *ConsulExposePath) HasListenerPort() bool
- func (o *ConsulExposePath) HasLocalPathPort() bool
- func (o *ConsulExposePath) HasPath() bool
- func (o *ConsulExposePath) HasProtocol() bool
- func (o ConsulExposePath) MarshalJSON() ([]byte, error)
- func (o *ConsulExposePath) SetListenerPort(v string)
- func (o *ConsulExposePath) SetLocalPathPort(v int64)
- func (o *ConsulExposePath) SetPath(v string)
- func (o *ConsulExposePath) SetProtocol(v string)
- type ConsulGateway
- func (o *ConsulGateway) GetIngress() ConsulIngressConfigEntry
- func (o *ConsulGateway) GetIngressOk() (*ConsulIngressConfigEntry, bool)
- func (o *ConsulGateway) GetProxy() ConsulGatewayProxy
- func (o *ConsulGateway) GetProxyOk() (*ConsulGatewayProxy, bool)
- func (o *ConsulGateway) GetTerminating() ConsulTerminatingConfigEntry
- func (o *ConsulGateway) GetTerminatingOk() (*ConsulTerminatingConfigEntry, bool)
- func (o *ConsulGateway) HasIngress() bool
- func (o *ConsulGateway) HasProxy() bool
- func (o *ConsulGateway) HasTerminating() bool
- func (o ConsulGateway) MarshalJSON() ([]byte, error)
- func (o *ConsulGateway) SetIngress(v ConsulIngressConfigEntry)
- func (o *ConsulGateway) SetProxy(v ConsulGatewayProxy)
- func (o *ConsulGateway) SetTerminating(v ConsulTerminatingConfigEntry)
- type ConsulGatewayBindAddress
- func (o *ConsulGatewayBindAddress) GetAddress() string
- func (o *ConsulGatewayBindAddress) GetAddressOk() (*string, bool)
- func (o *ConsulGatewayBindAddress) GetName() string
- func (o *ConsulGatewayBindAddress) GetNameOk() (*string, bool)
- func (o *ConsulGatewayBindAddress) GetPort() int64
- func (o *ConsulGatewayBindAddress) GetPortOk() (*int64, bool)
- func (o *ConsulGatewayBindAddress) HasAddress() bool
- func (o *ConsulGatewayBindAddress) HasName() bool
- func (o *ConsulGatewayBindAddress) HasPort() bool
- func (o ConsulGatewayBindAddress) MarshalJSON() ([]byte, error)
- func (o *ConsulGatewayBindAddress) SetAddress(v string)
- func (o *ConsulGatewayBindAddress) SetName(v string)
- func (o *ConsulGatewayBindAddress) SetPort(v int64)
- type ConsulGatewayProxy
- func (o *ConsulGatewayProxy) GetConfig() map[string]map[string]interface{}
- func (o *ConsulGatewayProxy) GetConfigOk() (*map[string]map[string]interface{}, bool)
- func (o *ConsulGatewayProxy) GetConnectTimeout() int64
- func (o *ConsulGatewayProxy) GetConnectTimeoutOk() (*int64, bool)
- func (o *ConsulGatewayProxy) GetEnvoyDNSDiscoveryType() string
- func (o *ConsulGatewayProxy) GetEnvoyDNSDiscoveryTypeOk() (*string, bool)
- func (o *ConsulGatewayProxy) GetEnvoyGatewayBindAddresses() map[string]ConsulGatewayBindAddress
- func (o *ConsulGatewayProxy) GetEnvoyGatewayBindAddressesOk() (*map[string]ConsulGatewayBindAddress, bool)
- func (o *ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddresses() bool
- func (o *ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddressesOk() (*bool, bool)
- func (o *ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBind() bool
- func (o *ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBindOk() (*bool, bool)
- func (o *ConsulGatewayProxy) HasConfig() bool
- func (o *ConsulGatewayProxy) HasConnectTimeout() bool
- func (o *ConsulGatewayProxy) HasEnvoyDNSDiscoveryType() bool
- func (o *ConsulGatewayProxy) HasEnvoyGatewayBindAddresses() bool
- func (o *ConsulGatewayProxy) HasEnvoyGatewayBindTaggedAddresses() bool
- func (o *ConsulGatewayProxy) HasEnvoyGatewayNoDefaultBind() bool
- func (o ConsulGatewayProxy) MarshalJSON() ([]byte, error)
- func (o *ConsulGatewayProxy) SetConfig(v map[string]map[string]interface{})
- func (o *ConsulGatewayProxy) SetConnectTimeout(v int64)
- func (o *ConsulGatewayProxy) SetEnvoyDNSDiscoveryType(v string)
- func (o *ConsulGatewayProxy) SetEnvoyGatewayBindAddresses(v map[string]ConsulGatewayBindAddress)
- func (o *ConsulGatewayProxy) SetEnvoyGatewayBindTaggedAddresses(v bool)
- func (o *ConsulGatewayProxy) SetEnvoyGatewayNoDefaultBind(v bool)
- type ConsulGatewayTLSConfig
- type ConsulIngressConfigEntry
- func (o *ConsulIngressConfigEntry) GetListeners() []ConsulIngressListener
- func (o *ConsulIngressConfigEntry) GetListenersOk() (*[]ConsulIngressListener, bool)
- func (o *ConsulIngressConfigEntry) GetTLS() ConsulGatewayTLSConfig
- func (o *ConsulIngressConfigEntry) GetTLSOk() (*ConsulGatewayTLSConfig, bool)
- func (o *ConsulIngressConfigEntry) HasListeners() bool
- func (o *ConsulIngressConfigEntry) HasTLS() bool
- func (o ConsulIngressConfigEntry) MarshalJSON() ([]byte, error)
- func (o *ConsulIngressConfigEntry) SetListeners(v []ConsulIngressListener)
- func (o *ConsulIngressConfigEntry) SetTLS(v ConsulGatewayTLSConfig)
- type ConsulIngressListener
- func (o *ConsulIngressListener) GetPort() int64
- func (o *ConsulIngressListener) GetPortOk() (*int64, bool)
- func (o *ConsulIngressListener) GetProtocol() string
- func (o *ConsulIngressListener) GetProtocolOk() (*string, bool)
- func (o *ConsulIngressListener) GetServices() []ConsulIngressService
- func (o *ConsulIngressListener) GetServicesOk() (*[]ConsulIngressService, bool)
- func (o *ConsulIngressListener) HasPort() bool
- func (o *ConsulIngressListener) HasProtocol() bool
- func (o *ConsulIngressListener) HasServices() bool
- func (o ConsulIngressListener) MarshalJSON() ([]byte, error)
- func (o *ConsulIngressListener) SetPort(v int64)
- func (o *ConsulIngressListener) SetProtocol(v string)
- func (o *ConsulIngressListener) SetServices(v []ConsulIngressService)
- type ConsulIngressService
- func (o *ConsulIngressService) GetHosts() []string
- func (o *ConsulIngressService) GetHostsOk() (*[]string, bool)
- func (o *ConsulIngressService) GetName() string
- func (o *ConsulIngressService) GetNameOk() (*string, bool)
- func (o *ConsulIngressService) HasHosts() bool
- func (o *ConsulIngressService) HasName() bool
- func (o ConsulIngressService) MarshalJSON() ([]byte, error)
- func (o *ConsulIngressService) SetHosts(v []string)
- func (o *ConsulIngressService) SetName(v string)
- type ConsulLinkedService
- func (o *ConsulLinkedService) GetCAFile() string
- func (o *ConsulLinkedService) GetCAFileOk() (*string, bool)
- func (o *ConsulLinkedService) GetCertFile() string
- func (o *ConsulLinkedService) GetCertFileOk() (*string, bool)
- func (o *ConsulLinkedService) GetKeyFile() string
- func (o *ConsulLinkedService) GetKeyFileOk() (*string, bool)
- func (o *ConsulLinkedService) GetName() string
- func (o *ConsulLinkedService) GetNameOk() (*string, bool)
- func (o *ConsulLinkedService) GetSNI() string
- func (o *ConsulLinkedService) GetSNIOk() (*string, bool)
- func (o *ConsulLinkedService) HasCAFile() bool
- func (o *ConsulLinkedService) HasCertFile() bool
- func (o *ConsulLinkedService) HasKeyFile() bool
- func (o *ConsulLinkedService) HasName() bool
- func (o *ConsulLinkedService) HasSNI() bool
- func (o ConsulLinkedService) MarshalJSON() ([]byte, error)
- func (o *ConsulLinkedService) SetCAFile(v string)
- func (o *ConsulLinkedService) SetCertFile(v string)
- func (o *ConsulLinkedService) SetKeyFile(v string)
- func (o *ConsulLinkedService) SetName(v string)
- func (o *ConsulLinkedService) SetSNI(v string)
- type ConsulProxy
- func (o *ConsulProxy) GetConfig() map[string]map[string]interface{}
- func (o *ConsulProxy) GetConfigOk() (*map[string]map[string]interface{}, bool)
- func (o *ConsulProxy) GetExposeConfig() ConsulExposeConfig
- func (o *ConsulProxy) GetExposeConfigOk() (*ConsulExposeConfig, bool)
- func (o *ConsulProxy) GetLocalServiceAddress() string
- func (o *ConsulProxy) GetLocalServiceAddressOk() (*string, bool)
- func (o *ConsulProxy) GetLocalServicePort() int64
- func (o *ConsulProxy) GetLocalServicePortOk() (*int64, bool)
- func (o *ConsulProxy) GetUpstreams() []ConsulUpstream
- func (o *ConsulProxy) GetUpstreamsOk() (*[]ConsulUpstream, bool)
- func (o *ConsulProxy) HasConfig() bool
- func (o *ConsulProxy) HasExposeConfig() bool
- func (o *ConsulProxy) HasLocalServiceAddress() bool
- func (o *ConsulProxy) HasLocalServicePort() bool
- func (o *ConsulProxy) HasUpstreams() bool
- func (o ConsulProxy) MarshalJSON() ([]byte, error)
- func (o *ConsulProxy) SetConfig(v map[string]map[string]interface{})
- func (o *ConsulProxy) SetExposeConfig(v ConsulExposeConfig)
- func (o *ConsulProxy) SetLocalServiceAddress(v string)
- func (o *ConsulProxy) SetLocalServicePort(v int64)
- func (o *ConsulProxy) SetUpstreams(v []ConsulUpstream)
- type ConsulSidecarService
- func (o *ConsulSidecarService) GetDisableDefaultTCPCheck() bool
- func (o *ConsulSidecarService) GetDisableDefaultTCPCheckOk() (*bool, bool)
- func (o *ConsulSidecarService) GetPort() string
- func (o *ConsulSidecarService) GetPortOk() (*string, bool)
- func (o *ConsulSidecarService) GetProxy() ConsulProxy
- func (o *ConsulSidecarService) GetProxyOk() (*ConsulProxy, bool)
- func (o *ConsulSidecarService) GetTags() []string
- func (o *ConsulSidecarService) GetTagsOk() (*[]string, bool)
- func (o *ConsulSidecarService) HasDisableDefaultTCPCheck() bool
- func (o *ConsulSidecarService) HasPort() bool
- func (o *ConsulSidecarService) HasProxy() bool
- func (o *ConsulSidecarService) HasTags() bool
- func (o ConsulSidecarService) MarshalJSON() ([]byte, error)
- func (o *ConsulSidecarService) SetDisableDefaultTCPCheck(v bool)
- func (o *ConsulSidecarService) SetPort(v string)
- func (o *ConsulSidecarService) SetProxy(v ConsulProxy)
- func (o *ConsulSidecarService) SetTags(v []string)
- type ConsulTerminatingConfigEntry
- func (o *ConsulTerminatingConfigEntry) GetServices() []ConsulLinkedService
- func (o *ConsulTerminatingConfigEntry) GetServicesOk() (*[]ConsulLinkedService, bool)
- func (o *ConsulTerminatingConfigEntry) HasServices() bool
- func (o ConsulTerminatingConfigEntry) MarshalJSON() ([]byte, error)
- func (o *ConsulTerminatingConfigEntry) SetServices(v []ConsulLinkedService)
- type ConsulUpstream
- func (o *ConsulUpstream) GetDatacenter() string
- func (o *ConsulUpstream) GetDatacenterOk() (*string, bool)
- func (o *ConsulUpstream) GetDestinationName() string
- func (o *ConsulUpstream) GetDestinationNameOk() (*string, bool)
- func (o *ConsulUpstream) GetLocalBindAddress() string
- func (o *ConsulUpstream) GetLocalBindAddressOk() (*string, bool)
- func (o *ConsulUpstream) GetLocalBindPort() int64
- func (o *ConsulUpstream) GetLocalBindPortOk() (*int64, bool)
- func (o *ConsulUpstream) HasDatacenter() bool
- func (o *ConsulUpstream) HasDestinationName() bool
- func (o *ConsulUpstream) HasLocalBindAddress() bool
- func (o *ConsulUpstream) HasLocalBindPort() bool
- func (o ConsulUpstream) MarshalJSON() ([]byte, error)
- func (o *ConsulUpstream) SetDatacenter(v string)
- func (o *ConsulUpstream) SetDestinationName(v string)
- func (o *ConsulUpstream) SetLocalBindAddress(v string)
- func (o *ConsulUpstream) SetLocalBindPort(v int64)
- type ContainerChangeResponseItem
- func (o *ContainerChangeResponseItem) GetKind() int32
- func (o *ContainerChangeResponseItem) GetKindOk() (*int32, bool)
- func (o *ContainerChangeResponseItem) GetPath() string
- func (o *ContainerChangeResponseItem) GetPathOk() (*string, bool)
- func (o ContainerChangeResponseItem) MarshalJSON() ([]byte, error)
- func (o *ContainerChangeResponseItem) SetKind(v int32)
- func (o *ContainerChangeResponseItem) SetPath(v string)
- type ContainerCreateCreatedBody
- func (o *ContainerCreateCreatedBody) GetId() string
- func (o *ContainerCreateCreatedBody) GetIdOk() (*string, bool)
- func (o *ContainerCreateCreatedBody) GetWarnings() []string
- func (o *ContainerCreateCreatedBody) GetWarningsOk() (*[]string, bool)
- func (o ContainerCreateCreatedBody) MarshalJSON() ([]byte, error)
- func (o *ContainerCreateCreatedBody) SetId(v string)
- func (o *ContainerCreateCreatedBody) SetWarnings(v []string)
- type ContainerTopOKBody
- func (o *ContainerTopOKBody) GetProcesses() [][]string
- func (o *ContainerTopOKBody) GetProcessesOk() (*[][]string, bool)
- func (o *ContainerTopOKBody) GetTitles() []string
- func (o *ContainerTopOKBody) GetTitlesOk() (*[]string, bool)
- func (o ContainerTopOKBody) MarshalJSON() ([]byte, error)
- func (o *ContainerTopOKBody) SetProcesses(v [][]string)
- func (o *ContainerTopOKBody) SetTitles(v []string)
- type ContainerUpdateOKBody
- type ContainerWaitOKBody
- func (o *ContainerWaitOKBody) GetError() ContainerWaitOKBodyError
- func (o *ContainerWaitOKBody) GetErrorOk() (*ContainerWaitOKBodyError, bool)
- func (o *ContainerWaitOKBody) GetStatusCode() int64
- func (o *ContainerWaitOKBody) GetStatusCodeOk() (*int64, bool)
- func (o ContainerWaitOKBody) MarshalJSON() ([]byte, error)
- func (o *ContainerWaitOKBody) SetError(v ContainerWaitOKBodyError)
- func (o *ContainerWaitOKBody) SetStatusCode(v int64)
- type ContainerWaitOKBodyError
- type DNSConfig
- func (o *DNSConfig) GetOptions() []string
- func (o *DNSConfig) GetOptionsOk() (*[]string, bool)
- func (o *DNSConfig) GetSearches() []string
- func (o *DNSConfig) GetSearchesOk() (*[]string, bool)
- func (o *DNSConfig) GetServers() []string
- func (o *DNSConfig) GetServersOk() (*[]string, bool)
- func (o *DNSConfig) HasOptions() bool
- func (o *DNSConfig) HasSearches() bool
- func (o *DNSConfig) HasServers() bool
- func (o DNSConfig) MarshalJSON() ([]byte, error)
- func (o *DNSConfig) SetOptions(v []string)
- func (o *DNSConfig) SetSearches(v []string)
- func (o *DNSConfig) SetServers(v []string)
- type DeregisterOptions
- func (o *DeregisterOptions) GetGlobal() bool
- func (o *DeregisterOptions) GetGlobalOk() (*bool, bool)
- func (o *DeregisterOptions) GetPurge() bool
- func (o *DeregisterOptions) GetPurgeOk() (*bool, bool)
- func (o *DeregisterOptions) HasGlobal() bool
- func (o *DeregisterOptions) HasPurge() bool
- func (o DeregisterOptions) MarshalJSON() ([]byte, error)
- func (o *DeregisterOptions) SetGlobal(v bool)
- func (o *DeregisterOptions) SetPurge(v bool)
- type DesiredTransition
- func (o *DesiredTransition) GetForceReschedule() bool
- func (o *DesiredTransition) GetForceRescheduleOk() (*bool, bool)
- func (o *DesiredTransition) GetMigrate() bool
- func (o *DesiredTransition) GetMigrateOk() (*bool, bool)
- func (o *DesiredTransition) GetReschedule() bool
- func (o *DesiredTransition) GetRescheduleOk() (*bool, bool)
- func (o *DesiredTransition) HasForceReschedule() bool
- func (o *DesiredTransition) HasMigrate() bool
- func (o *DesiredTransition) HasReschedule() bool
- func (o DesiredTransition) MarshalJSON() ([]byte, error)
- func (o *DesiredTransition) SetForceReschedule(v bool)
- func (o *DesiredTransition) SetMigrate(v bool)
- func (o *DesiredTransition) SetReschedule(v bool)
- type DesiredUpdates
- func (o *DesiredUpdates) GetCanary() int32
- func (o *DesiredUpdates) GetCanaryOk() (*int32, bool)
- func (o *DesiredUpdates) GetDestructiveUpdate() int32
- func (o *DesiredUpdates) GetDestructiveUpdateOk() (*int32, bool)
- func (o *DesiredUpdates) GetIgnore() int32
- func (o *DesiredUpdates) GetIgnoreOk() (*int32, bool)
- func (o *DesiredUpdates) GetInPlaceUpdate() int32
- func (o *DesiredUpdates) GetInPlaceUpdateOk() (*int32, bool)
- func (o *DesiredUpdates) GetMigrate() int32
- func (o *DesiredUpdates) GetMigrateOk() (*int32, bool)
- func (o *DesiredUpdates) GetPlace() int32
- func (o *DesiredUpdates) GetPlaceOk() (*int32, bool)
- func (o *DesiredUpdates) GetPreemptions() int32
- func (o *DesiredUpdates) GetPreemptionsOk() (*int32, bool)
- func (o *DesiredUpdates) GetStop() int32
- func (o *DesiredUpdates) GetStopOk() (*int32, bool)
- func (o *DesiredUpdates) HasCanary() bool
- func (o *DesiredUpdates) HasDestructiveUpdate() bool
- func (o *DesiredUpdates) HasIgnore() bool
- func (o *DesiredUpdates) HasInPlaceUpdate() bool
- func (o *DesiredUpdates) HasMigrate() bool
- func (o *DesiredUpdates) HasPlace() bool
- func (o *DesiredUpdates) HasPreemptions() bool
- func (o *DesiredUpdates) HasStop() bool
- func (o DesiredUpdates) MarshalJSON() ([]byte, error)
- func (o *DesiredUpdates) SetCanary(v int32)
- func (o *DesiredUpdates) SetDestructiveUpdate(v int32)
- func (o *DesiredUpdates) SetIgnore(v int32)
- func (o *DesiredUpdates) SetInPlaceUpdate(v int32)
- func (o *DesiredUpdates) SetMigrate(v int32)
- func (o *DesiredUpdates) SetPlace(v int32)
- func (o *DesiredUpdates) SetPreemptions(v int32)
- func (o *DesiredUpdates) SetStop(v int32)
- type DispatchPayloadConfig
- type EphemeralDisk
- func (o *EphemeralDisk) GetMigrate() bool
- func (o *EphemeralDisk) GetMigrateOk() (*bool, bool)
- func (o *EphemeralDisk) GetSizeMB() int64
- func (o *EphemeralDisk) GetSizeMBOk() (*int64, bool)
- func (o *EphemeralDisk) GetSticky() bool
- func (o *EphemeralDisk) GetStickyOk() (*bool, bool)
- func (o *EphemeralDisk) HasMigrate() bool
- func (o *EphemeralDisk) HasSizeMB() bool
- func (o *EphemeralDisk) HasSticky() bool
- func (o EphemeralDisk) MarshalJSON() ([]byte, error)
- func (o *EphemeralDisk) SetMigrate(v bool)
- func (o *EphemeralDisk) SetSizeMB(v int64)
- func (o *EphemeralDisk) SetSticky(v bool)
- type ErrorResponse
- type EvalOptions
- type Evaluation
- func (o *Evaluation) GetAnnotatePlan() bool
- func (o *Evaluation) GetAnnotatePlanOk() (*bool, bool)
- func (o *Evaluation) GetBlockedEval() string
- func (o *Evaluation) GetBlockedEvalOk() (*string, bool)
- func (o *Evaluation) GetClassEligibility() map[string]bool
- func (o *Evaluation) GetClassEligibilityOk() (*map[string]bool, bool)
- func (o *Evaluation) GetCreateIndex() int32
- func (o *Evaluation) GetCreateIndexOk() (*int32, bool)
- func (o *Evaluation) GetCreateTime() int64
- func (o *Evaluation) GetCreateTimeOk() (*int64, bool)
- func (o *Evaluation) GetDeploymentID() string
- func (o *Evaluation) GetDeploymentIDOk() (*string, bool)
- func (o *Evaluation) GetEscapedComputedClass() bool
- func (o *Evaluation) GetEscapedComputedClassOk() (*bool, bool)
- func (o *Evaluation) GetFailedTGAllocs() map[string]AllocationMetric
- func (o *Evaluation) GetFailedTGAllocsOk() (*map[string]AllocationMetric, bool)
- func (o *Evaluation) GetID() string
- func (o *Evaluation) GetIDOk() (*string, bool)
- func (o *Evaluation) GetJobID() string
- func (o *Evaluation) GetJobIDOk() (*string, bool)
- func (o *Evaluation) GetJobModifyIndex() int32
- func (o *Evaluation) GetJobModifyIndexOk() (*int32, bool)
- func (o *Evaluation) GetModifyIndex() int32
- func (o *Evaluation) GetModifyIndexOk() (*int32, bool)
- func (o *Evaluation) GetModifyTime() int64
- func (o *Evaluation) GetModifyTimeOk() (*int64, bool)
- func (o *Evaluation) GetNamespace() string
- func (o *Evaluation) GetNamespaceOk() (*string, bool)
- func (o *Evaluation) GetNextEval() string
- func (o *Evaluation) GetNextEvalOk() (*string, bool)
- func (o *Evaluation) GetNodeID() string
- func (o *Evaluation) GetNodeIDOk() (*string, bool)
- func (o *Evaluation) GetNodeModifyIndex() int32
- func (o *Evaluation) GetNodeModifyIndexOk() (*int32, bool)
- func (o *Evaluation) GetPreviousEval() string
- func (o *Evaluation) GetPreviousEvalOk() (*string, bool)
- func (o *Evaluation) GetPriority() int64
- func (o *Evaluation) GetPriorityOk() (*int64, bool)
- func (o *Evaluation) GetQueuedAllocations() map[string]int64
- func (o *Evaluation) GetQueuedAllocationsOk() (*map[string]int64, bool)
- func (o *Evaluation) GetQuotaLimitReached() string
- func (o *Evaluation) GetQuotaLimitReachedOk() (*string, bool)
- func (o *Evaluation) GetSnapshotIndex() int32
- func (o *Evaluation) GetSnapshotIndexOk() (*int32, bool)
- func (o *Evaluation) GetStatus() string
- func (o *Evaluation) GetStatusDescription() string
- func (o *Evaluation) GetStatusDescriptionOk() (*string, bool)
- func (o *Evaluation) GetStatusOk() (*string, bool)
- func (o *Evaluation) GetTriggeredBy() string
- func (o *Evaluation) GetTriggeredByOk() (*string, bool)
- func (o *Evaluation) GetType() string
- func (o *Evaluation) GetTypeOk() (*string, bool)
- func (o *Evaluation) GetWait() int64
- func (o *Evaluation) GetWaitOk() (*int64, bool)
- func (o *Evaluation) GetWaitUntil() time.Time
- func (o *Evaluation) GetWaitUntilOk() (*time.Time, bool)
- func (o *Evaluation) HasAnnotatePlan() bool
- func (o *Evaluation) HasBlockedEval() bool
- func (o *Evaluation) HasClassEligibility() bool
- func (o *Evaluation) HasCreateIndex() bool
- func (o *Evaluation) HasCreateTime() bool
- func (o *Evaluation) HasDeploymentID() bool
- func (o *Evaluation) HasEscapedComputedClass() bool
- func (o *Evaluation) HasFailedTGAllocs() bool
- func (o *Evaluation) HasID() bool
- func (o *Evaluation) HasJobID() bool
- func (o *Evaluation) HasJobModifyIndex() bool
- func (o *Evaluation) HasModifyIndex() bool
- func (o *Evaluation) HasModifyTime() bool
- func (o *Evaluation) HasNamespace() bool
- func (o *Evaluation) HasNextEval() bool
- func (o *Evaluation) HasNodeID() bool
- func (o *Evaluation) HasNodeModifyIndex() bool
- func (o *Evaluation) HasPreviousEval() bool
- func (o *Evaluation) HasPriority() bool
- func (o *Evaluation) HasQueuedAllocations() bool
- func (o *Evaluation) HasQuotaLimitReached() bool
- func (o *Evaluation) HasSnapshotIndex() bool
- func (o *Evaluation) HasStatus() bool
- func (o *Evaluation) HasStatusDescription() bool
- func (o *Evaluation) HasTriggeredBy() bool
- func (o *Evaluation) HasType() bool
- func (o *Evaluation) HasWait() bool
- func (o *Evaluation) HasWaitUntil() bool
- func (o Evaluation) MarshalJSON() ([]byte, error)
- func (o *Evaluation) SetAnnotatePlan(v bool)
- func (o *Evaluation) SetBlockedEval(v string)
- func (o *Evaluation) SetClassEligibility(v map[string]bool)
- func (o *Evaluation) SetCreateIndex(v int32)
- func (o *Evaluation) SetCreateTime(v int64)
- func (o *Evaluation) SetDeploymentID(v string)
- func (o *Evaluation) SetEscapedComputedClass(v bool)
- func (o *Evaluation) SetFailedTGAllocs(v map[string]AllocationMetric)
- func (o *Evaluation) SetID(v string)
- func (o *Evaluation) SetJobID(v string)
- func (o *Evaluation) SetJobModifyIndex(v int32)
- func (o *Evaluation) SetModifyIndex(v int32)
- func (o *Evaluation) SetModifyTime(v int64)
- func (o *Evaluation) SetNamespace(v string)
- func (o *Evaluation) SetNextEval(v string)
- func (o *Evaluation) SetNodeID(v string)
- func (o *Evaluation) SetNodeModifyIndex(v int32)
- func (o *Evaluation) SetPreviousEval(v string)
- func (o *Evaluation) SetPriority(v int64)
- func (o *Evaluation) SetQueuedAllocations(v map[string]int64)
- func (o *Evaluation) SetQuotaLimitReached(v string)
- func (o *Evaluation) SetSnapshotIndex(v int32)
- func (o *Evaluation) SetStatus(v string)
- func (o *Evaluation) SetStatusDescription(v string)
- func (o *Evaluation) SetTriggeredBy(v string)
- func (o *Evaluation) SetType(v string)
- func (o *Evaluation) SetWait(v int64)
- func (o *Evaluation) SetWaitUntil(v time.Time)
- type FieldDiff
- func (o *FieldDiff) GetAnnotations() []string
- func (o *FieldDiff) GetAnnotationsOk() (*[]string, bool)
- func (o *FieldDiff) GetName() string
- func (o *FieldDiff) GetNameOk() (*string, bool)
- func (o *FieldDiff) GetOld() string
- func (o *FieldDiff) GetOldOk() (*string, bool)
- func (o *FieldDiff) GetType() string
- func (o *FieldDiff) GetTypeOk() (*string, bool)
- func (o *FieldDiff) HasAnnotations() bool
- func (o *FieldDiff) HasName() bool
- func (o *FieldDiff) HasOld() bool
- func (o *FieldDiff) HasType() bool
- func (o FieldDiff) MarshalJSON() ([]byte, error)
- func (o *FieldDiff) SetAnnotations(v []string)
- func (o *FieldDiff) SetName(v string)
- func (o *FieldDiff) SetOld(v string)
- func (o *FieldDiff) SetType(v string)
- type GenericOpenAPIError
- type GraphDriverData
- func (o *GraphDriverData) GetData() map[string]string
- func (o *GraphDriverData) GetDataOk() (*map[string]string, bool)
- func (o *GraphDriverData) GetName() string
- func (o *GraphDriverData) GetNameOk() (*string, bool)
- func (o GraphDriverData) MarshalJSON() ([]byte, error)
- func (o *GraphDriverData) SetData(v map[string]string)
- func (o *GraphDriverData) SetName(v string)
- type IdResponse
- type ImageDeleteResponseItem
- func (o *ImageDeleteResponseItem) GetDeleted() string
- func (o *ImageDeleteResponseItem) GetDeletedOk() (*string, bool)
- func (o *ImageDeleteResponseItem) GetUntagged() string
- func (o *ImageDeleteResponseItem) GetUntaggedOk() (*string, bool)
- func (o *ImageDeleteResponseItem) HasDeleted() bool
- func (o *ImageDeleteResponseItem) HasUntagged() bool
- func (o ImageDeleteResponseItem) MarshalJSON() ([]byte, error)
- func (o *ImageDeleteResponseItem) SetDeleted(v string)
- func (o *ImageDeleteResponseItem) SetUntagged(v string)
- type ImageSummary
- func (o *ImageSummary) GetContainers() int64
- func (o *ImageSummary) GetContainersOk() (*int64, bool)
- func (o *ImageSummary) GetCreated() int64
- func (o *ImageSummary) GetCreatedOk() (*int64, bool)
- func (o *ImageSummary) GetId() string
- func (o *ImageSummary) GetIdOk() (*string, bool)
- func (o *ImageSummary) GetLabels() map[string]string
- func (o *ImageSummary) GetLabelsOk() (*map[string]string, bool)
- func (o *ImageSummary) GetParentId() string
- func (o *ImageSummary) GetParentIdOk() (*string, bool)
- func (o *ImageSummary) GetRepoDigests() []string
- func (o *ImageSummary) GetRepoDigestsOk() (*[]string, bool)
- func (o *ImageSummary) GetRepoTags() []string
- func (o *ImageSummary) GetRepoTagsOk() (*[]string, bool)
- func (o *ImageSummary) GetSharedSize() int64
- func (o *ImageSummary) GetSharedSizeOk() (*int64, bool)
- func (o *ImageSummary) GetSize() int64
- func (o *ImageSummary) GetSizeOk() (*int64, bool)
- func (o *ImageSummary) GetVirtualSize() int64
- func (o *ImageSummary) GetVirtualSizeOk() (*int64, bool)
- func (o ImageSummary) MarshalJSON() ([]byte, error)
- func (o *ImageSummary) SetContainers(v int64)
- func (o *ImageSummary) SetCreated(v int64)
- func (o *ImageSummary) SetId(v string)
- func (o *ImageSummary) SetLabels(v map[string]string)
- func (o *ImageSummary) SetParentId(v string)
- func (o *ImageSummary) SetRepoDigests(v []string)
- func (o *ImageSummary) SetRepoTags(v []string)
- func (o *ImageSummary) SetSharedSize(v int64)
- func (o *ImageSummary) SetSize(v int64)
- func (o *ImageSummary) SetVirtualSize(v int64)
- type Job
- func (o *Job) GetAffinities() []Affinity
- func (o *Job) GetAffinitiesOk() (*[]Affinity, bool)
- func (o *Job) GetAllAtOnce() bool
- func (o *Job) GetAllAtOnceOk() (*bool, bool)
- func (o *Job) GetConstraints() []Constraint
- func (o *Job) GetConstraintsOk() (*[]Constraint, bool)
- func (o *Job) GetConsulNamespace() string
- func (o *Job) GetConsulNamespaceOk() (*string, bool)
- func (o *Job) GetConsulToken() string
- func (o *Job) GetConsulTokenOk() (*string, bool)
- func (o *Job) GetCreateIndex() int32
- func (o *Job) GetCreateIndexOk() (*int32, bool)
- func (o *Job) GetDatacenters() []string
- func (o *Job) GetDatacentersOk() (*[]string, bool)
- func (o *Job) GetDispatched() bool
- func (o *Job) GetDispatchedOk() (*bool, bool)
- func (o *Job) GetID() string
- func (o *Job) GetIDOk() (*string, bool)
- func (o *Job) GetJobModifyIndex() int32
- func (o *Job) GetJobModifyIndexOk() (*int32, bool)
- func (o *Job) GetMeta() map[string]string
- func (o *Job) GetMetaOk() (*map[string]string, bool)
- func (o *Job) GetMigrate() MigrateStrategy
- func (o *Job) GetMigrateOk() (*MigrateStrategy, bool)
- func (o *Job) GetModifyIndex() int32
- func (o *Job) GetModifyIndexOk() (*int32, bool)
- func (o *Job) GetMultiregion() Multiregion
- func (o *Job) GetMultiregionOk() (*Multiregion, bool)
- func (o *Job) GetName() string
- func (o *Job) GetNameOk() (*string, bool)
- func (o *Job) GetNamespace() string
- func (o *Job) GetNamespaceOk() (*string, bool)
- func (o *Job) GetNomadTokenID() string
- func (o *Job) GetNomadTokenIDOk() (*string, bool)
- func (o *Job) GetParameterizedJob() ParameterizedJobConfig
- func (o *Job) GetParameterizedJobOk() (*ParameterizedJobConfig, bool)
- func (o *Job) GetParentID() string
- func (o *Job) GetParentIDOk() (*string, bool)
- func (o *Job) GetPayload() []int32
- func (o *Job) GetPayloadOk() (*[]int32, bool)
- func (o *Job) GetPeriodic() PeriodicConfig
- func (o *Job) GetPeriodicOk() (*PeriodicConfig, bool)
- func (o *Job) GetPriority() int64
- func (o *Job) GetPriorityOk() (*int64, bool)
- func (o *Job) GetRegion() string
- func (o *Job) GetRegionOk() (*string, bool)
- func (o *Job) GetReschedule() ReschedulePolicy
- func (o *Job) GetRescheduleOk() (*ReschedulePolicy, bool)
- func (o *Job) GetSpreads() []Spread
- func (o *Job) GetSpreadsOk() (*[]Spread, bool)
- func (o *Job) GetStable() bool
- func (o *Job) GetStableOk() (*bool, bool)
- func (o *Job) GetStatus() string
- func (o *Job) GetStatusDescription() string
- func (o *Job) GetStatusDescriptionOk() (*string, bool)
- func (o *Job) GetStatusOk() (*string, bool)
- func (o *Job) GetStop() bool
- func (o *Job) GetStopOk() (*bool, bool)
- func (o *Job) GetSubmitTime() int64
- func (o *Job) GetSubmitTimeOk() (*int64, bool)
- func (o *Job) GetTaskGroups() []TaskGroup
- func (o *Job) GetTaskGroupsOk() (*[]TaskGroup, bool)
- func (o *Job) GetType() string
- func (o *Job) GetTypeOk() (*string, bool)
- func (o *Job) GetUpdate() UpdateStrategy
- func (o *Job) GetUpdateOk() (*UpdateStrategy, bool)
- func (o *Job) GetVaultNamespace() string
- func (o *Job) GetVaultNamespaceOk() (*string, bool)
- func (o *Job) GetVaultToken() string
- func (o *Job) GetVaultTokenOk() (*string, bool)
- func (o *Job) GetVersion() int32
- func (o *Job) GetVersionOk() (*int32, bool)
- func (o *Job) HasAffinities() bool
- func (o *Job) HasAllAtOnce() bool
- func (o *Job) HasConstraints() bool
- func (o *Job) HasConsulNamespace() bool
- func (o *Job) HasConsulToken() bool
- func (o *Job) HasCreateIndex() bool
- func (o *Job) HasDatacenters() bool
- func (o *Job) HasDispatched() bool
- func (o *Job) HasID() bool
- func (o *Job) HasJobModifyIndex() bool
- func (o *Job) HasMeta() bool
- func (o *Job) HasMigrate() bool
- func (o *Job) HasModifyIndex() bool
- func (o *Job) HasMultiregion() bool
- func (o *Job) HasName() bool
- func (o *Job) HasNamespace() bool
- func (o *Job) HasNomadTokenID() bool
- func (o *Job) HasParameterizedJob() bool
- func (o *Job) HasParentID() bool
- func (o *Job) HasPayload() bool
- func (o *Job) HasPeriodic() bool
- func (o *Job) HasPriority() bool
- func (o *Job) HasRegion() bool
- func (o *Job) HasReschedule() bool
- func (o *Job) HasSpreads() bool
- func (o *Job) HasStable() bool
- func (o *Job) HasStatus() bool
- func (o *Job) HasStatusDescription() bool
- func (o *Job) HasStop() bool
- func (o *Job) HasSubmitTime() bool
- func (o *Job) HasTaskGroups() bool
- func (o *Job) HasType() bool
- func (o *Job) HasUpdate() bool
- func (o *Job) HasVaultNamespace() bool
- func (o *Job) HasVaultToken() bool
- func (o *Job) HasVersion() bool
- func (o Job) MarshalJSON() ([]byte, error)
- func (o *Job) SetAffinities(v []Affinity)
- func (o *Job) SetAllAtOnce(v bool)
- func (o *Job) SetConstraints(v []Constraint)
- func (o *Job) SetConsulNamespace(v string)
- func (o *Job) SetConsulToken(v string)
- func (o *Job) SetCreateIndex(v int32)
- func (o *Job) SetDatacenters(v []string)
- func (o *Job) SetDispatched(v bool)
- func (o *Job) SetID(v string)
- func (o *Job) SetJobModifyIndex(v int32)
- func (o *Job) SetMeta(v map[string]string)
- func (o *Job) SetMigrate(v MigrateStrategy)
- func (o *Job) SetModifyIndex(v int32)
- func (o *Job) SetMultiregion(v Multiregion)
- func (o *Job) SetName(v string)
- func (o *Job) SetNamespace(v string)
- func (o *Job) SetNomadTokenID(v string)
- func (o *Job) SetParameterizedJob(v ParameterizedJobConfig)
- func (o *Job) SetParentID(v string)
- func (o *Job) SetPayload(v []int32)
- func (o *Job) SetPeriodic(v PeriodicConfig)
- func (o *Job) SetPriority(v int64)
- func (o *Job) SetRegion(v string)
- func (o *Job) SetReschedule(v ReschedulePolicy)
- func (o *Job) SetSpreads(v []Spread)
- func (o *Job) SetStable(v bool)
- func (o *Job) SetStatus(v string)
- func (o *Job) SetStatusDescription(v string)
- func (o *Job) SetStop(v bool)
- func (o *Job) SetSubmitTime(v int64)
- func (o *Job) SetTaskGroups(v []TaskGroup)
- func (o *Job) SetType(v string)
- func (o *Job) SetUpdate(v UpdateStrategy)
- func (o *Job) SetVaultNamespace(v string)
- func (o *Job) SetVaultToken(v string)
- func (o *Job) SetVersion(v int32)
- type JobChildrenSummary
- func (o *JobChildrenSummary) GetDead() int64
- func (o *JobChildrenSummary) GetDeadOk() (*int64, bool)
- func (o *JobChildrenSummary) GetPending() int64
- func (o *JobChildrenSummary) GetPendingOk() (*int64, bool)
- func (o *JobChildrenSummary) GetRunning() int64
- func (o *JobChildrenSummary) GetRunningOk() (*int64, bool)
- func (o *JobChildrenSummary) HasDead() bool
- func (o *JobChildrenSummary) HasPending() bool
- func (o *JobChildrenSummary) HasRunning() bool
- func (o JobChildrenSummary) MarshalJSON() ([]byte, error)
- func (o *JobChildrenSummary) SetDead(v int64)
- func (o *JobChildrenSummary) SetPending(v int64)
- func (o *JobChildrenSummary) SetRunning(v int64)
- type JobDeregisterResponse
- func (o *JobDeregisterResponse) GetEvalCreateIndex() int32
- func (o *JobDeregisterResponse) GetEvalCreateIndexOk() (*int32, bool)
- func (o *JobDeregisterResponse) GetEvalID() string
- func (o *JobDeregisterResponse) GetEvalIDOk() (*string, bool)
- func (o *JobDeregisterResponse) GetJobModifyIndex() int32
- func (o *JobDeregisterResponse) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobDeregisterResponse) GetKnownLeader() bool
- func (o *JobDeregisterResponse) GetKnownLeaderOk() (*bool, bool)
- func (o *JobDeregisterResponse) GetLastContact() int64
- func (o *JobDeregisterResponse) GetLastContactOk() (*int64, bool)
- func (o *JobDeregisterResponse) GetLastIndex() int32
- func (o *JobDeregisterResponse) GetLastIndexOk() (*int32, bool)
- func (o *JobDeregisterResponse) GetRequestTime() int64
- func (o *JobDeregisterResponse) GetRequestTimeOk() (*int64, bool)
- func (o *JobDeregisterResponse) HasEvalCreateIndex() bool
- func (o *JobDeregisterResponse) HasEvalID() bool
- func (o *JobDeregisterResponse) HasJobModifyIndex() bool
- func (o *JobDeregisterResponse) HasKnownLeader() bool
- func (o *JobDeregisterResponse) HasLastContact() bool
- func (o *JobDeregisterResponse) HasLastIndex() bool
- func (o *JobDeregisterResponse) HasRequestTime() bool
- func (o JobDeregisterResponse) MarshalJSON() ([]byte, error)
- func (o *JobDeregisterResponse) SetEvalCreateIndex(v int32)
- func (o *JobDeregisterResponse) SetEvalID(v string)
- func (o *JobDeregisterResponse) SetJobModifyIndex(v int32)
- func (o *JobDeregisterResponse) SetKnownLeader(v bool)
- func (o *JobDeregisterResponse) SetLastContact(v int64)
- func (o *JobDeregisterResponse) SetLastIndex(v int32)
- func (o *JobDeregisterResponse) SetRequestTime(v int64)
- type JobDiff
- func (o *JobDiff) GetFields() []FieldDiff
- func (o *JobDiff) GetFieldsOk() (*[]FieldDiff, bool)
- func (o *JobDiff) GetID() string
- func (o *JobDiff) GetIDOk() (*string, bool)
- func (o *JobDiff) GetObjects() []ObjectDiff
- func (o *JobDiff) GetObjectsOk() (*[]ObjectDiff, bool)
- func (o *JobDiff) GetTaskGroups() []TaskGroupDiff
- func (o *JobDiff) GetTaskGroupsOk() (*[]TaskGroupDiff, bool)
- func (o *JobDiff) GetType() string
- func (o *JobDiff) GetTypeOk() (*string, bool)
- func (o *JobDiff) HasFields() bool
- func (o *JobDiff) HasID() bool
- func (o *JobDiff) HasObjects() bool
- func (o *JobDiff) HasTaskGroups() bool
- func (o *JobDiff) HasType() bool
- func (o JobDiff) MarshalJSON() ([]byte, error)
- func (o *JobDiff) SetFields(v []FieldDiff)
- func (o *JobDiff) SetID(v string)
- func (o *JobDiff) SetObjects(v []ObjectDiff)
- func (o *JobDiff) SetTaskGroups(v []TaskGroupDiff)
- func (o *JobDiff) SetType(v string)
- type JobDispatchRequest
- func (o *JobDispatchRequest) GetJobID() string
- func (o *JobDispatchRequest) GetJobIDOk() (*string, bool)
- func (o *JobDispatchRequest) GetMeta() map[string]string
- func (o *JobDispatchRequest) GetMetaOk() (*map[string]string, bool)
- func (o *JobDispatchRequest) GetPayload() []int32
- func (o *JobDispatchRequest) GetPayloadOk() (*[]int32, bool)
- func (o *JobDispatchRequest) HasJobID() bool
- func (o *JobDispatchRequest) HasMeta() bool
- func (o *JobDispatchRequest) HasPayload() bool
- func (o JobDispatchRequest) MarshalJSON() ([]byte, error)
- func (o *JobDispatchRequest) SetJobID(v string)
- func (o *JobDispatchRequest) SetMeta(v map[string]string)
- func (o *JobDispatchRequest) SetPayload(v []int32)
- type JobDispatchResponse
- func (o *JobDispatchResponse) GetDispatchedJobID() string
- func (o *JobDispatchResponse) GetDispatchedJobIDOk() (*string, bool)
- func (o *JobDispatchResponse) GetEvalCreateIndex() int32
- func (o *JobDispatchResponse) GetEvalCreateIndexOk() (*int32, bool)
- func (o *JobDispatchResponse) GetEvalID() string
- func (o *JobDispatchResponse) GetEvalIDOk() (*string, bool)
- func (o *JobDispatchResponse) GetJobCreateIndex() int32
- func (o *JobDispatchResponse) GetJobCreateIndexOk() (*int32, bool)
- func (o *JobDispatchResponse) GetLastIndex() int32
- func (o *JobDispatchResponse) GetLastIndexOk() (*int32, bool)
- func (o *JobDispatchResponse) GetRequestTime() int64
- func (o *JobDispatchResponse) GetRequestTimeOk() (*int64, bool)
- func (o *JobDispatchResponse) HasDispatchedJobID() bool
- func (o *JobDispatchResponse) HasEvalCreateIndex() bool
- func (o *JobDispatchResponse) HasEvalID() bool
- func (o *JobDispatchResponse) HasJobCreateIndex() bool
- func (o *JobDispatchResponse) HasLastIndex() bool
- func (o *JobDispatchResponse) HasRequestTime() bool
- func (o JobDispatchResponse) MarshalJSON() ([]byte, error)
- func (o *JobDispatchResponse) SetDispatchedJobID(v string)
- func (o *JobDispatchResponse) SetEvalCreateIndex(v int32)
- func (o *JobDispatchResponse) SetEvalID(v string)
- func (o *JobDispatchResponse) SetJobCreateIndex(v int32)
- func (o *JobDispatchResponse) SetLastIndex(v int32)
- func (o *JobDispatchResponse) SetRequestTime(v int64)
- type JobEvaluateRequest
- func (o *JobEvaluateRequest) GetEvalOptions() EvalOptions
- func (o *JobEvaluateRequest) GetEvalOptionsOk() (*EvalOptions, bool)
- func (o *JobEvaluateRequest) GetJobID() string
- func (o *JobEvaluateRequest) GetJobIDOk() (*string, bool)
- func (o *JobEvaluateRequest) GetNamespace() string
- func (o *JobEvaluateRequest) GetNamespaceOk() (*string, bool)
- func (o *JobEvaluateRequest) GetRegion() string
- func (o *JobEvaluateRequest) GetRegionOk() (*string, bool)
- func (o *JobEvaluateRequest) GetSecretID() string
- func (o *JobEvaluateRequest) GetSecretIDOk() (*string, bool)
- func (o *JobEvaluateRequest) HasEvalOptions() bool
- func (o *JobEvaluateRequest) HasJobID() bool
- func (o *JobEvaluateRequest) HasNamespace() bool
- func (o *JobEvaluateRequest) HasRegion() bool
- func (o *JobEvaluateRequest) HasSecretID() bool
- func (o JobEvaluateRequest) MarshalJSON() ([]byte, error)
- func (o *JobEvaluateRequest) SetEvalOptions(v EvalOptions)
- func (o *JobEvaluateRequest) SetJobID(v string)
- func (o *JobEvaluateRequest) SetNamespace(v string)
- func (o *JobEvaluateRequest) SetRegion(v string)
- func (o *JobEvaluateRequest) SetSecretID(v string)
- type JobListStub
- func (o *JobListStub) GetCreateIndex() int32
- func (o *JobListStub) GetCreateIndexOk() (*int32, bool)
- func (o *JobListStub) GetDatacenters() []string
- func (o *JobListStub) GetDatacentersOk() (*[]string, bool)
- func (o *JobListStub) GetID() string
- func (o *JobListStub) GetIDOk() (*string, bool)
- func (o *JobListStub) GetJobModifyIndex() int32
- func (o *JobListStub) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobListStub) GetJobSummary() JobSummary
- func (o *JobListStub) GetJobSummaryOk() (*JobSummary, bool)
- func (o *JobListStub) GetModifyIndex() int32
- func (o *JobListStub) GetModifyIndexOk() (*int32, bool)
- func (o *JobListStub) GetName() string
- func (o *JobListStub) GetNameOk() (*string, bool)
- func (o *JobListStub) GetNamespace() string
- func (o *JobListStub) GetNamespaceOk() (*string, bool)
- func (o *JobListStub) GetParameterizedJob() bool
- func (o *JobListStub) GetParameterizedJobOk() (*bool, bool)
- func (o *JobListStub) GetParentID() string
- func (o *JobListStub) GetParentIDOk() (*string, bool)
- func (o *JobListStub) GetPeriodic() bool
- func (o *JobListStub) GetPeriodicOk() (*bool, bool)
- func (o *JobListStub) GetPriority() int64
- func (o *JobListStub) GetPriorityOk() (*int64, bool)
- func (o *JobListStub) GetStatus() string
- func (o *JobListStub) GetStatusDescription() string
- func (o *JobListStub) GetStatusDescriptionOk() (*string, bool)
- func (o *JobListStub) GetStatusOk() (*string, bool)
- func (o *JobListStub) GetStop() bool
- func (o *JobListStub) GetStopOk() (*bool, bool)
- func (o *JobListStub) GetSubmitTime() int64
- func (o *JobListStub) GetSubmitTimeOk() (*int64, bool)
- func (o *JobListStub) GetType() string
- func (o *JobListStub) GetTypeOk() (*string, bool)
- func (o *JobListStub) HasCreateIndex() bool
- func (o *JobListStub) HasDatacenters() bool
- func (o *JobListStub) HasID() bool
- func (o *JobListStub) HasJobModifyIndex() bool
- func (o *JobListStub) HasJobSummary() bool
- func (o *JobListStub) HasModifyIndex() bool
- func (o *JobListStub) HasName() bool
- func (o *JobListStub) HasNamespace() bool
- func (o *JobListStub) HasParameterizedJob() bool
- func (o *JobListStub) HasParentID() bool
- func (o *JobListStub) HasPeriodic() bool
- func (o *JobListStub) HasPriority() bool
- func (o *JobListStub) HasStatus() bool
- func (o *JobListStub) HasStatusDescription() bool
- func (o *JobListStub) HasStop() bool
- func (o *JobListStub) HasSubmitTime() bool
- func (o *JobListStub) HasType() bool
- func (o JobListStub) MarshalJSON() ([]byte, error)
- func (o *JobListStub) SetCreateIndex(v int32)
- func (o *JobListStub) SetDatacenters(v []string)
- func (o *JobListStub) SetID(v string)
- func (o *JobListStub) SetJobModifyIndex(v int32)
- func (o *JobListStub) SetJobSummary(v JobSummary)
- func (o *JobListStub) SetModifyIndex(v int32)
- func (o *JobListStub) SetName(v string)
- func (o *JobListStub) SetNamespace(v string)
- func (o *JobListStub) SetParameterizedJob(v bool)
- func (o *JobListStub) SetParentID(v string)
- func (o *JobListStub) SetPeriodic(v bool)
- func (o *JobListStub) SetPriority(v int64)
- func (o *JobListStub) SetStatus(v string)
- func (o *JobListStub) SetStatusDescription(v string)
- func (o *JobListStub) SetStop(v bool)
- func (o *JobListStub) SetSubmitTime(v int64)
- func (o *JobListStub) SetType(v string)
- type JobPlanRequest
- func (o *JobPlanRequest) GetDiff() bool
- func (o *JobPlanRequest) GetDiffOk() (*bool, bool)
- func (o *JobPlanRequest) GetJob() Job
- func (o *JobPlanRequest) GetJobOk() (*Job, bool)
- func (o *JobPlanRequest) GetNamespace() string
- func (o *JobPlanRequest) GetNamespaceOk() (*string, bool)
- func (o *JobPlanRequest) GetPolicyOverride() bool
- func (o *JobPlanRequest) GetPolicyOverrideOk() (*bool, bool)
- func (o *JobPlanRequest) GetRegion() string
- func (o *JobPlanRequest) GetRegionOk() (*string, bool)
- func (o *JobPlanRequest) GetSecretID() string
- func (o *JobPlanRequest) GetSecretIDOk() (*string, bool)
- func (o *JobPlanRequest) HasDiff() bool
- func (o *JobPlanRequest) HasJob() bool
- func (o *JobPlanRequest) HasNamespace() bool
- func (o *JobPlanRequest) HasPolicyOverride() bool
- func (o *JobPlanRequest) HasRegion() bool
- func (o *JobPlanRequest) HasSecretID() bool
- func (o JobPlanRequest) MarshalJSON() ([]byte, error)
- func (o *JobPlanRequest) SetDiff(v bool)
- func (o *JobPlanRequest) SetJob(v Job)
- func (o *JobPlanRequest) SetNamespace(v string)
- func (o *JobPlanRequest) SetPolicyOverride(v bool)
- func (o *JobPlanRequest) SetRegion(v string)
- func (o *JobPlanRequest) SetSecretID(v string)
- type JobPlanResponse
- func (o *JobPlanResponse) GetAnnotations() PlanAnnotations
- func (o *JobPlanResponse) GetAnnotationsOk() (*PlanAnnotations, bool)
- func (o *JobPlanResponse) GetCreatedEvals() []Evaluation
- func (o *JobPlanResponse) GetCreatedEvalsOk() (*[]Evaluation, bool)
- func (o *JobPlanResponse) GetDiff() JobDiff
- func (o *JobPlanResponse) GetDiffOk() (*JobDiff, bool)
- func (o *JobPlanResponse) GetFailedTGAllocs() map[string]AllocationMetric
- func (o *JobPlanResponse) GetFailedTGAllocsOk() (*map[string]AllocationMetric, bool)
- func (o *JobPlanResponse) GetJobModifyIndex() int32
- func (o *JobPlanResponse) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobPlanResponse) GetNextPeriodicLaunch() time.Time
- func (o *JobPlanResponse) GetNextPeriodicLaunchOk() (*time.Time, bool)
- func (o *JobPlanResponse) GetWarnings() string
- func (o *JobPlanResponse) GetWarningsOk() (*string, bool)
- func (o *JobPlanResponse) HasAnnotations() bool
- func (o *JobPlanResponse) HasCreatedEvals() bool
- func (o *JobPlanResponse) HasDiff() bool
- func (o *JobPlanResponse) HasFailedTGAllocs() bool
- func (o *JobPlanResponse) HasJobModifyIndex() bool
- func (o *JobPlanResponse) HasNextPeriodicLaunch() bool
- func (o *JobPlanResponse) HasWarnings() bool
- func (o JobPlanResponse) MarshalJSON() ([]byte, error)
- func (o *JobPlanResponse) SetAnnotations(v PlanAnnotations)
- func (o *JobPlanResponse) SetCreatedEvals(v []Evaluation)
- func (o *JobPlanResponse) SetDiff(v JobDiff)
- func (o *JobPlanResponse) SetFailedTGAllocs(v map[string]AllocationMetric)
- func (o *JobPlanResponse) SetJobModifyIndex(v int32)
- func (o *JobPlanResponse) SetNextPeriodicLaunch(v time.Time)
- func (o *JobPlanResponse) SetWarnings(v string)
- type JobRegisterRequest
- func (o *JobRegisterRequest) GetEnforceIndex() bool
- func (o *JobRegisterRequest) GetEnforceIndexOk() (*bool, bool)
- func (o *JobRegisterRequest) GetJob() Job
- func (o *JobRegisterRequest) GetJobModifyIndex() int32
- func (o *JobRegisterRequest) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobRegisterRequest) GetJobOk() (*Job, bool)
- func (o *JobRegisterRequest) GetNamespace() string
- func (o *JobRegisterRequest) GetNamespaceOk() (*string, bool)
- func (o *JobRegisterRequest) GetPolicyOverride() bool
- func (o *JobRegisterRequest) GetPolicyOverrideOk() (*bool, bool)
- func (o *JobRegisterRequest) GetPreserveCounts() bool
- func (o *JobRegisterRequest) GetPreserveCountsOk() (*bool, bool)
- func (o *JobRegisterRequest) GetRegion() string
- func (o *JobRegisterRequest) GetRegionOk() (*string, bool)
- func (o *JobRegisterRequest) GetSecretID() string
- func (o *JobRegisterRequest) GetSecretIDOk() (*string, bool)
- func (o *JobRegisterRequest) HasEnforceIndex() bool
- func (o *JobRegisterRequest) HasJob() bool
- func (o *JobRegisterRequest) HasJobModifyIndex() bool
- func (o *JobRegisterRequest) HasNamespace() bool
- func (o *JobRegisterRequest) HasPolicyOverride() bool
- func (o *JobRegisterRequest) HasPreserveCounts() bool
- func (o *JobRegisterRequest) HasRegion() bool
- func (o *JobRegisterRequest) HasSecretID() bool
- func (o JobRegisterRequest) MarshalJSON() ([]byte, error)
- func (o *JobRegisterRequest) SetEnforceIndex(v bool)
- func (o *JobRegisterRequest) SetJob(v Job)
- func (o *JobRegisterRequest) SetJobModifyIndex(v int32)
- func (o *JobRegisterRequest) SetNamespace(v string)
- func (o *JobRegisterRequest) SetPolicyOverride(v bool)
- func (o *JobRegisterRequest) SetPreserveCounts(v bool)
- func (o *JobRegisterRequest) SetRegion(v string)
- func (o *JobRegisterRequest) SetSecretID(v string)
- type JobRegisterResponse
- func (o *JobRegisterResponse) GetEvalCreateIndex() int32
- func (o *JobRegisterResponse) GetEvalCreateIndexOk() (*int32, bool)
- func (o *JobRegisterResponse) GetEvalID() string
- func (o *JobRegisterResponse) GetEvalIDOk() (*string, bool)
- func (o *JobRegisterResponse) GetJobModifyIndex() int32
- func (o *JobRegisterResponse) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobRegisterResponse) GetKnownLeader() bool
- func (o *JobRegisterResponse) GetKnownLeaderOk() (*bool, bool)
- func (o *JobRegisterResponse) GetLastContact() int64
- func (o *JobRegisterResponse) GetLastContactOk() (*int64, bool)
- func (o *JobRegisterResponse) GetLastIndex() int32
- func (o *JobRegisterResponse) GetLastIndexOk() (*int32, bool)
- func (o *JobRegisterResponse) GetRequestTime() int64
- func (o *JobRegisterResponse) GetRequestTimeOk() (*int64, bool)
- func (o *JobRegisterResponse) GetWarnings() string
- func (o *JobRegisterResponse) GetWarningsOk() (*string, bool)
- func (o *JobRegisterResponse) HasEvalCreateIndex() bool
- func (o *JobRegisterResponse) HasEvalID() bool
- func (o *JobRegisterResponse) HasJobModifyIndex() bool
- func (o *JobRegisterResponse) HasKnownLeader() bool
- func (o *JobRegisterResponse) HasLastContact() bool
- func (o *JobRegisterResponse) HasLastIndex() bool
- func (o *JobRegisterResponse) HasRequestTime() bool
- func (o *JobRegisterResponse) HasWarnings() bool
- func (o JobRegisterResponse) MarshalJSON() ([]byte, error)
- func (o *JobRegisterResponse) SetEvalCreateIndex(v int32)
- func (o *JobRegisterResponse) SetEvalID(v string)
- func (o *JobRegisterResponse) SetJobModifyIndex(v int32)
- func (o *JobRegisterResponse) SetKnownLeader(v bool)
- func (o *JobRegisterResponse) SetLastContact(v int64)
- func (o *JobRegisterResponse) SetLastIndex(v int32)
- func (o *JobRegisterResponse) SetRequestTime(v int64)
- func (o *JobRegisterResponse) SetWarnings(v string)
- type JobRevertRequest
- func (o *JobRevertRequest) GetConsulToken() string
- func (o *JobRevertRequest) GetConsulTokenOk() (*string, bool)
- func (o *JobRevertRequest) GetEnforcePriorVersion() int32
- func (o *JobRevertRequest) GetEnforcePriorVersionOk() (*int32, bool)
- func (o *JobRevertRequest) GetJobID() string
- func (o *JobRevertRequest) GetJobIDOk() (*string, bool)
- func (o *JobRevertRequest) GetJobVersion() int32
- func (o *JobRevertRequest) GetJobVersionOk() (*int32, bool)
- func (o *JobRevertRequest) GetNamespace() string
- func (o *JobRevertRequest) GetNamespaceOk() (*string, bool)
- func (o *JobRevertRequest) GetRegion() string
- func (o *JobRevertRequest) GetRegionOk() (*string, bool)
- func (o *JobRevertRequest) GetSecretID() string
- func (o *JobRevertRequest) GetSecretIDOk() (*string, bool)
- func (o *JobRevertRequest) GetVaultToken() string
- func (o *JobRevertRequest) GetVaultTokenOk() (*string, bool)
- func (o *JobRevertRequest) HasConsulToken() bool
- func (o *JobRevertRequest) HasEnforcePriorVersion() bool
- func (o *JobRevertRequest) HasJobID() bool
- func (o *JobRevertRequest) HasJobVersion() bool
- func (o *JobRevertRequest) HasNamespace() bool
- func (o *JobRevertRequest) HasRegion() bool
- func (o *JobRevertRequest) HasSecretID() bool
- func (o *JobRevertRequest) HasVaultToken() bool
- func (o JobRevertRequest) MarshalJSON() ([]byte, error)
- func (o *JobRevertRequest) SetConsulToken(v string)
- func (o *JobRevertRequest) SetEnforcePriorVersion(v int32)
- func (o *JobRevertRequest) SetJobID(v string)
- func (o *JobRevertRequest) SetJobVersion(v int32)
- func (o *JobRevertRequest) SetNamespace(v string)
- func (o *JobRevertRequest) SetRegion(v string)
- func (o *JobRevertRequest) SetSecretID(v string)
- func (o *JobRevertRequest) SetVaultToken(v string)
- type JobStabilityRequest
- func (o *JobStabilityRequest) GetJobID() string
- func (o *JobStabilityRequest) GetJobIDOk() (*string, bool)
- func (o *JobStabilityRequest) GetJobVersion() int32
- func (o *JobStabilityRequest) GetJobVersionOk() (*int32, bool)
- func (o *JobStabilityRequest) GetNamespace() string
- func (o *JobStabilityRequest) GetNamespaceOk() (*string, bool)
- func (o *JobStabilityRequest) GetRegion() string
- func (o *JobStabilityRequest) GetRegionOk() (*string, bool)
- func (o *JobStabilityRequest) GetSecretID() string
- func (o *JobStabilityRequest) GetSecretIDOk() (*string, bool)
- func (o *JobStabilityRequest) GetStable() bool
- func (o *JobStabilityRequest) GetStableOk() (*bool, bool)
- func (o *JobStabilityRequest) HasJobID() bool
- func (o *JobStabilityRequest) HasJobVersion() bool
- func (o *JobStabilityRequest) HasNamespace() bool
- func (o *JobStabilityRequest) HasRegion() bool
- func (o *JobStabilityRequest) HasSecretID() bool
- func (o *JobStabilityRequest) HasStable() bool
- func (o JobStabilityRequest) MarshalJSON() ([]byte, error)
- func (o *JobStabilityRequest) SetJobID(v string)
- func (o *JobStabilityRequest) SetJobVersion(v int32)
- func (o *JobStabilityRequest) SetNamespace(v string)
- func (o *JobStabilityRequest) SetRegion(v string)
- func (o *JobStabilityRequest) SetSecretID(v string)
- func (o *JobStabilityRequest) SetStable(v bool)
- type JobStabilityResponse
- func (o *JobStabilityResponse) GetJobModifyIndex() int32
- func (o *JobStabilityResponse) GetJobModifyIndexOk() (*int32, bool)
- func (o *JobStabilityResponse) GetLastIndex() int32
- func (o *JobStabilityResponse) GetLastIndexOk() (*int32, bool)
- func (o *JobStabilityResponse) GetRequestTime() int64
- func (o *JobStabilityResponse) GetRequestTimeOk() (*int64, bool)
- func (o *JobStabilityResponse) HasJobModifyIndex() bool
- func (o *JobStabilityResponse) HasLastIndex() bool
- func (o *JobStabilityResponse) HasRequestTime() bool
- func (o JobStabilityResponse) MarshalJSON() ([]byte, error)
- func (o *JobStabilityResponse) SetJobModifyIndex(v int32)
- func (o *JobStabilityResponse) SetLastIndex(v int32)
- func (o *JobStabilityResponse) SetRequestTime(v int64)
- type JobSummary
- func (o *JobSummary) GetChildren() JobChildrenSummary
- func (o *JobSummary) GetChildrenOk() (*JobChildrenSummary, bool)
- func (o *JobSummary) GetCreateIndex() int32
- func (o *JobSummary) GetCreateIndexOk() (*int32, bool)
- func (o *JobSummary) GetJobID() string
- func (o *JobSummary) GetJobIDOk() (*string, bool)
- func (o *JobSummary) GetModifyIndex() int32
- func (o *JobSummary) GetModifyIndexOk() (*int32, bool)
- func (o *JobSummary) GetNamespace() string
- func (o *JobSummary) GetNamespaceOk() (*string, bool)
- func (o *JobSummary) GetSummary() map[string]TaskGroupSummary
- func (o *JobSummary) GetSummaryOk() (*map[string]TaskGroupSummary, bool)
- func (o *JobSummary) HasChildren() bool
- func (o *JobSummary) HasCreateIndex() bool
- func (o *JobSummary) HasJobID() bool
- func (o *JobSummary) HasModifyIndex() bool
- func (o *JobSummary) HasNamespace() bool
- func (o *JobSummary) HasSummary() bool
- func (o JobSummary) MarshalJSON() ([]byte, error)
- func (o *JobSummary) SetChildren(v JobChildrenSummary)
- func (o *JobSummary) SetCreateIndex(v int32)
- func (o *JobSummary) SetJobID(v string)
- func (o *JobSummary) SetModifyIndex(v int32)
- func (o *JobSummary) SetNamespace(v string)
- func (o *JobSummary) SetSummary(v map[string]TaskGroupSummary)
- type JobValidateRequest
- func (o *JobValidateRequest) GetJob() Job
- func (o *JobValidateRequest) GetJobOk() (*Job, bool)
- func (o *JobValidateRequest) GetNamespace() string
- func (o *JobValidateRequest) GetNamespaceOk() (*string, bool)
- func (o *JobValidateRequest) GetRegion() string
- func (o *JobValidateRequest) GetRegionOk() (*string, bool)
- func (o *JobValidateRequest) GetSecretID() string
- func (o *JobValidateRequest) GetSecretIDOk() (*string, bool)
- func (o *JobValidateRequest) HasJob() bool
- func (o *JobValidateRequest) HasNamespace() bool
- func (o *JobValidateRequest) HasRegion() bool
- func (o *JobValidateRequest) HasSecretID() bool
- func (o JobValidateRequest) MarshalJSON() ([]byte, error)
- func (o *JobValidateRequest) SetJob(v Job)
- func (o *JobValidateRequest) SetNamespace(v string)
- func (o *JobValidateRequest) SetRegion(v string)
- func (o *JobValidateRequest) SetSecretID(v string)
- type JobValidateResponse
- func (o *JobValidateResponse) GetDriverConfigValidated() bool
- func (o *JobValidateResponse) GetDriverConfigValidatedOk() (*bool, bool)
- func (o *JobValidateResponse) GetError() string
- func (o *JobValidateResponse) GetErrorOk() (*string, bool)
- func (o *JobValidateResponse) GetValidationErrors() []string
- func (o *JobValidateResponse) GetValidationErrorsOk() (*[]string, bool)
- func (o *JobValidateResponse) GetWarnings() string
- func (o *JobValidateResponse) GetWarningsOk() (*string, bool)
- func (o *JobValidateResponse) HasDriverConfigValidated() bool
- func (o *JobValidateResponse) HasError() bool
- func (o *JobValidateResponse) HasValidationErrors() bool
- func (o *JobValidateResponse) HasWarnings() bool
- func (o JobValidateResponse) MarshalJSON() ([]byte, error)
- func (o *JobValidateResponse) SetDriverConfigValidated(v bool)
- func (o *JobValidateResponse) SetError(v string)
- func (o *JobValidateResponse) SetValidationErrors(v []string)
- func (o *JobValidateResponse) SetWarnings(v string)
- type JobVersionsResponse
- func (o *JobVersionsResponse) GetDiffs() []JobDiff
- func (o *JobVersionsResponse) GetDiffsOk() (*[]JobDiff, bool)
- func (o *JobVersionsResponse) GetKnownLeader() bool
- func (o *JobVersionsResponse) GetKnownLeaderOk() (*bool, bool)
- func (o *JobVersionsResponse) GetLastContact() int64
- func (o *JobVersionsResponse) GetLastContactOk() (*int64, bool)
- func (o *JobVersionsResponse) GetLastIndex() int32
- func (o *JobVersionsResponse) GetLastIndexOk() (*int32, bool)
- func (o *JobVersionsResponse) GetRequestTime() int64
- func (o *JobVersionsResponse) GetRequestTimeOk() (*int64, bool)
- func (o *JobVersionsResponse) GetVersions() []Job
- func (o *JobVersionsResponse) GetVersionsOk() (*[]Job, bool)
- func (o *JobVersionsResponse) HasDiffs() bool
- func (o *JobVersionsResponse) HasKnownLeader() bool
- func (o *JobVersionsResponse) HasLastContact() bool
- func (o *JobVersionsResponse) HasLastIndex() bool
- func (o *JobVersionsResponse) HasRequestTime() bool
- func (o *JobVersionsResponse) HasVersions() bool
- func (o JobVersionsResponse) MarshalJSON() ([]byte, error)
- func (o *JobVersionsResponse) SetDiffs(v []JobDiff)
- func (o *JobVersionsResponse) SetKnownLeader(v bool)
- func (o *JobVersionsResponse) SetLastContact(v int64)
- func (o *JobVersionsResponse) SetLastIndex(v int32)
- func (o *JobVersionsResponse) SetRequestTime(v int64)
- func (o *JobVersionsResponse) SetVersions(v []Job)
- type JobsApiService
- func (a *JobsApiService) EvaluateJob(ctx _context.Context, jobName string) ApiEvaluateJobRequest
- func (a *JobsApiService) EvaluateJobExecute(r ApiEvaluateJobRequest) (JobRegisterResponse, *_nethttp.Response, error)
- func (a *JobsApiService) GetJobAllocations(ctx _context.Context, jobName string) ApiGetJobAllocationsRequest
- func (a *JobsApiService) GetJobAllocationsExecute(r ApiGetJobAllocationsRequest) ([]AllocListStub, *_nethttp.Response, error)
- func (a *JobsApiService) GetJobEvaluations(ctx _context.Context, jobName string) ApiGetJobEvaluationsRequest
- func (a *JobsApiService) GetJobEvaluationsExecute(r ApiGetJobEvaluationsRequest) ([]Evaluation, *_nethttp.Response, error)
- func (a *JobsApiService) GetJobs(ctx _context.Context) ApiGetJobsRequest
- func (a *JobsApiService) GetJobsExecute(r ApiGetJobsRequest) ([]JobListStub, *_nethttp.Response, error)
- func (a *JobsApiService) ParseJobSpec(ctx _context.Context) ApiParseJobSpecRequest
- func (a *JobsApiService) ParseJobSpecExecute(r ApiParseJobSpecRequest) (Job, *_nethttp.Response, error)
- func (a *JobsApiService) PutJobForceRequest(ctx _context.Context, jobName string) ApiPutJobForceRequestRequest
- func (a *JobsApiService) PutJobForceRequestExecute(r ApiPutJobForceRequestRequest) (PeriodicForceResponse, *_nethttp.Response, error)
- type JobsParseRequest
- func (o *JobsParseRequest) GetCanonicalize() bool
- func (o *JobsParseRequest) GetCanonicalizeOk() (*bool, bool)
- func (o *JobsParseRequest) GetHclv1() bool
- func (o *JobsParseRequest) GetHclv1Ok() (*bool, bool)
- func (o *JobsParseRequest) GetJobHCL() string
- func (o *JobsParseRequest) GetJobHCLOk() (*string, bool)
- func (o *JobsParseRequest) HasCanonicalize() bool
- func (o *JobsParseRequest) HasHclv1() bool
- func (o *JobsParseRequest) HasJobHCL() bool
- func (o JobsParseRequest) MarshalJSON() ([]byte, error)
- func (o *JobsParseRequest) SetCanonicalize(v bool)
- func (o *JobsParseRequest) SetHclv1(v bool)
- func (o *JobsParseRequest) SetJobHCL(v string)
- type LogConfig
- func (o *LogConfig) GetMaxFileSizeMB() int64
- func (o *LogConfig) GetMaxFileSizeMBOk() (*int64, bool)
- func (o *LogConfig) GetMaxFiles() int64
- func (o *LogConfig) GetMaxFilesOk() (*int64, bool)
- func (o *LogConfig) HasMaxFileSizeMB() bool
- func (o *LogConfig) HasMaxFiles() bool
- func (o LogConfig) MarshalJSON() ([]byte, error)
- func (o *LogConfig) SetMaxFileSizeMB(v int64)
- func (o *LogConfig) SetMaxFiles(v int64)
- type MigrateStrategy
- func (o *MigrateStrategy) GetHealthCheck() string
- func (o *MigrateStrategy) GetHealthCheckOk() (*string, bool)
- func (o *MigrateStrategy) GetHealthyDeadline() int64
- func (o *MigrateStrategy) GetHealthyDeadlineOk() (*int64, bool)
- func (o *MigrateStrategy) GetMaxParallel() int64
- func (o *MigrateStrategy) GetMaxParallelOk() (*int64, bool)
- func (o *MigrateStrategy) GetMinHealthyTime() int64
- func (o *MigrateStrategy) GetMinHealthyTimeOk() (*int64, bool)
- func (o *MigrateStrategy) HasHealthCheck() bool
- func (o *MigrateStrategy) HasHealthyDeadline() bool
- func (o *MigrateStrategy) HasMaxParallel() bool
- func (o *MigrateStrategy) HasMinHealthyTime() bool
- func (o MigrateStrategy) MarshalJSON() ([]byte, error)
- func (o *MigrateStrategy) SetHealthCheck(v string)
- func (o *MigrateStrategy) SetHealthyDeadline(v int64)
- func (o *MigrateStrategy) SetMaxParallel(v int64)
- func (o *MigrateStrategy) SetMinHealthyTime(v int64)
- type Multiregion
- func (o *Multiregion) GetRegions() []MultiregionRegion
- func (o *Multiregion) GetRegionsOk() (*[]MultiregionRegion, bool)
- func (o *Multiregion) GetStrategy() MultiregionStrategy
- func (o *Multiregion) GetStrategyOk() (*MultiregionStrategy, bool)
- func (o *Multiregion) HasRegions() bool
- func (o *Multiregion) HasStrategy() bool
- func (o Multiregion) MarshalJSON() ([]byte, error)
- func (o *Multiregion) SetRegions(v []MultiregionRegion)
- func (o *Multiregion) SetStrategy(v MultiregionStrategy)
- type MultiregionRegion
- func (o *MultiregionRegion) GetCount() int64
- func (o *MultiregionRegion) GetCountOk() (*int64, bool)
- func (o *MultiregionRegion) GetDatacenters() []string
- func (o *MultiregionRegion) GetDatacentersOk() (*[]string, bool)
- func (o *MultiregionRegion) GetMeta() map[string]string
- func (o *MultiregionRegion) GetMetaOk() (*map[string]string, bool)
- func (o *MultiregionRegion) GetName() string
- func (o *MultiregionRegion) GetNameOk() (*string, bool)
- func (o *MultiregionRegion) HasCount() bool
- func (o *MultiregionRegion) HasDatacenters() bool
- func (o *MultiregionRegion) HasMeta() bool
- func (o *MultiregionRegion) HasName() bool
- func (o MultiregionRegion) MarshalJSON() ([]byte, error)
- func (o *MultiregionRegion) SetCount(v int64)
- func (o *MultiregionRegion) SetDatacenters(v []string)
- func (o *MultiregionRegion) SetMeta(v map[string]string)
- func (o *MultiregionRegion) SetName(v string)
- type MultiregionStrategy
- func (o *MultiregionStrategy) GetMaxParallel() int64
- func (o *MultiregionStrategy) GetMaxParallelOk() (*int64, bool)
- func (o *MultiregionStrategy) GetOnFailure() string
- func (o *MultiregionStrategy) GetOnFailureOk() (*string, bool)
- func (o *MultiregionStrategy) HasMaxParallel() bool
- func (o *MultiregionStrategy) HasOnFailure() bool
- func (o MultiregionStrategy) MarshalJSON() ([]byte, error)
- func (o *MultiregionStrategy) SetMaxParallel(v int64)
- func (o *MultiregionStrategy) SetOnFailure(v string)
- type NetworkResource
- func (o *NetworkResource) GetCIDR() string
- func (o *NetworkResource) GetCIDROk() (*string, bool)
- func (o *NetworkResource) GetDNS() DNSConfig
- func (o *NetworkResource) GetDNSOk() (*DNSConfig, bool)
- func (o *NetworkResource) GetDevice() string
- func (o *NetworkResource) GetDeviceOk() (*string, bool)
- func (o *NetworkResource) GetDynamicPorts() []Port
- func (o *NetworkResource) GetDynamicPortsOk() (*[]Port, bool)
- func (o *NetworkResource) GetIP() string
- func (o *NetworkResource) GetIPOk() (*string, bool)
- func (o *NetworkResource) GetMBits() int64
- func (o *NetworkResource) GetMBitsOk() (*int64, bool)
- func (o *NetworkResource) GetMode() string
- func (o *NetworkResource) GetModeOk() (*string, bool)
- func (o *NetworkResource) GetReservedPorts() []Port
- func (o *NetworkResource) GetReservedPortsOk() (*[]Port, bool)
- func (o *NetworkResource) HasCIDR() bool
- func (o *NetworkResource) HasDNS() bool
- func (o *NetworkResource) HasDevice() bool
- func (o *NetworkResource) HasDynamicPorts() bool
- func (o *NetworkResource) HasIP() bool
- func (o *NetworkResource) HasMBits() bool
- func (o *NetworkResource) HasMode() bool
- func (o *NetworkResource) HasReservedPorts() bool
- func (o NetworkResource) MarshalJSON() ([]byte, error)
- func (o *NetworkResource) SetCIDR(v string)
- func (o *NetworkResource) SetDNS(v DNSConfig)
- func (o *NetworkResource) SetDevice(v string)
- func (o *NetworkResource) SetDynamicPorts(v []Port)
- func (o *NetworkResource) SetIP(v string)
- func (o *NetworkResource) SetMBits(v int64)
- func (o *NetworkResource) SetMode(v string)
- func (o *NetworkResource) SetReservedPorts(v []Port)
- type NodeScoreMeta
- func (o *NodeScoreMeta) GetNodeID() string
- func (o *NodeScoreMeta) GetNodeIDOk() (*string, bool)
- func (o *NodeScoreMeta) GetNormScore() float64
- func (o *NodeScoreMeta) GetNormScoreOk() (*float64, bool)
- func (o *NodeScoreMeta) GetScores() map[string]float64
- func (o *NodeScoreMeta) GetScoresOk() (*map[string]float64, bool)
- func (o *NodeScoreMeta) HasNodeID() bool
- func (o *NodeScoreMeta) HasNormScore() bool
- func (o *NodeScoreMeta) HasScores() bool
- func (o NodeScoreMeta) MarshalJSON() ([]byte, error)
- func (o *NodeScoreMeta) SetNodeID(v string)
- func (o *NodeScoreMeta) SetNormScore(v float64)
- func (o *NodeScoreMeta) SetScores(v map[string]float64)
- type NullableAffinity
- type NullableAllocDeploymentStatus
- func (v NullableAllocDeploymentStatus) Get() *AllocDeploymentStatus
- func (v NullableAllocDeploymentStatus) IsSet() bool
- func (v NullableAllocDeploymentStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAllocDeploymentStatus) Set(val *AllocDeploymentStatus)
- func (v *NullableAllocDeploymentStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAllocDeploymentStatus) Unset()
- type NullableAllocListStub
- func (v NullableAllocListStub) Get() *AllocListStub
- func (v NullableAllocListStub) IsSet() bool
- func (v NullableAllocListStub) MarshalJSON() ([]byte, error)
- func (v *NullableAllocListStub) Set(val *AllocListStub)
- func (v *NullableAllocListStub) UnmarshalJSON(src []byte) error
- func (v *NullableAllocListStub) Unset()
- type NullableAllocatedCpuResources
- func (v NullableAllocatedCpuResources) Get() *AllocatedCpuResources
- func (v NullableAllocatedCpuResources) IsSet() bool
- func (v NullableAllocatedCpuResources) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedCpuResources) Set(val *AllocatedCpuResources)
- func (v *NullableAllocatedCpuResources) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedCpuResources) Unset()
- type NullableAllocatedDeviceResource
- func (v NullableAllocatedDeviceResource) Get() *AllocatedDeviceResource
- func (v NullableAllocatedDeviceResource) IsSet() bool
- func (v NullableAllocatedDeviceResource) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedDeviceResource) Set(val *AllocatedDeviceResource)
- func (v *NullableAllocatedDeviceResource) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedDeviceResource) Unset()
- type NullableAllocatedMemoryResources
- func (v NullableAllocatedMemoryResources) Get() *AllocatedMemoryResources
- func (v NullableAllocatedMemoryResources) IsSet() bool
- func (v NullableAllocatedMemoryResources) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedMemoryResources) Set(val *AllocatedMemoryResources)
- func (v *NullableAllocatedMemoryResources) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedMemoryResources) Unset()
- type NullableAllocatedPortMapping
- func (v NullableAllocatedPortMapping) Get() *AllocatedPortMapping
- func (v NullableAllocatedPortMapping) IsSet() bool
- func (v NullableAllocatedPortMapping) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedPortMapping) Set(val *AllocatedPortMapping)
- func (v *NullableAllocatedPortMapping) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedPortMapping) Unset()
- type NullableAllocatedResources
- func (v NullableAllocatedResources) Get() *AllocatedResources
- func (v NullableAllocatedResources) IsSet() bool
- func (v NullableAllocatedResources) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedResources) Set(val *AllocatedResources)
- func (v *NullableAllocatedResources) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedResources) Unset()
- type NullableAllocatedSharedResources
- func (v NullableAllocatedSharedResources) Get() *AllocatedSharedResources
- func (v NullableAllocatedSharedResources) IsSet() bool
- func (v NullableAllocatedSharedResources) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedSharedResources) Set(val *AllocatedSharedResources)
- func (v *NullableAllocatedSharedResources) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedSharedResources) Unset()
- type NullableAllocatedTaskResources
- func (v NullableAllocatedTaskResources) Get() *AllocatedTaskResources
- func (v NullableAllocatedTaskResources) IsSet() bool
- func (v NullableAllocatedTaskResources) MarshalJSON() ([]byte, error)
- func (v *NullableAllocatedTaskResources) Set(val *AllocatedTaskResources)
- func (v *NullableAllocatedTaskResources) UnmarshalJSON(src []byte) error
- func (v *NullableAllocatedTaskResources) Unset()
- type NullableAllocationListStub
- func (v NullableAllocationListStub) Get() *AllocationListStub
- func (v NullableAllocationListStub) IsSet() bool
- func (v NullableAllocationListStub) MarshalJSON() ([]byte, error)
- func (v *NullableAllocationListStub) Set(val *AllocationListStub)
- func (v *NullableAllocationListStub) UnmarshalJSON(src []byte) error
- func (v *NullableAllocationListStub) Unset()
- type NullableAllocationMetric
- func (v NullableAllocationMetric) Get() *AllocationMetric
- func (v NullableAllocationMetric) IsSet() bool
- func (v NullableAllocationMetric) MarshalJSON() ([]byte, error)
- func (v *NullableAllocationMetric) Set(val *AllocationMetric)
- func (v *NullableAllocationMetric) UnmarshalJSON(src []byte) error
- func (v *NullableAllocationMetric) Unset()
- type NullableAuthenticateOKBody
- func (v NullableAuthenticateOKBody) Get() *AuthenticateOKBody
- func (v NullableAuthenticateOKBody) IsSet() bool
- func (v NullableAuthenticateOKBody) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticateOKBody) Set(val *AuthenticateOKBody)
- func (v *NullableAuthenticateOKBody) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticateOKBody) Unset()
- type NullableBool
- type NullableCSIMountOptions
- func (v NullableCSIMountOptions) Get() *CSIMountOptions
- func (v NullableCSIMountOptions) IsSet() bool
- func (v NullableCSIMountOptions) MarshalJSON() ([]byte, error)
- func (v *NullableCSIMountOptions) Set(val *CSIMountOptions)
- func (v *NullableCSIMountOptions) UnmarshalJSON(src []byte) error
- func (v *NullableCSIMountOptions) Unset()
- type NullableCheckRestart
- func (v NullableCheckRestart) Get() *CheckRestart
- func (v NullableCheckRestart) IsSet() bool
- func (v NullableCheckRestart) MarshalJSON() ([]byte, error)
- func (v *NullableCheckRestart) Set(val *CheckRestart)
- func (v *NullableCheckRestart) UnmarshalJSON(src []byte) error
- func (v *NullableCheckRestart) Unset()
- type NullableConstraint
- type NullableConsul
- type NullableConsulConnect
- func (v NullableConsulConnect) Get() *ConsulConnect
- func (v NullableConsulConnect) IsSet() bool
- func (v NullableConsulConnect) MarshalJSON() ([]byte, error)
- func (v *NullableConsulConnect) Set(val *ConsulConnect)
- func (v *NullableConsulConnect) UnmarshalJSON(src []byte) error
- func (v *NullableConsulConnect) Unset()
- type NullableConsulExposeConfig
- func (v NullableConsulExposeConfig) Get() *ConsulExposeConfig
- func (v NullableConsulExposeConfig) IsSet() bool
- func (v NullableConsulExposeConfig) MarshalJSON() ([]byte, error)
- func (v *NullableConsulExposeConfig) Set(val *ConsulExposeConfig)
- func (v *NullableConsulExposeConfig) UnmarshalJSON(src []byte) error
- func (v *NullableConsulExposeConfig) Unset()
- type NullableConsulExposePath
- func (v NullableConsulExposePath) Get() *ConsulExposePath
- func (v NullableConsulExposePath) IsSet() bool
- func (v NullableConsulExposePath) MarshalJSON() ([]byte, error)
- func (v *NullableConsulExposePath) Set(val *ConsulExposePath)
- func (v *NullableConsulExposePath) UnmarshalJSON(src []byte) error
- func (v *NullableConsulExposePath) Unset()
- type NullableConsulGateway
- func (v NullableConsulGateway) Get() *ConsulGateway
- func (v NullableConsulGateway) IsSet() bool
- func (v NullableConsulGateway) MarshalJSON() ([]byte, error)
- func (v *NullableConsulGateway) Set(val *ConsulGateway)
- func (v *NullableConsulGateway) UnmarshalJSON(src []byte) error
- func (v *NullableConsulGateway) Unset()
- type NullableConsulGatewayBindAddress
- func (v NullableConsulGatewayBindAddress) Get() *ConsulGatewayBindAddress
- func (v NullableConsulGatewayBindAddress) IsSet() bool
- func (v NullableConsulGatewayBindAddress) MarshalJSON() ([]byte, error)
- func (v *NullableConsulGatewayBindAddress) Set(val *ConsulGatewayBindAddress)
- func (v *NullableConsulGatewayBindAddress) UnmarshalJSON(src []byte) error
- func (v *NullableConsulGatewayBindAddress) Unset()
- type NullableConsulGatewayProxy
- func (v NullableConsulGatewayProxy) Get() *ConsulGatewayProxy
- func (v NullableConsulGatewayProxy) IsSet() bool
- func (v NullableConsulGatewayProxy) MarshalJSON() ([]byte, error)
- func (v *NullableConsulGatewayProxy) Set(val *ConsulGatewayProxy)
- func (v *NullableConsulGatewayProxy) UnmarshalJSON(src []byte) error
- func (v *NullableConsulGatewayProxy) Unset()
- type NullableConsulGatewayTLSConfig
- func (v NullableConsulGatewayTLSConfig) Get() *ConsulGatewayTLSConfig
- func (v NullableConsulGatewayTLSConfig) IsSet() bool
- func (v NullableConsulGatewayTLSConfig) MarshalJSON() ([]byte, error)
- func (v *NullableConsulGatewayTLSConfig) Set(val *ConsulGatewayTLSConfig)
- func (v *NullableConsulGatewayTLSConfig) UnmarshalJSON(src []byte) error
- func (v *NullableConsulGatewayTLSConfig) Unset()
- type NullableConsulIngressConfigEntry
- func (v NullableConsulIngressConfigEntry) Get() *ConsulIngressConfigEntry
- func (v NullableConsulIngressConfigEntry) IsSet() bool
- func (v NullableConsulIngressConfigEntry) MarshalJSON() ([]byte, error)
- func (v *NullableConsulIngressConfigEntry) Set(val *ConsulIngressConfigEntry)
- func (v *NullableConsulIngressConfigEntry) UnmarshalJSON(src []byte) error
- func (v *NullableConsulIngressConfigEntry) Unset()
- type NullableConsulIngressListener
- func (v NullableConsulIngressListener) Get() *ConsulIngressListener
- func (v NullableConsulIngressListener) IsSet() bool
- func (v NullableConsulIngressListener) MarshalJSON() ([]byte, error)
- func (v *NullableConsulIngressListener) Set(val *ConsulIngressListener)
- func (v *NullableConsulIngressListener) UnmarshalJSON(src []byte) error
- func (v *NullableConsulIngressListener) Unset()
- type NullableConsulIngressService
- func (v NullableConsulIngressService) Get() *ConsulIngressService
- func (v NullableConsulIngressService) IsSet() bool
- func (v NullableConsulIngressService) MarshalJSON() ([]byte, error)
- func (v *NullableConsulIngressService) Set(val *ConsulIngressService)
- func (v *NullableConsulIngressService) UnmarshalJSON(src []byte) error
- func (v *NullableConsulIngressService) Unset()
- type NullableConsulLinkedService
- func (v NullableConsulLinkedService) Get() *ConsulLinkedService
- func (v NullableConsulLinkedService) IsSet() bool
- func (v NullableConsulLinkedService) MarshalJSON() ([]byte, error)
- func (v *NullableConsulLinkedService) Set(val *ConsulLinkedService)
- func (v *NullableConsulLinkedService) UnmarshalJSON(src []byte) error
- func (v *NullableConsulLinkedService) Unset()
- type NullableConsulProxy
- func (v NullableConsulProxy) Get() *ConsulProxy
- func (v NullableConsulProxy) IsSet() bool
- func (v NullableConsulProxy) MarshalJSON() ([]byte, error)
- func (v *NullableConsulProxy) Set(val *ConsulProxy)
- func (v *NullableConsulProxy) UnmarshalJSON(src []byte) error
- func (v *NullableConsulProxy) Unset()
- type NullableConsulSidecarService
- func (v NullableConsulSidecarService) Get() *ConsulSidecarService
- func (v NullableConsulSidecarService) IsSet() bool
- func (v NullableConsulSidecarService) MarshalJSON() ([]byte, error)
- func (v *NullableConsulSidecarService) Set(val *ConsulSidecarService)
- func (v *NullableConsulSidecarService) UnmarshalJSON(src []byte) error
- func (v *NullableConsulSidecarService) Unset()
- type NullableConsulTerminatingConfigEntry
- func (v NullableConsulTerminatingConfigEntry) Get() *ConsulTerminatingConfigEntry
- func (v NullableConsulTerminatingConfigEntry) IsSet() bool
- func (v NullableConsulTerminatingConfigEntry) MarshalJSON() ([]byte, error)
- func (v *NullableConsulTerminatingConfigEntry) Set(val *ConsulTerminatingConfigEntry)
- func (v *NullableConsulTerminatingConfigEntry) UnmarshalJSON(src []byte) error
- func (v *NullableConsulTerminatingConfigEntry) Unset()
- type NullableConsulUpstream
- func (v NullableConsulUpstream) Get() *ConsulUpstream
- func (v NullableConsulUpstream) IsSet() bool
- func (v NullableConsulUpstream) MarshalJSON() ([]byte, error)
- func (v *NullableConsulUpstream) Set(val *ConsulUpstream)
- func (v *NullableConsulUpstream) UnmarshalJSON(src []byte) error
- func (v *NullableConsulUpstream) Unset()
- type NullableContainerChangeResponseItem
- func (v NullableContainerChangeResponseItem) Get() *ContainerChangeResponseItem
- func (v NullableContainerChangeResponseItem) IsSet() bool
- func (v NullableContainerChangeResponseItem) MarshalJSON() ([]byte, error)
- func (v *NullableContainerChangeResponseItem) Set(val *ContainerChangeResponseItem)
- func (v *NullableContainerChangeResponseItem) UnmarshalJSON(src []byte) error
- func (v *NullableContainerChangeResponseItem) Unset()
- type NullableContainerCreateCreatedBody
- func (v NullableContainerCreateCreatedBody) Get() *ContainerCreateCreatedBody
- func (v NullableContainerCreateCreatedBody) IsSet() bool
- func (v NullableContainerCreateCreatedBody) MarshalJSON() ([]byte, error)
- func (v *NullableContainerCreateCreatedBody) Set(val *ContainerCreateCreatedBody)
- func (v *NullableContainerCreateCreatedBody) UnmarshalJSON(src []byte) error
- func (v *NullableContainerCreateCreatedBody) Unset()
- type NullableContainerTopOKBody
- func (v NullableContainerTopOKBody) Get() *ContainerTopOKBody
- func (v NullableContainerTopOKBody) IsSet() bool
- func (v NullableContainerTopOKBody) MarshalJSON() ([]byte, error)
- func (v *NullableContainerTopOKBody) Set(val *ContainerTopOKBody)
- func (v *NullableContainerTopOKBody) UnmarshalJSON(src []byte) error
- func (v *NullableContainerTopOKBody) Unset()
- type NullableContainerUpdateOKBody
- func (v NullableContainerUpdateOKBody) Get() *ContainerUpdateOKBody
- func (v NullableContainerUpdateOKBody) IsSet() bool
- func (v NullableContainerUpdateOKBody) MarshalJSON() ([]byte, error)
- func (v *NullableContainerUpdateOKBody) Set(val *ContainerUpdateOKBody)
- func (v *NullableContainerUpdateOKBody) UnmarshalJSON(src []byte) error
- func (v *NullableContainerUpdateOKBody) Unset()
- type NullableContainerWaitOKBody
- func (v NullableContainerWaitOKBody) Get() *ContainerWaitOKBody
- func (v NullableContainerWaitOKBody) IsSet() bool
- func (v NullableContainerWaitOKBody) MarshalJSON() ([]byte, error)
- func (v *NullableContainerWaitOKBody) Set(val *ContainerWaitOKBody)
- func (v *NullableContainerWaitOKBody) UnmarshalJSON(src []byte) error
- func (v *NullableContainerWaitOKBody) Unset()
- type NullableContainerWaitOKBodyError
- func (v NullableContainerWaitOKBodyError) Get() *ContainerWaitOKBodyError
- func (v NullableContainerWaitOKBodyError) IsSet() bool
- func (v NullableContainerWaitOKBodyError) MarshalJSON() ([]byte, error)
- func (v *NullableContainerWaitOKBodyError) Set(val *ContainerWaitOKBodyError)
- func (v *NullableContainerWaitOKBodyError) UnmarshalJSON(src []byte) error
- func (v *NullableContainerWaitOKBodyError) Unset()
- type NullableDNSConfig
- type NullableDeregisterOptions
- func (v NullableDeregisterOptions) Get() *DeregisterOptions
- func (v NullableDeregisterOptions) IsSet() bool
- func (v NullableDeregisterOptions) MarshalJSON() ([]byte, error)
- func (v *NullableDeregisterOptions) Set(val *DeregisterOptions)
- func (v *NullableDeregisterOptions) UnmarshalJSON(src []byte) error
- func (v *NullableDeregisterOptions) Unset()
- type NullableDesiredTransition
- func (v NullableDesiredTransition) Get() *DesiredTransition
- func (v NullableDesiredTransition) IsSet() bool
- func (v NullableDesiredTransition) MarshalJSON() ([]byte, error)
- func (v *NullableDesiredTransition) Set(val *DesiredTransition)
- func (v *NullableDesiredTransition) UnmarshalJSON(src []byte) error
- func (v *NullableDesiredTransition) Unset()
- type NullableDesiredUpdates
- func (v NullableDesiredUpdates) Get() *DesiredUpdates
- func (v NullableDesiredUpdates) IsSet() bool
- func (v NullableDesiredUpdates) MarshalJSON() ([]byte, error)
- func (v *NullableDesiredUpdates) Set(val *DesiredUpdates)
- func (v *NullableDesiredUpdates) UnmarshalJSON(src []byte) error
- func (v *NullableDesiredUpdates) Unset()
- type NullableDispatchPayloadConfig
- func (v NullableDispatchPayloadConfig) Get() *DispatchPayloadConfig
- func (v NullableDispatchPayloadConfig) IsSet() bool
- func (v NullableDispatchPayloadConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDispatchPayloadConfig) Set(val *DispatchPayloadConfig)
- func (v *NullableDispatchPayloadConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDispatchPayloadConfig) Unset()
- type NullableEphemeralDisk
- func (v NullableEphemeralDisk) Get() *EphemeralDisk
- func (v NullableEphemeralDisk) IsSet() bool
- func (v NullableEphemeralDisk) MarshalJSON() ([]byte, error)
- func (v *NullableEphemeralDisk) Set(val *EphemeralDisk)
- func (v *NullableEphemeralDisk) UnmarshalJSON(src []byte) error
- func (v *NullableEphemeralDisk) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableEvalOptions
- func (v NullableEvalOptions) Get() *EvalOptions
- func (v NullableEvalOptions) IsSet() bool
- func (v NullableEvalOptions) MarshalJSON() ([]byte, error)
- func (v *NullableEvalOptions) Set(val *EvalOptions)
- func (v *NullableEvalOptions) UnmarshalJSON(src []byte) error
- func (v *NullableEvalOptions) Unset()
- type NullableEvaluation
- type NullableFieldDiff
- type NullableFloat32
- type NullableFloat64
- type NullableGraphDriverData
- func (v NullableGraphDriverData) Get() *GraphDriverData
- func (v NullableGraphDriverData) IsSet() bool
- func (v NullableGraphDriverData) MarshalJSON() ([]byte, error)
- func (v *NullableGraphDriverData) Set(val *GraphDriverData)
- func (v *NullableGraphDriverData) UnmarshalJSON(src []byte) error
- func (v *NullableGraphDriverData) Unset()
- type NullableIdResponse
- type NullableImageDeleteResponseItem
- func (v NullableImageDeleteResponseItem) Get() *ImageDeleteResponseItem
- func (v NullableImageDeleteResponseItem) IsSet() bool
- func (v NullableImageDeleteResponseItem) MarshalJSON() ([]byte, error)
- func (v *NullableImageDeleteResponseItem) Set(val *ImageDeleteResponseItem)
- func (v *NullableImageDeleteResponseItem) UnmarshalJSON(src []byte) error
- func (v *NullableImageDeleteResponseItem) Unset()
- type NullableImageSummary
- func (v NullableImageSummary) Get() *ImageSummary
- func (v NullableImageSummary) IsSet() bool
- func (v NullableImageSummary) MarshalJSON() ([]byte, error)
- func (v *NullableImageSummary) Set(val *ImageSummary)
- func (v *NullableImageSummary) UnmarshalJSON(src []byte) error
- func (v *NullableImageSummary) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJob
- type NullableJobChildrenSummary
- func (v NullableJobChildrenSummary) Get() *JobChildrenSummary
- func (v NullableJobChildrenSummary) IsSet() bool
- func (v NullableJobChildrenSummary) MarshalJSON() ([]byte, error)
- func (v *NullableJobChildrenSummary) Set(val *JobChildrenSummary)
- func (v *NullableJobChildrenSummary) UnmarshalJSON(src []byte) error
- func (v *NullableJobChildrenSummary) Unset()
- type NullableJobDeregisterResponse
- func (v NullableJobDeregisterResponse) Get() *JobDeregisterResponse
- func (v NullableJobDeregisterResponse) IsSet() bool
- func (v NullableJobDeregisterResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobDeregisterResponse) Set(val *JobDeregisterResponse)
- func (v *NullableJobDeregisterResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobDeregisterResponse) Unset()
- type NullableJobDiff
- type NullableJobDispatchRequest
- func (v NullableJobDispatchRequest) Get() *JobDispatchRequest
- func (v NullableJobDispatchRequest) IsSet() bool
- func (v NullableJobDispatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobDispatchRequest) Set(val *JobDispatchRequest)
- func (v *NullableJobDispatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobDispatchRequest) Unset()
- type NullableJobDispatchResponse
- func (v NullableJobDispatchResponse) Get() *JobDispatchResponse
- func (v NullableJobDispatchResponse) IsSet() bool
- func (v NullableJobDispatchResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobDispatchResponse) Set(val *JobDispatchResponse)
- func (v *NullableJobDispatchResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobDispatchResponse) Unset()
- type NullableJobEvaluateRequest
- func (v NullableJobEvaluateRequest) Get() *JobEvaluateRequest
- func (v NullableJobEvaluateRequest) IsSet() bool
- func (v NullableJobEvaluateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobEvaluateRequest) Set(val *JobEvaluateRequest)
- func (v *NullableJobEvaluateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobEvaluateRequest) Unset()
- type NullableJobListStub
- func (v NullableJobListStub) Get() *JobListStub
- func (v NullableJobListStub) IsSet() bool
- func (v NullableJobListStub) MarshalJSON() ([]byte, error)
- func (v *NullableJobListStub) Set(val *JobListStub)
- func (v *NullableJobListStub) UnmarshalJSON(src []byte) error
- func (v *NullableJobListStub) Unset()
- type NullableJobPlanRequest
- func (v NullableJobPlanRequest) Get() *JobPlanRequest
- func (v NullableJobPlanRequest) IsSet() bool
- func (v NullableJobPlanRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobPlanRequest) Set(val *JobPlanRequest)
- func (v *NullableJobPlanRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobPlanRequest) Unset()
- type NullableJobPlanResponse
- func (v NullableJobPlanResponse) Get() *JobPlanResponse
- func (v NullableJobPlanResponse) IsSet() bool
- func (v NullableJobPlanResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobPlanResponse) Set(val *JobPlanResponse)
- func (v *NullableJobPlanResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobPlanResponse) Unset()
- type NullableJobRegisterRequest
- func (v NullableJobRegisterRequest) Get() *JobRegisterRequest
- func (v NullableJobRegisterRequest) IsSet() bool
- func (v NullableJobRegisterRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobRegisterRequest) Set(val *JobRegisterRequest)
- func (v *NullableJobRegisterRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobRegisterRequest) Unset()
- type NullableJobRegisterResponse
- func (v NullableJobRegisterResponse) Get() *JobRegisterResponse
- func (v NullableJobRegisterResponse) IsSet() bool
- func (v NullableJobRegisterResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobRegisterResponse) Set(val *JobRegisterResponse)
- func (v *NullableJobRegisterResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobRegisterResponse) Unset()
- type NullableJobRevertRequest
- func (v NullableJobRevertRequest) Get() *JobRevertRequest
- func (v NullableJobRevertRequest) IsSet() bool
- func (v NullableJobRevertRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobRevertRequest) Set(val *JobRevertRequest)
- func (v *NullableJobRevertRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobRevertRequest) Unset()
- type NullableJobStabilityRequest
- func (v NullableJobStabilityRequest) Get() *JobStabilityRequest
- func (v NullableJobStabilityRequest) IsSet() bool
- func (v NullableJobStabilityRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobStabilityRequest) Set(val *JobStabilityRequest)
- func (v *NullableJobStabilityRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobStabilityRequest) Unset()
- type NullableJobStabilityResponse
- func (v NullableJobStabilityResponse) Get() *JobStabilityResponse
- func (v NullableJobStabilityResponse) IsSet() bool
- func (v NullableJobStabilityResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobStabilityResponse) Set(val *JobStabilityResponse)
- func (v *NullableJobStabilityResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobStabilityResponse) Unset()
- type NullableJobSummary
- type NullableJobValidateRequest
- func (v NullableJobValidateRequest) Get() *JobValidateRequest
- func (v NullableJobValidateRequest) IsSet() bool
- func (v NullableJobValidateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobValidateRequest) Set(val *JobValidateRequest)
- func (v *NullableJobValidateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobValidateRequest) Unset()
- type NullableJobValidateResponse
- func (v NullableJobValidateResponse) Get() *JobValidateResponse
- func (v NullableJobValidateResponse) IsSet() bool
- func (v NullableJobValidateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobValidateResponse) Set(val *JobValidateResponse)
- func (v *NullableJobValidateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobValidateResponse) Unset()
- type NullableJobVersionsResponse
- func (v NullableJobVersionsResponse) Get() *JobVersionsResponse
- func (v NullableJobVersionsResponse) IsSet() bool
- func (v NullableJobVersionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableJobVersionsResponse) Set(val *JobVersionsResponse)
- func (v *NullableJobVersionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableJobVersionsResponse) Unset()
- type NullableJobsParseRequest
- func (v NullableJobsParseRequest) Get() *JobsParseRequest
- func (v NullableJobsParseRequest) IsSet() bool
- func (v NullableJobsParseRequest) MarshalJSON() ([]byte, error)
- func (v *NullableJobsParseRequest) Set(val *JobsParseRequest)
- func (v *NullableJobsParseRequest) UnmarshalJSON(src []byte) error
- func (v *NullableJobsParseRequest) Unset()
- type NullableLogConfig
- type NullableMigrateStrategy
- func (v NullableMigrateStrategy) Get() *MigrateStrategy
- func (v NullableMigrateStrategy) IsSet() bool
- func (v NullableMigrateStrategy) MarshalJSON() ([]byte, error)
- func (v *NullableMigrateStrategy) Set(val *MigrateStrategy)
- func (v *NullableMigrateStrategy) UnmarshalJSON(src []byte) error
- func (v *NullableMigrateStrategy) Unset()
- type NullableMultiregion
- func (v NullableMultiregion) Get() *Multiregion
- func (v NullableMultiregion) IsSet() bool
- func (v NullableMultiregion) MarshalJSON() ([]byte, error)
- func (v *NullableMultiregion) Set(val *Multiregion)
- func (v *NullableMultiregion) UnmarshalJSON(src []byte) error
- func (v *NullableMultiregion) Unset()
- type NullableMultiregionRegion
- func (v NullableMultiregionRegion) Get() *MultiregionRegion
- func (v NullableMultiregionRegion) IsSet() bool
- func (v NullableMultiregionRegion) MarshalJSON() ([]byte, error)
- func (v *NullableMultiregionRegion) Set(val *MultiregionRegion)
- func (v *NullableMultiregionRegion) UnmarshalJSON(src []byte) error
- func (v *NullableMultiregionRegion) Unset()
- type NullableMultiregionStrategy
- func (v NullableMultiregionStrategy) Get() *MultiregionStrategy
- func (v NullableMultiregionStrategy) IsSet() bool
- func (v NullableMultiregionStrategy) MarshalJSON() ([]byte, error)
- func (v *NullableMultiregionStrategy) Set(val *MultiregionStrategy)
- func (v *NullableMultiregionStrategy) UnmarshalJSON(src []byte) error
- func (v *NullableMultiregionStrategy) Unset()
- type NullableNetworkResource
- func (v NullableNetworkResource) Get() *NetworkResource
- func (v NullableNetworkResource) IsSet() bool
- func (v NullableNetworkResource) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkResource) Set(val *NetworkResource)
- func (v *NullableNetworkResource) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkResource) Unset()
- type NullableNodeScoreMeta
- func (v NullableNodeScoreMeta) Get() *NodeScoreMeta
- func (v NullableNodeScoreMeta) IsSet() bool
- func (v NullableNodeScoreMeta) MarshalJSON() ([]byte, error)
- func (v *NullableNodeScoreMeta) Set(val *NodeScoreMeta)
- func (v *NullableNodeScoreMeta) UnmarshalJSON(src []byte) error
- func (v *NullableNodeScoreMeta) Unset()
- type NullableObjectDiff
- type NullableParameterizedJobConfig
- func (v NullableParameterizedJobConfig) Get() *ParameterizedJobConfig
- func (v NullableParameterizedJobConfig) IsSet() bool
- func (v NullableParameterizedJobConfig) MarshalJSON() ([]byte, error)
- func (v *NullableParameterizedJobConfig) Set(val *ParameterizedJobConfig)
- func (v *NullableParameterizedJobConfig) UnmarshalJSON(src []byte) error
- func (v *NullableParameterizedJobConfig) Unset()
- type NullablePeriodicConfig
- func (v NullablePeriodicConfig) Get() *PeriodicConfig
- func (v NullablePeriodicConfig) IsSet() bool
- func (v NullablePeriodicConfig) MarshalJSON() ([]byte, error)
- func (v *NullablePeriodicConfig) Set(val *PeriodicConfig)
- func (v *NullablePeriodicConfig) UnmarshalJSON(src []byte) error
- func (v *NullablePeriodicConfig) Unset()
- type NullablePeriodicForceResponse
- func (v NullablePeriodicForceResponse) Get() *PeriodicForceResponse
- func (v NullablePeriodicForceResponse) IsSet() bool
- func (v NullablePeriodicForceResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePeriodicForceResponse) Set(val *PeriodicForceResponse)
- func (v *NullablePeriodicForceResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePeriodicForceResponse) Unset()
- type NullablePlanAnnotations
- func (v NullablePlanAnnotations) Get() *PlanAnnotations
- func (v NullablePlanAnnotations) IsSet() bool
- func (v NullablePlanAnnotations) MarshalJSON() ([]byte, error)
- func (v *NullablePlanAnnotations) Set(val *PlanAnnotations)
- func (v *NullablePlanAnnotations) UnmarshalJSON(src []byte) error
- func (v *NullablePlanAnnotations) Unset()
- type NullablePlanOptions
- func (v NullablePlanOptions) Get() *PlanOptions
- func (v NullablePlanOptions) IsSet() bool
- func (v NullablePlanOptions) MarshalJSON() ([]byte, error)
- func (v *NullablePlanOptions) Set(val *PlanOptions)
- func (v *NullablePlanOptions) UnmarshalJSON(src []byte) error
- func (v *NullablePlanOptions) Unset()
- type NullablePlugin
- type NullablePluginConfig
- func (v NullablePluginConfig) Get() *PluginConfig
- func (v NullablePluginConfig) IsSet() bool
- func (v NullablePluginConfig) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfig) Set(val *PluginConfig)
- func (v *NullablePluginConfig) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfig) Unset()
- type NullablePluginConfigArgs
- func (v NullablePluginConfigArgs) Get() *PluginConfigArgs
- func (v NullablePluginConfigArgs) IsSet() bool
- func (v NullablePluginConfigArgs) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigArgs) Set(val *PluginConfigArgs)
- func (v *NullablePluginConfigArgs) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigArgs) Unset()
- type NullablePluginConfigInterface
- func (v NullablePluginConfigInterface) Get() *PluginConfigInterface
- func (v NullablePluginConfigInterface) IsSet() bool
- func (v NullablePluginConfigInterface) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigInterface) Set(val *PluginConfigInterface)
- func (v *NullablePluginConfigInterface) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigInterface) Unset()
- type NullablePluginConfigLinux
- func (v NullablePluginConfigLinux) Get() *PluginConfigLinux
- func (v NullablePluginConfigLinux) IsSet() bool
- func (v NullablePluginConfigLinux) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigLinux) Set(val *PluginConfigLinux)
- func (v *NullablePluginConfigLinux) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigLinux) Unset()
- type NullablePluginConfigNetwork
- func (v NullablePluginConfigNetwork) Get() *PluginConfigNetwork
- func (v NullablePluginConfigNetwork) IsSet() bool
- func (v NullablePluginConfigNetwork) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigNetwork) Set(val *PluginConfigNetwork)
- func (v *NullablePluginConfigNetwork) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigNetwork) Unset()
- type NullablePluginConfigRootfs
- func (v NullablePluginConfigRootfs) Get() *PluginConfigRootfs
- func (v NullablePluginConfigRootfs) IsSet() bool
- func (v NullablePluginConfigRootfs) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigRootfs) Set(val *PluginConfigRootfs)
- func (v *NullablePluginConfigRootfs) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigRootfs) Unset()
- type NullablePluginConfigUser
- func (v NullablePluginConfigUser) Get() *PluginConfigUser
- func (v NullablePluginConfigUser) IsSet() bool
- func (v NullablePluginConfigUser) MarshalJSON() ([]byte, error)
- func (v *NullablePluginConfigUser) Set(val *PluginConfigUser)
- func (v *NullablePluginConfigUser) UnmarshalJSON(src []byte) error
- func (v *NullablePluginConfigUser) Unset()
- type NullablePluginDevice
- func (v NullablePluginDevice) Get() *PluginDevice
- func (v NullablePluginDevice) IsSet() bool
- func (v NullablePluginDevice) MarshalJSON() ([]byte, error)
- func (v *NullablePluginDevice) Set(val *PluginDevice)
- func (v *NullablePluginDevice) UnmarshalJSON(src []byte) error
- func (v *NullablePluginDevice) Unset()
- type NullablePluginEnv
- type NullablePluginInterfaceType
- func (v NullablePluginInterfaceType) Get() *PluginInterfaceType
- func (v NullablePluginInterfaceType) IsSet() bool
- func (v NullablePluginInterfaceType) MarshalJSON() ([]byte, error)
- func (v *NullablePluginInterfaceType) Set(val *PluginInterfaceType)
- func (v *NullablePluginInterfaceType) UnmarshalJSON(src []byte) error
- func (v *NullablePluginInterfaceType) Unset()
- type NullablePluginMount
- func (v NullablePluginMount) Get() *PluginMount
- func (v NullablePluginMount) IsSet() bool
- func (v NullablePluginMount) MarshalJSON() ([]byte, error)
- func (v *NullablePluginMount) Set(val *PluginMount)
- func (v *NullablePluginMount) UnmarshalJSON(src []byte) error
- func (v *NullablePluginMount) Unset()
- type NullablePluginSettings
- func (v NullablePluginSettings) Get() *PluginSettings
- func (v NullablePluginSettings) IsSet() bool
- func (v NullablePluginSettings) MarshalJSON() ([]byte, error)
- func (v *NullablePluginSettings) Set(val *PluginSettings)
- func (v *NullablePluginSettings) UnmarshalJSON(src []byte) error
- func (v *NullablePluginSettings) Unset()
- type NullablePort
- type NullablePortMapping
- func (v NullablePortMapping) Get() *PortMapping
- func (v NullablePortMapping) IsSet() bool
- func (v NullablePortMapping) MarshalJSON() ([]byte, error)
- func (v *NullablePortMapping) Set(val *PortMapping)
- func (v *NullablePortMapping) UnmarshalJSON(src []byte) error
- func (v *NullablePortMapping) Unset()
- type NullableQueryMeta
- type NullableRegisterOptions
- func (v NullableRegisterOptions) Get() *RegisterOptions
- func (v NullableRegisterOptions) IsSet() bool
- func (v NullableRegisterOptions) MarshalJSON() ([]byte, error)
- func (v *NullableRegisterOptions) Set(val *RegisterOptions)
- func (v *NullableRegisterOptions) UnmarshalJSON(src []byte) error
- func (v *NullableRegisterOptions) Unset()
- type NullableRequestedDevice
- func (v NullableRequestedDevice) Get() *RequestedDevice
- func (v NullableRequestedDevice) IsSet() bool
- func (v NullableRequestedDevice) MarshalJSON() ([]byte, error)
- func (v *NullableRequestedDevice) Set(val *RequestedDevice)
- func (v *NullableRequestedDevice) UnmarshalJSON(src []byte) error
- func (v *NullableRequestedDevice) Unset()
- type NullableRescheduleEvent
- func (v NullableRescheduleEvent) Get() *RescheduleEvent
- func (v NullableRescheduleEvent) IsSet() bool
- func (v NullableRescheduleEvent) MarshalJSON() ([]byte, error)
- func (v *NullableRescheduleEvent) Set(val *RescheduleEvent)
- func (v *NullableRescheduleEvent) UnmarshalJSON(src []byte) error
- func (v *NullableRescheduleEvent) Unset()
- type NullableReschedulePolicy
- func (v NullableReschedulePolicy) Get() *ReschedulePolicy
- func (v NullableReschedulePolicy) IsSet() bool
- func (v NullableReschedulePolicy) MarshalJSON() ([]byte, error)
- func (v *NullableReschedulePolicy) Set(val *ReschedulePolicy)
- func (v *NullableReschedulePolicy) UnmarshalJSON(src []byte) error
- func (v *NullableReschedulePolicy) Unset()
- type NullableRescheduleTracker
- func (v NullableRescheduleTracker) Get() *RescheduleTracker
- func (v NullableRescheduleTracker) IsSet() bool
- func (v NullableRescheduleTracker) MarshalJSON() ([]byte, error)
- func (v *NullableRescheduleTracker) Set(val *RescheduleTracker)
- func (v *NullableRescheduleTracker) UnmarshalJSON(src []byte) error
- func (v *NullableRescheduleTracker) Unset()
- type NullableResources
- type NullableRestartPolicy
- func (v NullableRestartPolicy) Get() *RestartPolicy
- func (v NullableRestartPolicy) IsSet() bool
- func (v NullableRestartPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableRestartPolicy) Set(val *RestartPolicy)
- func (v *NullableRestartPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableRestartPolicy) Unset()
- type NullableScalingPolicy
- func (v NullableScalingPolicy) Get() *ScalingPolicy
- func (v NullableScalingPolicy) IsSet() bool
- func (v NullableScalingPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableScalingPolicy) Set(val *ScalingPolicy)
- func (v *NullableScalingPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableScalingPolicy) Unset()
- type NullableService
- type NullableServiceCheck
- func (v NullableServiceCheck) Get() *ServiceCheck
- func (v NullableServiceCheck) IsSet() bool
- func (v NullableServiceCheck) MarshalJSON() ([]byte, error)
- func (v *NullableServiceCheck) Set(val *ServiceCheck)
- func (v *NullableServiceCheck) UnmarshalJSON(src []byte) error
- func (v *NullableServiceCheck) Unset()
- type NullableServiceUpdateResponse
- func (v NullableServiceUpdateResponse) Get() *ServiceUpdateResponse
- func (v NullableServiceUpdateResponse) IsSet() bool
- func (v NullableServiceUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceUpdateResponse) Set(val *ServiceUpdateResponse)
- func (v *NullableServiceUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceUpdateResponse) Unset()
- type NullableSidecarTask
- func (v NullableSidecarTask) Get() *SidecarTask
- func (v NullableSidecarTask) IsSet() bool
- func (v NullableSidecarTask) MarshalJSON() ([]byte, error)
- func (v *NullableSidecarTask) Set(val *SidecarTask)
- func (v *NullableSidecarTask) UnmarshalJSON(src []byte) error
- func (v *NullableSidecarTask) Unset()
- type NullableSpread
- type NullableSpreadTarget
- func (v NullableSpreadTarget) Get() *SpreadTarget
- func (v NullableSpreadTarget) IsSet() bool
- func (v NullableSpreadTarget) MarshalJSON() ([]byte, error)
- func (v *NullableSpreadTarget) Set(val *SpreadTarget)
- func (v *NullableSpreadTarget) UnmarshalJSON(src []byte) error
- func (v *NullableSpreadTarget) Unset()
- type NullableString
- type NullableTask
- type NullableTaskArtifact
- func (v NullableTaskArtifact) Get() *TaskArtifact
- func (v NullableTaskArtifact) IsSet() bool
- func (v NullableTaskArtifact) MarshalJSON() ([]byte, error)
- func (v *NullableTaskArtifact) Set(val *TaskArtifact)
- func (v *NullableTaskArtifact) UnmarshalJSON(src []byte) error
- func (v *NullableTaskArtifact) Unset()
- type NullableTaskCSIPluginConfig
- func (v NullableTaskCSIPluginConfig) Get() *TaskCSIPluginConfig
- func (v NullableTaskCSIPluginConfig) IsSet() bool
- func (v NullableTaskCSIPluginConfig) MarshalJSON() ([]byte, error)
- func (v *NullableTaskCSIPluginConfig) Set(val *TaskCSIPluginConfig)
- func (v *NullableTaskCSIPluginConfig) UnmarshalJSON(src []byte) error
- func (v *NullableTaskCSIPluginConfig) Unset()
- type NullableTaskDiff
- type NullableTaskEvent
- type NullableTaskGroup
- type NullableTaskGroupDiff
- func (v NullableTaskGroupDiff) Get() *TaskGroupDiff
- func (v NullableTaskGroupDiff) IsSet() bool
- func (v NullableTaskGroupDiff) MarshalJSON() ([]byte, error)
- func (v *NullableTaskGroupDiff) Set(val *TaskGroupDiff)
- func (v *NullableTaskGroupDiff) UnmarshalJSON(src []byte) error
- func (v *NullableTaskGroupDiff) Unset()
- type NullableTaskGroupSummary
- func (v NullableTaskGroupSummary) Get() *TaskGroupSummary
- func (v NullableTaskGroupSummary) IsSet() bool
- func (v NullableTaskGroupSummary) MarshalJSON() ([]byte, error)
- func (v *NullableTaskGroupSummary) Set(val *TaskGroupSummary)
- func (v *NullableTaskGroupSummary) UnmarshalJSON(src []byte) error
- func (v *NullableTaskGroupSummary) Unset()
- type NullableTaskHandle
- type NullableTaskLifecycle
- func (v NullableTaskLifecycle) Get() *TaskLifecycle
- func (v NullableTaskLifecycle) IsSet() bool
- func (v NullableTaskLifecycle) MarshalJSON() ([]byte, error)
- func (v *NullableTaskLifecycle) Set(val *TaskLifecycle)
- func (v *NullableTaskLifecycle) UnmarshalJSON(src []byte) error
- func (v *NullableTaskLifecycle) Unset()
- type NullableTaskLifecycleConfig
- func (v NullableTaskLifecycleConfig) Get() *TaskLifecycleConfig
- func (v NullableTaskLifecycleConfig) IsSet() bool
- func (v NullableTaskLifecycleConfig) MarshalJSON() ([]byte, error)
- func (v *NullableTaskLifecycleConfig) Set(val *TaskLifecycleConfig)
- func (v *NullableTaskLifecycleConfig) UnmarshalJSON(src []byte) error
- func (v *NullableTaskLifecycleConfig) Unset()
- type NullableTaskState
- type NullableTemplate
- type NullableTime
- type NullableUpdateStrategy
- func (v NullableUpdateStrategy) Get() *UpdateStrategy
- func (v NullableUpdateStrategy) IsSet() bool
- func (v NullableUpdateStrategy) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateStrategy) Set(val *UpdateStrategy)
- func (v *NullableUpdateStrategy) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateStrategy) Unset()
- type NullableVault
- type NullableVolume
- type NullableVolumeMount
- func (v NullableVolumeMount) Get() *VolumeMount
- func (v NullableVolumeMount) IsSet() bool
- func (v NullableVolumeMount) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeMount) Set(val *VolumeMount)
- func (v *NullableVolumeMount) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeMount) Unset()
- type NullableVolumeRequest
- func (v NullableVolumeRequest) Get() *VolumeRequest
- func (v NullableVolumeRequest) IsSet() bool
- func (v NullableVolumeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeRequest) Set(val *VolumeRequest)
- func (v *NullableVolumeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeRequest) Unset()
- type NullableVolumeUsageData
- func (v NullableVolumeUsageData) Get() *VolumeUsageData
- func (v NullableVolumeUsageData) IsSet() bool
- func (v NullableVolumeUsageData) MarshalJSON() ([]byte, error)
- func (v *NullableVolumeUsageData) Set(val *VolumeUsageData)
- func (v *NullableVolumeUsageData) UnmarshalJSON(src []byte) error
- func (v *NullableVolumeUsageData) Unset()
- type NullableWriteMeta
- type NullableWriteRequest
- func (v NullableWriteRequest) Get() *WriteRequest
- func (v NullableWriteRequest) IsSet() bool
- func (v NullableWriteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWriteRequest) Set(val *WriteRequest)
- func (v *NullableWriteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWriteRequest) Unset()
- type ObjectDiff
- func (o *ObjectDiff) GetFields() []FieldDiff
- func (o *ObjectDiff) GetFieldsOk() (*[]FieldDiff, bool)
- func (o *ObjectDiff) GetName() string
- func (o *ObjectDiff) GetNameOk() (*string, bool)
- func (o *ObjectDiff) GetObjects() []ObjectDiff
- func (o *ObjectDiff) GetObjectsOk() (*[]ObjectDiff, bool)
- func (o *ObjectDiff) GetType() string
- func (o *ObjectDiff) GetTypeOk() (*string, bool)
- func (o *ObjectDiff) HasFields() bool
- func (o *ObjectDiff) HasName() bool
- func (o *ObjectDiff) HasObjects() bool
- func (o *ObjectDiff) HasType() bool
- func (o ObjectDiff) MarshalJSON() ([]byte, error)
- func (o *ObjectDiff) SetFields(v []FieldDiff)
- func (o *ObjectDiff) SetName(v string)
- func (o *ObjectDiff) SetObjects(v []ObjectDiff)
- func (o *ObjectDiff) SetType(v string)
- type ParameterizedJobConfig
- func (o *ParameterizedJobConfig) GetMetaOptional() []string
- func (o *ParameterizedJobConfig) GetMetaOptionalOk() (*[]string, bool)
- func (o *ParameterizedJobConfig) GetMetaRequired() []string
- func (o *ParameterizedJobConfig) GetMetaRequiredOk() (*[]string, bool)
- func (o *ParameterizedJobConfig) GetPayload() string
- func (o *ParameterizedJobConfig) GetPayloadOk() (*string, bool)
- func (o *ParameterizedJobConfig) HasMetaOptional() bool
- func (o *ParameterizedJobConfig) HasMetaRequired() bool
- func (o *ParameterizedJobConfig) HasPayload() bool
- func (o ParameterizedJobConfig) MarshalJSON() ([]byte, error)
- func (o *ParameterizedJobConfig) SetMetaOptional(v []string)
- func (o *ParameterizedJobConfig) SetMetaRequired(v []string)
- func (o *ParameterizedJobConfig) SetPayload(v string)
- type PeriodicConfig
- func (o *PeriodicConfig) GetEnabled() bool
- func (o *PeriodicConfig) GetEnabledOk() (*bool, bool)
- func (o *PeriodicConfig) GetProhibitOverlap() bool
- func (o *PeriodicConfig) GetProhibitOverlapOk() (*bool, bool)
- func (o *PeriodicConfig) GetSpec() string
- func (o *PeriodicConfig) GetSpecOk() (*string, bool)
- func (o *PeriodicConfig) GetSpecType() string
- func (o *PeriodicConfig) GetSpecTypeOk() (*string, bool)
- func (o *PeriodicConfig) GetTimeZone() string
- func (o *PeriodicConfig) GetTimeZoneOk() (*string, bool)
- func (o *PeriodicConfig) HasEnabled() bool
- func (o *PeriodicConfig) HasProhibitOverlap() bool
- func (o *PeriodicConfig) HasSpec() bool
- func (o *PeriodicConfig) HasSpecType() bool
- func (o *PeriodicConfig) HasTimeZone() bool
- func (o PeriodicConfig) MarshalJSON() ([]byte, error)
- func (o *PeriodicConfig) SetEnabled(v bool)
- func (o *PeriodicConfig) SetProhibitOverlap(v bool)
- func (o *PeriodicConfig) SetSpec(v string)
- func (o *PeriodicConfig) SetSpecType(v string)
- func (o *PeriodicConfig) SetTimeZone(v string)
- type PeriodicForceResponse
- type PlanAnnotations
- func (o *PlanAnnotations) GetDesiredTGUpdates() map[string]DesiredUpdates
- func (o *PlanAnnotations) GetDesiredTGUpdatesOk() (*map[string]DesiredUpdates, bool)
- func (o *PlanAnnotations) GetPreemptedAllocs() []AllocationListStub
- func (o *PlanAnnotations) GetPreemptedAllocsOk() (*[]AllocationListStub, bool)
- func (o *PlanAnnotations) HasDesiredTGUpdates() bool
- func (o *PlanAnnotations) HasPreemptedAllocs() bool
- func (o PlanAnnotations) MarshalJSON() ([]byte, error)
- func (o *PlanAnnotations) SetDesiredTGUpdates(v map[string]DesiredUpdates)
- func (o *PlanAnnotations) SetPreemptedAllocs(v []AllocationListStub)
- type PlanOptions
- func (o *PlanOptions) GetDiff() bool
- func (o *PlanOptions) GetDiffOk() (*bool, bool)
- func (o *PlanOptions) GetPolicyOverride() bool
- func (o *PlanOptions) GetPolicyOverrideOk() (*bool, bool)
- func (o *PlanOptions) HasDiff() bool
- func (o *PlanOptions) HasPolicyOverride() bool
- func (o PlanOptions) MarshalJSON() ([]byte, error)
- func (o *PlanOptions) SetDiff(v bool)
- func (o *PlanOptions) SetPolicyOverride(v bool)
- type Plugin
- func (o *Plugin) GetConfig() PluginConfig
- func (o *Plugin) GetConfigOk() (*PluginConfig, bool)
- func (o *Plugin) GetEnabled() bool
- func (o *Plugin) GetEnabledOk() (*bool, bool)
- func (o *Plugin) GetId() string
- func (o *Plugin) GetIdOk() (*string, bool)
- func (o *Plugin) GetName() string
- func (o *Plugin) GetNameOk() (*string, bool)
- func (o *Plugin) GetPluginReference() string
- func (o *Plugin) GetPluginReferenceOk() (*string, bool)
- func (o *Plugin) GetSettings() PluginSettings
- func (o *Plugin) GetSettingsOk() (*PluginSettings, bool)
- func (o *Plugin) HasId() bool
- func (o *Plugin) HasPluginReference() bool
- func (o Plugin) MarshalJSON() ([]byte, error)
- func (o *Plugin) SetConfig(v PluginConfig)
- func (o *Plugin) SetEnabled(v bool)
- func (o *Plugin) SetId(v string)
- func (o *Plugin) SetName(v string)
- func (o *Plugin) SetPluginReference(v string)
- func (o *Plugin) SetSettings(v PluginSettings)
- type PluginConfig
- func (o *PluginConfig) GetArgs() PluginConfigArgs
- func (o *PluginConfig) GetArgsOk() (*PluginConfigArgs, bool)
- func (o *PluginConfig) GetDescription() string
- func (o *PluginConfig) GetDescriptionOk() (*string, bool)
- func (o *PluginConfig) GetDockerVersion() string
- func (o *PluginConfig) GetDockerVersionOk() (*string, bool)
- func (o *PluginConfig) GetDocumentation() string
- func (o *PluginConfig) GetDocumentationOk() (*string, bool)
- func (o *PluginConfig) GetEntrypoint() []string
- func (o *PluginConfig) GetEntrypointOk() (*[]string, bool)
- func (o *PluginConfig) GetEnv() []PluginEnv
- func (o *PluginConfig) GetEnvOk() (*[]PluginEnv, bool)
- func (o *PluginConfig) GetInterface() PluginConfigInterface
- func (o *PluginConfig) GetInterfaceOk() (*PluginConfigInterface, bool)
- func (o *PluginConfig) GetIpcHost() bool
- func (o *PluginConfig) GetIpcHostOk() (*bool, bool)
- func (o *PluginConfig) GetLinux() PluginConfigLinux
- func (o *PluginConfig) GetLinuxOk() (*PluginConfigLinux, bool)
- func (o *PluginConfig) GetMounts() []PluginMount
- func (o *PluginConfig) GetMountsOk() (*[]PluginMount, bool)
- func (o *PluginConfig) GetNetwork() PluginConfigNetwork
- func (o *PluginConfig) GetNetworkOk() (*PluginConfigNetwork, bool)
- func (o *PluginConfig) GetPidHost() bool
- func (o *PluginConfig) GetPidHostOk() (*bool, bool)
- func (o *PluginConfig) GetPropagatedMount() string
- func (o *PluginConfig) GetPropagatedMountOk() (*string, bool)
- func (o *PluginConfig) GetRootfs() PluginConfigRootfs
- func (o *PluginConfig) GetRootfsOk() (*PluginConfigRootfs, bool)
- func (o *PluginConfig) GetUser() PluginConfigUser
- func (o *PluginConfig) GetUserOk() (*PluginConfigUser, bool)
- func (o *PluginConfig) GetWorkDir() string
- func (o *PluginConfig) GetWorkDirOk() (*string, bool)
- func (o *PluginConfig) HasDockerVersion() bool
- func (o *PluginConfig) HasRootfs() bool
- func (o *PluginConfig) HasUser() bool
- func (o PluginConfig) MarshalJSON() ([]byte, error)
- func (o *PluginConfig) SetArgs(v PluginConfigArgs)
- func (o *PluginConfig) SetDescription(v string)
- func (o *PluginConfig) SetDockerVersion(v string)
- func (o *PluginConfig) SetDocumentation(v string)
- func (o *PluginConfig) SetEntrypoint(v []string)
- func (o *PluginConfig) SetEnv(v []PluginEnv)
- func (o *PluginConfig) SetInterface(v PluginConfigInterface)
- func (o *PluginConfig) SetIpcHost(v bool)
- func (o *PluginConfig) SetLinux(v PluginConfigLinux)
- func (o *PluginConfig) SetMounts(v []PluginMount)
- func (o *PluginConfig) SetNetwork(v PluginConfigNetwork)
- func (o *PluginConfig) SetPidHost(v bool)
- func (o *PluginConfig) SetPropagatedMount(v string)
- func (o *PluginConfig) SetRootfs(v PluginConfigRootfs)
- func (o *PluginConfig) SetUser(v PluginConfigUser)
- func (o *PluginConfig) SetWorkDir(v string)
- type PluginConfigArgs
- func (o *PluginConfigArgs) GetDescription() string
- func (o *PluginConfigArgs) GetDescriptionOk() (*string, bool)
- func (o *PluginConfigArgs) GetName() string
- func (o *PluginConfigArgs) GetNameOk() (*string, bool)
- func (o *PluginConfigArgs) GetSettable() []string
- func (o *PluginConfigArgs) GetSettableOk() (*[]string, bool)
- func (o *PluginConfigArgs) GetValue() []string
- func (o *PluginConfigArgs) GetValueOk() (*[]string, bool)
- func (o PluginConfigArgs) MarshalJSON() ([]byte, error)
- func (o *PluginConfigArgs) SetDescription(v string)
- func (o *PluginConfigArgs) SetName(v string)
- func (o *PluginConfigArgs) SetSettable(v []string)
- func (o *PluginConfigArgs) SetValue(v []string)
- type PluginConfigInterface
- func (o *PluginConfigInterface) GetProtocolScheme() string
- func (o *PluginConfigInterface) GetProtocolSchemeOk() (*string, bool)
- func (o *PluginConfigInterface) GetSocket() string
- func (o *PluginConfigInterface) GetSocketOk() (*string, bool)
- func (o *PluginConfigInterface) GetTypes() []PluginInterfaceType
- func (o *PluginConfigInterface) GetTypesOk() (*[]PluginInterfaceType, bool)
- func (o *PluginConfigInterface) HasProtocolScheme() bool
- func (o PluginConfigInterface) MarshalJSON() ([]byte, error)
- func (o *PluginConfigInterface) SetProtocolScheme(v string)
- func (o *PluginConfigInterface) SetSocket(v string)
- func (o *PluginConfigInterface) SetTypes(v []PluginInterfaceType)
- type PluginConfigLinux
- func (o *PluginConfigLinux) GetAllowAllDevices() bool
- func (o *PluginConfigLinux) GetAllowAllDevicesOk() (*bool, bool)
- func (o *PluginConfigLinux) GetCapabilities() []string
- func (o *PluginConfigLinux) GetCapabilitiesOk() (*[]string, bool)
- func (o *PluginConfigLinux) GetDevices() []PluginDevice
- func (o *PluginConfigLinux) GetDevicesOk() (*[]PluginDevice, bool)
- func (o PluginConfigLinux) MarshalJSON() ([]byte, error)
- func (o *PluginConfigLinux) SetAllowAllDevices(v bool)
- func (o *PluginConfigLinux) SetCapabilities(v []string)
- func (o *PluginConfigLinux) SetDevices(v []PluginDevice)
- type PluginConfigNetwork
- type PluginConfigRootfs
- func (o *PluginConfigRootfs) GetDiffIds() []string
- func (o *PluginConfigRootfs) GetDiffIdsOk() (*[]string, bool)
- func (o *PluginConfigRootfs) GetType() string
- func (o *PluginConfigRootfs) GetTypeOk() (*string, bool)
- func (o *PluginConfigRootfs) HasDiffIds() bool
- func (o *PluginConfigRootfs) HasType() bool
- func (o PluginConfigRootfs) MarshalJSON() ([]byte, error)
- func (o *PluginConfigRootfs) SetDiffIds(v []string)
- func (o *PluginConfigRootfs) SetType(v string)
- type PluginConfigUser
- func (o *PluginConfigUser) GetGID() int32
- func (o *PluginConfigUser) GetGIDOk() (*int32, bool)
- func (o *PluginConfigUser) GetUID() int32
- func (o *PluginConfigUser) GetUIDOk() (*int32, bool)
- func (o *PluginConfigUser) HasGID() bool
- func (o *PluginConfigUser) HasUID() bool
- func (o PluginConfigUser) MarshalJSON() ([]byte, error)
- func (o *PluginConfigUser) SetGID(v int32)
- func (o *PluginConfigUser) SetUID(v int32)
- type PluginDevice
- func (o *PluginDevice) GetDescription() string
- func (o *PluginDevice) GetDescriptionOk() (*string, bool)
- func (o *PluginDevice) GetName() string
- func (o *PluginDevice) GetNameOk() (*string, bool)
- func (o *PluginDevice) GetPath() string
- func (o *PluginDevice) GetPathOk() (*string, bool)
- func (o *PluginDevice) GetSettable() []string
- func (o *PluginDevice) GetSettableOk() (*[]string, bool)
- func (o PluginDevice) MarshalJSON() ([]byte, error)
- func (o *PluginDevice) SetDescription(v string)
- func (o *PluginDevice) SetName(v string)
- func (o *PluginDevice) SetPath(v string)
- func (o *PluginDevice) SetSettable(v []string)
- type PluginEnv
- func (o *PluginEnv) GetDescription() string
- func (o *PluginEnv) GetDescriptionOk() (*string, bool)
- func (o *PluginEnv) GetName() string
- func (o *PluginEnv) GetNameOk() (*string, bool)
- func (o *PluginEnv) GetSettable() []string
- func (o *PluginEnv) GetSettableOk() (*[]string, bool)
- func (o *PluginEnv) GetValue() string
- func (o *PluginEnv) GetValueOk() (*string, bool)
- func (o PluginEnv) MarshalJSON() ([]byte, error)
- func (o *PluginEnv) SetDescription(v string)
- func (o *PluginEnv) SetName(v string)
- func (o *PluginEnv) SetSettable(v []string)
- func (o *PluginEnv) SetValue(v string)
- type PluginInterfaceType
- func (o *PluginInterfaceType) GetCapability() string
- func (o *PluginInterfaceType) GetCapabilityOk() (*string, bool)
- func (o *PluginInterfaceType) GetPrefix() string
- func (o *PluginInterfaceType) GetPrefixOk() (*string, bool)
- func (o *PluginInterfaceType) GetVersion() string
- func (o *PluginInterfaceType) GetVersionOk() (*string, bool)
- func (o PluginInterfaceType) MarshalJSON() ([]byte, error)
- func (o *PluginInterfaceType) SetCapability(v string)
- func (o *PluginInterfaceType) SetPrefix(v string)
- func (o *PluginInterfaceType) SetVersion(v string)
- type PluginMount
- func (o *PluginMount) GetDescription() string
- func (o *PluginMount) GetDescriptionOk() (*string, bool)
- func (o *PluginMount) GetDestination() string
- func (o *PluginMount) GetDestinationOk() (*string, bool)
- func (o *PluginMount) GetName() string
- func (o *PluginMount) GetNameOk() (*string, bool)
- func (o *PluginMount) GetOptions() []string
- func (o *PluginMount) GetOptionsOk() (*[]string, bool)
- func (o *PluginMount) GetSettable() []string
- func (o *PluginMount) GetSettableOk() (*[]string, bool)
- func (o *PluginMount) GetSource() string
- func (o *PluginMount) GetSourceOk() (*string, bool)
- func (o *PluginMount) GetType() string
- func (o *PluginMount) GetTypeOk() (*string, bool)
- func (o PluginMount) MarshalJSON() ([]byte, error)
- func (o *PluginMount) SetDescription(v string)
- func (o *PluginMount) SetDestination(v string)
- func (o *PluginMount) SetName(v string)
- func (o *PluginMount) SetOptions(v []string)
- func (o *PluginMount) SetSettable(v []string)
- func (o *PluginMount) SetSource(v string)
- func (o *PluginMount) SetType(v string)
- type PluginSettings
- func (o *PluginSettings) GetArgs() []string
- func (o *PluginSettings) GetArgsOk() (*[]string, bool)
- func (o *PluginSettings) GetDevices() []PluginDevice
- func (o *PluginSettings) GetDevicesOk() (*[]PluginDevice, bool)
- func (o *PluginSettings) GetEnv() []string
- func (o *PluginSettings) GetEnvOk() (*[]string, bool)
- func (o *PluginSettings) GetMounts() []PluginMount
- func (o *PluginSettings) GetMountsOk() (*[]PluginMount, bool)
- func (o PluginSettings) MarshalJSON() ([]byte, error)
- func (o *PluginSettings) SetArgs(v []string)
- func (o *PluginSettings) SetDevices(v []PluginDevice)
- func (o *PluginSettings) SetEnv(v []string)
- func (o *PluginSettings) SetMounts(v []PluginMount)
- type Port
- func (o *Port) GetHostNetwork() string
- func (o *Port) GetHostNetworkOk() (*string, bool)
- func (o *Port) GetLabel() string
- func (o *Port) GetLabelOk() (*string, bool)
- func (o *Port) GetTo() int64
- func (o *Port) GetToOk() (*int64, bool)
- func (o *Port) GetValue() int64
- func (o *Port) GetValueOk() (*int64, bool)
- func (o *Port) HasHostNetwork() bool
- func (o *Port) HasLabel() bool
- func (o *Port) HasTo() bool
- func (o *Port) HasValue() bool
- func (o Port) MarshalJSON() ([]byte, error)
- func (o *Port) SetHostNetwork(v string)
- func (o *Port) SetLabel(v string)
- func (o *Port) SetTo(v int64)
- func (o *Port) SetValue(v int64)
- type PortMapping
- func (o *PortMapping) GetHostIP() string
- func (o *PortMapping) GetHostIPOk() (*string, bool)
- func (o *PortMapping) GetLabel() string
- func (o *PortMapping) GetLabelOk() (*string, bool)
- func (o *PortMapping) GetTo() int64
- func (o *PortMapping) GetToOk() (*int64, bool)
- func (o *PortMapping) GetValue() int64
- func (o *PortMapping) GetValueOk() (*int64, bool)
- func (o *PortMapping) HasHostIP() bool
- func (o *PortMapping) HasLabel() bool
- func (o *PortMapping) HasTo() bool
- func (o *PortMapping) HasValue() bool
- func (o PortMapping) MarshalJSON() ([]byte, error)
- func (o *PortMapping) SetHostIP(v string)
- func (o *PortMapping) SetLabel(v string)
- func (o *PortMapping) SetTo(v int64)
- func (o *PortMapping) SetValue(v int64)
- type QueryMeta
- func (o *QueryMeta) GetKnownLeader() bool
- func (o *QueryMeta) GetKnownLeaderOk() (*bool, bool)
- func (o *QueryMeta) GetLastContact() int64
- func (o *QueryMeta) GetLastContactOk() (*int64, bool)
- func (o *QueryMeta) GetLastIndex() int32
- func (o *QueryMeta) GetLastIndexOk() (*int32, bool)
- func (o *QueryMeta) GetRequestTime() int64
- func (o *QueryMeta) GetRequestTimeOk() (*int64, bool)
- func (o *QueryMeta) HasKnownLeader() bool
- func (o *QueryMeta) HasLastContact() bool
- func (o *QueryMeta) HasLastIndex() bool
- func (o *QueryMeta) HasRequestTime() bool
- func (o QueryMeta) MarshalJSON() ([]byte, error)
- func (o *QueryMeta) SetKnownLeader(v bool)
- func (o *QueryMeta) SetLastContact(v int64)
- func (o *QueryMeta) SetLastIndex(v int32)
- func (o *QueryMeta) SetRequestTime(v int64)
- type RegisterOptions
- func (o *RegisterOptions) GetEnforceIndex() bool
- func (o *RegisterOptions) GetEnforceIndexOk() (*bool, bool)
- func (o *RegisterOptions) GetModifyIndex() int32
- func (o *RegisterOptions) GetModifyIndexOk() (*int32, bool)
- func (o *RegisterOptions) GetPolicyOverride() bool
- func (o *RegisterOptions) GetPolicyOverrideOk() (*bool, bool)
- func (o *RegisterOptions) GetPreserveCounts() bool
- func (o *RegisterOptions) GetPreserveCountsOk() (*bool, bool)
- func (o *RegisterOptions) HasEnforceIndex() bool
- func (o *RegisterOptions) HasModifyIndex() bool
- func (o *RegisterOptions) HasPolicyOverride() bool
- func (o *RegisterOptions) HasPreserveCounts() bool
- func (o RegisterOptions) MarshalJSON() ([]byte, error)
- func (o *RegisterOptions) SetEnforceIndex(v bool)
- func (o *RegisterOptions) SetModifyIndex(v int32)
- func (o *RegisterOptions) SetPolicyOverride(v bool)
- func (o *RegisterOptions) SetPreserveCounts(v bool)
- type RequestedDevice
- func (o *RequestedDevice) GetAffinities() []Affinity
- func (o *RequestedDevice) GetAffinitiesOk() (*[]Affinity, bool)
- func (o *RequestedDevice) GetConstraints() []Constraint
- func (o *RequestedDevice) GetConstraintsOk() (*[]Constraint, bool)
- func (o *RequestedDevice) GetCount() int32
- func (o *RequestedDevice) GetCountOk() (*int32, bool)
- func (o *RequestedDevice) GetName() string
- func (o *RequestedDevice) GetNameOk() (*string, bool)
- func (o *RequestedDevice) HasAffinities() bool
- func (o *RequestedDevice) HasConstraints() bool
- func (o *RequestedDevice) HasCount() bool
- func (o *RequestedDevice) HasName() bool
- func (o RequestedDevice) MarshalJSON() ([]byte, error)
- func (o *RequestedDevice) SetAffinities(v []Affinity)
- func (o *RequestedDevice) SetConstraints(v []Constraint)
- func (o *RequestedDevice) SetCount(v int32)
- func (o *RequestedDevice) SetName(v string)
- type RescheduleEvent
- func (o *RescheduleEvent) GetDelay() int64
- func (o *RescheduleEvent) GetDelayOk() (*int64, bool)
- func (o *RescheduleEvent) GetPrevAllocID() string
- func (o *RescheduleEvent) GetPrevAllocIDOk() (*string, bool)
- func (o *RescheduleEvent) GetPrevNodeID() string
- func (o *RescheduleEvent) GetPrevNodeIDOk() (*string, bool)
- func (o *RescheduleEvent) GetRescheduleTime() int64
- func (o *RescheduleEvent) GetRescheduleTimeOk() (*int64, bool)
- func (o *RescheduleEvent) HasDelay() bool
- func (o *RescheduleEvent) HasPrevAllocID() bool
- func (o *RescheduleEvent) HasPrevNodeID() bool
- func (o *RescheduleEvent) HasRescheduleTime() bool
- func (o RescheduleEvent) MarshalJSON() ([]byte, error)
- func (o *RescheduleEvent) SetDelay(v int64)
- func (o *RescheduleEvent) SetPrevAllocID(v string)
- func (o *RescheduleEvent) SetPrevNodeID(v string)
- func (o *RescheduleEvent) SetRescheduleTime(v int64)
- type ReschedulePolicy
- func (o *ReschedulePolicy) GetAttempts() int64
- func (o *ReschedulePolicy) GetAttemptsOk() (*int64, bool)
- func (o *ReschedulePolicy) GetDelay() int64
- func (o *ReschedulePolicy) GetDelayFunction() string
- func (o *ReschedulePolicy) GetDelayFunctionOk() (*string, bool)
- func (o *ReschedulePolicy) GetDelayOk() (*int64, bool)
- func (o *ReschedulePolicy) GetInterval() int64
- func (o *ReschedulePolicy) GetIntervalOk() (*int64, bool)
- func (o *ReschedulePolicy) GetMaxDelay() int64
- func (o *ReschedulePolicy) GetMaxDelayOk() (*int64, bool)
- func (o *ReschedulePolicy) GetUnlimited() bool
- func (o *ReschedulePolicy) GetUnlimitedOk() (*bool, bool)
- func (o *ReschedulePolicy) HasAttempts() bool
- func (o *ReschedulePolicy) HasDelay() bool
- func (o *ReschedulePolicy) HasDelayFunction() bool
- func (o *ReschedulePolicy) HasInterval() bool
- func (o *ReschedulePolicy) HasMaxDelay() bool
- func (o *ReschedulePolicy) HasUnlimited() bool
- func (o ReschedulePolicy) MarshalJSON() ([]byte, error)
- func (o *ReschedulePolicy) SetAttempts(v int64)
- func (o *ReschedulePolicy) SetDelay(v int64)
- func (o *ReschedulePolicy) SetDelayFunction(v string)
- func (o *ReschedulePolicy) SetInterval(v int64)
- func (o *ReschedulePolicy) SetMaxDelay(v int64)
- func (o *ReschedulePolicy) SetUnlimited(v bool)
- type RescheduleTracker
- type Resources
- func (o *Resources) GetCPU() int64
- func (o *Resources) GetCPUOk() (*int64, bool)
- func (o *Resources) GetCores() int64
- func (o *Resources) GetCoresOk() (*int64, bool)
- func (o *Resources) GetDevices() []RequestedDevice
- func (o *Resources) GetDevicesOk() (*[]RequestedDevice, bool)
- func (o *Resources) GetDiskMB() int64
- func (o *Resources) GetDiskMBOk() (*int64, bool)
- func (o *Resources) GetIOPS() int64
- func (o *Resources) GetIOPSOk() (*int64, bool)
- func (o *Resources) GetMemoryMB() int64
- func (o *Resources) GetMemoryMBOk() (*int64, bool)
- func (o *Resources) GetMemoryMaxMB() int64
- func (o *Resources) GetMemoryMaxMBOk() (*int64, bool)
- func (o *Resources) GetNetworks() []NetworkResource
- func (o *Resources) GetNetworksOk() (*[]NetworkResource, bool)
- func (o *Resources) HasCPU() bool
- func (o *Resources) HasCores() bool
- func (o *Resources) HasDevices() bool
- func (o *Resources) HasDiskMB() bool
- func (o *Resources) HasIOPS() bool
- func (o *Resources) HasMemoryMB() bool
- func (o *Resources) HasMemoryMaxMB() bool
- func (o *Resources) HasNetworks() bool
- func (o Resources) MarshalJSON() ([]byte, error)
- func (o *Resources) SetCPU(v int64)
- func (o *Resources) SetCores(v int64)
- func (o *Resources) SetDevices(v []RequestedDevice)
- func (o *Resources) SetDiskMB(v int64)
- func (o *Resources) SetIOPS(v int64)
- func (o *Resources) SetMemoryMB(v int64)
- func (o *Resources) SetMemoryMaxMB(v int64)
- func (o *Resources) SetNetworks(v []NetworkResource)
- type RestartPolicy
- func (o *RestartPolicy) GetAttempts() int64
- func (o *RestartPolicy) GetAttemptsOk() (*int64, bool)
- func (o *RestartPolicy) GetDelay() int64
- func (o *RestartPolicy) GetDelayOk() (*int64, bool)
- func (o *RestartPolicy) GetInterval() int64
- func (o *RestartPolicy) GetIntervalOk() (*int64, bool)
- func (o *RestartPolicy) GetMode() string
- func (o *RestartPolicy) GetModeOk() (*string, bool)
- func (o *RestartPolicy) HasAttempts() bool
- func (o *RestartPolicy) HasDelay() bool
- func (o *RestartPolicy) HasInterval() bool
- func (o *RestartPolicy) HasMode() bool
- func (o RestartPolicy) MarshalJSON() ([]byte, error)
- func (o *RestartPolicy) SetAttempts(v int64)
- func (o *RestartPolicy) SetDelay(v int64)
- func (o *RestartPolicy) SetInterval(v int64)
- func (o *RestartPolicy) SetMode(v string)
- type ScalingPolicy
- func (o *ScalingPolicy) GetCreateIndex() int32
- func (o *ScalingPolicy) GetCreateIndexOk() (*int32, bool)
- func (o *ScalingPolicy) GetEnabled() bool
- func (o *ScalingPolicy) GetEnabledOk() (*bool, bool)
- func (o *ScalingPolicy) GetID() string
- func (o *ScalingPolicy) GetIDOk() (*string, bool)
- func (o *ScalingPolicy) GetMax() int64
- func (o *ScalingPolicy) GetMaxOk() (*int64, bool)
- func (o *ScalingPolicy) GetMin() int64
- func (o *ScalingPolicy) GetMinOk() (*int64, bool)
- func (o *ScalingPolicy) GetModifyIndex() int32
- func (o *ScalingPolicy) GetModifyIndexOk() (*int32, bool)
- func (o *ScalingPolicy) GetNamespace() string
- func (o *ScalingPolicy) GetNamespaceOk() (*string, bool)
- func (o *ScalingPolicy) GetPolicy() map[string]map[string]interface{}
- func (o *ScalingPolicy) GetPolicyOk() (*map[string]map[string]interface{}, bool)
- func (o *ScalingPolicy) GetTarget() map[string]string
- func (o *ScalingPolicy) GetTargetOk() (*map[string]string, bool)
- func (o *ScalingPolicy) GetType() string
- func (o *ScalingPolicy) GetTypeOk() (*string, bool)
- func (o *ScalingPolicy) HasCreateIndex() bool
- func (o *ScalingPolicy) HasEnabled() bool
- func (o *ScalingPolicy) HasID() bool
- func (o *ScalingPolicy) HasMax() bool
- func (o *ScalingPolicy) HasMin() bool
- func (o *ScalingPolicy) HasModifyIndex() bool
- func (o *ScalingPolicy) HasNamespace() bool
- func (o *ScalingPolicy) HasPolicy() bool
- func (o *ScalingPolicy) HasTarget() bool
- func (o *ScalingPolicy) HasType() bool
- func (o ScalingPolicy) MarshalJSON() ([]byte, error)
- func (o *ScalingPolicy) SetCreateIndex(v int32)
- func (o *ScalingPolicy) SetEnabled(v bool)
- func (o *ScalingPolicy) SetID(v string)
- func (o *ScalingPolicy) SetMax(v int64)
- func (o *ScalingPolicy) SetMin(v int64)
- func (o *ScalingPolicy) SetModifyIndex(v int32)
- func (o *ScalingPolicy) SetNamespace(v string)
- func (o *ScalingPolicy) SetPolicy(v map[string]map[string]interface{})
- func (o *ScalingPolicy) SetTarget(v map[string]string)
- func (o *ScalingPolicy) SetType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Service
- func (o *Service) GetAddressMode() string
- func (o *Service) GetAddressModeOk() (*string, bool)
- func (o *Service) GetCanaryMeta() map[string]string
- func (o *Service) GetCanaryMetaOk() (*map[string]string, bool)
- func (o *Service) GetCanaryTags() []string
- func (o *Service) GetCanaryTagsOk() (*[]string, bool)
- func (o *Service) GetCheckRestart() CheckRestart
- func (o *Service) GetCheckRestartOk() (*CheckRestart, bool)
- func (o *Service) GetChecks() []ServiceCheck
- func (o *Service) GetChecksOk() (*[]ServiceCheck, bool)
- func (o *Service) GetConnect() ConsulConnect
- func (o *Service) GetConnectOk() (*ConsulConnect, bool)
- func (o *Service) GetEnableTagOverride() bool
- func (o *Service) GetEnableTagOverrideOk() (*bool, bool)
- func (o *Service) GetId() string
- func (o *Service) GetIdOk() (*string, bool)
- func (o *Service) GetMeta() map[string]string
- func (o *Service) GetMetaOk() (*map[string]string, bool)
- func (o *Service) GetName() string
- func (o *Service) GetNameOk() (*string, bool)
- func (o *Service) GetOnUpdate() string
- func (o *Service) GetOnUpdateOk() (*string, bool)
- func (o *Service) GetPortLabel() string
- func (o *Service) GetPortLabelOk() (*string, bool)
- func (o *Service) GetTags() []string
- func (o *Service) GetTagsOk() (*[]string, bool)
- func (o *Service) GetTaskName() string
- func (o *Service) GetTaskNameOk() (*string, bool)
- func (o *Service) HasAddressMode() bool
- func (o *Service) HasCanaryMeta() bool
- func (o *Service) HasCanaryTags() bool
- func (o *Service) HasCheckRestart() bool
- func (o *Service) HasChecks() bool
- func (o *Service) HasConnect() bool
- func (o *Service) HasEnableTagOverride() bool
- func (o *Service) HasId() bool
- func (o *Service) HasMeta() bool
- func (o *Service) HasName() bool
- func (o *Service) HasOnUpdate() bool
- func (o *Service) HasPortLabel() bool
- func (o *Service) HasTags() bool
- func (o *Service) HasTaskName() bool
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetAddressMode(v string)
- func (o *Service) SetCanaryMeta(v map[string]string)
- func (o *Service) SetCanaryTags(v []string)
- func (o *Service) SetCheckRestart(v CheckRestart)
- func (o *Service) SetChecks(v []ServiceCheck)
- func (o *Service) SetConnect(v ConsulConnect)
- func (o *Service) SetEnableTagOverride(v bool)
- func (o *Service) SetId(v string)
- func (o *Service) SetMeta(v map[string]string)
- func (o *Service) SetName(v string)
- func (o *Service) SetOnUpdate(v string)
- func (o *Service) SetPortLabel(v string)
- func (o *Service) SetTags(v []string)
- func (o *Service) SetTaskName(v string)
- type ServiceCheck
- func (o *ServiceCheck) GetAddressMode() string
- func (o *ServiceCheck) GetAddressModeOk() (*string, bool)
- func (o *ServiceCheck) GetArgs() []string
- func (o *ServiceCheck) GetArgsOk() (*[]string, bool)
- func (o *ServiceCheck) GetBody() string
- func (o *ServiceCheck) GetBodyOk() (*string, bool)
- func (o *ServiceCheck) GetCheckRestart() CheckRestart
- func (o *ServiceCheck) GetCheckRestartOk() (*CheckRestart, bool)
- func (o *ServiceCheck) GetCommand() string
- func (o *ServiceCheck) GetCommandOk() (*string, bool)
- func (o *ServiceCheck) GetExpose() bool
- func (o *ServiceCheck) GetExposeOk() (*bool, bool)
- func (o *ServiceCheck) GetFailuresBeforeCritical() int64
- func (o *ServiceCheck) GetFailuresBeforeCriticalOk() (*int64, bool)
- func (o *ServiceCheck) GetGRPCService() string
- func (o *ServiceCheck) GetGRPCServiceOk() (*string, bool)
- func (o *ServiceCheck) GetGRPCUseTLS() bool
- func (o *ServiceCheck) GetGRPCUseTLSOk() (*bool, bool)
- func (o *ServiceCheck) GetHeader() map[string][]string
- func (o *ServiceCheck) GetHeaderOk() (*map[string][]string, bool)
- func (o *ServiceCheck) GetId() string
- func (o *ServiceCheck) GetIdOk() (*string, bool)
- func (o *ServiceCheck) GetInitialStatus() string
- func (o *ServiceCheck) GetInitialStatusOk() (*string, bool)
- func (o *ServiceCheck) GetInterval() int64
- func (o *ServiceCheck) GetIntervalOk() (*int64, bool)
- func (o *ServiceCheck) GetMethod() string
- func (o *ServiceCheck) GetMethodOk() (*string, bool)
- func (o *ServiceCheck) GetName() string
- func (o *ServiceCheck) GetNameOk() (*string, bool)
- func (o *ServiceCheck) GetOnUpdate() string
- func (o *ServiceCheck) GetOnUpdateOk() (*string, bool)
- func (o *ServiceCheck) GetPath() string
- func (o *ServiceCheck) GetPathOk() (*string, bool)
- func (o *ServiceCheck) GetPortLabel() string
- func (o *ServiceCheck) GetPortLabelOk() (*string, bool)
- func (o *ServiceCheck) GetProtocol() string
- func (o *ServiceCheck) GetProtocolOk() (*string, bool)
- func (o *ServiceCheck) GetSuccessBeforePassing() int64
- func (o *ServiceCheck) GetSuccessBeforePassingOk() (*int64, bool)
- func (o *ServiceCheck) GetTLSSkipVerify() bool
- func (o *ServiceCheck) GetTLSSkipVerifyOk() (*bool, bool)
- func (o *ServiceCheck) GetTaskName() string
- func (o *ServiceCheck) GetTaskNameOk() (*string, bool)
- func (o *ServiceCheck) GetTimeout() int64
- func (o *ServiceCheck) GetTimeoutOk() (*int64, bool)
- func (o *ServiceCheck) GetType() string
- func (o *ServiceCheck) GetTypeOk() (*string, bool)
- func (o *ServiceCheck) HasAddressMode() bool
- func (o *ServiceCheck) HasArgs() bool
- func (o *ServiceCheck) HasBody() bool
- func (o *ServiceCheck) HasCheckRestart() bool
- func (o *ServiceCheck) HasCommand() bool
- func (o *ServiceCheck) HasExpose() bool
- func (o *ServiceCheck) HasFailuresBeforeCritical() bool
- func (o *ServiceCheck) HasGRPCService() bool
- func (o *ServiceCheck) HasGRPCUseTLS() bool
- func (o *ServiceCheck) HasHeader() bool
- func (o *ServiceCheck) HasId() bool
- func (o *ServiceCheck) HasInitialStatus() bool
- func (o *ServiceCheck) HasInterval() bool
- func (o *ServiceCheck) HasMethod() bool
- func (o *ServiceCheck) HasName() bool
- func (o *ServiceCheck) HasOnUpdate() bool
- func (o *ServiceCheck) HasPath() bool
- func (o *ServiceCheck) HasPortLabel() bool
- func (o *ServiceCheck) HasProtocol() bool
- func (o *ServiceCheck) HasSuccessBeforePassing() bool
- func (o *ServiceCheck) HasTLSSkipVerify() bool
- func (o *ServiceCheck) HasTaskName() bool
- func (o *ServiceCheck) HasTimeout() bool
- func (o *ServiceCheck) HasType() bool
- func (o ServiceCheck) MarshalJSON() ([]byte, error)
- func (o *ServiceCheck) SetAddressMode(v string)
- func (o *ServiceCheck) SetArgs(v []string)
- func (o *ServiceCheck) SetBody(v string)
- func (o *ServiceCheck) SetCheckRestart(v CheckRestart)
- func (o *ServiceCheck) SetCommand(v string)
- func (o *ServiceCheck) SetExpose(v bool)
- func (o *ServiceCheck) SetFailuresBeforeCritical(v int64)
- func (o *ServiceCheck) SetGRPCService(v string)
- func (o *ServiceCheck) SetGRPCUseTLS(v bool)
- func (o *ServiceCheck) SetHeader(v map[string][]string)
- func (o *ServiceCheck) SetId(v string)
- func (o *ServiceCheck) SetInitialStatus(v string)
- func (o *ServiceCheck) SetInterval(v int64)
- func (o *ServiceCheck) SetMethod(v string)
- func (o *ServiceCheck) SetName(v string)
- func (o *ServiceCheck) SetOnUpdate(v string)
- func (o *ServiceCheck) SetPath(v string)
- func (o *ServiceCheck) SetPortLabel(v string)
- func (o *ServiceCheck) SetProtocol(v string)
- func (o *ServiceCheck) SetSuccessBeforePassing(v int64)
- func (o *ServiceCheck) SetTLSSkipVerify(v bool)
- func (o *ServiceCheck) SetTaskName(v string)
- func (o *ServiceCheck) SetTimeout(v int64)
- func (o *ServiceCheck) SetType(v string)
- type ServiceUpdateResponse
- type SidecarTask
- func (o *SidecarTask) GetConfig() map[string]map[string]interface{}
- func (o *SidecarTask) GetConfigOk() (*map[string]map[string]interface{}, bool)
- func (o *SidecarTask) GetDriver() string
- func (o *SidecarTask) GetDriverOk() (*string, bool)
- func (o *SidecarTask) GetEnv() map[string]string
- func (o *SidecarTask) GetEnvOk() (*map[string]string, bool)
- func (o *SidecarTask) GetKillSignal() string
- func (o *SidecarTask) GetKillSignalOk() (*string, bool)
- func (o *SidecarTask) GetKillTimeout() int64
- func (o *SidecarTask) GetKillTimeoutOk() (*int64, bool)
- func (o *SidecarTask) GetLogConfig() LogConfig
- func (o *SidecarTask) GetLogConfigOk() (*LogConfig, bool)
- func (o *SidecarTask) GetMeta() map[string]string
- func (o *SidecarTask) GetMetaOk() (*map[string]string, bool)
- func (o *SidecarTask) GetName() string
- func (o *SidecarTask) GetNameOk() (*string, bool)
- func (o *SidecarTask) GetResources() Resources
- func (o *SidecarTask) GetResourcesOk() (*Resources, bool)
- func (o *SidecarTask) GetShutdownDelay() int64
- func (o *SidecarTask) GetShutdownDelayOk() (*int64, bool)
- func (o *SidecarTask) GetUser() string
- func (o *SidecarTask) GetUserOk() (*string, bool)
- func (o *SidecarTask) HasConfig() bool
- func (o *SidecarTask) HasDriver() bool
- func (o *SidecarTask) HasEnv() bool
- func (o *SidecarTask) HasKillSignal() bool
- func (o *SidecarTask) HasKillTimeout() bool
- func (o *SidecarTask) HasLogConfig() bool
- func (o *SidecarTask) HasMeta() bool
- func (o *SidecarTask) HasName() bool
- func (o *SidecarTask) HasResources() bool
- func (o *SidecarTask) HasShutdownDelay() bool
- func (o *SidecarTask) HasUser() bool
- func (o SidecarTask) MarshalJSON() ([]byte, error)
- func (o *SidecarTask) SetConfig(v map[string]map[string]interface{})
- func (o *SidecarTask) SetDriver(v string)
- func (o *SidecarTask) SetEnv(v map[string]string)
- func (o *SidecarTask) SetKillSignal(v string)
- func (o *SidecarTask) SetKillTimeout(v int64)
- func (o *SidecarTask) SetLogConfig(v LogConfig)
- func (o *SidecarTask) SetMeta(v map[string]string)
- func (o *SidecarTask) SetName(v string)
- func (o *SidecarTask) SetResources(v Resources)
- func (o *SidecarTask) SetShutdownDelay(v int64)
- func (o *SidecarTask) SetUser(v string)
- type Spread
- func (o *Spread) GetAttribute() string
- func (o *Spread) GetAttributeOk() (*string, bool)
- func (o *Spread) GetSpreadTarget() []SpreadTarget
- func (o *Spread) GetSpreadTargetOk() (*[]SpreadTarget, bool)
- func (o *Spread) GetWeight() int32
- func (o *Spread) GetWeightOk() (*int32, bool)
- func (o *Spread) HasAttribute() bool
- func (o *Spread) HasSpreadTarget() bool
- func (o *Spread) HasWeight() bool
- func (o Spread) MarshalJSON() ([]byte, error)
- func (o *Spread) SetAttribute(v string)
- func (o *Spread) SetSpreadTarget(v []SpreadTarget)
- func (o *Spread) SetWeight(v int32)
- type SpreadTarget
- func (o *SpreadTarget) GetPercent() int32
- func (o *SpreadTarget) GetPercentOk() (*int32, bool)
- func (o *SpreadTarget) GetValue() string
- func (o *SpreadTarget) GetValueOk() (*string, bool)
- func (o *SpreadTarget) HasPercent() bool
- func (o *SpreadTarget) HasValue() bool
- func (o SpreadTarget) MarshalJSON() ([]byte, error)
- func (o *SpreadTarget) SetPercent(v int32)
- func (o *SpreadTarget) SetValue(v string)
- type Task
- func (o *Task) GetAffinities() []Affinity
- func (o *Task) GetAffinitiesOk() (*[]Affinity, bool)
- func (o *Task) GetArtifacts() []TaskArtifact
- func (o *Task) GetArtifactsOk() (*[]TaskArtifact, bool)
- func (o *Task) GetCSIPluginConfig() TaskCSIPluginConfig
- func (o *Task) GetCSIPluginConfigOk() (*TaskCSIPluginConfig, bool)
- func (o *Task) GetConfig() map[string]map[string]interface{}
- func (o *Task) GetConfigOk() (*map[string]map[string]interface{}, bool)
- func (o *Task) GetConstraints() []Constraint
- func (o *Task) GetConstraintsOk() (*[]Constraint, bool)
- func (o *Task) GetDispatchPayload() DispatchPayloadConfig
- func (o *Task) GetDispatchPayloadOk() (*DispatchPayloadConfig, bool)
- func (o *Task) GetDriver() string
- func (o *Task) GetDriverOk() (*string, bool)
- func (o *Task) GetEnv() map[string]string
- func (o *Task) GetEnvOk() (*map[string]string, bool)
- func (o *Task) GetKillSignal() string
- func (o *Task) GetKillSignalOk() (*string, bool)
- func (o *Task) GetKillTimeout() int64
- func (o *Task) GetKillTimeoutOk() (*int64, bool)
- func (o *Task) GetKind() string
- func (o *Task) GetKindOk() (*string, bool)
- func (o *Task) GetLeader() bool
- func (o *Task) GetLeaderOk() (*bool, bool)
- func (o *Task) GetLifecycle() TaskLifecycle
- func (o *Task) GetLifecycleOk() (*TaskLifecycle, bool)
- func (o *Task) GetLogConfig() LogConfig
- func (o *Task) GetLogConfigOk() (*LogConfig, bool)
- func (o *Task) GetMeta() map[string]string
- func (o *Task) GetMetaOk() (*map[string]string, bool)
- func (o *Task) GetName() string
- func (o *Task) GetNameOk() (*string, bool)
- func (o *Task) GetResources() Resources
- func (o *Task) GetResourcesOk() (*Resources, bool)
- func (o *Task) GetRestartPolicy() RestartPolicy
- func (o *Task) GetRestartPolicyOk() (*RestartPolicy, bool)
- func (o *Task) GetScalingPolicies() []ScalingPolicy
- func (o *Task) GetScalingPoliciesOk() (*[]ScalingPolicy, bool)
- func (o *Task) GetServices() []Service
- func (o *Task) GetServicesOk() (*[]Service, bool)
- func (o *Task) GetShutdownDelay() int64
- func (o *Task) GetShutdownDelayOk() (*int64, bool)
- func (o *Task) GetTemplates() []Template
- func (o *Task) GetTemplatesOk() (*[]Template, bool)
- func (o *Task) GetUser() string
- func (o *Task) GetUserOk() (*string, bool)
- func (o *Task) GetVault() Vault
- func (o *Task) GetVaultOk() (*Vault, bool)
- func (o *Task) GetVolumeMounts() []VolumeMount
- func (o *Task) GetVolumeMountsOk() (*[]VolumeMount, bool)
- func (o *Task) HasAffinities() bool
- func (o *Task) HasArtifacts() bool
- func (o *Task) HasCSIPluginConfig() bool
- func (o *Task) HasConfig() bool
- func (o *Task) HasConstraints() bool
- func (o *Task) HasDispatchPayload() bool
- func (o *Task) HasDriver() bool
- func (o *Task) HasEnv() bool
- func (o *Task) HasKillSignal() bool
- func (o *Task) HasKillTimeout() bool
- func (o *Task) HasKind() bool
- func (o *Task) HasLeader() bool
- func (o *Task) HasLifecycle() bool
- func (o *Task) HasLogConfig() bool
- func (o *Task) HasMeta() bool
- func (o *Task) HasName() bool
- func (o *Task) HasResources() bool
- func (o *Task) HasRestartPolicy() bool
- func (o *Task) HasScalingPolicies() bool
- func (o *Task) HasServices() bool
- func (o *Task) HasShutdownDelay() bool
- func (o *Task) HasTemplates() bool
- func (o *Task) HasUser() bool
- func (o *Task) HasVault() bool
- func (o *Task) HasVolumeMounts() bool
- func (o Task) MarshalJSON() ([]byte, error)
- func (o *Task) SetAffinities(v []Affinity)
- func (o *Task) SetArtifacts(v []TaskArtifact)
- func (o *Task) SetCSIPluginConfig(v TaskCSIPluginConfig)
- func (o *Task) SetConfig(v map[string]map[string]interface{})
- func (o *Task) SetConstraints(v []Constraint)
- func (o *Task) SetDispatchPayload(v DispatchPayloadConfig)
- func (o *Task) SetDriver(v string)
- func (o *Task) SetEnv(v map[string]string)
- func (o *Task) SetKillSignal(v string)
- func (o *Task) SetKillTimeout(v int64)
- func (o *Task) SetKind(v string)
- func (o *Task) SetLeader(v bool)
- func (o *Task) SetLifecycle(v TaskLifecycle)
- func (o *Task) SetLogConfig(v LogConfig)
- func (o *Task) SetMeta(v map[string]string)
- func (o *Task) SetName(v string)
- func (o *Task) SetResources(v Resources)
- func (o *Task) SetRestartPolicy(v RestartPolicy)
- func (o *Task) SetScalingPolicies(v []ScalingPolicy)
- func (o *Task) SetServices(v []Service)
- func (o *Task) SetShutdownDelay(v int64)
- func (o *Task) SetTemplates(v []Template)
- func (o *Task) SetUser(v string)
- func (o *Task) SetVault(v Vault)
- func (o *Task) SetVolumeMounts(v []VolumeMount)
- type TaskArtifact
- func (o *TaskArtifact) GetGetterHeaders() map[string]string
- func (o *TaskArtifact) GetGetterHeadersOk() (*map[string]string, bool)
- func (o *TaskArtifact) GetGetterMode() string
- func (o *TaskArtifact) GetGetterModeOk() (*string, bool)
- func (o *TaskArtifact) GetGetterOptions() map[string]string
- func (o *TaskArtifact) GetGetterOptionsOk() (*map[string]string, bool)
- func (o *TaskArtifact) GetGetterSource() string
- func (o *TaskArtifact) GetGetterSourceOk() (*string, bool)
- func (o *TaskArtifact) GetRelativeDest() string
- func (o *TaskArtifact) GetRelativeDestOk() (*string, bool)
- func (o *TaskArtifact) HasGetterHeaders() bool
- func (o *TaskArtifact) HasGetterMode() bool
- func (o *TaskArtifact) HasGetterOptions() bool
- func (o *TaskArtifact) HasGetterSource() bool
- func (o *TaskArtifact) HasRelativeDest() bool
- func (o TaskArtifact) MarshalJSON() ([]byte, error)
- func (o *TaskArtifact) SetGetterHeaders(v map[string]string)
- func (o *TaskArtifact) SetGetterMode(v string)
- func (o *TaskArtifact) SetGetterOptions(v map[string]string)
- func (o *TaskArtifact) SetGetterSource(v string)
- func (o *TaskArtifact) SetRelativeDest(v string)
- type TaskCSIPluginConfig
- func (o *TaskCSIPluginConfig) GetID() string
- func (o *TaskCSIPluginConfig) GetIDOk() (*string, bool)
- func (o *TaskCSIPluginConfig) GetMountDir() string
- func (o *TaskCSIPluginConfig) GetMountDirOk() (*string, bool)
- func (o *TaskCSIPluginConfig) GetType() string
- func (o *TaskCSIPluginConfig) GetTypeOk() (*string, bool)
- func (o *TaskCSIPluginConfig) HasID() bool
- func (o *TaskCSIPluginConfig) HasMountDir() bool
- func (o *TaskCSIPluginConfig) HasType() bool
- func (o TaskCSIPluginConfig) MarshalJSON() ([]byte, error)
- func (o *TaskCSIPluginConfig) SetID(v string)
- func (o *TaskCSIPluginConfig) SetMountDir(v string)
- func (o *TaskCSIPluginConfig) SetType(v string)
- type TaskDiff
- func (o *TaskDiff) GetAnnotations() []string
- func (o *TaskDiff) GetAnnotationsOk() (*[]string, bool)
- func (o *TaskDiff) GetFields() []FieldDiff
- func (o *TaskDiff) GetFieldsOk() (*[]FieldDiff, bool)
- func (o *TaskDiff) GetName() string
- func (o *TaskDiff) GetNameOk() (*string, bool)
- func (o *TaskDiff) GetObjects() []ObjectDiff
- func (o *TaskDiff) GetObjectsOk() (*[]ObjectDiff, bool)
- func (o *TaskDiff) GetType() string
- func (o *TaskDiff) GetTypeOk() (*string, bool)
- func (o *TaskDiff) HasAnnotations() bool
- func (o *TaskDiff) HasFields() bool
- func (o *TaskDiff) HasName() bool
- func (o *TaskDiff) HasObjects() bool
- func (o *TaskDiff) HasType() bool
- func (o TaskDiff) MarshalJSON() ([]byte, error)
- func (o *TaskDiff) SetAnnotations(v []string)
- func (o *TaskDiff) SetFields(v []FieldDiff)
- func (o *TaskDiff) SetName(v string)
- func (o *TaskDiff) SetObjects(v []ObjectDiff)
- func (o *TaskDiff) SetType(v string)
- type TaskEvent
- func (o *TaskEvent) GetDetails() map[string]string
- func (o *TaskEvent) GetDetailsOk() (*map[string]string, bool)
- func (o *TaskEvent) GetDiskLimit() int64
- func (o *TaskEvent) GetDiskLimitOk() (*int64, bool)
- func (o *TaskEvent) GetDisplayMessage() string
- func (o *TaskEvent) GetDisplayMessageOk() (*string, bool)
- func (o *TaskEvent) GetDownloadError() string
- func (o *TaskEvent) GetDownloadErrorOk() (*string, bool)
- func (o *TaskEvent) GetDriverError() string
- func (o *TaskEvent) GetDriverErrorOk() (*string, bool)
- func (o *TaskEvent) GetDriverMessage() string
- func (o *TaskEvent) GetDriverMessageOk() (*string, bool)
- func (o *TaskEvent) GetExitCode() int64
- func (o *TaskEvent) GetExitCodeOk() (*int64, bool)
- func (o *TaskEvent) GetFailedSibling() string
- func (o *TaskEvent) GetFailedSiblingOk() (*string, bool)
- func (o *TaskEvent) GetFailsTask() bool
- func (o *TaskEvent) GetFailsTaskOk() (*bool, bool)
- func (o *TaskEvent) GetGenericSource() string
- func (o *TaskEvent) GetGenericSourceOk() (*string, bool)
- func (o *TaskEvent) GetKillError() string
- func (o *TaskEvent) GetKillErrorOk() (*string, bool)
- func (o *TaskEvent) GetKillReason() string
- func (o *TaskEvent) GetKillReasonOk() (*string, bool)
- func (o *TaskEvent) GetKillTimeout() int64
- func (o *TaskEvent) GetKillTimeoutOk() (*int64, bool)
- func (o *TaskEvent) GetMessage() string
- func (o *TaskEvent) GetMessageOk() (*string, bool)
- func (o *TaskEvent) GetRestartReason() string
- func (o *TaskEvent) GetRestartReasonOk() (*string, bool)
- func (o *TaskEvent) GetSetupError() string
- func (o *TaskEvent) GetSetupErrorOk() (*string, bool)
- func (o *TaskEvent) GetSignal() int64
- func (o *TaskEvent) GetSignalOk() (*int64, bool)
- func (o *TaskEvent) GetStartDelay() int64
- func (o *TaskEvent) GetStartDelayOk() (*int64, bool)
- func (o *TaskEvent) GetTaskSignal() string
- func (o *TaskEvent) GetTaskSignalOk() (*string, bool)
- func (o *TaskEvent) GetTaskSignalReason() string
- func (o *TaskEvent) GetTaskSignalReasonOk() (*string, bool)
- func (o *TaskEvent) GetTime() int64
- func (o *TaskEvent) GetTimeOk() (*int64, bool)
- func (o *TaskEvent) GetType() string
- func (o *TaskEvent) GetTypeOk() (*string, bool)
- func (o *TaskEvent) GetValidationError() string
- func (o *TaskEvent) GetValidationErrorOk() (*string, bool)
- func (o *TaskEvent) GetVaultError() string
- func (o *TaskEvent) GetVaultErrorOk() (*string, bool)
- func (o *TaskEvent) HasDetails() bool
- func (o *TaskEvent) HasDiskLimit() bool
- func (o *TaskEvent) HasDisplayMessage() bool
- func (o *TaskEvent) HasDownloadError() bool
- func (o *TaskEvent) HasDriverError() bool
- func (o *TaskEvent) HasDriverMessage() bool
- func (o *TaskEvent) HasExitCode() bool
- func (o *TaskEvent) HasFailedSibling() bool
- func (o *TaskEvent) HasFailsTask() bool
- func (o *TaskEvent) HasGenericSource() bool
- func (o *TaskEvent) HasKillError() bool
- func (o *TaskEvent) HasKillReason() bool
- func (o *TaskEvent) HasKillTimeout() bool
- func (o *TaskEvent) HasMessage() bool
- func (o *TaskEvent) HasRestartReason() bool
- func (o *TaskEvent) HasSetupError() bool
- func (o *TaskEvent) HasSignal() bool
- func (o *TaskEvent) HasStartDelay() bool
- func (o *TaskEvent) HasTaskSignal() bool
- func (o *TaskEvent) HasTaskSignalReason() bool
- func (o *TaskEvent) HasTime() bool
- func (o *TaskEvent) HasType() bool
- func (o *TaskEvent) HasValidationError() bool
- func (o *TaskEvent) HasVaultError() bool
- func (o TaskEvent) MarshalJSON() ([]byte, error)
- func (o *TaskEvent) SetDetails(v map[string]string)
- func (o *TaskEvent) SetDiskLimit(v int64)
- func (o *TaskEvent) SetDisplayMessage(v string)
- func (o *TaskEvent) SetDownloadError(v string)
- func (o *TaskEvent) SetDriverError(v string)
- func (o *TaskEvent) SetDriverMessage(v string)
- func (o *TaskEvent) SetExitCode(v int64)
- func (o *TaskEvent) SetFailedSibling(v string)
- func (o *TaskEvent) SetFailsTask(v bool)
- func (o *TaskEvent) SetGenericSource(v string)
- func (o *TaskEvent) SetKillError(v string)
- func (o *TaskEvent) SetKillReason(v string)
- func (o *TaskEvent) SetKillTimeout(v int64)
- func (o *TaskEvent) SetMessage(v string)
- func (o *TaskEvent) SetRestartReason(v string)
- func (o *TaskEvent) SetSetupError(v string)
- func (o *TaskEvent) SetSignal(v int64)
- func (o *TaskEvent) SetStartDelay(v int64)
- func (o *TaskEvent) SetTaskSignal(v string)
- func (o *TaskEvent) SetTaskSignalReason(v string)
- func (o *TaskEvent) SetTime(v int64)
- func (o *TaskEvent) SetType(v string)
- func (o *TaskEvent) SetValidationError(v string)
- func (o *TaskEvent) SetVaultError(v string)
- type TaskGroup
- func (o *TaskGroup) GetAffinities() []Affinity
- func (o *TaskGroup) GetAffinitiesOk() (*[]Affinity, bool)
- func (o *TaskGroup) GetConstraints() []Constraint
- func (o *TaskGroup) GetConstraintsOk() (*[]Constraint, bool)
- func (o *TaskGroup) GetConsul() Consul
- func (o *TaskGroup) GetConsulOk() (*Consul, bool)
- func (o *TaskGroup) GetCount() int64
- func (o *TaskGroup) GetCountOk() (*int64, bool)
- func (o *TaskGroup) GetEphemeralDisk() EphemeralDisk
- func (o *TaskGroup) GetEphemeralDiskOk() (*EphemeralDisk, bool)
- func (o *TaskGroup) GetMeta() map[string]string
- func (o *TaskGroup) GetMetaOk() (*map[string]string, bool)
- func (o *TaskGroup) GetMigrate() MigrateStrategy
- func (o *TaskGroup) GetMigrateOk() (*MigrateStrategy, bool)
- func (o *TaskGroup) GetName() string
- func (o *TaskGroup) GetNameOk() (*string, bool)
- func (o *TaskGroup) GetNetworks() []NetworkResource
- func (o *TaskGroup) GetNetworksOk() (*[]NetworkResource, bool)
- func (o *TaskGroup) GetReschedulePolicy() ReschedulePolicy
- func (o *TaskGroup) GetReschedulePolicyOk() (*ReschedulePolicy, bool)
- func (o *TaskGroup) GetRestartPolicy() RestartPolicy
- func (o *TaskGroup) GetRestartPolicyOk() (*RestartPolicy, bool)
- func (o *TaskGroup) GetScaling() ScalingPolicy
- func (o *TaskGroup) GetScalingOk() (*ScalingPolicy, bool)
- func (o *TaskGroup) GetServices() []Service
- func (o *TaskGroup) GetServicesOk() (*[]Service, bool)
- func (o *TaskGroup) GetShutdownDelay() int64
- func (o *TaskGroup) GetShutdownDelayOk() (*int64, bool)
- func (o *TaskGroup) GetSpreads() []Spread
- func (o *TaskGroup) GetSpreadsOk() (*[]Spread, bool)
- func (o *TaskGroup) GetStopAfterClientDisconnect() int64
- func (o *TaskGroup) GetStopAfterClientDisconnectOk() (*int64, bool)
- func (o *TaskGroup) GetTasks() []Task
- func (o *TaskGroup) GetTasksOk() (*[]Task, bool)
- func (o *TaskGroup) GetUpdate() UpdateStrategy
- func (o *TaskGroup) GetUpdateOk() (*UpdateStrategy, bool)
- func (o *TaskGroup) GetVolumes() map[string]VolumeRequest
- func (o *TaskGroup) GetVolumesOk() (*map[string]VolumeRequest, bool)
- func (o *TaskGroup) HasAffinities() bool
- func (o *TaskGroup) HasConstraints() bool
- func (o *TaskGroup) HasConsul() bool
- func (o *TaskGroup) HasCount() bool
- func (o *TaskGroup) HasEphemeralDisk() bool
- func (o *TaskGroup) HasMeta() bool
- func (o *TaskGroup) HasMigrate() bool
- func (o *TaskGroup) HasName() bool
- func (o *TaskGroup) HasNetworks() bool
- func (o *TaskGroup) HasReschedulePolicy() bool
- func (o *TaskGroup) HasRestartPolicy() bool
- func (o *TaskGroup) HasScaling() bool
- func (o *TaskGroup) HasServices() bool
- func (o *TaskGroup) HasShutdownDelay() bool
- func (o *TaskGroup) HasSpreads() bool
- func (o *TaskGroup) HasStopAfterClientDisconnect() bool
- func (o *TaskGroup) HasTasks() bool
- func (o *TaskGroup) HasUpdate() bool
- func (o *TaskGroup) HasVolumes() bool
- func (o TaskGroup) MarshalJSON() ([]byte, error)
- func (o *TaskGroup) SetAffinities(v []Affinity)
- func (o *TaskGroup) SetConstraints(v []Constraint)
- func (o *TaskGroup) SetConsul(v Consul)
- func (o *TaskGroup) SetCount(v int64)
- func (o *TaskGroup) SetEphemeralDisk(v EphemeralDisk)
- func (o *TaskGroup) SetMeta(v map[string]string)
- func (o *TaskGroup) SetMigrate(v MigrateStrategy)
- func (o *TaskGroup) SetName(v string)
- func (o *TaskGroup) SetNetworks(v []NetworkResource)
- func (o *TaskGroup) SetReschedulePolicy(v ReschedulePolicy)
- func (o *TaskGroup) SetRestartPolicy(v RestartPolicy)
- func (o *TaskGroup) SetScaling(v ScalingPolicy)
- func (o *TaskGroup) SetServices(v []Service)
- func (o *TaskGroup) SetShutdownDelay(v int64)
- func (o *TaskGroup) SetSpreads(v []Spread)
- func (o *TaskGroup) SetStopAfterClientDisconnect(v int64)
- func (o *TaskGroup) SetTasks(v []Task)
- func (o *TaskGroup) SetUpdate(v UpdateStrategy)
- func (o *TaskGroup) SetVolumes(v map[string]VolumeRequest)
- type TaskGroupDiff
- func (o *TaskGroupDiff) GetFields() []FieldDiff
- func (o *TaskGroupDiff) GetFieldsOk() (*[]FieldDiff, bool)
- func (o *TaskGroupDiff) GetName() string
- func (o *TaskGroupDiff) GetNameOk() (*string, bool)
- func (o *TaskGroupDiff) GetObjects() []ObjectDiff
- func (o *TaskGroupDiff) GetObjectsOk() (*[]ObjectDiff, bool)
- func (o *TaskGroupDiff) GetTasks() []TaskDiff
- func (o *TaskGroupDiff) GetTasksOk() (*[]TaskDiff, bool)
- func (o *TaskGroupDiff) GetType() string
- func (o *TaskGroupDiff) GetTypeOk() (*string, bool)
- func (o *TaskGroupDiff) GetUpdates() map[string]int32
- func (o *TaskGroupDiff) GetUpdatesOk() (*map[string]int32, bool)
- func (o *TaskGroupDiff) HasFields() bool
- func (o *TaskGroupDiff) HasName() bool
- func (o *TaskGroupDiff) HasObjects() bool
- func (o *TaskGroupDiff) HasTasks() bool
- func (o *TaskGroupDiff) HasType() bool
- func (o *TaskGroupDiff) HasUpdates() bool
- func (o TaskGroupDiff) MarshalJSON() ([]byte, error)
- func (o *TaskGroupDiff) SetFields(v []FieldDiff)
- func (o *TaskGroupDiff) SetName(v string)
- func (o *TaskGroupDiff) SetObjects(v []ObjectDiff)
- func (o *TaskGroupDiff) SetTasks(v []TaskDiff)
- func (o *TaskGroupDiff) SetType(v string)
- func (o *TaskGroupDiff) SetUpdates(v map[string]int32)
- type TaskGroupSummary
- func (o *TaskGroupSummary) GetComplete() int64
- func (o *TaskGroupSummary) GetCompleteOk() (*int64, bool)
- func (o *TaskGroupSummary) GetFailed() int64
- func (o *TaskGroupSummary) GetFailedOk() (*int64, bool)
- func (o *TaskGroupSummary) GetLost() int64
- func (o *TaskGroupSummary) GetLostOk() (*int64, bool)
- func (o *TaskGroupSummary) GetQueued() int64
- func (o *TaskGroupSummary) GetQueuedOk() (*int64, bool)
- func (o *TaskGroupSummary) GetRunning() int64
- func (o *TaskGroupSummary) GetRunningOk() (*int64, bool)
- func (o *TaskGroupSummary) GetStarting() int64
- func (o *TaskGroupSummary) GetStartingOk() (*int64, bool)
- func (o *TaskGroupSummary) HasComplete() bool
- func (o *TaskGroupSummary) HasFailed() bool
- func (o *TaskGroupSummary) HasLost() bool
- func (o *TaskGroupSummary) HasQueued() bool
- func (o *TaskGroupSummary) HasRunning() bool
- func (o *TaskGroupSummary) HasStarting() bool
- func (o TaskGroupSummary) MarshalJSON() ([]byte, error)
- func (o *TaskGroupSummary) SetComplete(v int64)
- func (o *TaskGroupSummary) SetFailed(v int64)
- func (o *TaskGroupSummary) SetLost(v int64)
- func (o *TaskGroupSummary) SetQueued(v int64)
- func (o *TaskGroupSummary) SetRunning(v int64)
- func (o *TaskGroupSummary) SetStarting(v int64)
- type TaskHandle
- func (o *TaskHandle) GetDriverState() []int32
- func (o *TaskHandle) GetDriverStateOk() (*[]int32, bool)
- func (o *TaskHandle) GetVersion() int64
- func (o *TaskHandle) GetVersionOk() (*int64, bool)
- func (o *TaskHandle) HasDriverState() bool
- func (o *TaskHandle) HasVersion() bool
- func (o TaskHandle) MarshalJSON() ([]byte, error)
- func (o *TaskHandle) SetDriverState(v []int32)
- func (o *TaskHandle) SetVersion(v int64)
- type TaskLifecycle
- func (o *TaskLifecycle) GetHook() string
- func (o *TaskLifecycle) GetHookOk() (*string, bool)
- func (o *TaskLifecycle) GetSidecar() bool
- func (o *TaskLifecycle) GetSidecarOk() (*bool, bool)
- func (o *TaskLifecycle) HasHook() bool
- func (o *TaskLifecycle) HasSidecar() bool
- func (o TaskLifecycle) MarshalJSON() ([]byte, error)
- func (o *TaskLifecycle) SetHook(v string)
- func (o *TaskLifecycle) SetSidecar(v bool)
- type TaskLifecycleConfig
- func (o *TaskLifecycleConfig) GetHook() string
- func (o *TaskLifecycleConfig) GetHookOk() (*string, bool)
- func (o *TaskLifecycleConfig) GetSidecar() bool
- func (o *TaskLifecycleConfig) GetSidecarOk() (*bool, bool)
- func (o *TaskLifecycleConfig) HasHook() bool
- func (o *TaskLifecycleConfig) HasSidecar() bool
- func (o TaskLifecycleConfig) MarshalJSON() ([]byte, error)
- func (o *TaskLifecycleConfig) SetHook(v string)
- func (o *TaskLifecycleConfig) SetSidecar(v bool)
- type TaskState
- func (o *TaskState) GetEvents() []TaskEvent
- func (o *TaskState) GetEventsOk() (*[]TaskEvent, bool)
- func (o *TaskState) GetFailed() bool
- func (o *TaskState) GetFailedOk() (*bool, bool)
- func (o *TaskState) GetFinishedAt() time.Time
- func (o *TaskState) GetFinishedAtOk() (*time.Time, bool)
- func (o *TaskState) GetLastRestart() time.Time
- func (o *TaskState) GetLastRestartOk() (*time.Time, bool)
- func (o *TaskState) GetRestarts() int32
- func (o *TaskState) GetRestartsOk() (*int32, bool)
- func (o *TaskState) GetStartedAt() time.Time
- func (o *TaskState) GetStartedAtOk() (*time.Time, bool)
- func (o *TaskState) GetState() string
- func (o *TaskState) GetStateOk() (*string, bool)
- func (o *TaskState) GetTaskHandle() TaskHandle
- func (o *TaskState) GetTaskHandleOk() (*TaskHandle, bool)
- func (o *TaskState) HasEvents() bool
- func (o *TaskState) HasFailed() bool
- func (o *TaskState) HasFinishedAt() bool
- func (o *TaskState) HasLastRestart() bool
- func (o *TaskState) HasRestarts() bool
- func (o *TaskState) HasStartedAt() bool
- func (o *TaskState) HasState() bool
- func (o *TaskState) HasTaskHandle() bool
- func (o TaskState) MarshalJSON() ([]byte, error)
- func (o *TaskState) SetEvents(v []TaskEvent)
- func (o *TaskState) SetFailed(v bool)
- func (o *TaskState) SetFinishedAt(v time.Time)
- func (o *TaskState) SetLastRestart(v time.Time)
- func (o *TaskState) SetRestarts(v int32)
- func (o *TaskState) SetStartedAt(v time.Time)
- func (o *TaskState) SetState(v string)
- func (o *TaskState) SetTaskHandle(v TaskHandle)
- type Template
- func (o *Template) GetChangeMode() string
- func (o *Template) GetChangeModeOk() (*string, bool)
- func (o *Template) GetChangeSignal() string
- func (o *Template) GetChangeSignalOk() (*string, bool)
- func (o *Template) GetDestPath() string
- func (o *Template) GetDestPathOk() (*string, bool)
- func (o *Template) GetEmbeddedTmpl() string
- func (o *Template) GetEmbeddedTmplOk() (*string, bool)
- func (o *Template) GetEnvvars() bool
- func (o *Template) GetEnvvarsOk() (*bool, bool)
- func (o *Template) GetLeftDelim() string
- func (o *Template) GetLeftDelimOk() (*string, bool)
- func (o *Template) GetPerms() string
- func (o *Template) GetPermsOk() (*string, bool)
- func (o *Template) GetRightDelim() string
- func (o *Template) GetRightDelimOk() (*string, bool)
- func (o *Template) GetSourcePath() string
- func (o *Template) GetSourcePathOk() (*string, bool)
- func (o *Template) GetSplay() int64
- func (o *Template) GetSplayOk() (*int64, bool)
- func (o *Template) GetVaultGrace() int64
- func (o *Template) GetVaultGraceOk() (*int64, bool)
- func (o *Template) HasChangeMode() bool
- func (o *Template) HasChangeSignal() bool
- func (o *Template) HasDestPath() bool
- func (o *Template) HasEmbeddedTmpl() bool
- func (o *Template) HasEnvvars() bool
- func (o *Template) HasLeftDelim() bool
- func (o *Template) HasPerms() bool
- func (o *Template) HasRightDelim() bool
- func (o *Template) HasSourcePath() bool
- func (o *Template) HasSplay() bool
- func (o *Template) HasVaultGrace() bool
- func (o Template) MarshalJSON() ([]byte, error)
- func (o *Template) SetChangeMode(v string)
- func (o *Template) SetChangeSignal(v string)
- func (o *Template) SetDestPath(v string)
- func (o *Template) SetEmbeddedTmpl(v string)
- func (o *Template) SetEnvvars(v bool)
- func (o *Template) SetLeftDelim(v string)
- func (o *Template) SetPerms(v string)
- func (o *Template) SetRightDelim(v string)
- func (o *Template) SetSourcePath(v string)
- func (o *Template) SetSplay(v int64)
- func (o *Template) SetVaultGrace(v int64)
- type UpdateStrategy
- func (o *UpdateStrategy) GetAutoPromote() bool
- func (o *UpdateStrategy) GetAutoPromoteOk() (*bool, bool)
- func (o *UpdateStrategy) GetAutoRevert() bool
- func (o *UpdateStrategy) GetAutoRevertOk() (*bool, bool)
- func (o *UpdateStrategy) GetCanary() int64
- func (o *UpdateStrategy) GetCanaryOk() (*int64, bool)
- func (o *UpdateStrategy) GetHealthCheck() string
- func (o *UpdateStrategy) GetHealthCheckOk() (*string, bool)
- func (o *UpdateStrategy) GetHealthyDeadline() int64
- func (o *UpdateStrategy) GetHealthyDeadlineOk() (*int64, bool)
- func (o *UpdateStrategy) GetMaxParallel() int64
- func (o *UpdateStrategy) GetMaxParallelOk() (*int64, bool)
- func (o *UpdateStrategy) GetMinHealthyTime() int64
- func (o *UpdateStrategy) GetMinHealthyTimeOk() (*int64, bool)
- func (o *UpdateStrategy) GetProgressDeadline() int64
- func (o *UpdateStrategy) GetProgressDeadlineOk() (*int64, bool)
- func (o *UpdateStrategy) GetStagger() int64
- func (o *UpdateStrategy) GetStaggerOk() (*int64, bool)
- func (o *UpdateStrategy) HasAutoPromote() bool
- func (o *UpdateStrategy) HasAutoRevert() bool
- func (o *UpdateStrategy) HasCanary() bool
- func (o *UpdateStrategy) HasHealthCheck() bool
- func (o *UpdateStrategy) HasHealthyDeadline() bool
- func (o *UpdateStrategy) HasMaxParallel() bool
- func (o *UpdateStrategy) HasMinHealthyTime() bool
- func (o *UpdateStrategy) HasProgressDeadline() bool
- func (o *UpdateStrategy) HasStagger() bool
- func (o UpdateStrategy) MarshalJSON() ([]byte, error)
- func (o *UpdateStrategy) SetAutoPromote(v bool)
- func (o *UpdateStrategy) SetAutoRevert(v bool)
- func (o *UpdateStrategy) SetCanary(v int64)
- func (o *UpdateStrategy) SetHealthCheck(v string)
- func (o *UpdateStrategy) SetHealthyDeadline(v int64)
- func (o *UpdateStrategy) SetMaxParallel(v int64)
- func (o *UpdateStrategy) SetMinHealthyTime(v int64)
- func (o *UpdateStrategy) SetProgressDeadline(v int64)
- func (o *UpdateStrategy) SetStagger(v int64)
- type Vault
- func (o *Vault) GetChangeMode() string
- func (o *Vault) GetChangeModeOk() (*string, bool)
- func (o *Vault) GetChangeSignal() string
- func (o *Vault) GetChangeSignalOk() (*string, bool)
- func (o *Vault) GetEnv() bool
- func (o *Vault) GetEnvOk() (*bool, bool)
- func (o *Vault) GetNamespace() string
- func (o *Vault) GetNamespaceOk() (*string, bool)
- func (o *Vault) GetPolicies() []string
- func (o *Vault) GetPoliciesOk() (*[]string, bool)
- func (o *Vault) HasChangeMode() bool
- func (o *Vault) HasChangeSignal() bool
- func (o *Vault) HasEnv() bool
- func (o *Vault) HasNamespace() bool
- func (o *Vault) HasPolicies() bool
- func (o Vault) MarshalJSON() ([]byte, error)
- func (o *Vault) SetChangeMode(v string)
- func (o *Vault) SetChangeSignal(v string)
- func (o *Vault) SetEnv(v bool)
- func (o *Vault) SetNamespace(v string)
- func (o *Vault) SetPolicies(v []string)
- type Volume
- func (o *Volume) GetCreatedAt() string
- func (o *Volume) GetCreatedAtOk() (*string, bool)
- func (o *Volume) GetDriver() string
- func (o *Volume) GetDriverOk() (*string, bool)
- func (o *Volume) GetLabels() map[string]string
- func (o *Volume) GetLabelsOk() (*map[string]string, bool)
- func (o *Volume) GetMountpoint() string
- func (o *Volume) GetMountpointOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetOptions() map[string]string
- func (o *Volume) GetOptionsOk() (*map[string]string, bool)
- func (o *Volume) GetScope() string
- func (o *Volume) GetScopeOk() (*string, bool)
- func (o *Volume) GetStatus() map[string]map[string]interface{}
- func (o *Volume) GetStatusOk() (*map[string]map[string]interface{}, bool)
- func (o *Volume) GetUsageData() VolumeUsageData
- func (o *Volume) GetUsageDataOk() (*VolumeUsageData, bool)
- func (o *Volume) HasCreatedAt() bool
- func (o *Volume) HasStatus() bool
- func (o *Volume) HasUsageData() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetCreatedAt(v string)
- func (o *Volume) SetDriver(v string)
- func (o *Volume) SetLabels(v map[string]string)
- func (o *Volume) SetMountpoint(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetOptions(v map[string]string)
- func (o *Volume) SetScope(v string)
- func (o *Volume) SetStatus(v map[string]map[string]interface{})
- func (o *Volume) SetUsageData(v VolumeUsageData)
- type VolumeMount
- func (o *VolumeMount) GetDestination() string
- func (o *VolumeMount) GetDestinationOk() (*string, bool)
- func (o *VolumeMount) GetPropagationMode() string
- func (o *VolumeMount) GetPropagationModeOk() (*string, bool)
- func (o *VolumeMount) GetReadOnly() bool
- func (o *VolumeMount) GetReadOnlyOk() (*bool, bool)
- func (o *VolumeMount) GetVolume() string
- func (o *VolumeMount) GetVolumeOk() (*string, bool)
- func (o *VolumeMount) HasDestination() bool
- func (o *VolumeMount) HasPropagationMode() bool
- func (o *VolumeMount) HasReadOnly() bool
- func (o *VolumeMount) HasVolume() bool
- func (o VolumeMount) MarshalJSON() ([]byte, error)
- func (o *VolumeMount) SetDestination(v string)
- func (o *VolumeMount) SetPropagationMode(v string)
- func (o *VolumeMount) SetReadOnly(v bool)
- func (o *VolumeMount) SetVolume(v string)
- type VolumeRequest
- func (o *VolumeRequest) GetAccessMode() string
- func (o *VolumeRequest) GetAccessModeOk() (*string, bool)
- func (o *VolumeRequest) GetAttachmentMode() string
- func (o *VolumeRequest) GetAttachmentModeOk() (*string, bool)
- func (o *VolumeRequest) GetMountOptions() CSIMountOptions
- func (o *VolumeRequest) GetMountOptionsOk() (*CSIMountOptions, bool)
- func (o *VolumeRequest) GetName() string
- func (o *VolumeRequest) GetNameOk() (*string, bool)
- func (o *VolumeRequest) GetPerAlloc() bool
- func (o *VolumeRequest) GetPerAllocOk() (*bool, bool)
- func (o *VolumeRequest) GetReadOnly() bool
- func (o *VolumeRequest) GetReadOnlyOk() (*bool, bool)
- func (o *VolumeRequest) GetSource() string
- func (o *VolumeRequest) GetSourceOk() (*string, bool)
- func (o *VolumeRequest) GetType() string
- func (o *VolumeRequest) GetTypeOk() (*string, bool)
- func (o *VolumeRequest) HasAccessMode() bool
- func (o *VolumeRequest) HasAttachmentMode() bool
- func (o *VolumeRequest) HasMountOptions() bool
- func (o *VolumeRequest) HasName() bool
- func (o *VolumeRequest) HasPerAlloc() bool
- func (o *VolumeRequest) HasReadOnly() bool
- func (o *VolumeRequest) HasSource() bool
- func (o *VolumeRequest) HasType() bool
- func (o VolumeRequest) MarshalJSON() ([]byte, error)
- func (o *VolumeRequest) SetAccessMode(v string)
- func (o *VolumeRequest) SetAttachmentMode(v string)
- func (o *VolumeRequest) SetMountOptions(v CSIMountOptions)
- func (o *VolumeRequest) SetName(v string)
- func (o *VolumeRequest) SetPerAlloc(v bool)
- func (o *VolumeRequest) SetReadOnly(v bool)
- func (o *VolumeRequest) SetSource(v string)
- func (o *VolumeRequest) SetType(v string)
- type VolumeUsageData
- func (o *VolumeUsageData) GetRefCount() int64
- func (o *VolumeUsageData) GetRefCountOk() (*int64, bool)
- func (o *VolumeUsageData) GetSize() int64
- func (o *VolumeUsageData) GetSizeOk() (*int64, bool)
- func (o VolumeUsageData) MarshalJSON() ([]byte, error)
- func (o *VolumeUsageData) SetRefCount(v int64)
- func (o *VolumeUsageData) SetSize(v int64)
- type WriteMeta
- type WriteRequest
- func (o *WriteRequest) GetNamespace() string
- func (o *WriteRequest) GetNamespaceOk() (*string, bool)
- func (o *WriteRequest) GetRegion() string
- func (o *WriteRequest) GetRegionOk() (*string, bool)
- func (o *WriteRequest) GetSecretID() string
- func (o *WriteRequest) GetSecretIDOk() (*string, bool)
- func (o *WriteRequest) HasNamespace() bool
- func (o *WriteRequest) HasRegion() bool
- func (o *WriteRequest) HasSecretID() bool
- func (o WriteRequest) MarshalJSON() ([]byte, error)
- func (o *WriteRequest) SetNamespace(v string)
- func (o *WriteRequest) SetRegion(v string)
- func (o *WriteRequest) SetSecretID(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { JobsApi *JobsApiService // contains filtered or unexported fields }
APIClient manages communication with the nomad API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Affinity ¶
type Affinity struct { LTarget *string `json:"LTarget,omitempty"` Operand *string `json:"Operand,omitempty"` RTarget *string `json:"RTarget,omitempty"` Weight *int32 `json:"Weight,omitempty"` }
Affinity Affinity is used to serialize task group affinities
func NewAffinity ¶
func NewAffinity() *Affinity
NewAffinity instantiates a new Affinity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAffinityWithDefaults ¶
func NewAffinityWithDefaults() *Affinity
NewAffinityWithDefaults instantiates a new Affinity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Affinity) GetLTarget ¶
GetLTarget returns the LTarget field value if set, zero value otherwise.
func (*Affinity) GetLTargetOk ¶
GetLTargetOk returns a tuple with the LTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Affinity) GetOperand ¶
GetOperand returns the Operand field value if set, zero value otherwise.
func (*Affinity) GetOperandOk ¶
GetOperandOk returns a tuple with the Operand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Affinity) GetRTarget ¶
GetRTarget returns the RTarget field value if set, zero value otherwise.
func (*Affinity) GetRTargetOk ¶
GetRTargetOk returns a tuple with the RTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Affinity) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Affinity) HasLTarget ¶
HasLTarget returns a boolean if a field has been set.
func (*Affinity) HasOperand ¶
HasOperand returns a boolean if a field has been set.
func (*Affinity) HasRTarget ¶
HasRTarget returns a boolean if a field has been set.
func (Affinity) MarshalJSON ¶
func (*Affinity) SetLTarget ¶
SetLTarget gets a reference to the given string and assigns it to the LTarget field.
func (*Affinity) SetOperand ¶
SetOperand gets a reference to the given string and assigns it to the Operand field.
func (*Affinity) SetRTarget ¶
SetRTarget gets a reference to the given string and assigns it to the RTarget field.
type AllocDeploymentStatus ¶
type AllocDeploymentStatus struct { // Canary marks whether the allocation is a canary or not. A canary that has been promoted will have this field set to false. Canary *bool `json:"Canary,omitempty"` // Healthy marks whether the allocation has been marked healthy or unhealthy as part of a deployment. It can be unset if it has neither been marked healthy or unhealthy. Healthy *bool `json:"Healthy,omitempty"` // ModifyIndex is the raft index in which the deployment status was last changed. ModifyIndex *int32 `json:"ModifyIndex,omitempty"` // Timestamp is the time at which the health status was set. Timestamp *time.Time `json:"Timestamp,omitempty"` }
AllocDeploymentStatus AllocDeploymentStatus captures the status of the allocation as part of the deployment. This can include things like if the allocation has been marked as healthy.
func NewAllocDeploymentStatus ¶
func NewAllocDeploymentStatus() *AllocDeploymentStatus
NewAllocDeploymentStatus instantiates a new AllocDeploymentStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocDeploymentStatusWithDefaults ¶
func NewAllocDeploymentStatusWithDefaults() *AllocDeploymentStatus
NewAllocDeploymentStatusWithDefaults instantiates a new AllocDeploymentStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocDeploymentStatus) GetCanary ¶
func (o *AllocDeploymentStatus) GetCanary() bool
GetCanary returns the Canary field value if set, zero value otherwise.
func (*AllocDeploymentStatus) GetCanaryOk ¶
func (o *AllocDeploymentStatus) GetCanaryOk() (*bool, bool)
GetCanaryOk returns a tuple with the Canary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocDeploymentStatus) GetHealthy ¶
func (o *AllocDeploymentStatus) GetHealthy() bool
GetHealthy returns the Healthy field value if set, zero value otherwise.
func (*AllocDeploymentStatus) GetHealthyOk ¶
func (o *AllocDeploymentStatus) GetHealthyOk() (*bool, bool)
GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocDeploymentStatus) GetModifyIndex ¶
func (o *AllocDeploymentStatus) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*AllocDeploymentStatus) GetModifyIndexOk ¶
func (o *AllocDeploymentStatus) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocDeploymentStatus) GetTimestamp ¶
func (o *AllocDeploymentStatus) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*AllocDeploymentStatus) GetTimestampOk ¶
func (o *AllocDeploymentStatus) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocDeploymentStatus) HasCanary ¶
func (o *AllocDeploymentStatus) HasCanary() bool
HasCanary returns a boolean if a field has been set.
func (*AllocDeploymentStatus) HasHealthy ¶
func (o *AllocDeploymentStatus) HasHealthy() bool
HasHealthy returns a boolean if a field has been set.
func (*AllocDeploymentStatus) HasModifyIndex ¶
func (o *AllocDeploymentStatus) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*AllocDeploymentStatus) HasTimestamp ¶
func (o *AllocDeploymentStatus) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (AllocDeploymentStatus) MarshalJSON ¶
func (o AllocDeploymentStatus) MarshalJSON() ([]byte, error)
func (*AllocDeploymentStatus) SetCanary ¶
func (o *AllocDeploymentStatus) SetCanary(v bool)
SetCanary gets a reference to the given bool and assigns it to the Canary field.
func (*AllocDeploymentStatus) SetHealthy ¶
func (o *AllocDeploymentStatus) SetHealthy(v bool)
SetHealthy gets a reference to the given bool and assigns it to the Healthy field.
func (*AllocDeploymentStatus) SetModifyIndex ¶
func (o *AllocDeploymentStatus) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*AllocDeploymentStatus) SetTimestamp ¶
func (o *AllocDeploymentStatus) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
type AllocListStub ¶
type AllocListStub struct { AllocatedResources *AllocatedResources `json:"AllocatedResources,omitempty"` ClientDescription *string `json:"ClientDescription,omitempty"` ClientStatus *string `json:"ClientStatus,omitempty"` CreateIndex *int32 `json:"CreateIndex,omitempty"` CreateTime *int64 `json:"CreateTime,omitempty"` DeploymentStatus *AllocDeploymentStatus `json:"DeploymentStatus,omitempty"` DesiredDescription *string `json:"DesiredDescription,omitempty"` DesiredStatus *string `json:"DesiredStatus,omitempty"` DesiredTransition *DesiredTransition `json:"DesiredTransition,omitempty"` EvalID *string `json:"EvalID,omitempty"` FollowupEvalID *string `json:"FollowupEvalID,omitempty"` ID *string `json:"ID,omitempty"` JobID *string `json:"JobID,omitempty"` JobType *string `json:"JobType,omitempty"` JobVersion *int32 `json:"JobVersion,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` ModifyTime *int64 `json:"ModifyTime,omitempty"` Name *string `json:"Name,omitempty"` Namespace *string `json:"Namespace,omitempty"` NodeID *string `json:"NodeID,omitempty"` NodeName *string `json:"NodeName,omitempty"` PreemptedAllocations *[]string `json:"PreemptedAllocations,omitempty"` PreemptedByAllocation *string `json:"PreemptedByAllocation,omitempty"` RescheduleTracker *RescheduleTracker `json:"RescheduleTracker,omitempty"` TaskGroup *string `json:"TaskGroup,omitempty"` TaskStates *map[string]TaskState `json:"TaskStates,omitempty"` }
AllocListStub AllocListStub is used to return a subset of alloc information
func NewAllocListStub ¶
func NewAllocListStub() *AllocListStub
NewAllocListStub instantiates a new AllocListStub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocListStubWithDefaults ¶
func NewAllocListStubWithDefaults() *AllocListStub
NewAllocListStubWithDefaults instantiates a new AllocListStub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocListStub) GetAllocatedResources ¶
func (o *AllocListStub) GetAllocatedResources() AllocatedResources
GetAllocatedResources returns the AllocatedResources field value if set, zero value otherwise.
func (*AllocListStub) GetAllocatedResourcesOk ¶
func (o *AllocListStub) GetAllocatedResourcesOk() (*AllocatedResources, bool)
GetAllocatedResourcesOk returns a tuple with the AllocatedResources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetClientDescription ¶
func (o *AllocListStub) GetClientDescription() string
GetClientDescription returns the ClientDescription field value if set, zero value otherwise.
func (*AllocListStub) GetClientDescriptionOk ¶
func (o *AllocListStub) GetClientDescriptionOk() (*string, bool)
GetClientDescriptionOk returns a tuple with the ClientDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetClientStatus ¶
func (o *AllocListStub) GetClientStatus() string
GetClientStatus returns the ClientStatus field value if set, zero value otherwise.
func (*AllocListStub) GetClientStatusOk ¶
func (o *AllocListStub) GetClientStatusOk() (*string, bool)
GetClientStatusOk returns a tuple with the ClientStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetCreateIndex ¶
func (o *AllocListStub) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*AllocListStub) GetCreateIndexOk ¶
func (o *AllocListStub) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetCreateTime ¶
func (o *AllocListStub) GetCreateTime() int64
GetCreateTime returns the CreateTime field value if set, zero value otherwise.
func (*AllocListStub) GetCreateTimeOk ¶
func (o *AllocListStub) GetCreateTimeOk() (*int64, bool)
GetCreateTimeOk returns a tuple with the CreateTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetDeploymentStatus ¶
func (o *AllocListStub) GetDeploymentStatus() AllocDeploymentStatus
GetDeploymentStatus returns the DeploymentStatus field value if set, zero value otherwise.
func (*AllocListStub) GetDeploymentStatusOk ¶
func (o *AllocListStub) GetDeploymentStatusOk() (*AllocDeploymentStatus, bool)
GetDeploymentStatusOk returns a tuple with the DeploymentStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetDesiredDescription ¶
func (o *AllocListStub) GetDesiredDescription() string
GetDesiredDescription returns the DesiredDescription field value if set, zero value otherwise.
func (*AllocListStub) GetDesiredDescriptionOk ¶
func (o *AllocListStub) GetDesiredDescriptionOk() (*string, bool)
GetDesiredDescriptionOk returns a tuple with the DesiredDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetDesiredStatus ¶
func (o *AllocListStub) GetDesiredStatus() string
GetDesiredStatus returns the DesiredStatus field value if set, zero value otherwise.
func (*AllocListStub) GetDesiredStatusOk ¶
func (o *AllocListStub) GetDesiredStatusOk() (*string, bool)
GetDesiredStatusOk returns a tuple with the DesiredStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetDesiredTransition ¶
func (o *AllocListStub) GetDesiredTransition() DesiredTransition
GetDesiredTransition returns the DesiredTransition field value if set, zero value otherwise.
func (*AllocListStub) GetDesiredTransitionOk ¶
func (o *AllocListStub) GetDesiredTransitionOk() (*DesiredTransition, bool)
GetDesiredTransitionOk returns a tuple with the DesiredTransition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetEvalID ¶
func (o *AllocListStub) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*AllocListStub) GetEvalIDOk ¶
func (o *AllocListStub) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetFollowupEvalID ¶
func (o *AllocListStub) GetFollowupEvalID() string
GetFollowupEvalID returns the FollowupEvalID field value if set, zero value otherwise.
func (*AllocListStub) GetFollowupEvalIDOk ¶
func (o *AllocListStub) GetFollowupEvalIDOk() (*string, bool)
GetFollowupEvalIDOk returns a tuple with the FollowupEvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetID ¶
func (o *AllocListStub) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*AllocListStub) GetIDOk ¶
func (o *AllocListStub) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetJobID ¶
func (o *AllocListStub) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*AllocListStub) GetJobIDOk ¶
func (o *AllocListStub) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetJobType ¶
func (o *AllocListStub) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*AllocListStub) GetJobTypeOk ¶
func (o *AllocListStub) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetJobVersion ¶
func (o *AllocListStub) GetJobVersion() int32
GetJobVersion returns the JobVersion field value if set, zero value otherwise.
func (*AllocListStub) GetJobVersionOk ¶
func (o *AllocListStub) GetJobVersionOk() (*int32, bool)
GetJobVersionOk returns a tuple with the JobVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetModifyIndex ¶
func (o *AllocListStub) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*AllocListStub) GetModifyIndexOk ¶
func (o *AllocListStub) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetModifyTime ¶
func (o *AllocListStub) GetModifyTime() int64
GetModifyTime returns the ModifyTime field value if set, zero value otherwise.
func (*AllocListStub) GetModifyTimeOk ¶
func (o *AllocListStub) GetModifyTimeOk() (*int64, bool)
GetModifyTimeOk returns a tuple with the ModifyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetName ¶
func (o *AllocListStub) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllocListStub) GetNameOk ¶
func (o *AllocListStub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetNamespace ¶
func (o *AllocListStub) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*AllocListStub) GetNamespaceOk ¶
func (o *AllocListStub) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetNodeID ¶
func (o *AllocListStub) GetNodeID() string
GetNodeID returns the NodeID field value if set, zero value otherwise.
func (*AllocListStub) GetNodeIDOk ¶
func (o *AllocListStub) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetNodeName ¶
func (o *AllocListStub) GetNodeName() string
GetNodeName returns the NodeName field value if set, zero value otherwise.
func (*AllocListStub) GetNodeNameOk ¶
func (o *AllocListStub) GetNodeNameOk() (*string, bool)
GetNodeNameOk returns a tuple with the NodeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetPreemptedAllocations ¶
func (o *AllocListStub) GetPreemptedAllocations() []string
GetPreemptedAllocations returns the PreemptedAllocations field value if set, zero value otherwise.
func (*AllocListStub) GetPreemptedAllocationsOk ¶
func (o *AllocListStub) GetPreemptedAllocationsOk() (*[]string, bool)
GetPreemptedAllocationsOk returns a tuple with the PreemptedAllocations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetPreemptedByAllocation ¶
func (o *AllocListStub) GetPreemptedByAllocation() string
GetPreemptedByAllocation returns the PreemptedByAllocation field value if set, zero value otherwise.
func (*AllocListStub) GetPreemptedByAllocationOk ¶
func (o *AllocListStub) GetPreemptedByAllocationOk() (*string, bool)
GetPreemptedByAllocationOk returns a tuple with the PreemptedByAllocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetRescheduleTracker ¶
func (o *AllocListStub) GetRescheduleTracker() RescheduleTracker
GetRescheduleTracker returns the RescheduleTracker field value if set, zero value otherwise.
func (*AllocListStub) GetRescheduleTrackerOk ¶
func (o *AllocListStub) GetRescheduleTrackerOk() (*RescheduleTracker, bool)
GetRescheduleTrackerOk returns a tuple with the RescheduleTracker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetTaskGroup ¶
func (o *AllocListStub) GetTaskGroup() string
GetTaskGroup returns the TaskGroup field value if set, zero value otherwise.
func (*AllocListStub) GetTaskGroupOk ¶
func (o *AllocListStub) GetTaskGroupOk() (*string, bool)
GetTaskGroupOk returns a tuple with the TaskGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) GetTaskStates ¶
func (o *AllocListStub) GetTaskStates() map[string]TaskState
GetTaskStates returns the TaskStates field value if set, zero value otherwise.
func (*AllocListStub) GetTaskStatesOk ¶
func (o *AllocListStub) GetTaskStatesOk() (*map[string]TaskState, bool)
GetTaskStatesOk returns a tuple with the TaskStates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocListStub) HasAllocatedResources ¶
func (o *AllocListStub) HasAllocatedResources() bool
HasAllocatedResources returns a boolean if a field has been set.
func (*AllocListStub) HasClientDescription ¶
func (o *AllocListStub) HasClientDescription() bool
HasClientDescription returns a boolean if a field has been set.
func (*AllocListStub) HasClientStatus ¶
func (o *AllocListStub) HasClientStatus() bool
HasClientStatus returns a boolean if a field has been set.
func (*AllocListStub) HasCreateIndex ¶
func (o *AllocListStub) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*AllocListStub) HasCreateTime ¶
func (o *AllocListStub) HasCreateTime() bool
HasCreateTime returns a boolean if a field has been set.
func (*AllocListStub) HasDeploymentStatus ¶
func (o *AllocListStub) HasDeploymentStatus() bool
HasDeploymentStatus returns a boolean if a field has been set.
func (*AllocListStub) HasDesiredDescription ¶
func (o *AllocListStub) HasDesiredDescription() bool
HasDesiredDescription returns a boolean if a field has been set.
func (*AllocListStub) HasDesiredStatus ¶
func (o *AllocListStub) HasDesiredStatus() bool
HasDesiredStatus returns a boolean if a field has been set.
func (*AllocListStub) HasDesiredTransition ¶
func (o *AllocListStub) HasDesiredTransition() bool
HasDesiredTransition returns a boolean if a field has been set.
func (*AllocListStub) HasEvalID ¶
func (o *AllocListStub) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (*AllocListStub) HasFollowupEvalID ¶
func (o *AllocListStub) HasFollowupEvalID() bool
HasFollowupEvalID returns a boolean if a field has been set.
func (*AllocListStub) HasID ¶
func (o *AllocListStub) HasID() bool
HasID returns a boolean if a field has been set.
func (*AllocListStub) HasJobID ¶
func (o *AllocListStub) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*AllocListStub) HasJobType ¶
func (o *AllocListStub) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*AllocListStub) HasJobVersion ¶
func (o *AllocListStub) HasJobVersion() bool
HasJobVersion returns a boolean if a field has been set.
func (*AllocListStub) HasModifyIndex ¶
func (o *AllocListStub) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*AllocListStub) HasModifyTime ¶
func (o *AllocListStub) HasModifyTime() bool
HasModifyTime returns a boolean if a field has been set.
func (*AllocListStub) HasName ¶
func (o *AllocListStub) HasName() bool
HasName returns a boolean if a field has been set.
func (*AllocListStub) HasNamespace ¶
func (o *AllocListStub) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*AllocListStub) HasNodeID ¶
func (o *AllocListStub) HasNodeID() bool
HasNodeID returns a boolean if a field has been set.
func (*AllocListStub) HasNodeName ¶
func (o *AllocListStub) HasNodeName() bool
HasNodeName returns a boolean if a field has been set.
func (*AllocListStub) HasPreemptedAllocations ¶
func (o *AllocListStub) HasPreemptedAllocations() bool
HasPreemptedAllocations returns a boolean if a field has been set.
func (*AllocListStub) HasPreemptedByAllocation ¶
func (o *AllocListStub) HasPreemptedByAllocation() bool
HasPreemptedByAllocation returns a boolean if a field has been set.
func (*AllocListStub) HasRescheduleTracker ¶
func (o *AllocListStub) HasRescheduleTracker() bool
HasRescheduleTracker returns a boolean if a field has been set.
func (*AllocListStub) HasTaskGroup ¶
func (o *AllocListStub) HasTaskGroup() bool
HasTaskGroup returns a boolean if a field has been set.
func (*AllocListStub) HasTaskStates ¶
func (o *AllocListStub) HasTaskStates() bool
HasTaskStates returns a boolean if a field has been set.
func (AllocListStub) MarshalJSON ¶
func (o AllocListStub) MarshalJSON() ([]byte, error)
func (*AllocListStub) SetAllocatedResources ¶
func (o *AllocListStub) SetAllocatedResources(v AllocatedResources)
SetAllocatedResources gets a reference to the given AllocatedResources and assigns it to the AllocatedResources field.
func (*AllocListStub) SetClientDescription ¶
func (o *AllocListStub) SetClientDescription(v string)
SetClientDescription gets a reference to the given string and assigns it to the ClientDescription field.
func (*AllocListStub) SetClientStatus ¶
func (o *AllocListStub) SetClientStatus(v string)
SetClientStatus gets a reference to the given string and assigns it to the ClientStatus field.
func (*AllocListStub) SetCreateIndex ¶
func (o *AllocListStub) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*AllocListStub) SetCreateTime ¶
func (o *AllocListStub) SetCreateTime(v int64)
SetCreateTime gets a reference to the given int64 and assigns it to the CreateTime field.
func (*AllocListStub) SetDeploymentStatus ¶
func (o *AllocListStub) SetDeploymentStatus(v AllocDeploymentStatus)
SetDeploymentStatus gets a reference to the given AllocDeploymentStatus and assigns it to the DeploymentStatus field.
func (*AllocListStub) SetDesiredDescription ¶
func (o *AllocListStub) SetDesiredDescription(v string)
SetDesiredDescription gets a reference to the given string and assigns it to the DesiredDescription field.
func (*AllocListStub) SetDesiredStatus ¶
func (o *AllocListStub) SetDesiredStatus(v string)
SetDesiredStatus gets a reference to the given string and assigns it to the DesiredStatus field.
func (*AllocListStub) SetDesiredTransition ¶
func (o *AllocListStub) SetDesiredTransition(v DesiredTransition)
SetDesiredTransition gets a reference to the given DesiredTransition and assigns it to the DesiredTransition field.
func (*AllocListStub) SetEvalID ¶
func (o *AllocListStub) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
func (*AllocListStub) SetFollowupEvalID ¶
func (o *AllocListStub) SetFollowupEvalID(v string)
SetFollowupEvalID gets a reference to the given string and assigns it to the FollowupEvalID field.
func (*AllocListStub) SetID ¶
func (o *AllocListStub) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*AllocListStub) SetJobID ¶
func (o *AllocListStub) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*AllocListStub) SetJobType ¶
func (o *AllocListStub) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*AllocListStub) SetJobVersion ¶
func (o *AllocListStub) SetJobVersion(v int32)
SetJobVersion gets a reference to the given int32 and assigns it to the JobVersion field.
func (*AllocListStub) SetModifyIndex ¶
func (o *AllocListStub) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*AllocListStub) SetModifyTime ¶
func (o *AllocListStub) SetModifyTime(v int64)
SetModifyTime gets a reference to the given int64 and assigns it to the ModifyTime field.
func (*AllocListStub) SetName ¶
func (o *AllocListStub) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AllocListStub) SetNamespace ¶
func (o *AllocListStub) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*AllocListStub) SetNodeID ¶
func (o *AllocListStub) SetNodeID(v string)
SetNodeID gets a reference to the given string and assigns it to the NodeID field.
func (*AllocListStub) SetNodeName ¶
func (o *AllocListStub) SetNodeName(v string)
SetNodeName gets a reference to the given string and assigns it to the NodeName field.
func (*AllocListStub) SetPreemptedAllocations ¶
func (o *AllocListStub) SetPreemptedAllocations(v []string)
SetPreemptedAllocations gets a reference to the given []string and assigns it to the PreemptedAllocations field.
func (*AllocListStub) SetPreemptedByAllocation ¶
func (o *AllocListStub) SetPreemptedByAllocation(v string)
SetPreemptedByAllocation gets a reference to the given string and assigns it to the PreemptedByAllocation field.
func (*AllocListStub) SetRescheduleTracker ¶
func (o *AllocListStub) SetRescheduleTracker(v RescheduleTracker)
SetRescheduleTracker gets a reference to the given RescheduleTracker and assigns it to the RescheduleTracker field.
func (*AllocListStub) SetTaskGroup ¶
func (o *AllocListStub) SetTaskGroup(v string)
SetTaskGroup gets a reference to the given string and assigns it to the TaskGroup field.
func (*AllocListStub) SetTaskStates ¶
func (o *AllocListStub) SetTaskStates(v map[string]TaskState)
SetTaskStates gets a reference to the given map[string]TaskState and assigns it to the TaskStates field.
type AllocatedCpuResources ¶
type AllocatedCpuResources struct { ReservedCores *[]int32 `json:"ReservedCores,omitempty"` }
AllocatedCpuResources struct for AllocatedCpuResources
func NewAllocatedCpuResources ¶
func NewAllocatedCpuResources() *AllocatedCpuResources
NewAllocatedCpuResources instantiates a new AllocatedCpuResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedCpuResourcesWithDefaults ¶
func NewAllocatedCpuResourcesWithDefaults() *AllocatedCpuResources
NewAllocatedCpuResourcesWithDefaults instantiates a new AllocatedCpuResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedCpuResources) GetCpuShares ¶
func (o *AllocatedCpuResources) GetCpuShares() int64
GetCpuShares returns the CpuShares field value if set, zero value otherwise.
func (*AllocatedCpuResources) GetCpuSharesOk ¶
func (o *AllocatedCpuResources) GetCpuSharesOk() (*int64, bool)
GetCpuSharesOk returns a tuple with the CpuShares field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedCpuResources) GetReservedCores ¶
func (o *AllocatedCpuResources) GetReservedCores() []int32
GetReservedCores returns the ReservedCores field value if set, zero value otherwise.
func (*AllocatedCpuResources) GetReservedCoresOk ¶
func (o *AllocatedCpuResources) GetReservedCoresOk() (*[]int32, bool)
GetReservedCoresOk returns a tuple with the ReservedCores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedCpuResources) HasCpuShares ¶
func (o *AllocatedCpuResources) HasCpuShares() bool
HasCpuShares returns a boolean if a field has been set.
func (*AllocatedCpuResources) HasReservedCores ¶
func (o *AllocatedCpuResources) HasReservedCores() bool
HasReservedCores returns a boolean if a field has been set.
func (AllocatedCpuResources) MarshalJSON ¶
func (o AllocatedCpuResources) MarshalJSON() ([]byte, error)
func (*AllocatedCpuResources) SetCpuShares ¶
func (o *AllocatedCpuResources) SetCpuShares(v int64)
SetCpuShares gets a reference to the given int64 and assigns it to the CpuShares field.
func (*AllocatedCpuResources) SetReservedCores ¶
func (o *AllocatedCpuResources) SetReservedCores(v []int32)
SetReservedCores gets a reference to the given []int32 and assigns it to the ReservedCores field.
type AllocatedDeviceResource ¶
type AllocatedDeviceResource struct { // DeviceIDs is the set of allocated devices DeviceIDs *[]string `json:"DeviceIDs,omitempty"` Name *string `json:"Name,omitempty"` Type *string `json:"Type,omitempty"` // Vendor, Type, and Name are used to select the plugin to request the device IDs from. Vendor *string `json:"Vendor,omitempty"` }
AllocatedDeviceResource struct for AllocatedDeviceResource
func NewAllocatedDeviceResource ¶
func NewAllocatedDeviceResource() *AllocatedDeviceResource
NewAllocatedDeviceResource instantiates a new AllocatedDeviceResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedDeviceResourceWithDefaults ¶
func NewAllocatedDeviceResourceWithDefaults() *AllocatedDeviceResource
NewAllocatedDeviceResourceWithDefaults instantiates a new AllocatedDeviceResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedDeviceResource) GetDeviceIDs ¶
func (o *AllocatedDeviceResource) GetDeviceIDs() []string
GetDeviceIDs returns the DeviceIDs field value if set, zero value otherwise.
func (*AllocatedDeviceResource) GetDeviceIDsOk ¶
func (o *AllocatedDeviceResource) GetDeviceIDsOk() (*[]string, bool)
GetDeviceIDsOk returns a tuple with the DeviceIDs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedDeviceResource) GetName ¶
func (o *AllocatedDeviceResource) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllocatedDeviceResource) GetNameOk ¶
func (o *AllocatedDeviceResource) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedDeviceResource) GetType ¶
func (o *AllocatedDeviceResource) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AllocatedDeviceResource) GetTypeOk ¶
func (o *AllocatedDeviceResource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedDeviceResource) GetVendor ¶
func (o *AllocatedDeviceResource) GetVendor() string
GetVendor returns the Vendor field value if set, zero value otherwise.
func (*AllocatedDeviceResource) GetVendorOk ¶
func (o *AllocatedDeviceResource) GetVendorOk() (*string, bool)
GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedDeviceResource) HasDeviceIDs ¶
func (o *AllocatedDeviceResource) HasDeviceIDs() bool
HasDeviceIDs returns a boolean if a field has been set.
func (*AllocatedDeviceResource) HasName ¶
func (o *AllocatedDeviceResource) HasName() bool
HasName returns a boolean if a field has been set.
func (*AllocatedDeviceResource) HasType ¶
func (o *AllocatedDeviceResource) HasType() bool
HasType returns a boolean if a field has been set.
func (*AllocatedDeviceResource) HasVendor ¶
func (o *AllocatedDeviceResource) HasVendor() bool
HasVendor returns a boolean if a field has been set.
func (AllocatedDeviceResource) MarshalJSON ¶
func (o AllocatedDeviceResource) MarshalJSON() ([]byte, error)
func (*AllocatedDeviceResource) SetDeviceIDs ¶
func (o *AllocatedDeviceResource) SetDeviceIDs(v []string)
SetDeviceIDs gets a reference to the given []string and assigns it to the DeviceIDs field.
func (*AllocatedDeviceResource) SetName ¶
func (o *AllocatedDeviceResource) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AllocatedDeviceResource) SetType ¶
func (o *AllocatedDeviceResource) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*AllocatedDeviceResource) SetVendor ¶
func (o *AllocatedDeviceResource) SetVendor(v string)
SetVendor gets a reference to the given string and assigns it to the Vendor field.
type AllocatedMemoryResources ¶
type AllocatedMemoryResources struct { MemoryMB *int64 `json:"MemoryMB,omitempty"` MemoryMaxMB *int64 `json:"MemoryMaxMB,omitempty"` }
AllocatedMemoryResources struct for AllocatedMemoryResources
func NewAllocatedMemoryResources ¶
func NewAllocatedMemoryResources() *AllocatedMemoryResources
NewAllocatedMemoryResources instantiates a new AllocatedMemoryResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedMemoryResourcesWithDefaults ¶
func NewAllocatedMemoryResourcesWithDefaults() *AllocatedMemoryResources
NewAllocatedMemoryResourcesWithDefaults instantiates a new AllocatedMemoryResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedMemoryResources) GetMemoryMB ¶
func (o *AllocatedMemoryResources) GetMemoryMB() int64
GetMemoryMB returns the MemoryMB field value if set, zero value otherwise.
func (*AllocatedMemoryResources) GetMemoryMBOk ¶
func (o *AllocatedMemoryResources) GetMemoryMBOk() (*int64, bool)
GetMemoryMBOk returns a tuple with the MemoryMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedMemoryResources) GetMemoryMaxMB ¶
func (o *AllocatedMemoryResources) GetMemoryMaxMB() int64
GetMemoryMaxMB returns the MemoryMaxMB field value if set, zero value otherwise.
func (*AllocatedMemoryResources) GetMemoryMaxMBOk ¶
func (o *AllocatedMemoryResources) GetMemoryMaxMBOk() (*int64, bool)
GetMemoryMaxMBOk returns a tuple with the MemoryMaxMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedMemoryResources) HasMemoryMB ¶
func (o *AllocatedMemoryResources) HasMemoryMB() bool
HasMemoryMB returns a boolean if a field has been set.
func (*AllocatedMemoryResources) HasMemoryMaxMB ¶
func (o *AllocatedMemoryResources) HasMemoryMaxMB() bool
HasMemoryMaxMB returns a boolean if a field has been set.
func (AllocatedMemoryResources) MarshalJSON ¶
func (o AllocatedMemoryResources) MarshalJSON() ([]byte, error)
func (*AllocatedMemoryResources) SetMemoryMB ¶
func (o *AllocatedMemoryResources) SetMemoryMB(v int64)
SetMemoryMB gets a reference to the given int64 and assigns it to the MemoryMB field.
func (*AllocatedMemoryResources) SetMemoryMaxMB ¶
func (o *AllocatedMemoryResources) SetMemoryMaxMB(v int64)
SetMemoryMaxMB gets a reference to the given int64 and assigns it to the MemoryMaxMB field.
type AllocatedPortMapping ¶
type AllocatedPortMapping struct { HostIP *string `json:"HostIP,omitempty"` Label *string `json:"Label,omitempty"` To *int64 `json:"To,omitempty"` Value *int64 `json:"Value,omitempty"` }
AllocatedPortMapping struct for AllocatedPortMapping
func NewAllocatedPortMapping ¶
func NewAllocatedPortMapping() *AllocatedPortMapping
NewAllocatedPortMapping instantiates a new AllocatedPortMapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedPortMappingWithDefaults ¶
func NewAllocatedPortMappingWithDefaults() *AllocatedPortMapping
NewAllocatedPortMappingWithDefaults instantiates a new AllocatedPortMapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedPortMapping) GetHostIP ¶
func (o *AllocatedPortMapping) GetHostIP() string
GetHostIP returns the HostIP field value if set, zero value otherwise.
func (*AllocatedPortMapping) GetHostIPOk ¶
func (o *AllocatedPortMapping) GetHostIPOk() (*string, bool)
GetHostIPOk returns a tuple with the HostIP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedPortMapping) GetLabel ¶
func (o *AllocatedPortMapping) GetLabel() string
GetLabel returns the Label field value if set, zero value otherwise.
func (*AllocatedPortMapping) GetLabelOk ¶
func (o *AllocatedPortMapping) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedPortMapping) GetTo ¶
func (o *AllocatedPortMapping) GetTo() int64
GetTo returns the To field value if set, zero value otherwise.
func (*AllocatedPortMapping) GetToOk ¶
func (o *AllocatedPortMapping) GetToOk() (*int64, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedPortMapping) GetValue ¶
func (o *AllocatedPortMapping) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise.
func (*AllocatedPortMapping) GetValueOk ¶
func (o *AllocatedPortMapping) GetValueOk() (*int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedPortMapping) HasHostIP ¶
func (o *AllocatedPortMapping) HasHostIP() bool
HasHostIP returns a boolean if a field has been set.
func (*AllocatedPortMapping) HasLabel ¶
func (o *AllocatedPortMapping) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*AllocatedPortMapping) HasTo ¶
func (o *AllocatedPortMapping) HasTo() bool
HasTo returns a boolean if a field has been set.
func (*AllocatedPortMapping) HasValue ¶
func (o *AllocatedPortMapping) HasValue() bool
HasValue returns a boolean if a field has been set.
func (AllocatedPortMapping) MarshalJSON ¶
func (o AllocatedPortMapping) MarshalJSON() ([]byte, error)
func (*AllocatedPortMapping) SetHostIP ¶
func (o *AllocatedPortMapping) SetHostIP(v string)
SetHostIP gets a reference to the given string and assigns it to the HostIP field.
func (*AllocatedPortMapping) SetLabel ¶
func (o *AllocatedPortMapping) SetLabel(v string)
SetLabel gets a reference to the given string and assigns it to the Label field.
func (*AllocatedPortMapping) SetTo ¶
func (o *AllocatedPortMapping) SetTo(v int64)
SetTo gets a reference to the given int64 and assigns it to the To field.
func (*AllocatedPortMapping) SetValue ¶
func (o *AllocatedPortMapping) SetValue(v int64)
SetValue gets a reference to the given int64 and assigns it to the Value field.
type AllocatedResources ¶
type AllocatedResources struct { TaskLifecycles *map[string]TaskLifecycleConfig `json:"TaskLifecycles,omitempty"` // Tasks is a mapping of task name to the resources for the task. Tasks *map[string]AllocatedTaskResources `json:"Tasks,omitempty"` }
AllocatedResources struct for AllocatedResources
func NewAllocatedResources ¶
func NewAllocatedResources() *AllocatedResources
NewAllocatedResources instantiates a new AllocatedResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedResourcesWithDefaults ¶
func NewAllocatedResourcesWithDefaults() *AllocatedResources
NewAllocatedResourcesWithDefaults instantiates a new AllocatedResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedResources) GetShared ¶
func (o *AllocatedResources) GetShared() AllocatedSharedResources
GetShared returns the Shared field value if set, zero value otherwise.
func (*AllocatedResources) GetSharedOk ¶
func (o *AllocatedResources) GetSharedOk() (*AllocatedSharedResources, bool)
GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedResources) GetTaskLifecycles ¶
func (o *AllocatedResources) GetTaskLifecycles() map[string]TaskLifecycleConfig
GetTaskLifecycles returns the TaskLifecycles field value if set, zero value otherwise.
func (*AllocatedResources) GetTaskLifecyclesOk ¶
func (o *AllocatedResources) GetTaskLifecyclesOk() (*map[string]TaskLifecycleConfig, bool)
GetTaskLifecyclesOk returns a tuple with the TaskLifecycles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedResources) GetTasks ¶
func (o *AllocatedResources) GetTasks() map[string]AllocatedTaskResources
GetTasks returns the Tasks field value if set, zero value otherwise.
func (*AllocatedResources) GetTasksOk ¶
func (o *AllocatedResources) GetTasksOk() (*map[string]AllocatedTaskResources, bool)
GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedResources) HasShared ¶
func (o *AllocatedResources) HasShared() bool
HasShared returns a boolean if a field has been set.
func (*AllocatedResources) HasTaskLifecycles ¶
func (o *AllocatedResources) HasTaskLifecycles() bool
HasTaskLifecycles returns a boolean if a field has been set.
func (*AllocatedResources) HasTasks ¶
func (o *AllocatedResources) HasTasks() bool
HasTasks returns a boolean if a field has been set.
func (AllocatedResources) MarshalJSON ¶
func (o AllocatedResources) MarshalJSON() ([]byte, error)
func (*AllocatedResources) SetShared ¶
func (o *AllocatedResources) SetShared(v AllocatedSharedResources)
SetShared gets a reference to the given AllocatedSharedResources and assigns it to the Shared field.
func (*AllocatedResources) SetTaskLifecycles ¶
func (o *AllocatedResources) SetTaskLifecycles(v map[string]TaskLifecycleConfig)
SetTaskLifecycles gets a reference to the given map[string]TaskLifecycleConfig and assigns it to the TaskLifecycles field.
func (*AllocatedResources) SetTasks ¶
func (o *AllocatedResources) SetTasks(v map[string]AllocatedTaskResources)
SetTasks gets a reference to the given map[string]AllocatedTaskResources and assigns it to the Tasks field.
type AllocatedSharedResources ¶
type AllocatedSharedResources struct {}
AllocatedSharedResources struct for AllocatedSharedResources
func NewAllocatedSharedResources ¶
func NewAllocatedSharedResources() *AllocatedSharedResources
NewAllocatedSharedResources instantiates a new AllocatedSharedResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedSharedResourcesWithDefaults ¶
func NewAllocatedSharedResourcesWithDefaults() *AllocatedSharedResources
NewAllocatedSharedResourcesWithDefaults instantiates a new AllocatedSharedResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedSharedResources) GetDiskMB ¶
func (o *AllocatedSharedResources) GetDiskMB() int64
GetDiskMB returns the DiskMB field value if set, zero value otherwise.
func (*AllocatedSharedResources) GetDiskMBOk ¶
func (o *AllocatedSharedResources) GetDiskMBOk() (*int64, bool)
GetDiskMBOk returns a tuple with the DiskMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedSharedResources) GetNetworks ¶
func (o *AllocatedSharedResources) GetNetworks() []NetworkResource
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*AllocatedSharedResources) GetNetworksOk ¶
func (o *AllocatedSharedResources) GetNetworksOk() (*[]NetworkResource, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedSharedResources) GetPorts ¶
func (o *AllocatedSharedResources) GetPorts() []AllocatedPortMapping
GetPorts returns the Ports field value if set, zero value otherwise.
func (*AllocatedSharedResources) GetPortsOk ¶
func (o *AllocatedSharedResources) GetPortsOk() (*[]AllocatedPortMapping, bool)
GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedSharedResources) HasDiskMB ¶
func (o *AllocatedSharedResources) HasDiskMB() bool
HasDiskMB returns a boolean if a field has been set.
func (*AllocatedSharedResources) HasNetworks ¶
func (o *AllocatedSharedResources) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (*AllocatedSharedResources) HasPorts ¶
func (o *AllocatedSharedResources) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (AllocatedSharedResources) MarshalJSON ¶
func (o AllocatedSharedResources) MarshalJSON() ([]byte, error)
func (*AllocatedSharedResources) SetDiskMB ¶
func (o *AllocatedSharedResources) SetDiskMB(v int64)
SetDiskMB gets a reference to the given int64 and assigns it to the DiskMB field.
func (*AllocatedSharedResources) SetNetworks ¶
func (o *AllocatedSharedResources) SetNetworks(v []NetworkResource)
SetNetworks gets a reference to the given []NetworkResource and assigns it to the Networks field.
func (*AllocatedSharedResources) SetPorts ¶
func (o *AllocatedSharedResources) SetPorts(v []AllocatedPortMapping)
SetPorts gets a reference to the given []AllocatedPortMapping and assigns it to the Ports field.
type AllocatedTaskResources ¶
type AllocatedTaskResources struct { Cpu *AllocatedCpuResources `json:"Cpu,omitempty"` Devices *[]AllocatedDeviceResource `json:"Devices,omitempty"` Memory *AllocatedMemoryResources `json:"Memory,omitempty"` Networks *[]NetworkResource `json:"Networks,omitempty"` }
AllocatedTaskResources struct for AllocatedTaskResources
func NewAllocatedTaskResources ¶
func NewAllocatedTaskResources() *AllocatedTaskResources
NewAllocatedTaskResources instantiates a new AllocatedTaskResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocatedTaskResourcesWithDefaults ¶
func NewAllocatedTaskResourcesWithDefaults() *AllocatedTaskResources
NewAllocatedTaskResourcesWithDefaults instantiates a new AllocatedTaskResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocatedTaskResources) GetCpu ¶
func (o *AllocatedTaskResources) GetCpu() AllocatedCpuResources
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*AllocatedTaskResources) GetCpuOk ¶
func (o *AllocatedTaskResources) GetCpuOk() (*AllocatedCpuResources, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedTaskResources) GetDevices ¶
func (o *AllocatedTaskResources) GetDevices() []AllocatedDeviceResource
GetDevices returns the Devices field value if set, zero value otherwise.
func (*AllocatedTaskResources) GetDevicesOk ¶
func (o *AllocatedTaskResources) GetDevicesOk() (*[]AllocatedDeviceResource, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedTaskResources) GetMemory ¶
func (o *AllocatedTaskResources) GetMemory() AllocatedMemoryResources
GetMemory returns the Memory field value if set, zero value otherwise.
func (*AllocatedTaskResources) GetMemoryOk ¶
func (o *AllocatedTaskResources) GetMemoryOk() (*AllocatedMemoryResources, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedTaskResources) GetNetworks ¶
func (o *AllocatedTaskResources) GetNetworks() []NetworkResource
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*AllocatedTaskResources) GetNetworksOk ¶
func (o *AllocatedTaskResources) GetNetworksOk() (*[]NetworkResource, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocatedTaskResources) HasCpu ¶
func (o *AllocatedTaskResources) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*AllocatedTaskResources) HasDevices ¶
func (o *AllocatedTaskResources) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (*AllocatedTaskResources) HasMemory ¶
func (o *AllocatedTaskResources) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*AllocatedTaskResources) HasNetworks ¶
func (o *AllocatedTaskResources) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (AllocatedTaskResources) MarshalJSON ¶
func (o AllocatedTaskResources) MarshalJSON() ([]byte, error)
func (*AllocatedTaskResources) SetCpu ¶
func (o *AllocatedTaskResources) SetCpu(v AllocatedCpuResources)
SetCpu gets a reference to the given AllocatedCpuResources and assigns it to the Cpu field.
func (*AllocatedTaskResources) SetDevices ¶
func (o *AllocatedTaskResources) SetDevices(v []AllocatedDeviceResource)
SetDevices gets a reference to the given []AllocatedDeviceResource and assigns it to the Devices field.
func (*AllocatedTaskResources) SetMemory ¶
func (o *AllocatedTaskResources) SetMemory(v AllocatedMemoryResources)
SetMemory gets a reference to the given AllocatedMemoryResources and assigns it to the Memory field.
func (*AllocatedTaskResources) SetNetworks ¶
func (o *AllocatedTaskResources) SetNetworks(v []NetworkResource)
SetNetworks gets a reference to the given []NetworkResource and assigns it to the Networks field.
type AllocationListStub ¶
type AllocationListStub struct { AllocatedResources *AllocatedResources `json:"AllocatedResources,omitempty"` ClientDescription *string `json:"ClientDescription,omitempty"` ClientStatus *string `json:"ClientStatus,omitempty"` CreateIndex *int32 `json:"CreateIndex,omitempty"` CreateTime *int64 `json:"CreateTime,omitempty"` DeploymentStatus *AllocDeploymentStatus `json:"DeploymentStatus,omitempty"` DesiredDescription *string `json:"DesiredDescription,omitempty"` DesiredStatus *string `json:"DesiredStatus,omitempty"` EvalID *string `json:"EvalID,omitempty"` FollowupEvalID *string `json:"FollowupEvalID,omitempty"` ID *string `json:"ID,omitempty"` JobID *string `json:"JobID,omitempty"` JobType *string `json:"JobType,omitempty"` JobVersion *int32 `json:"JobVersion,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` ModifyTime *int64 `json:"ModifyTime,omitempty"` Name *string `json:"Name,omitempty"` Namespace *string `json:"Namespace,omitempty"` NodeID *string `json:"NodeID,omitempty"` NodeName *string `json:"NodeName,omitempty"` PreemptedAllocations *[]string `json:"PreemptedAllocations,omitempty"` PreemptedByAllocation *string `json:"PreemptedByAllocation,omitempty"` RescheduleTracker *RescheduleTracker `json:"RescheduleTracker,omitempty"` TaskGroup *string `json:"TaskGroup,omitempty"` TaskStates *map[string]TaskState `json:"TaskStates,omitempty"` }
AllocationListStub AllocationListStub is used to return a subset of an allocation during list operations.
func NewAllocationListStub ¶
func NewAllocationListStub() *AllocationListStub
NewAllocationListStub instantiates a new AllocationListStub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocationListStubWithDefaults ¶
func NewAllocationListStubWithDefaults() *AllocationListStub
NewAllocationListStubWithDefaults instantiates a new AllocationListStub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocationListStub) GetAllocatedResources ¶
func (o *AllocationListStub) GetAllocatedResources() AllocatedResources
GetAllocatedResources returns the AllocatedResources field value if set, zero value otherwise.
func (*AllocationListStub) GetAllocatedResourcesOk ¶
func (o *AllocationListStub) GetAllocatedResourcesOk() (*AllocatedResources, bool)
GetAllocatedResourcesOk returns a tuple with the AllocatedResources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetClientDescription ¶
func (o *AllocationListStub) GetClientDescription() string
GetClientDescription returns the ClientDescription field value if set, zero value otherwise.
func (*AllocationListStub) GetClientDescriptionOk ¶
func (o *AllocationListStub) GetClientDescriptionOk() (*string, bool)
GetClientDescriptionOk returns a tuple with the ClientDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetClientStatus ¶
func (o *AllocationListStub) GetClientStatus() string
GetClientStatus returns the ClientStatus field value if set, zero value otherwise.
func (*AllocationListStub) GetClientStatusOk ¶
func (o *AllocationListStub) GetClientStatusOk() (*string, bool)
GetClientStatusOk returns a tuple with the ClientStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetCreateIndex ¶
func (o *AllocationListStub) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*AllocationListStub) GetCreateIndexOk ¶
func (o *AllocationListStub) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetCreateTime ¶
func (o *AllocationListStub) GetCreateTime() int64
GetCreateTime returns the CreateTime field value if set, zero value otherwise.
func (*AllocationListStub) GetCreateTimeOk ¶
func (o *AllocationListStub) GetCreateTimeOk() (*int64, bool)
GetCreateTimeOk returns a tuple with the CreateTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetDeploymentStatus ¶
func (o *AllocationListStub) GetDeploymentStatus() AllocDeploymentStatus
GetDeploymentStatus returns the DeploymentStatus field value if set, zero value otherwise.
func (*AllocationListStub) GetDeploymentStatusOk ¶
func (o *AllocationListStub) GetDeploymentStatusOk() (*AllocDeploymentStatus, bool)
GetDeploymentStatusOk returns a tuple with the DeploymentStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetDesiredDescription ¶
func (o *AllocationListStub) GetDesiredDescription() string
GetDesiredDescription returns the DesiredDescription field value if set, zero value otherwise.
func (*AllocationListStub) GetDesiredDescriptionOk ¶
func (o *AllocationListStub) GetDesiredDescriptionOk() (*string, bool)
GetDesiredDescriptionOk returns a tuple with the DesiredDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetDesiredStatus ¶
func (o *AllocationListStub) GetDesiredStatus() string
GetDesiredStatus returns the DesiredStatus field value if set, zero value otherwise.
func (*AllocationListStub) GetDesiredStatusOk ¶
func (o *AllocationListStub) GetDesiredStatusOk() (*string, bool)
GetDesiredStatusOk returns a tuple with the DesiredStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetEvalID ¶
func (o *AllocationListStub) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*AllocationListStub) GetEvalIDOk ¶
func (o *AllocationListStub) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetFollowupEvalID ¶
func (o *AllocationListStub) GetFollowupEvalID() string
GetFollowupEvalID returns the FollowupEvalID field value if set, zero value otherwise.
func (*AllocationListStub) GetFollowupEvalIDOk ¶
func (o *AllocationListStub) GetFollowupEvalIDOk() (*string, bool)
GetFollowupEvalIDOk returns a tuple with the FollowupEvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetID ¶
func (o *AllocationListStub) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*AllocationListStub) GetIDOk ¶
func (o *AllocationListStub) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetJobID ¶
func (o *AllocationListStub) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*AllocationListStub) GetJobIDOk ¶
func (o *AllocationListStub) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetJobType ¶
func (o *AllocationListStub) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*AllocationListStub) GetJobTypeOk ¶
func (o *AllocationListStub) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetJobVersion ¶
func (o *AllocationListStub) GetJobVersion() int32
GetJobVersion returns the JobVersion field value if set, zero value otherwise.
func (*AllocationListStub) GetJobVersionOk ¶
func (o *AllocationListStub) GetJobVersionOk() (*int32, bool)
GetJobVersionOk returns a tuple with the JobVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetModifyIndex ¶
func (o *AllocationListStub) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*AllocationListStub) GetModifyIndexOk ¶
func (o *AllocationListStub) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetModifyTime ¶
func (o *AllocationListStub) GetModifyTime() int64
GetModifyTime returns the ModifyTime field value if set, zero value otherwise.
func (*AllocationListStub) GetModifyTimeOk ¶
func (o *AllocationListStub) GetModifyTimeOk() (*int64, bool)
GetModifyTimeOk returns a tuple with the ModifyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetName ¶
func (o *AllocationListStub) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AllocationListStub) GetNameOk ¶
func (o *AllocationListStub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetNamespace ¶
func (o *AllocationListStub) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*AllocationListStub) GetNamespaceOk ¶
func (o *AllocationListStub) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetNodeID ¶
func (o *AllocationListStub) GetNodeID() string
GetNodeID returns the NodeID field value if set, zero value otherwise.
func (*AllocationListStub) GetNodeIDOk ¶
func (o *AllocationListStub) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetNodeName ¶
func (o *AllocationListStub) GetNodeName() string
GetNodeName returns the NodeName field value if set, zero value otherwise.
func (*AllocationListStub) GetNodeNameOk ¶
func (o *AllocationListStub) GetNodeNameOk() (*string, bool)
GetNodeNameOk returns a tuple with the NodeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetPreemptedAllocations ¶
func (o *AllocationListStub) GetPreemptedAllocations() []string
GetPreemptedAllocations returns the PreemptedAllocations field value if set, zero value otherwise.
func (*AllocationListStub) GetPreemptedAllocationsOk ¶
func (o *AllocationListStub) GetPreemptedAllocationsOk() (*[]string, bool)
GetPreemptedAllocationsOk returns a tuple with the PreemptedAllocations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetPreemptedByAllocation ¶
func (o *AllocationListStub) GetPreemptedByAllocation() string
GetPreemptedByAllocation returns the PreemptedByAllocation field value if set, zero value otherwise.
func (*AllocationListStub) GetPreemptedByAllocationOk ¶
func (o *AllocationListStub) GetPreemptedByAllocationOk() (*string, bool)
GetPreemptedByAllocationOk returns a tuple with the PreemptedByAllocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetRescheduleTracker ¶
func (o *AllocationListStub) GetRescheduleTracker() RescheduleTracker
GetRescheduleTracker returns the RescheduleTracker field value if set, zero value otherwise.
func (*AllocationListStub) GetRescheduleTrackerOk ¶
func (o *AllocationListStub) GetRescheduleTrackerOk() (*RescheduleTracker, bool)
GetRescheduleTrackerOk returns a tuple with the RescheduleTracker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetTaskGroup ¶
func (o *AllocationListStub) GetTaskGroup() string
GetTaskGroup returns the TaskGroup field value if set, zero value otherwise.
func (*AllocationListStub) GetTaskGroupOk ¶
func (o *AllocationListStub) GetTaskGroupOk() (*string, bool)
GetTaskGroupOk returns a tuple with the TaskGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) GetTaskStates ¶
func (o *AllocationListStub) GetTaskStates() map[string]TaskState
GetTaskStates returns the TaskStates field value if set, zero value otherwise.
func (*AllocationListStub) GetTaskStatesOk ¶
func (o *AllocationListStub) GetTaskStatesOk() (*map[string]TaskState, bool)
GetTaskStatesOk returns a tuple with the TaskStates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationListStub) HasAllocatedResources ¶
func (o *AllocationListStub) HasAllocatedResources() bool
HasAllocatedResources returns a boolean if a field has been set.
func (*AllocationListStub) HasClientDescription ¶
func (o *AllocationListStub) HasClientDescription() bool
HasClientDescription returns a boolean if a field has been set.
func (*AllocationListStub) HasClientStatus ¶
func (o *AllocationListStub) HasClientStatus() bool
HasClientStatus returns a boolean if a field has been set.
func (*AllocationListStub) HasCreateIndex ¶
func (o *AllocationListStub) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*AllocationListStub) HasCreateTime ¶
func (o *AllocationListStub) HasCreateTime() bool
HasCreateTime returns a boolean if a field has been set.
func (*AllocationListStub) HasDeploymentStatus ¶
func (o *AllocationListStub) HasDeploymentStatus() bool
HasDeploymentStatus returns a boolean if a field has been set.
func (*AllocationListStub) HasDesiredDescription ¶
func (o *AllocationListStub) HasDesiredDescription() bool
HasDesiredDescription returns a boolean if a field has been set.
func (*AllocationListStub) HasDesiredStatus ¶
func (o *AllocationListStub) HasDesiredStatus() bool
HasDesiredStatus returns a boolean if a field has been set.
func (*AllocationListStub) HasEvalID ¶
func (o *AllocationListStub) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (*AllocationListStub) HasFollowupEvalID ¶
func (o *AllocationListStub) HasFollowupEvalID() bool
HasFollowupEvalID returns a boolean if a field has been set.
func (*AllocationListStub) HasID ¶
func (o *AllocationListStub) HasID() bool
HasID returns a boolean if a field has been set.
func (*AllocationListStub) HasJobID ¶
func (o *AllocationListStub) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*AllocationListStub) HasJobType ¶
func (o *AllocationListStub) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*AllocationListStub) HasJobVersion ¶
func (o *AllocationListStub) HasJobVersion() bool
HasJobVersion returns a boolean if a field has been set.
func (*AllocationListStub) HasModifyIndex ¶
func (o *AllocationListStub) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*AllocationListStub) HasModifyTime ¶
func (o *AllocationListStub) HasModifyTime() bool
HasModifyTime returns a boolean if a field has been set.
func (*AllocationListStub) HasName ¶
func (o *AllocationListStub) HasName() bool
HasName returns a boolean if a field has been set.
func (*AllocationListStub) HasNamespace ¶
func (o *AllocationListStub) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*AllocationListStub) HasNodeID ¶
func (o *AllocationListStub) HasNodeID() bool
HasNodeID returns a boolean if a field has been set.
func (*AllocationListStub) HasNodeName ¶
func (o *AllocationListStub) HasNodeName() bool
HasNodeName returns a boolean if a field has been set.
func (*AllocationListStub) HasPreemptedAllocations ¶
func (o *AllocationListStub) HasPreemptedAllocations() bool
HasPreemptedAllocations returns a boolean if a field has been set.
func (*AllocationListStub) HasPreemptedByAllocation ¶
func (o *AllocationListStub) HasPreemptedByAllocation() bool
HasPreemptedByAllocation returns a boolean if a field has been set.
func (*AllocationListStub) HasRescheduleTracker ¶
func (o *AllocationListStub) HasRescheduleTracker() bool
HasRescheduleTracker returns a boolean if a field has been set.
func (*AllocationListStub) HasTaskGroup ¶
func (o *AllocationListStub) HasTaskGroup() bool
HasTaskGroup returns a boolean if a field has been set.
func (*AllocationListStub) HasTaskStates ¶
func (o *AllocationListStub) HasTaskStates() bool
HasTaskStates returns a boolean if a field has been set.
func (AllocationListStub) MarshalJSON ¶
func (o AllocationListStub) MarshalJSON() ([]byte, error)
func (*AllocationListStub) SetAllocatedResources ¶
func (o *AllocationListStub) SetAllocatedResources(v AllocatedResources)
SetAllocatedResources gets a reference to the given AllocatedResources and assigns it to the AllocatedResources field.
func (*AllocationListStub) SetClientDescription ¶
func (o *AllocationListStub) SetClientDescription(v string)
SetClientDescription gets a reference to the given string and assigns it to the ClientDescription field.
func (*AllocationListStub) SetClientStatus ¶
func (o *AllocationListStub) SetClientStatus(v string)
SetClientStatus gets a reference to the given string and assigns it to the ClientStatus field.
func (*AllocationListStub) SetCreateIndex ¶
func (o *AllocationListStub) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*AllocationListStub) SetCreateTime ¶
func (o *AllocationListStub) SetCreateTime(v int64)
SetCreateTime gets a reference to the given int64 and assigns it to the CreateTime field.
func (*AllocationListStub) SetDeploymentStatus ¶
func (o *AllocationListStub) SetDeploymentStatus(v AllocDeploymentStatus)
SetDeploymentStatus gets a reference to the given AllocDeploymentStatus and assigns it to the DeploymentStatus field.
func (*AllocationListStub) SetDesiredDescription ¶
func (o *AllocationListStub) SetDesiredDescription(v string)
SetDesiredDescription gets a reference to the given string and assigns it to the DesiredDescription field.
func (*AllocationListStub) SetDesiredStatus ¶
func (o *AllocationListStub) SetDesiredStatus(v string)
SetDesiredStatus gets a reference to the given string and assigns it to the DesiredStatus field.
func (*AllocationListStub) SetEvalID ¶
func (o *AllocationListStub) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
func (*AllocationListStub) SetFollowupEvalID ¶
func (o *AllocationListStub) SetFollowupEvalID(v string)
SetFollowupEvalID gets a reference to the given string and assigns it to the FollowupEvalID field.
func (*AllocationListStub) SetID ¶
func (o *AllocationListStub) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*AllocationListStub) SetJobID ¶
func (o *AllocationListStub) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*AllocationListStub) SetJobType ¶
func (o *AllocationListStub) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*AllocationListStub) SetJobVersion ¶
func (o *AllocationListStub) SetJobVersion(v int32)
SetJobVersion gets a reference to the given int32 and assigns it to the JobVersion field.
func (*AllocationListStub) SetModifyIndex ¶
func (o *AllocationListStub) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*AllocationListStub) SetModifyTime ¶
func (o *AllocationListStub) SetModifyTime(v int64)
SetModifyTime gets a reference to the given int64 and assigns it to the ModifyTime field.
func (*AllocationListStub) SetName ¶
func (o *AllocationListStub) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AllocationListStub) SetNamespace ¶
func (o *AllocationListStub) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*AllocationListStub) SetNodeID ¶
func (o *AllocationListStub) SetNodeID(v string)
SetNodeID gets a reference to the given string and assigns it to the NodeID field.
func (*AllocationListStub) SetNodeName ¶
func (o *AllocationListStub) SetNodeName(v string)
SetNodeName gets a reference to the given string and assigns it to the NodeName field.
func (*AllocationListStub) SetPreemptedAllocations ¶
func (o *AllocationListStub) SetPreemptedAllocations(v []string)
SetPreemptedAllocations gets a reference to the given []string and assigns it to the PreemptedAllocations field.
func (*AllocationListStub) SetPreemptedByAllocation ¶
func (o *AllocationListStub) SetPreemptedByAllocation(v string)
SetPreemptedByAllocation gets a reference to the given string and assigns it to the PreemptedByAllocation field.
func (*AllocationListStub) SetRescheduleTracker ¶
func (o *AllocationListStub) SetRescheduleTracker(v RescheduleTracker)
SetRescheduleTracker gets a reference to the given RescheduleTracker and assigns it to the RescheduleTracker field.
func (*AllocationListStub) SetTaskGroup ¶
func (o *AllocationListStub) SetTaskGroup(v string)
SetTaskGroup gets a reference to the given string and assigns it to the TaskGroup field.
func (*AllocationListStub) SetTaskStates ¶
func (o *AllocationListStub) SetTaskStates(v map[string]TaskState)
SetTaskStates gets a reference to the given map[string]TaskState and assigns it to the TaskStates field.
type AllocationMetric ¶
type AllocationMetric struct { // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. AllocationTime *int64 `json:"AllocationTime,omitempty"` ClassExhausted *map[string]int64 `json:"ClassExhausted,omitempty"` ClassFiltered *map[string]int64 `json:"ClassFiltered,omitempty"` CoalescedFailures *int64 `json:"CoalescedFailures,omitempty"` ConstraintFiltered *map[string]int64 `json:"ConstraintFiltered,omitempty"` DimensionExhausted *map[string]int64 `json:"DimensionExhausted,omitempty"` NodesAvailable *map[string]int64 `json:"NodesAvailable,omitempty"` NodesEvaluated *int64 `json:"NodesEvaluated,omitempty"` NodesExhausted *int64 `json:"NodesExhausted,omitempty"` NodesFiltered *int64 `json:"NodesFiltered,omitempty"` QuotaExhausted *[]string `json:"QuotaExhausted,omitempty"` ResourcesExhausted *map[string]Resources `json:"ResourcesExhausted,omitempty"` ScoreMetaData *[]NodeScoreMeta `json:"ScoreMetaData,omitempty"` // Deprecated, replaced with ScoreMetaData Scores *map[string]float64 `json:"Scores,omitempty"` }
AllocationMetric struct for AllocationMetric
func NewAllocationMetric ¶
func NewAllocationMetric() *AllocationMetric
NewAllocationMetric instantiates a new AllocationMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAllocationMetricWithDefaults ¶
func NewAllocationMetricWithDefaults() *AllocationMetric
NewAllocationMetricWithDefaults instantiates a new AllocationMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AllocationMetric) GetAllocationTime ¶
func (o *AllocationMetric) GetAllocationTime() int64
GetAllocationTime returns the AllocationTime field value if set, zero value otherwise.
func (*AllocationMetric) GetAllocationTimeOk ¶
func (o *AllocationMetric) GetAllocationTimeOk() (*int64, bool)
GetAllocationTimeOk returns a tuple with the AllocationTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetClassExhausted ¶
func (o *AllocationMetric) GetClassExhausted() map[string]int64
GetClassExhausted returns the ClassExhausted field value if set, zero value otherwise.
func (*AllocationMetric) GetClassExhaustedOk ¶
func (o *AllocationMetric) GetClassExhaustedOk() (*map[string]int64, bool)
GetClassExhaustedOk returns a tuple with the ClassExhausted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetClassFiltered ¶
func (o *AllocationMetric) GetClassFiltered() map[string]int64
GetClassFiltered returns the ClassFiltered field value if set, zero value otherwise.
func (*AllocationMetric) GetClassFilteredOk ¶
func (o *AllocationMetric) GetClassFilteredOk() (*map[string]int64, bool)
GetClassFilteredOk returns a tuple with the ClassFiltered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetCoalescedFailures ¶
func (o *AllocationMetric) GetCoalescedFailures() int64
GetCoalescedFailures returns the CoalescedFailures field value if set, zero value otherwise.
func (*AllocationMetric) GetCoalescedFailuresOk ¶
func (o *AllocationMetric) GetCoalescedFailuresOk() (*int64, bool)
GetCoalescedFailuresOk returns a tuple with the CoalescedFailures field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetConstraintFiltered ¶
func (o *AllocationMetric) GetConstraintFiltered() map[string]int64
GetConstraintFiltered returns the ConstraintFiltered field value if set, zero value otherwise.
func (*AllocationMetric) GetConstraintFilteredOk ¶
func (o *AllocationMetric) GetConstraintFilteredOk() (*map[string]int64, bool)
GetConstraintFilteredOk returns a tuple with the ConstraintFiltered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetDimensionExhausted ¶
func (o *AllocationMetric) GetDimensionExhausted() map[string]int64
GetDimensionExhausted returns the DimensionExhausted field value if set, zero value otherwise.
func (*AllocationMetric) GetDimensionExhaustedOk ¶
func (o *AllocationMetric) GetDimensionExhaustedOk() (*map[string]int64, bool)
GetDimensionExhaustedOk returns a tuple with the DimensionExhausted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetNodesAvailable ¶
func (o *AllocationMetric) GetNodesAvailable() map[string]int64
GetNodesAvailable returns the NodesAvailable field value if set, zero value otherwise.
func (*AllocationMetric) GetNodesAvailableOk ¶
func (o *AllocationMetric) GetNodesAvailableOk() (*map[string]int64, bool)
GetNodesAvailableOk returns a tuple with the NodesAvailable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetNodesEvaluated ¶
func (o *AllocationMetric) GetNodesEvaluated() int64
GetNodesEvaluated returns the NodesEvaluated field value if set, zero value otherwise.
func (*AllocationMetric) GetNodesEvaluatedOk ¶
func (o *AllocationMetric) GetNodesEvaluatedOk() (*int64, bool)
GetNodesEvaluatedOk returns a tuple with the NodesEvaluated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetNodesExhausted ¶
func (o *AllocationMetric) GetNodesExhausted() int64
GetNodesExhausted returns the NodesExhausted field value if set, zero value otherwise.
func (*AllocationMetric) GetNodesExhaustedOk ¶
func (o *AllocationMetric) GetNodesExhaustedOk() (*int64, bool)
GetNodesExhaustedOk returns a tuple with the NodesExhausted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetNodesFiltered ¶
func (o *AllocationMetric) GetNodesFiltered() int64
GetNodesFiltered returns the NodesFiltered field value if set, zero value otherwise.
func (*AllocationMetric) GetNodesFilteredOk ¶
func (o *AllocationMetric) GetNodesFilteredOk() (*int64, bool)
GetNodesFilteredOk returns a tuple with the NodesFiltered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetQuotaExhausted ¶
func (o *AllocationMetric) GetQuotaExhausted() []string
GetQuotaExhausted returns the QuotaExhausted field value if set, zero value otherwise.
func (*AllocationMetric) GetQuotaExhaustedOk ¶
func (o *AllocationMetric) GetQuotaExhaustedOk() (*[]string, bool)
GetQuotaExhaustedOk returns a tuple with the QuotaExhausted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetResourcesExhausted ¶
func (o *AllocationMetric) GetResourcesExhausted() map[string]Resources
GetResourcesExhausted returns the ResourcesExhausted field value if set, zero value otherwise.
func (*AllocationMetric) GetResourcesExhaustedOk ¶
func (o *AllocationMetric) GetResourcesExhaustedOk() (*map[string]Resources, bool)
GetResourcesExhaustedOk returns a tuple with the ResourcesExhausted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetScoreMetaData ¶
func (o *AllocationMetric) GetScoreMetaData() []NodeScoreMeta
GetScoreMetaData returns the ScoreMetaData field value if set, zero value otherwise.
func (*AllocationMetric) GetScoreMetaDataOk ¶
func (o *AllocationMetric) GetScoreMetaDataOk() (*[]NodeScoreMeta, bool)
GetScoreMetaDataOk returns a tuple with the ScoreMetaData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) GetScores ¶
func (o *AllocationMetric) GetScores() map[string]float64
GetScores returns the Scores field value if set, zero value otherwise.
func (*AllocationMetric) GetScoresOk ¶
func (o *AllocationMetric) GetScoresOk() (*map[string]float64, bool)
GetScoresOk returns a tuple with the Scores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AllocationMetric) HasAllocationTime ¶
func (o *AllocationMetric) HasAllocationTime() bool
HasAllocationTime returns a boolean if a field has been set.
func (*AllocationMetric) HasClassExhausted ¶
func (o *AllocationMetric) HasClassExhausted() bool
HasClassExhausted returns a boolean if a field has been set.
func (*AllocationMetric) HasClassFiltered ¶
func (o *AllocationMetric) HasClassFiltered() bool
HasClassFiltered returns a boolean if a field has been set.
func (*AllocationMetric) HasCoalescedFailures ¶
func (o *AllocationMetric) HasCoalescedFailures() bool
HasCoalescedFailures returns a boolean if a field has been set.
func (*AllocationMetric) HasConstraintFiltered ¶
func (o *AllocationMetric) HasConstraintFiltered() bool
HasConstraintFiltered returns a boolean if a field has been set.
func (*AllocationMetric) HasDimensionExhausted ¶
func (o *AllocationMetric) HasDimensionExhausted() bool
HasDimensionExhausted returns a boolean if a field has been set.
func (*AllocationMetric) HasNodesAvailable ¶
func (o *AllocationMetric) HasNodesAvailable() bool
HasNodesAvailable returns a boolean if a field has been set.
func (*AllocationMetric) HasNodesEvaluated ¶
func (o *AllocationMetric) HasNodesEvaluated() bool
HasNodesEvaluated returns a boolean if a field has been set.
func (*AllocationMetric) HasNodesExhausted ¶
func (o *AllocationMetric) HasNodesExhausted() bool
HasNodesExhausted returns a boolean if a field has been set.
func (*AllocationMetric) HasNodesFiltered ¶
func (o *AllocationMetric) HasNodesFiltered() bool
HasNodesFiltered returns a boolean if a field has been set.
func (*AllocationMetric) HasQuotaExhausted ¶
func (o *AllocationMetric) HasQuotaExhausted() bool
HasQuotaExhausted returns a boolean if a field has been set.
func (*AllocationMetric) HasResourcesExhausted ¶
func (o *AllocationMetric) HasResourcesExhausted() bool
HasResourcesExhausted returns a boolean if a field has been set.
func (*AllocationMetric) HasScoreMetaData ¶
func (o *AllocationMetric) HasScoreMetaData() bool
HasScoreMetaData returns a boolean if a field has been set.
func (*AllocationMetric) HasScores ¶
func (o *AllocationMetric) HasScores() bool
HasScores returns a boolean if a field has been set.
func (AllocationMetric) MarshalJSON ¶
func (o AllocationMetric) MarshalJSON() ([]byte, error)
func (*AllocationMetric) SetAllocationTime ¶
func (o *AllocationMetric) SetAllocationTime(v int64)
SetAllocationTime gets a reference to the given int64 and assigns it to the AllocationTime field.
func (*AllocationMetric) SetClassExhausted ¶
func (o *AllocationMetric) SetClassExhausted(v map[string]int64)
SetClassExhausted gets a reference to the given map[string]int64 and assigns it to the ClassExhausted field.
func (*AllocationMetric) SetClassFiltered ¶
func (o *AllocationMetric) SetClassFiltered(v map[string]int64)
SetClassFiltered gets a reference to the given map[string]int64 and assigns it to the ClassFiltered field.
func (*AllocationMetric) SetCoalescedFailures ¶
func (o *AllocationMetric) SetCoalescedFailures(v int64)
SetCoalescedFailures gets a reference to the given int64 and assigns it to the CoalescedFailures field.
func (*AllocationMetric) SetConstraintFiltered ¶
func (o *AllocationMetric) SetConstraintFiltered(v map[string]int64)
SetConstraintFiltered gets a reference to the given map[string]int64 and assigns it to the ConstraintFiltered field.
func (*AllocationMetric) SetDimensionExhausted ¶
func (o *AllocationMetric) SetDimensionExhausted(v map[string]int64)
SetDimensionExhausted gets a reference to the given map[string]int64 and assigns it to the DimensionExhausted field.
func (*AllocationMetric) SetNodesAvailable ¶
func (o *AllocationMetric) SetNodesAvailable(v map[string]int64)
SetNodesAvailable gets a reference to the given map[string]int64 and assigns it to the NodesAvailable field.
func (*AllocationMetric) SetNodesEvaluated ¶
func (o *AllocationMetric) SetNodesEvaluated(v int64)
SetNodesEvaluated gets a reference to the given int64 and assigns it to the NodesEvaluated field.
func (*AllocationMetric) SetNodesExhausted ¶
func (o *AllocationMetric) SetNodesExhausted(v int64)
SetNodesExhausted gets a reference to the given int64 and assigns it to the NodesExhausted field.
func (*AllocationMetric) SetNodesFiltered ¶
func (o *AllocationMetric) SetNodesFiltered(v int64)
SetNodesFiltered gets a reference to the given int64 and assigns it to the NodesFiltered field.
func (*AllocationMetric) SetQuotaExhausted ¶
func (o *AllocationMetric) SetQuotaExhausted(v []string)
SetQuotaExhausted gets a reference to the given []string and assigns it to the QuotaExhausted field.
func (*AllocationMetric) SetResourcesExhausted ¶
func (o *AllocationMetric) SetResourcesExhausted(v map[string]Resources)
SetResourcesExhausted gets a reference to the given map[string]Resources and assigns it to the ResourcesExhausted field.
func (*AllocationMetric) SetScoreMetaData ¶
func (o *AllocationMetric) SetScoreMetaData(v []NodeScoreMeta)
SetScoreMetaData gets a reference to the given []NodeScoreMeta and assigns it to the ScoreMetaData field.
func (*AllocationMetric) SetScores ¶
func (o *AllocationMetric) SetScores(v map[string]float64)
SetScores gets a reference to the given map[string]float64 and assigns it to the Scores field.
type ApiEvaluateJobRequest ¶
type ApiEvaluateJobRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiEvaluateJobRequest) Execute ¶
func (r ApiEvaluateJobRequest) Execute() (JobRegisterResponse, *_nethttp.Response, error)
func (ApiEvaluateJobRequest) JobEvaluateRequest ¶
func (r ApiEvaluateJobRequest) JobEvaluateRequest(jobEvaluateRequest JobEvaluateRequest) ApiEvaluateJobRequest
type ApiGetJobAllocationsRequest ¶
type ApiGetJobAllocationsRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiGetJobAllocationsRequest) All ¶
func (r ApiGetJobAllocationsRequest) All(all int32) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) Execute ¶
func (r ApiGetJobAllocationsRequest) Execute() ([]AllocListStub, *_nethttp.Response, error)
func (ApiGetJobAllocationsRequest) Namespace ¶
func (r ApiGetJobAllocationsRequest) Namespace(namespace string) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) NextToken ¶
func (r ApiGetJobAllocationsRequest) NextToken(nextToken string) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) PerPage ¶
func (r ApiGetJobAllocationsRequest) PerPage(perPage int32) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) Prefix ¶
func (r ApiGetJobAllocationsRequest) Prefix(prefix string) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) Region ¶
func (r ApiGetJobAllocationsRequest) Region(region string) ApiGetJobAllocationsRequest
func (ApiGetJobAllocationsRequest) Stale ¶
func (r ApiGetJobAllocationsRequest) Stale(stale string) ApiGetJobAllocationsRequest
type ApiGetJobEvaluationsRequest ¶
type ApiGetJobEvaluationsRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiGetJobEvaluationsRequest) Execute ¶
func (r ApiGetJobEvaluationsRequest) Execute() ([]Evaluation, *_nethttp.Response, error)
func (ApiGetJobEvaluationsRequest) Namespace ¶
func (r ApiGetJobEvaluationsRequest) Namespace(namespace string) ApiGetJobEvaluationsRequest
func (ApiGetJobEvaluationsRequest) NextToken ¶
func (r ApiGetJobEvaluationsRequest) NextToken(nextToken string) ApiGetJobEvaluationsRequest
func (ApiGetJobEvaluationsRequest) PerPage ¶
func (r ApiGetJobEvaluationsRequest) PerPage(perPage int32) ApiGetJobEvaluationsRequest
func (ApiGetJobEvaluationsRequest) Prefix ¶
func (r ApiGetJobEvaluationsRequest) Prefix(prefix string) ApiGetJobEvaluationsRequest
func (ApiGetJobEvaluationsRequest) Region ¶
func (r ApiGetJobEvaluationsRequest) Region(region string) ApiGetJobEvaluationsRequest
func (ApiGetJobEvaluationsRequest) Stale ¶
func (r ApiGetJobEvaluationsRequest) Stale(stale string) ApiGetJobEvaluationsRequest
type ApiGetJobsRequest ¶
type ApiGetJobsRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiGetJobsRequest) Execute ¶
func (r ApiGetJobsRequest) Execute() ([]JobListStub, *_nethttp.Response, error)
func (ApiGetJobsRequest) Namespace ¶
func (r ApiGetJobsRequest) Namespace(namespace string) ApiGetJobsRequest
func (ApiGetJobsRequest) NextToken ¶
func (r ApiGetJobsRequest) NextToken(nextToken string) ApiGetJobsRequest
func (ApiGetJobsRequest) PerPage ¶
func (r ApiGetJobsRequest) PerPage(perPage int32) ApiGetJobsRequest
func (ApiGetJobsRequest) Prefix ¶
func (r ApiGetJobsRequest) Prefix(prefix string) ApiGetJobsRequest
func (ApiGetJobsRequest) Region ¶
func (r ApiGetJobsRequest) Region(region string) ApiGetJobsRequest
func (ApiGetJobsRequest) Stale ¶
func (r ApiGetJobsRequest) Stale(stale string) ApiGetJobsRequest
type ApiParseJobSpecRequest ¶
type ApiParseJobSpecRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiParseJobSpecRequest) Execute ¶
func (r ApiParseJobSpecRequest) Execute() (Job, *_nethttp.Response, error)
func (ApiParseJobSpecRequest) JobsParseRequest ¶
func (r ApiParseJobSpecRequest) JobsParseRequest(jobsParseRequest JobsParseRequest) ApiParseJobSpecRequest
type ApiPutJobForceRequestRequest ¶
type ApiPutJobForceRequestRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiPutJobForceRequestRequest) Execute ¶
func (r ApiPutJobForceRequestRequest) Execute() (PeriodicForceResponse, *_nethttp.Response, error)
func (ApiPutJobForceRequestRequest) Namespace ¶
func (r ApiPutJobForceRequestRequest) Namespace(namespace string) ApiPutJobForceRequestRequest
func (ApiPutJobForceRequestRequest) Region ¶
func (r ApiPutJobForceRequestRequest) Region(region string) ApiPutJobForceRequestRequest
func (ApiPutJobForceRequestRequest) XNomadToken ¶
func (r ApiPutJobForceRequestRequest) XNomadToken(xNomadToken string) ApiPutJobForceRequestRequest
type AuthenticateOKBody ¶
type AuthenticateOKBody struct { // An opaque token used to authenticate a user after a successful login IdentityToken string `json:"IdentityToken"` // The status of the authentication Status string `json:"Status"` }
AuthenticateOKBody AuthenticateOKBody authenticate o k body
func NewAuthenticateOKBody ¶
func NewAuthenticateOKBody(identityToken string, status string) *AuthenticateOKBody
NewAuthenticateOKBody instantiates a new AuthenticateOKBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAuthenticateOKBodyWithDefaults ¶
func NewAuthenticateOKBodyWithDefaults() *AuthenticateOKBody
NewAuthenticateOKBodyWithDefaults instantiates a new AuthenticateOKBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AuthenticateOKBody) GetIdentityToken ¶
func (o *AuthenticateOKBody) GetIdentityToken() string
GetIdentityToken returns the IdentityToken field value
func (*AuthenticateOKBody) GetIdentityTokenOk ¶
func (o *AuthenticateOKBody) GetIdentityTokenOk() (*string, bool)
GetIdentityTokenOk returns a tuple with the IdentityToken field value and a boolean to check if the value has been set.
func (*AuthenticateOKBody) GetStatus ¶
func (o *AuthenticateOKBody) GetStatus() string
GetStatus returns the Status field value
func (*AuthenticateOKBody) GetStatusOk ¶
func (o *AuthenticateOKBody) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (AuthenticateOKBody) MarshalJSON ¶
func (o AuthenticateOKBody) MarshalJSON() ([]byte, error)
func (*AuthenticateOKBody) SetIdentityToken ¶
func (o *AuthenticateOKBody) SetIdentityToken(v string)
SetIdentityToken sets field value
func (*AuthenticateOKBody) SetStatus ¶
func (o *AuthenticateOKBody) SetStatus(v string)
SetStatus sets field value
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CSIMountOptions ¶
type CSIMountOptions struct { // FSType is an optional field that allows an operator to specify the type of the filesystem. FSType *string `json:"FSType,omitempty"` // MountFlags contains additional options that may be used when mounting the volume by the plugin. This may contain sensitive data and should not be leaked. MountFlags *[]string `json:"MountFlags,omitempty"` }
CSIMountOptions CSIMountOptions contain optional additional configuration that can be used when specifying that a Volume should be used with VolumeAccessTypeMount.
func NewCSIMountOptions ¶
func NewCSIMountOptions() *CSIMountOptions
NewCSIMountOptions instantiates a new CSIMountOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCSIMountOptionsWithDefaults ¶
func NewCSIMountOptionsWithDefaults() *CSIMountOptions
NewCSIMountOptionsWithDefaults instantiates a new CSIMountOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CSIMountOptions) GetFSType ¶
func (o *CSIMountOptions) GetFSType() string
GetFSType returns the FSType field value if set, zero value otherwise.
func (*CSIMountOptions) GetFSTypeOk ¶
func (o *CSIMountOptions) GetFSTypeOk() (*string, bool)
GetFSTypeOk returns a tuple with the FSType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSIMountOptions) GetMountFlags ¶
func (o *CSIMountOptions) GetMountFlags() []string
GetMountFlags returns the MountFlags field value if set, zero value otherwise.
func (*CSIMountOptions) GetMountFlagsOk ¶
func (o *CSIMountOptions) GetMountFlagsOk() (*[]string, bool)
GetMountFlagsOk returns a tuple with the MountFlags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CSIMountOptions) HasFSType ¶
func (o *CSIMountOptions) HasFSType() bool
HasFSType returns a boolean if a field has been set.
func (*CSIMountOptions) HasMountFlags ¶
func (o *CSIMountOptions) HasMountFlags() bool
HasMountFlags returns a boolean if a field has been set.
func (CSIMountOptions) MarshalJSON ¶
func (o CSIMountOptions) MarshalJSON() ([]byte, error)
func (*CSIMountOptions) SetFSType ¶
func (o *CSIMountOptions) SetFSType(v string)
SetFSType gets a reference to the given string and assigns it to the FSType field.
func (*CSIMountOptions) SetMountFlags ¶
func (o *CSIMountOptions) SetMountFlags(v []string)
SetMountFlags gets a reference to the given []string and assigns it to the MountFlags field.
type CheckRestart ¶
type CheckRestart struct { // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Grace *int64 `json:"Grace,omitempty"` IgnoreWarnings *bool `json:"IgnoreWarnings,omitempty"` Limit *int64 `json:"Limit,omitempty"` }
CheckRestart CheckRestart describes if and when a task should be restarted based on failing health checks.
func NewCheckRestart ¶
func NewCheckRestart() *CheckRestart
NewCheckRestart instantiates a new CheckRestart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCheckRestartWithDefaults ¶
func NewCheckRestartWithDefaults() *CheckRestart
NewCheckRestartWithDefaults instantiates a new CheckRestart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CheckRestart) GetGrace ¶
func (o *CheckRestart) GetGrace() int64
GetGrace returns the Grace field value if set, zero value otherwise.
func (*CheckRestart) GetGraceOk ¶
func (o *CheckRestart) GetGraceOk() (*int64, bool)
GetGraceOk returns a tuple with the Grace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRestart) GetIgnoreWarnings ¶
func (o *CheckRestart) GetIgnoreWarnings() bool
GetIgnoreWarnings returns the IgnoreWarnings field value if set, zero value otherwise.
func (*CheckRestart) GetIgnoreWarningsOk ¶
func (o *CheckRestart) GetIgnoreWarningsOk() (*bool, bool)
GetIgnoreWarningsOk returns a tuple with the IgnoreWarnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRestart) GetLimit ¶
func (o *CheckRestart) GetLimit() int64
GetLimit returns the Limit field value if set, zero value otherwise.
func (*CheckRestart) GetLimitOk ¶
func (o *CheckRestart) GetLimitOk() (*int64, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRestart) HasGrace ¶
func (o *CheckRestart) HasGrace() bool
HasGrace returns a boolean if a field has been set.
func (*CheckRestart) HasIgnoreWarnings ¶
func (o *CheckRestart) HasIgnoreWarnings() bool
HasIgnoreWarnings returns a boolean if a field has been set.
func (*CheckRestart) HasLimit ¶
func (o *CheckRestart) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (CheckRestart) MarshalJSON ¶
func (o CheckRestart) MarshalJSON() ([]byte, error)
func (*CheckRestart) SetGrace ¶
func (o *CheckRestart) SetGrace(v int64)
SetGrace gets a reference to the given int64 and assigns it to the Grace field.
func (*CheckRestart) SetIgnoreWarnings ¶
func (o *CheckRestart) SetIgnoreWarnings(v bool)
SetIgnoreWarnings gets a reference to the given bool and assigns it to the IgnoreWarnings field.
func (*CheckRestart) SetLimit ¶
func (o *CheckRestart) SetLimit(v int64)
SetLimit gets a reference to the given int64 and assigns it to the Limit field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Constraint ¶
type Constraint struct { LTarget *string `json:"LTarget,omitempty"` Operand *string `json:"Operand,omitempty"` RTarget *string `json:"RTarget,omitempty"` }
Constraint struct for Constraint
func NewConstraint ¶
func NewConstraint() *Constraint
NewConstraint instantiates a new Constraint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConstraintWithDefaults ¶
func NewConstraintWithDefaults() *Constraint
NewConstraintWithDefaults instantiates a new Constraint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Constraint) GetLTarget ¶
func (o *Constraint) GetLTarget() string
GetLTarget returns the LTarget field value if set, zero value otherwise.
func (*Constraint) GetLTargetOk ¶
func (o *Constraint) GetLTargetOk() (*string, bool)
GetLTargetOk returns a tuple with the LTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Constraint) GetOperand ¶
func (o *Constraint) GetOperand() string
GetOperand returns the Operand field value if set, zero value otherwise.
func (*Constraint) GetOperandOk ¶
func (o *Constraint) GetOperandOk() (*string, bool)
GetOperandOk returns a tuple with the Operand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Constraint) GetRTarget ¶
func (o *Constraint) GetRTarget() string
GetRTarget returns the RTarget field value if set, zero value otherwise.
func (*Constraint) GetRTargetOk ¶
func (o *Constraint) GetRTargetOk() (*string, bool)
GetRTargetOk returns a tuple with the RTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Constraint) HasLTarget ¶
func (o *Constraint) HasLTarget() bool
HasLTarget returns a boolean if a field has been set.
func (*Constraint) HasOperand ¶
func (o *Constraint) HasOperand() bool
HasOperand returns a boolean if a field has been set.
func (*Constraint) HasRTarget ¶
func (o *Constraint) HasRTarget() bool
HasRTarget returns a boolean if a field has been set.
func (Constraint) MarshalJSON ¶
func (o Constraint) MarshalJSON() ([]byte, error)
func (*Constraint) SetLTarget ¶
func (o *Constraint) SetLTarget(v string)
SetLTarget gets a reference to the given string and assigns it to the LTarget field.
func (*Constraint) SetOperand ¶
func (o *Constraint) SetOperand(v string)
SetOperand gets a reference to the given string and assigns it to the Operand field.
func (*Constraint) SetRTarget ¶
func (o *Constraint) SetRTarget(v string)
SetRTarget gets a reference to the given string and assigns it to the RTarget field.
type Consul ¶
type Consul struct { // (Enterprise-only) Namespace represents a Consul namespace. Namespace *string `json:"Namespace,omitempty"` }
Consul struct for Consul
func NewConsul ¶
func NewConsul() *Consul
NewConsul instantiates a new Consul object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulWithDefaults ¶
func NewConsulWithDefaults() *Consul
NewConsulWithDefaults instantiates a new Consul object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Consul) GetNamespace ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Consul) GetNamespaceOk ¶
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Consul) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (Consul) MarshalJSON ¶
func (*Consul) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
type ConsulConnect ¶
type ConsulConnect struct { Gateway *ConsulGateway `json:"Gateway,omitempty"` Native *bool `json:"Native,omitempty"` SidecarService *ConsulSidecarService `json:"SidecarService,omitempty"` SidecarTask *SidecarTask `json:"SidecarTask,omitempty"` }
ConsulConnect struct for ConsulConnect
func NewConsulConnect ¶
func NewConsulConnect() *ConsulConnect
NewConsulConnect instantiates a new ConsulConnect object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulConnectWithDefaults ¶
func NewConsulConnectWithDefaults() *ConsulConnect
NewConsulConnectWithDefaults instantiates a new ConsulConnect object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulConnect) GetGateway ¶
func (o *ConsulConnect) GetGateway() ConsulGateway
GetGateway returns the Gateway field value if set, zero value otherwise.
func (*ConsulConnect) GetGatewayOk ¶
func (o *ConsulConnect) GetGatewayOk() (*ConsulGateway, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulConnect) GetNative ¶
func (o *ConsulConnect) GetNative() bool
GetNative returns the Native field value if set, zero value otherwise.
func (*ConsulConnect) GetNativeOk ¶
func (o *ConsulConnect) GetNativeOk() (*bool, bool)
GetNativeOk returns a tuple with the Native field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulConnect) GetSidecarService ¶
func (o *ConsulConnect) GetSidecarService() ConsulSidecarService
GetSidecarService returns the SidecarService field value if set, zero value otherwise.
func (*ConsulConnect) GetSidecarServiceOk ¶
func (o *ConsulConnect) GetSidecarServiceOk() (*ConsulSidecarService, bool)
GetSidecarServiceOk returns a tuple with the SidecarService field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulConnect) GetSidecarTask ¶
func (o *ConsulConnect) GetSidecarTask() SidecarTask
GetSidecarTask returns the SidecarTask field value if set, zero value otherwise.
func (*ConsulConnect) GetSidecarTaskOk ¶
func (o *ConsulConnect) GetSidecarTaskOk() (*SidecarTask, bool)
GetSidecarTaskOk returns a tuple with the SidecarTask field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulConnect) HasGateway ¶
func (o *ConsulConnect) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*ConsulConnect) HasNative ¶
func (o *ConsulConnect) HasNative() bool
HasNative returns a boolean if a field has been set.
func (*ConsulConnect) HasSidecarService ¶
func (o *ConsulConnect) HasSidecarService() bool
HasSidecarService returns a boolean if a field has been set.
func (*ConsulConnect) HasSidecarTask ¶
func (o *ConsulConnect) HasSidecarTask() bool
HasSidecarTask returns a boolean if a field has been set.
func (ConsulConnect) MarshalJSON ¶
func (o ConsulConnect) MarshalJSON() ([]byte, error)
func (*ConsulConnect) SetGateway ¶
func (o *ConsulConnect) SetGateway(v ConsulGateway)
SetGateway gets a reference to the given ConsulGateway and assigns it to the Gateway field.
func (*ConsulConnect) SetNative ¶
func (o *ConsulConnect) SetNative(v bool)
SetNative gets a reference to the given bool and assigns it to the Native field.
func (*ConsulConnect) SetSidecarService ¶
func (o *ConsulConnect) SetSidecarService(v ConsulSidecarService)
SetSidecarService gets a reference to the given ConsulSidecarService and assigns it to the SidecarService field.
func (*ConsulConnect) SetSidecarTask ¶
func (o *ConsulConnect) SetSidecarTask(v SidecarTask)
SetSidecarTask gets a reference to the given SidecarTask and assigns it to the SidecarTask field.
type ConsulExposeConfig ¶
type ConsulExposeConfig struct {
Path *[]ConsulExposePath `json:"Path,omitempty"`
}
ConsulExposeConfig struct for ConsulExposeConfig
func NewConsulExposeConfig ¶
func NewConsulExposeConfig() *ConsulExposeConfig
NewConsulExposeConfig instantiates a new ConsulExposeConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulExposeConfigWithDefaults ¶
func NewConsulExposeConfigWithDefaults() *ConsulExposeConfig
NewConsulExposeConfigWithDefaults instantiates a new ConsulExposeConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulExposeConfig) GetPath ¶
func (o *ConsulExposeConfig) GetPath() []ConsulExposePath
GetPath returns the Path field value if set, zero value otherwise.
func (*ConsulExposeConfig) GetPathOk ¶
func (o *ConsulExposeConfig) GetPathOk() (*[]ConsulExposePath, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulExposeConfig) HasPath ¶
func (o *ConsulExposeConfig) HasPath() bool
HasPath returns a boolean if a field has been set.
func (ConsulExposeConfig) MarshalJSON ¶
func (o ConsulExposeConfig) MarshalJSON() ([]byte, error)
func (*ConsulExposeConfig) SetPath ¶
func (o *ConsulExposeConfig) SetPath(v []ConsulExposePath)
SetPath gets a reference to the given []ConsulExposePath and assigns it to the Path field.
type ConsulExposePath ¶
type ConsulExposePath struct { ListenerPort *string `json:"ListenerPort,omitempty"` LocalPathPort *int64 `json:"LocalPathPort,omitempty"` Path *string `json:"Path,omitempty"` Protocol *string `json:"Protocol,omitempty"` }
ConsulExposePath struct for ConsulExposePath
func NewConsulExposePath ¶
func NewConsulExposePath() *ConsulExposePath
NewConsulExposePath instantiates a new ConsulExposePath object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulExposePathWithDefaults ¶
func NewConsulExposePathWithDefaults() *ConsulExposePath
NewConsulExposePathWithDefaults instantiates a new ConsulExposePath object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulExposePath) GetListenerPort ¶
func (o *ConsulExposePath) GetListenerPort() string
GetListenerPort returns the ListenerPort field value if set, zero value otherwise.
func (*ConsulExposePath) GetListenerPortOk ¶
func (o *ConsulExposePath) GetListenerPortOk() (*string, bool)
GetListenerPortOk returns a tuple with the ListenerPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulExposePath) GetLocalPathPort ¶
func (o *ConsulExposePath) GetLocalPathPort() int64
GetLocalPathPort returns the LocalPathPort field value if set, zero value otherwise.
func (*ConsulExposePath) GetLocalPathPortOk ¶
func (o *ConsulExposePath) GetLocalPathPortOk() (*int64, bool)
GetLocalPathPortOk returns a tuple with the LocalPathPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulExposePath) GetPath ¶
func (o *ConsulExposePath) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*ConsulExposePath) GetPathOk ¶
func (o *ConsulExposePath) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulExposePath) GetProtocol ¶
func (o *ConsulExposePath) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*ConsulExposePath) GetProtocolOk ¶
func (o *ConsulExposePath) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulExposePath) HasListenerPort ¶
func (o *ConsulExposePath) HasListenerPort() bool
HasListenerPort returns a boolean if a field has been set.
func (*ConsulExposePath) HasLocalPathPort ¶
func (o *ConsulExposePath) HasLocalPathPort() bool
HasLocalPathPort returns a boolean if a field has been set.
func (*ConsulExposePath) HasPath ¶
func (o *ConsulExposePath) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*ConsulExposePath) HasProtocol ¶
func (o *ConsulExposePath) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (ConsulExposePath) MarshalJSON ¶
func (o ConsulExposePath) MarshalJSON() ([]byte, error)
func (*ConsulExposePath) SetListenerPort ¶
func (o *ConsulExposePath) SetListenerPort(v string)
SetListenerPort gets a reference to the given string and assigns it to the ListenerPort field.
func (*ConsulExposePath) SetLocalPathPort ¶
func (o *ConsulExposePath) SetLocalPathPort(v int64)
SetLocalPathPort gets a reference to the given int64 and assigns it to the LocalPathPort field.
func (*ConsulExposePath) SetPath ¶
func (o *ConsulExposePath) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ConsulExposePath) SetProtocol ¶
func (o *ConsulExposePath) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
type ConsulGateway ¶
type ConsulGateway struct { Ingress *ConsulIngressConfigEntry `json:"Ingress,omitempty"` Proxy *ConsulGatewayProxy `json:"Proxy,omitempty"` Terminating *ConsulTerminatingConfigEntry `json:"Terminating,omitempty"` }
ConsulGateway struct for ConsulGateway
func NewConsulGateway ¶
func NewConsulGateway() *ConsulGateway
NewConsulGateway instantiates a new ConsulGateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulGatewayWithDefaults ¶
func NewConsulGatewayWithDefaults() *ConsulGateway
NewConsulGatewayWithDefaults instantiates a new ConsulGateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulGateway) GetIngress ¶
func (o *ConsulGateway) GetIngress() ConsulIngressConfigEntry
GetIngress returns the Ingress field value if set, zero value otherwise.
func (*ConsulGateway) GetIngressOk ¶
func (o *ConsulGateway) GetIngressOk() (*ConsulIngressConfigEntry, bool)
GetIngressOk returns a tuple with the Ingress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGateway) GetProxy ¶
func (o *ConsulGateway) GetProxy() ConsulGatewayProxy
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*ConsulGateway) GetProxyOk ¶
func (o *ConsulGateway) GetProxyOk() (*ConsulGatewayProxy, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGateway) GetTerminating ¶
func (o *ConsulGateway) GetTerminating() ConsulTerminatingConfigEntry
GetTerminating returns the Terminating field value if set, zero value otherwise.
func (*ConsulGateway) GetTerminatingOk ¶
func (o *ConsulGateway) GetTerminatingOk() (*ConsulTerminatingConfigEntry, bool)
GetTerminatingOk returns a tuple with the Terminating field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGateway) HasIngress ¶
func (o *ConsulGateway) HasIngress() bool
HasIngress returns a boolean if a field has been set.
func (*ConsulGateway) HasProxy ¶
func (o *ConsulGateway) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (*ConsulGateway) HasTerminating ¶
func (o *ConsulGateway) HasTerminating() bool
HasTerminating returns a boolean if a field has been set.
func (ConsulGateway) MarshalJSON ¶
func (o ConsulGateway) MarshalJSON() ([]byte, error)
func (*ConsulGateway) SetIngress ¶
func (o *ConsulGateway) SetIngress(v ConsulIngressConfigEntry)
SetIngress gets a reference to the given ConsulIngressConfigEntry and assigns it to the Ingress field.
func (*ConsulGateway) SetProxy ¶
func (o *ConsulGateway) SetProxy(v ConsulGatewayProxy)
SetProxy gets a reference to the given ConsulGatewayProxy and assigns it to the Proxy field.
func (*ConsulGateway) SetTerminating ¶
func (o *ConsulGateway) SetTerminating(v ConsulTerminatingConfigEntry)
SetTerminating gets a reference to the given ConsulTerminatingConfigEntry and assigns it to the Terminating field.
type ConsulGatewayBindAddress ¶
type ConsulGatewayBindAddress struct { Address *string `json:"Address,omitempty"` Name *string `json:"Name,omitempty"` Port *int64 `json:"Port,omitempty"` }
ConsulGatewayBindAddress struct for ConsulGatewayBindAddress
func NewConsulGatewayBindAddress ¶
func NewConsulGatewayBindAddress() *ConsulGatewayBindAddress
NewConsulGatewayBindAddress instantiates a new ConsulGatewayBindAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulGatewayBindAddressWithDefaults ¶
func NewConsulGatewayBindAddressWithDefaults() *ConsulGatewayBindAddress
NewConsulGatewayBindAddressWithDefaults instantiates a new ConsulGatewayBindAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulGatewayBindAddress) GetAddress ¶
func (o *ConsulGatewayBindAddress) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*ConsulGatewayBindAddress) GetAddressOk ¶
func (o *ConsulGatewayBindAddress) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayBindAddress) GetName ¶
func (o *ConsulGatewayBindAddress) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConsulGatewayBindAddress) GetNameOk ¶
func (o *ConsulGatewayBindAddress) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayBindAddress) GetPort ¶
func (o *ConsulGatewayBindAddress) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*ConsulGatewayBindAddress) GetPortOk ¶
func (o *ConsulGatewayBindAddress) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayBindAddress) HasAddress ¶
func (o *ConsulGatewayBindAddress) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*ConsulGatewayBindAddress) HasName ¶
func (o *ConsulGatewayBindAddress) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConsulGatewayBindAddress) HasPort ¶
func (o *ConsulGatewayBindAddress) HasPort() bool
HasPort returns a boolean if a field has been set.
func (ConsulGatewayBindAddress) MarshalJSON ¶
func (o ConsulGatewayBindAddress) MarshalJSON() ([]byte, error)
func (*ConsulGatewayBindAddress) SetAddress ¶
func (o *ConsulGatewayBindAddress) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*ConsulGatewayBindAddress) SetName ¶
func (o *ConsulGatewayBindAddress) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ConsulGatewayBindAddress) SetPort ¶
func (o *ConsulGatewayBindAddress) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
type ConsulGatewayProxy ¶
type ConsulGatewayProxy struct { Config *map[string]map[string]interface{} `json:"Config,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. ConnectTimeout *int64 `json:"ConnectTimeout,omitempty"` EnvoyDNSDiscoveryType *string `json:"EnvoyDNSDiscoveryType,omitempty"` EnvoyGatewayBindAddresses *map[string]ConsulGatewayBindAddress `json:"EnvoyGatewayBindAddresses,omitempty"` EnvoyGatewayBindTaggedAddresses *bool `json:"EnvoyGatewayBindTaggedAddresses,omitempty"` EnvoyGatewayNoDefaultBind *bool `json:"EnvoyGatewayNoDefaultBind,omitempty"` }
ConsulGatewayProxy https://www.consul.io/docs/connect/proxies/envoy#gateway-options
func NewConsulGatewayProxy ¶
func NewConsulGatewayProxy() *ConsulGatewayProxy
NewConsulGatewayProxy instantiates a new ConsulGatewayProxy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulGatewayProxyWithDefaults ¶
func NewConsulGatewayProxyWithDefaults() *ConsulGatewayProxy
NewConsulGatewayProxyWithDefaults instantiates a new ConsulGatewayProxy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulGatewayProxy) GetConfig ¶
func (o *ConsulGatewayProxy) GetConfig() map[string]map[string]interface{}
GetConfig returns the Config field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetConfigOk ¶
func (o *ConsulGatewayProxy) GetConfigOk() (*map[string]map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) GetConnectTimeout ¶
func (o *ConsulGatewayProxy) GetConnectTimeout() int64
GetConnectTimeout returns the ConnectTimeout field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetConnectTimeoutOk ¶
func (o *ConsulGatewayProxy) GetConnectTimeoutOk() (*int64, bool)
GetConnectTimeoutOk returns a tuple with the ConnectTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) GetEnvoyDNSDiscoveryType ¶
func (o *ConsulGatewayProxy) GetEnvoyDNSDiscoveryType() string
GetEnvoyDNSDiscoveryType returns the EnvoyDNSDiscoveryType field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetEnvoyDNSDiscoveryTypeOk ¶
func (o *ConsulGatewayProxy) GetEnvoyDNSDiscoveryTypeOk() (*string, bool)
GetEnvoyDNSDiscoveryTypeOk returns a tuple with the EnvoyDNSDiscoveryType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) GetEnvoyGatewayBindAddresses ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayBindAddresses() map[string]ConsulGatewayBindAddress
GetEnvoyGatewayBindAddresses returns the EnvoyGatewayBindAddresses field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetEnvoyGatewayBindAddressesOk ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayBindAddressesOk() (*map[string]ConsulGatewayBindAddress, bool)
GetEnvoyGatewayBindAddressesOk returns a tuple with the EnvoyGatewayBindAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddresses ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddresses() bool
GetEnvoyGatewayBindTaggedAddresses returns the EnvoyGatewayBindTaggedAddresses field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddressesOk ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayBindTaggedAddressesOk() (*bool, bool)
GetEnvoyGatewayBindTaggedAddressesOk returns a tuple with the EnvoyGatewayBindTaggedAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBind ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBind() bool
GetEnvoyGatewayNoDefaultBind returns the EnvoyGatewayNoDefaultBind field value if set, zero value otherwise.
func (*ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBindOk ¶
func (o *ConsulGatewayProxy) GetEnvoyGatewayNoDefaultBindOk() (*bool, bool)
GetEnvoyGatewayNoDefaultBindOk returns a tuple with the EnvoyGatewayNoDefaultBind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayProxy) HasConfig ¶
func (o *ConsulGatewayProxy) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*ConsulGatewayProxy) HasConnectTimeout ¶
func (o *ConsulGatewayProxy) HasConnectTimeout() bool
HasConnectTimeout returns a boolean if a field has been set.
func (*ConsulGatewayProxy) HasEnvoyDNSDiscoveryType ¶
func (o *ConsulGatewayProxy) HasEnvoyDNSDiscoveryType() bool
HasEnvoyDNSDiscoveryType returns a boolean if a field has been set.
func (*ConsulGatewayProxy) HasEnvoyGatewayBindAddresses ¶
func (o *ConsulGatewayProxy) HasEnvoyGatewayBindAddresses() bool
HasEnvoyGatewayBindAddresses returns a boolean if a field has been set.
func (*ConsulGatewayProxy) HasEnvoyGatewayBindTaggedAddresses ¶
func (o *ConsulGatewayProxy) HasEnvoyGatewayBindTaggedAddresses() bool
HasEnvoyGatewayBindTaggedAddresses returns a boolean if a field has been set.
func (*ConsulGatewayProxy) HasEnvoyGatewayNoDefaultBind ¶
func (o *ConsulGatewayProxy) HasEnvoyGatewayNoDefaultBind() bool
HasEnvoyGatewayNoDefaultBind returns a boolean if a field has been set.
func (ConsulGatewayProxy) MarshalJSON ¶
func (o ConsulGatewayProxy) MarshalJSON() ([]byte, error)
func (*ConsulGatewayProxy) SetConfig ¶
func (o *ConsulGatewayProxy) SetConfig(v map[string]map[string]interface{})
SetConfig gets a reference to the given map[string]map[string]interface{} and assigns it to the Config field.
func (*ConsulGatewayProxy) SetConnectTimeout ¶
func (o *ConsulGatewayProxy) SetConnectTimeout(v int64)
SetConnectTimeout gets a reference to the given int64 and assigns it to the ConnectTimeout field.
func (*ConsulGatewayProxy) SetEnvoyDNSDiscoveryType ¶
func (o *ConsulGatewayProxy) SetEnvoyDNSDiscoveryType(v string)
SetEnvoyDNSDiscoveryType gets a reference to the given string and assigns it to the EnvoyDNSDiscoveryType field.
func (*ConsulGatewayProxy) SetEnvoyGatewayBindAddresses ¶
func (o *ConsulGatewayProxy) SetEnvoyGatewayBindAddresses(v map[string]ConsulGatewayBindAddress)
SetEnvoyGatewayBindAddresses gets a reference to the given map[string]ConsulGatewayBindAddress and assigns it to the EnvoyGatewayBindAddresses field.
func (*ConsulGatewayProxy) SetEnvoyGatewayBindTaggedAddresses ¶
func (o *ConsulGatewayProxy) SetEnvoyGatewayBindTaggedAddresses(v bool)
SetEnvoyGatewayBindTaggedAddresses gets a reference to the given bool and assigns it to the EnvoyGatewayBindTaggedAddresses field.
func (*ConsulGatewayProxy) SetEnvoyGatewayNoDefaultBind ¶
func (o *ConsulGatewayProxy) SetEnvoyGatewayNoDefaultBind(v bool)
SetEnvoyGatewayNoDefaultBind gets a reference to the given bool and assigns it to the EnvoyGatewayNoDefaultBind field.
type ConsulGatewayTLSConfig ¶
type ConsulGatewayTLSConfig struct {
Enabled *bool `json:"Enabled,omitempty"`
}
ConsulGatewayTLSConfig struct for ConsulGatewayTLSConfig
func NewConsulGatewayTLSConfig ¶
func NewConsulGatewayTLSConfig() *ConsulGatewayTLSConfig
NewConsulGatewayTLSConfig instantiates a new ConsulGatewayTLSConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulGatewayTLSConfigWithDefaults ¶
func NewConsulGatewayTLSConfigWithDefaults() *ConsulGatewayTLSConfig
NewConsulGatewayTLSConfigWithDefaults instantiates a new ConsulGatewayTLSConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulGatewayTLSConfig) GetEnabled ¶
func (o *ConsulGatewayTLSConfig) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ConsulGatewayTLSConfig) GetEnabledOk ¶
func (o *ConsulGatewayTLSConfig) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulGatewayTLSConfig) HasEnabled ¶
func (o *ConsulGatewayTLSConfig) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (ConsulGatewayTLSConfig) MarshalJSON ¶
func (o ConsulGatewayTLSConfig) MarshalJSON() ([]byte, error)
func (*ConsulGatewayTLSConfig) SetEnabled ¶
func (o *ConsulGatewayTLSConfig) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
type ConsulIngressConfigEntry ¶
type ConsulIngressConfigEntry struct { Listeners *[]ConsulIngressListener `json:"Listeners,omitempty"` TLS *ConsulGatewayTLSConfig `json:"TLS,omitempty"` }
ConsulIngressConfigEntry https://www.consul.io/docs/agent/config-entries/ingress-gateway#available-fields
func NewConsulIngressConfigEntry ¶
func NewConsulIngressConfigEntry() *ConsulIngressConfigEntry
NewConsulIngressConfigEntry instantiates a new ConsulIngressConfigEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulIngressConfigEntryWithDefaults ¶
func NewConsulIngressConfigEntryWithDefaults() *ConsulIngressConfigEntry
NewConsulIngressConfigEntryWithDefaults instantiates a new ConsulIngressConfigEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulIngressConfigEntry) GetListeners ¶
func (o *ConsulIngressConfigEntry) GetListeners() []ConsulIngressListener
GetListeners returns the Listeners field value if set, zero value otherwise.
func (*ConsulIngressConfigEntry) GetListenersOk ¶
func (o *ConsulIngressConfigEntry) GetListenersOk() (*[]ConsulIngressListener, bool)
GetListenersOk returns a tuple with the Listeners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressConfigEntry) GetTLS ¶
func (o *ConsulIngressConfigEntry) GetTLS() ConsulGatewayTLSConfig
GetTLS returns the TLS field value if set, zero value otherwise.
func (*ConsulIngressConfigEntry) GetTLSOk ¶
func (o *ConsulIngressConfigEntry) GetTLSOk() (*ConsulGatewayTLSConfig, bool)
GetTLSOk returns a tuple with the TLS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressConfigEntry) HasListeners ¶
func (o *ConsulIngressConfigEntry) HasListeners() bool
HasListeners returns a boolean if a field has been set.
func (*ConsulIngressConfigEntry) HasTLS ¶
func (o *ConsulIngressConfigEntry) HasTLS() bool
HasTLS returns a boolean if a field has been set.
func (ConsulIngressConfigEntry) MarshalJSON ¶
func (o ConsulIngressConfigEntry) MarshalJSON() ([]byte, error)
func (*ConsulIngressConfigEntry) SetListeners ¶
func (o *ConsulIngressConfigEntry) SetListeners(v []ConsulIngressListener)
SetListeners gets a reference to the given []ConsulIngressListener and assigns it to the Listeners field.
func (*ConsulIngressConfigEntry) SetTLS ¶
func (o *ConsulIngressConfigEntry) SetTLS(v ConsulGatewayTLSConfig)
SetTLS gets a reference to the given ConsulGatewayTLSConfig and assigns it to the TLS field.
type ConsulIngressListener ¶
type ConsulIngressListener struct { Port *int64 `json:"Port,omitempty"` Protocol *string `json:"Protocol,omitempty"` Services *[]ConsulIngressService `json:"Services,omitempty"` }
ConsulIngressListener ConsulIngressListener is used to configure a listener on a Consul Ingress Gateway.
func NewConsulIngressListener ¶
func NewConsulIngressListener() *ConsulIngressListener
NewConsulIngressListener instantiates a new ConsulIngressListener object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulIngressListenerWithDefaults ¶
func NewConsulIngressListenerWithDefaults() *ConsulIngressListener
NewConsulIngressListenerWithDefaults instantiates a new ConsulIngressListener object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulIngressListener) GetPort ¶
func (o *ConsulIngressListener) GetPort() int64
GetPort returns the Port field value if set, zero value otherwise.
func (*ConsulIngressListener) GetPortOk ¶
func (o *ConsulIngressListener) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressListener) GetProtocol ¶
func (o *ConsulIngressListener) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*ConsulIngressListener) GetProtocolOk ¶
func (o *ConsulIngressListener) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressListener) GetServices ¶
func (o *ConsulIngressListener) GetServices() []ConsulIngressService
GetServices returns the Services field value if set, zero value otherwise.
func (*ConsulIngressListener) GetServicesOk ¶
func (o *ConsulIngressListener) GetServicesOk() (*[]ConsulIngressService, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressListener) HasPort ¶
func (o *ConsulIngressListener) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*ConsulIngressListener) HasProtocol ¶
func (o *ConsulIngressListener) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*ConsulIngressListener) HasServices ¶
func (o *ConsulIngressListener) HasServices() bool
HasServices returns a boolean if a field has been set.
func (ConsulIngressListener) MarshalJSON ¶
func (o ConsulIngressListener) MarshalJSON() ([]byte, error)
func (*ConsulIngressListener) SetPort ¶
func (o *ConsulIngressListener) SetPort(v int64)
SetPort gets a reference to the given int64 and assigns it to the Port field.
func (*ConsulIngressListener) SetProtocol ¶
func (o *ConsulIngressListener) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*ConsulIngressListener) SetServices ¶
func (o *ConsulIngressListener) SetServices(v []ConsulIngressService)
SetServices gets a reference to the given []ConsulIngressService and assigns it to the Services field.
type ConsulIngressService ¶
type ConsulIngressService struct { Hosts *[]string `json:"Hosts,omitempty"` // Namespace is not yet supported. Namespace string Name *string `json:"Name,omitempty"` }
ConsulIngressService struct for ConsulIngressService
func NewConsulIngressService ¶
func NewConsulIngressService() *ConsulIngressService
NewConsulIngressService instantiates a new ConsulIngressService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulIngressServiceWithDefaults ¶
func NewConsulIngressServiceWithDefaults() *ConsulIngressService
NewConsulIngressServiceWithDefaults instantiates a new ConsulIngressService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulIngressService) GetHosts ¶
func (o *ConsulIngressService) GetHosts() []string
GetHosts returns the Hosts field value if set, zero value otherwise.
func (*ConsulIngressService) GetHostsOk ¶
func (o *ConsulIngressService) GetHostsOk() (*[]string, bool)
GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressService) GetName ¶
func (o *ConsulIngressService) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConsulIngressService) GetNameOk ¶
func (o *ConsulIngressService) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulIngressService) HasHosts ¶
func (o *ConsulIngressService) HasHosts() bool
HasHosts returns a boolean if a field has been set.
func (*ConsulIngressService) HasName ¶
func (o *ConsulIngressService) HasName() bool
HasName returns a boolean if a field has been set.
func (ConsulIngressService) MarshalJSON ¶
func (o ConsulIngressService) MarshalJSON() ([]byte, error)
func (*ConsulIngressService) SetHosts ¶
func (o *ConsulIngressService) SetHosts(v []string)
SetHosts gets a reference to the given []string and assigns it to the Hosts field.
func (*ConsulIngressService) SetName ¶
func (o *ConsulIngressService) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type ConsulLinkedService ¶
type ConsulLinkedService struct { CAFile *string `json:"CAFile,omitempty"` CertFile *string `json:"CertFile,omitempty"` KeyFile *string `json:"KeyFile,omitempty"` Name *string `json:"Name,omitempty"` SNI *string `json:"SNI,omitempty"` }
ConsulLinkedService struct for ConsulLinkedService
func NewConsulLinkedService ¶
func NewConsulLinkedService() *ConsulLinkedService
NewConsulLinkedService instantiates a new ConsulLinkedService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulLinkedServiceWithDefaults ¶
func NewConsulLinkedServiceWithDefaults() *ConsulLinkedService
NewConsulLinkedServiceWithDefaults instantiates a new ConsulLinkedService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulLinkedService) GetCAFile ¶
func (o *ConsulLinkedService) GetCAFile() string
GetCAFile returns the CAFile field value if set, zero value otherwise.
func (*ConsulLinkedService) GetCAFileOk ¶
func (o *ConsulLinkedService) GetCAFileOk() (*string, bool)
GetCAFileOk returns a tuple with the CAFile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulLinkedService) GetCertFile ¶
func (o *ConsulLinkedService) GetCertFile() string
GetCertFile returns the CertFile field value if set, zero value otherwise.
func (*ConsulLinkedService) GetCertFileOk ¶
func (o *ConsulLinkedService) GetCertFileOk() (*string, bool)
GetCertFileOk returns a tuple with the CertFile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulLinkedService) GetKeyFile ¶
func (o *ConsulLinkedService) GetKeyFile() string
GetKeyFile returns the KeyFile field value if set, zero value otherwise.
func (*ConsulLinkedService) GetKeyFileOk ¶
func (o *ConsulLinkedService) GetKeyFileOk() (*string, bool)
GetKeyFileOk returns a tuple with the KeyFile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulLinkedService) GetName ¶
func (o *ConsulLinkedService) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConsulLinkedService) GetNameOk ¶
func (o *ConsulLinkedService) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulLinkedService) GetSNI ¶
func (o *ConsulLinkedService) GetSNI() string
GetSNI returns the SNI field value if set, zero value otherwise.
func (*ConsulLinkedService) GetSNIOk ¶
func (o *ConsulLinkedService) GetSNIOk() (*string, bool)
GetSNIOk returns a tuple with the SNI field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulLinkedService) HasCAFile ¶
func (o *ConsulLinkedService) HasCAFile() bool
HasCAFile returns a boolean if a field has been set.
func (*ConsulLinkedService) HasCertFile ¶
func (o *ConsulLinkedService) HasCertFile() bool
HasCertFile returns a boolean if a field has been set.
func (*ConsulLinkedService) HasKeyFile ¶
func (o *ConsulLinkedService) HasKeyFile() bool
HasKeyFile returns a boolean if a field has been set.
func (*ConsulLinkedService) HasName ¶
func (o *ConsulLinkedService) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConsulLinkedService) HasSNI ¶
func (o *ConsulLinkedService) HasSNI() bool
HasSNI returns a boolean if a field has been set.
func (ConsulLinkedService) MarshalJSON ¶
func (o ConsulLinkedService) MarshalJSON() ([]byte, error)
func (*ConsulLinkedService) SetCAFile ¶
func (o *ConsulLinkedService) SetCAFile(v string)
SetCAFile gets a reference to the given string and assigns it to the CAFile field.
func (*ConsulLinkedService) SetCertFile ¶
func (o *ConsulLinkedService) SetCertFile(v string)
SetCertFile gets a reference to the given string and assigns it to the CertFile field.
func (*ConsulLinkedService) SetKeyFile ¶
func (o *ConsulLinkedService) SetKeyFile(v string)
SetKeyFile gets a reference to the given string and assigns it to the KeyFile field.
func (*ConsulLinkedService) SetName ¶
func (o *ConsulLinkedService) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ConsulLinkedService) SetSNI ¶
func (o *ConsulLinkedService) SetSNI(v string)
SetSNI gets a reference to the given string and assigns it to the SNI field.
type ConsulProxy ¶
type ConsulProxy struct { Config *map[string]map[string]interface{} `json:"Config,omitempty"` ExposeConfig *ConsulExposeConfig `json:"ExposeConfig,omitempty"` LocalServiceAddress *string `json:"LocalServiceAddress,omitempty"` LocalServicePort *int64 `json:"LocalServicePort,omitempty"` Upstreams *[]ConsulUpstream `json:"Upstreams,omitempty"` }
ConsulProxy struct for ConsulProxy
func NewConsulProxy ¶
func NewConsulProxy() *ConsulProxy
NewConsulProxy instantiates a new ConsulProxy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulProxyWithDefaults ¶
func NewConsulProxyWithDefaults() *ConsulProxy
NewConsulProxyWithDefaults instantiates a new ConsulProxy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulProxy) GetConfig ¶
func (o *ConsulProxy) GetConfig() map[string]map[string]interface{}
GetConfig returns the Config field value if set, zero value otherwise.
func (*ConsulProxy) GetConfigOk ¶
func (o *ConsulProxy) GetConfigOk() (*map[string]map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulProxy) GetExposeConfig ¶
func (o *ConsulProxy) GetExposeConfig() ConsulExposeConfig
GetExposeConfig returns the ExposeConfig field value if set, zero value otherwise.
func (*ConsulProxy) GetExposeConfigOk ¶
func (o *ConsulProxy) GetExposeConfigOk() (*ConsulExposeConfig, bool)
GetExposeConfigOk returns a tuple with the ExposeConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulProxy) GetLocalServiceAddress ¶
func (o *ConsulProxy) GetLocalServiceAddress() string
GetLocalServiceAddress returns the LocalServiceAddress field value if set, zero value otherwise.
func (*ConsulProxy) GetLocalServiceAddressOk ¶
func (o *ConsulProxy) GetLocalServiceAddressOk() (*string, bool)
GetLocalServiceAddressOk returns a tuple with the LocalServiceAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulProxy) GetLocalServicePort ¶
func (o *ConsulProxy) GetLocalServicePort() int64
GetLocalServicePort returns the LocalServicePort field value if set, zero value otherwise.
func (*ConsulProxy) GetLocalServicePortOk ¶
func (o *ConsulProxy) GetLocalServicePortOk() (*int64, bool)
GetLocalServicePortOk returns a tuple with the LocalServicePort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulProxy) GetUpstreams ¶
func (o *ConsulProxy) GetUpstreams() []ConsulUpstream
GetUpstreams returns the Upstreams field value if set, zero value otherwise.
func (*ConsulProxy) GetUpstreamsOk ¶
func (o *ConsulProxy) GetUpstreamsOk() (*[]ConsulUpstream, bool)
GetUpstreamsOk returns a tuple with the Upstreams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulProxy) HasConfig ¶
func (o *ConsulProxy) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*ConsulProxy) HasExposeConfig ¶
func (o *ConsulProxy) HasExposeConfig() bool
HasExposeConfig returns a boolean if a field has been set.
func (*ConsulProxy) HasLocalServiceAddress ¶
func (o *ConsulProxy) HasLocalServiceAddress() bool
HasLocalServiceAddress returns a boolean if a field has been set.
func (*ConsulProxy) HasLocalServicePort ¶
func (o *ConsulProxy) HasLocalServicePort() bool
HasLocalServicePort returns a boolean if a field has been set.
func (*ConsulProxy) HasUpstreams ¶
func (o *ConsulProxy) HasUpstreams() bool
HasUpstreams returns a boolean if a field has been set.
func (ConsulProxy) MarshalJSON ¶
func (o ConsulProxy) MarshalJSON() ([]byte, error)
func (*ConsulProxy) SetConfig ¶
func (o *ConsulProxy) SetConfig(v map[string]map[string]interface{})
SetConfig gets a reference to the given map[string]map[string]interface{} and assigns it to the Config field.
func (*ConsulProxy) SetExposeConfig ¶
func (o *ConsulProxy) SetExposeConfig(v ConsulExposeConfig)
SetExposeConfig gets a reference to the given ConsulExposeConfig and assigns it to the ExposeConfig field.
func (*ConsulProxy) SetLocalServiceAddress ¶
func (o *ConsulProxy) SetLocalServiceAddress(v string)
SetLocalServiceAddress gets a reference to the given string and assigns it to the LocalServiceAddress field.
func (*ConsulProxy) SetLocalServicePort ¶
func (o *ConsulProxy) SetLocalServicePort(v int64)
SetLocalServicePort gets a reference to the given int64 and assigns it to the LocalServicePort field.
func (*ConsulProxy) SetUpstreams ¶
func (o *ConsulProxy) SetUpstreams(v []ConsulUpstream)
SetUpstreams gets a reference to the given []ConsulUpstream and assigns it to the Upstreams field.
type ConsulSidecarService ¶
type ConsulSidecarService struct { DisableDefaultTCPCheck *bool `json:"DisableDefaultTCPCheck,omitempty"` Port *string `json:"Port,omitempty"` Proxy *ConsulProxy `json:"Proxy,omitempty"` Tags *[]string `json:"Tags,omitempty"` }
ConsulSidecarService ConsulSidecarService represents a Consul Connect SidecarService jobspec stanza.
func NewConsulSidecarService ¶
func NewConsulSidecarService() *ConsulSidecarService
NewConsulSidecarService instantiates a new ConsulSidecarService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulSidecarServiceWithDefaults ¶
func NewConsulSidecarServiceWithDefaults() *ConsulSidecarService
NewConsulSidecarServiceWithDefaults instantiates a new ConsulSidecarService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulSidecarService) GetDisableDefaultTCPCheck ¶
func (o *ConsulSidecarService) GetDisableDefaultTCPCheck() bool
GetDisableDefaultTCPCheck returns the DisableDefaultTCPCheck field value if set, zero value otherwise.
func (*ConsulSidecarService) GetDisableDefaultTCPCheckOk ¶
func (o *ConsulSidecarService) GetDisableDefaultTCPCheckOk() (*bool, bool)
GetDisableDefaultTCPCheckOk returns a tuple with the DisableDefaultTCPCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulSidecarService) GetPort ¶
func (o *ConsulSidecarService) GetPort() string
GetPort returns the Port field value if set, zero value otherwise.
func (*ConsulSidecarService) GetPortOk ¶
func (o *ConsulSidecarService) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulSidecarService) GetProxy ¶
func (o *ConsulSidecarService) GetProxy() ConsulProxy
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*ConsulSidecarService) GetProxyOk ¶
func (o *ConsulSidecarService) GetProxyOk() (*ConsulProxy, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulSidecarService) GetTags ¶
func (o *ConsulSidecarService) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ConsulSidecarService) GetTagsOk ¶
func (o *ConsulSidecarService) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulSidecarService) HasDisableDefaultTCPCheck ¶
func (o *ConsulSidecarService) HasDisableDefaultTCPCheck() bool
HasDisableDefaultTCPCheck returns a boolean if a field has been set.
func (*ConsulSidecarService) HasPort ¶
func (o *ConsulSidecarService) HasPort() bool
HasPort returns a boolean if a field has been set.
func (*ConsulSidecarService) HasProxy ¶
func (o *ConsulSidecarService) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (*ConsulSidecarService) HasTags ¶
func (o *ConsulSidecarService) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ConsulSidecarService) MarshalJSON ¶
func (o ConsulSidecarService) MarshalJSON() ([]byte, error)
func (*ConsulSidecarService) SetDisableDefaultTCPCheck ¶
func (o *ConsulSidecarService) SetDisableDefaultTCPCheck(v bool)
SetDisableDefaultTCPCheck gets a reference to the given bool and assigns it to the DisableDefaultTCPCheck field.
func (*ConsulSidecarService) SetPort ¶
func (o *ConsulSidecarService) SetPort(v string)
SetPort gets a reference to the given string and assigns it to the Port field.
func (*ConsulSidecarService) SetProxy ¶
func (o *ConsulSidecarService) SetProxy(v ConsulProxy)
SetProxy gets a reference to the given ConsulProxy and assigns it to the Proxy field.
func (*ConsulSidecarService) SetTags ¶
func (o *ConsulSidecarService) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
type ConsulTerminatingConfigEntry ¶
type ConsulTerminatingConfigEntry struct {
Services *[]ConsulLinkedService `json:"Services,omitempty"`
}
ConsulTerminatingConfigEntry https://www.consul.io/docs/agent/config-entries/terminating-gateway#available-fields
func NewConsulTerminatingConfigEntry ¶
func NewConsulTerminatingConfigEntry() *ConsulTerminatingConfigEntry
NewConsulTerminatingConfigEntry instantiates a new ConsulTerminatingConfigEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulTerminatingConfigEntryWithDefaults ¶
func NewConsulTerminatingConfigEntryWithDefaults() *ConsulTerminatingConfigEntry
NewConsulTerminatingConfigEntryWithDefaults instantiates a new ConsulTerminatingConfigEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulTerminatingConfigEntry) GetServices ¶
func (o *ConsulTerminatingConfigEntry) GetServices() []ConsulLinkedService
GetServices returns the Services field value if set, zero value otherwise.
func (*ConsulTerminatingConfigEntry) GetServicesOk ¶
func (o *ConsulTerminatingConfigEntry) GetServicesOk() (*[]ConsulLinkedService, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulTerminatingConfigEntry) HasServices ¶
func (o *ConsulTerminatingConfigEntry) HasServices() bool
HasServices returns a boolean if a field has been set.
func (ConsulTerminatingConfigEntry) MarshalJSON ¶
func (o ConsulTerminatingConfigEntry) MarshalJSON() ([]byte, error)
func (*ConsulTerminatingConfigEntry) SetServices ¶
func (o *ConsulTerminatingConfigEntry) SetServices(v []ConsulLinkedService)
SetServices gets a reference to the given []ConsulLinkedService and assigns it to the Services field.
type ConsulUpstream ¶
type ConsulUpstream struct { Datacenter *string `json:"Datacenter,omitempty"` DestinationName *string `json:"DestinationName,omitempty"` LocalBindAddress *string `json:"LocalBindAddress,omitempty"` LocalBindPort *int64 `json:"LocalBindPort,omitempty"` }
ConsulUpstream struct for ConsulUpstream
func NewConsulUpstream ¶
func NewConsulUpstream() *ConsulUpstream
NewConsulUpstream instantiates a new ConsulUpstream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsulUpstreamWithDefaults ¶
func NewConsulUpstreamWithDefaults() *ConsulUpstream
NewConsulUpstreamWithDefaults instantiates a new ConsulUpstream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsulUpstream) GetDatacenter ¶
func (o *ConsulUpstream) GetDatacenter() string
GetDatacenter returns the Datacenter field value if set, zero value otherwise.
func (*ConsulUpstream) GetDatacenterOk ¶
func (o *ConsulUpstream) GetDatacenterOk() (*string, bool)
GetDatacenterOk returns a tuple with the Datacenter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulUpstream) GetDestinationName ¶
func (o *ConsulUpstream) GetDestinationName() string
GetDestinationName returns the DestinationName field value if set, zero value otherwise.
func (*ConsulUpstream) GetDestinationNameOk ¶
func (o *ConsulUpstream) GetDestinationNameOk() (*string, bool)
GetDestinationNameOk returns a tuple with the DestinationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulUpstream) GetLocalBindAddress ¶
func (o *ConsulUpstream) GetLocalBindAddress() string
GetLocalBindAddress returns the LocalBindAddress field value if set, zero value otherwise.
func (*ConsulUpstream) GetLocalBindAddressOk ¶
func (o *ConsulUpstream) GetLocalBindAddressOk() (*string, bool)
GetLocalBindAddressOk returns a tuple with the LocalBindAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulUpstream) GetLocalBindPort ¶
func (o *ConsulUpstream) GetLocalBindPort() int64
GetLocalBindPort returns the LocalBindPort field value if set, zero value otherwise.
func (*ConsulUpstream) GetLocalBindPortOk ¶
func (o *ConsulUpstream) GetLocalBindPortOk() (*int64, bool)
GetLocalBindPortOk returns a tuple with the LocalBindPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsulUpstream) HasDatacenter ¶
func (o *ConsulUpstream) HasDatacenter() bool
HasDatacenter returns a boolean if a field has been set.
func (*ConsulUpstream) HasDestinationName ¶
func (o *ConsulUpstream) HasDestinationName() bool
HasDestinationName returns a boolean if a field has been set.
func (*ConsulUpstream) HasLocalBindAddress ¶
func (o *ConsulUpstream) HasLocalBindAddress() bool
HasLocalBindAddress returns a boolean if a field has been set.
func (*ConsulUpstream) HasLocalBindPort ¶
func (o *ConsulUpstream) HasLocalBindPort() bool
HasLocalBindPort returns a boolean if a field has been set.
func (ConsulUpstream) MarshalJSON ¶
func (o ConsulUpstream) MarshalJSON() ([]byte, error)
func (*ConsulUpstream) SetDatacenter ¶
func (o *ConsulUpstream) SetDatacenter(v string)
SetDatacenter gets a reference to the given string and assigns it to the Datacenter field.
func (*ConsulUpstream) SetDestinationName ¶
func (o *ConsulUpstream) SetDestinationName(v string)
SetDestinationName gets a reference to the given string and assigns it to the DestinationName field.
func (*ConsulUpstream) SetLocalBindAddress ¶
func (o *ConsulUpstream) SetLocalBindAddress(v string)
SetLocalBindAddress gets a reference to the given string and assigns it to the LocalBindAddress field.
func (*ConsulUpstream) SetLocalBindPort ¶
func (o *ConsulUpstream) SetLocalBindPort(v int64)
SetLocalBindPort gets a reference to the given int64 and assigns it to the LocalBindPort field.
type ContainerChangeResponseItem ¶
type ContainerChangeResponseItem struct { // Kind of change Kind int32 `json:"Kind"` // Path to file that has changed Path string `json:"Path"` }
ContainerChangeResponseItem ContainerChangeResponseItem change item in response to ContainerChanges operation
func NewContainerChangeResponseItem ¶
func NewContainerChangeResponseItem(kind int32, path string) *ContainerChangeResponseItem
NewContainerChangeResponseItem instantiates a new ContainerChangeResponseItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerChangeResponseItemWithDefaults ¶
func NewContainerChangeResponseItemWithDefaults() *ContainerChangeResponseItem
NewContainerChangeResponseItemWithDefaults instantiates a new ContainerChangeResponseItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerChangeResponseItem) GetKind ¶
func (o *ContainerChangeResponseItem) GetKind() int32
GetKind returns the Kind field value
func (*ContainerChangeResponseItem) GetKindOk ¶
func (o *ContainerChangeResponseItem) GetKindOk() (*int32, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ContainerChangeResponseItem) GetPath ¶
func (o *ContainerChangeResponseItem) GetPath() string
GetPath returns the Path field value
func (*ContainerChangeResponseItem) GetPathOk ¶
func (o *ContainerChangeResponseItem) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (ContainerChangeResponseItem) MarshalJSON ¶
func (o ContainerChangeResponseItem) MarshalJSON() ([]byte, error)
func (*ContainerChangeResponseItem) SetKind ¶
func (o *ContainerChangeResponseItem) SetKind(v int32)
SetKind sets field value
func (*ContainerChangeResponseItem) SetPath ¶
func (o *ContainerChangeResponseItem) SetPath(v string)
SetPath sets field value
type ContainerCreateCreatedBody ¶
type ContainerCreateCreatedBody struct { // The ID of the created container Id string `json:"Id"` // Warnings encountered when creating the container Warnings []string `json:"Warnings"` }
ContainerCreateCreatedBody ContainerCreateCreatedBody OK response to ContainerCreate operation
func NewContainerCreateCreatedBody ¶
func NewContainerCreateCreatedBody(id string, warnings []string) *ContainerCreateCreatedBody
NewContainerCreateCreatedBody instantiates a new ContainerCreateCreatedBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerCreateCreatedBodyWithDefaults ¶
func NewContainerCreateCreatedBodyWithDefaults() *ContainerCreateCreatedBody
NewContainerCreateCreatedBodyWithDefaults instantiates a new ContainerCreateCreatedBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerCreateCreatedBody) GetId ¶
func (o *ContainerCreateCreatedBody) GetId() string
GetId returns the Id field value
func (*ContainerCreateCreatedBody) GetIdOk ¶
func (o *ContainerCreateCreatedBody) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ContainerCreateCreatedBody) GetWarnings ¶
func (o *ContainerCreateCreatedBody) GetWarnings() []string
GetWarnings returns the Warnings field value
func (*ContainerCreateCreatedBody) GetWarningsOk ¶
func (o *ContainerCreateCreatedBody) GetWarningsOk() (*[]string, bool)
GetWarningsOk returns a tuple with the Warnings field value and a boolean to check if the value has been set.
func (ContainerCreateCreatedBody) MarshalJSON ¶
func (o ContainerCreateCreatedBody) MarshalJSON() ([]byte, error)
func (*ContainerCreateCreatedBody) SetId ¶
func (o *ContainerCreateCreatedBody) SetId(v string)
SetId sets field value
func (*ContainerCreateCreatedBody) SetWarnings ¶
func (o *ContainerCreateCreatedBody) SetWarnings(v []string)
SetWarnings sets field value
type ContainerTopOKBody ¶
type ContainerTopOKBody struct { // Each process running in the container, where each is process is an array of values corresponding to the titles Processes [][]string `json:"Processes"` // The ps column titles Titles []string `json:"Titles"` }
ContainerTopOKBody ContainerTopOKBody OK response to ContainerTop operation
func NewContainerTopOKBody ¶
func NewContainerTopOKBody(processes [][]string, titles []string) *ContainerTopOKBody
NewContainerTopOKBody instantiates a new ContainerTopOKBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerTopOKBodyWithDefaults ¶
func NewContainerTopOKBodyWithDefaults() *ContainerTopOKBody
NewContainerTopOKBodyWithDefaults instantiates a new ContainerTopOKBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerTopOKBody) GetProcesses ¶
func (o *ContainerTopOKBody) GetProcesses() [][]string
GetProcesses returns the Processes field value
func (*ContainerTopOKBody) GetProcessesOk ¶
func (o *ContainerTopOKBody) GetProcessesOk() (*[][]string, bool)
GetProcessesOk returns a tuple with the Processes field value and a boolean to check if the value has been set.
func (*ContainerTopOKBody) GetTitles ¶
func (o *ContainerTopOKBody) GetTitles() []string
GetTitles returns the Titles field value
func (*ContainerTopOKBody) GetTitlesOk ¶
func (o *ContainerTopOKBody) GetTitlesOk() (*[]string, bool)
GetTitlesOk returns a tuple with the Titles field value and a boolean to check if the value has been set.
func (ContainerTopOKBody) MarshalJSON ¶
func (o ContainerTopOKBody) MarshalJSON() ([]byte, error)
func (*ContainerTopOKBody) SetProcesses ¶
func (o *ContainerTopOKBody) SetProcesses(v [][]string)
SetProcesses sets field value
func (*ContainerTopOKBody) SetTitles ¶
func (o *ContainerTopOKBody) SetTitles(v []string)
SetTitles sets field value
type ContainerUpdateOKBody ¶
type ContainerUpdateOKBody struct { // warnings Warnings []string `json:"Warnings"` }
ContainerUpdateOKBody ContainerUpdateOKBody OK response to ContainerUpdate operation
func NewContainerUpdateOKBody ¶
func NewContainerUpdateOKBody(warnings []string) *ContainerUpdateOKBody
NewContainerUpdateOKBody instantiates a new ContainerUpdateOKBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerUpdateOKBodyWithDefaults ¶
func NewContainerUpdateOKBodyWithDefaults() *ContainerUpdateOKBody
NewContainerUpdateOKBodyWithDefaults instantiates a new ContainerUpdateOKBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerUpdateOKBody) GetWarnings ¶
func (o *ContainerUpdateOKBody) GetWarnings() []string
GetWarnings returns the Warnings field value
func (*ContainerUpdateOKBody) GetWarningsOk ¶
func (o *ContainerUpdateOKBody) GetWarningsOk() (*[]string, bool)
GetWarningsOk returns a tuple with the Warnings field value and a boolean to check if the value has been set.
func (ContainerUpdateOKBody) MarshalJSON ¶
func (o ContainerUpdateOKBody) MarshalJSON() ([]byte, error)
func (*ContainerUpdateOKBody) SetWarnings ¶
func (o *ContainerUpdateOKBody) SetWarnings(v []string)
SetWarnings sets field value
type ContainerWaitOKBody ¶
type ContainerWaitOKBody struct { Error ContainerWaitOKBodyError `json:"Error"` // Exit code of the container StatusCode int64 `json:"StatusCode"` }
ContainerWaitOKBody ContainerWaitOKBody OK response to ContainerWait operation
func NewContainerWaitOKBody ¶
func NewContainerWaitOKBody(error_ ContainerWaitOKBodyError, statusCode int64) *ContainerWaitOKBody
NewContainerWaitOKBody instantiates a new ContainerWaitOKBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerWaitOKBodyWithDefaults ¶
func NewContainerWaitOKBodyWithDefaults() *ContainerWaitOKBody
NewContainerWaitOKBodyWithDefaults instantiates a new ContainerWaitOKBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerWaitOKBody) GetError ¶
func (o *ContainerWaitOKBody) GetError() ContainerWaitOKBodyError
GetError returns the Error field value
func (*ContainerWaitOKBody) GetErrorOk ¶
func (o *ContainerWaitOKBody) GetErrorOk() (*ContainerWaitOKBodyError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ContainerWaitOKBody) GetStatusCode ¶
func (o *ContainerWaitOKBody) GetStatusCode() int64
GetStatusCode returns the StatusCode field value
func (*ContainerWaitOKBody) GetStatusCodeOk ¶
func (o *ContainerWaitOKBody) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.
func (ContainerWaitOKBody) MarshalJSON ¶
func (o ContainerWaitOKBody) MarshalJSON() ([]byte, error)
func (*ContainerWaitOKBody) SetError ¶
func (o *ContainerWaitOKBody) SetError(v ContainerWaitOKBodyError)
SetError sets field value
func (*ContainerWaitOKBody) SetStatusCode ¶
func (o *ContainerWaitOKBody) SetStatusCode(v int64)
SetStatusCode sets field value
type ContainerWaitOKBodyError ¶
type ContainerWaitOKBodyError struct { // Details of an error Message *string `json:"Message,omitempty"` }
ContainerWaitOKBodyError ContainerWaitOKBodyError container waiting error, if any
func NewContainerWaitOKBodyError ¶
func NewContainerWaitOKBodyError() *ContainerWaitOKBodyError
NewContainerWaitOKBodyError instantiates a new ContainerWaitOKBodyError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerWaitOKBodyErrorWithDefaults ¶
func NewContainerWaitOKBodyErrorWithDefaults() *ContainerWaitOKBodyError
NewContainerWaitOKBodyErrorWithDefaults instantiates a new ContainerWaitOKBodyError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerWaitOKBodyError) GetMessage ¶
func (o *ContainerWaitOKBodyError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ContainerWaitOKBodyError) GetMessageOk ¶
func (o *ContainerWaitOKBodyError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContainerWaitOKBodyError) HasMessage ¶
func (o *ContainerWaitOKBodyError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ContainerWaitOKBodyError) MarshalJSON ¶
func (o ContainerWaitOKBodyError) MarshalJSON() ([]byte, error)
func (*ContainerWaitOKBodyError) SetMessage ¶
func (o *ContainerWaitOKBodyError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type DNSConfig ¶
type DNSConfig struct { Options *[]string `json:"Options,omitempty"` Searches *[]string `json:"Searches,omitempty"` Servers *[]string `json:"Servers,omitempty"` }
DNSConfig struct for DNSConfig
func NewDNSConfig ¶
func NewDNSConfig() *DNSConfig
NewDNSConfig instantiates a new DNSConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDNSConfigWithDefaults ¶
func NewDNSConfigWithDefaults() *DNSConfig
NewDNSConfigWithDefaults instantiates a new DNSConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DNSConfig) GetOptions ¶
GetOptions returns the Options field value if set, zero value otherwise.
func (*DNSConfig) GetOptionsOk ¶
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DNSConfig) GetSearches ¶
GetSearches returns the Searches field value if set, zero value otherwise.
func (*DNSConfig) GetSearchesOk ¶
GetSearchesOk returns a tuple with the Searches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DNSConfig) GetServers ¶
GetServers returns the Servers field value if set, zero value otherwise.
func (*DNSConfig) GetServersOk ¶
GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DNSConfig) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (*DNSConfig) HasSearches ¶
HasSearches returns a boolean if a field has been set.
func (*DNSConfig) HasServers ¶
HasServers returns a boolean if a field has been set.
func (DNSConfig) MarshalJSON ¶
func (*DNSConfig) SetOptions ¶
SetOptions gets a reference to the given []string and assigns it to the Options field.
func (*DNSConfig) SetSearches ¶
SetSearches gets a reference to the given []string and assigns it to the Searches field.
func (*DNSConfig) SetServers ¶
SetServers gets a reference to the given []string and assigns it to the Servers field.
type DeregisterOptions ¶
type DeregisterOptions struct { // If Global is set to true, all regions of a multiregion job will be stopped. Global *bool `json:"Global,omitempty"` // If Purge is set to true, the job is deregistered and purged from the system versus still being queryable and eventually GC'ed from the system. Most callers should not specify purge. Purge *bool `json:"Purge,omitempty"` }
DeregisterOptions DeregisterOptions is used to pass through job deregistration parameters
func NewDeregisterOptions ¶
func NewDeregisterOptions() *DeregisterOptions
NewDeregisterOptions instantiates a new DeregisterOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeregisterOptionsWithDefaults ¶
func NewDeregisterOptionsWithDefaults() *DeregisterOptions
NewDeregisterOptionsWithDefaults instantiates a new DeregisterOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeregisterOptions) GetGlobal ¶
func (o *DeregisterOptions) GetGlobal() bool
GetGlobal returns the Global field value if set, zero value otherwise.
func (*DeregisterOptions) GetGlobalOk ¶
func (o *DeregisterOptions) GetGlobalOk() (*bool, bool)
GetGlobalOk returns a tuple with the Global field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeregisterOptions) GetPurge ¶
func (o *DeregisterOptions) GetPurge() bool
GetPurge returns the Purge field value if set, zero value otherwise.
func (*DeregisterOptions) GetPurgeOk ¶
func (o *DeregisterOptions) GetPurgeOk() (*bool, bool)
GetPurgeOk returns a tuple with the Purge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeregisterOptions) HasGlobal ¶
func (o *DeregisterOptions) HasGlobal() bool
HasGlobal returns a boolean if a field has been set.
func (*DeregisterOptions) HasPurge ¶
func (o *DeregisterOptions) HasPurge() bool
HasPurge returns a boolean if a field has been set.
func (DeregisterOptions) MarshalJSON ¶
func (o DeregisterOptions) MarshalJSON() ([]byte, error)
func (*DeregisterOptions) SetGlobal ¶
func (o *DeregisterOptions) SetGlobal(v bool)
SetGlobal gets a reference to the given bool and assigns it to the Global field.
func (*DeregisterOptions) SetPurge ¶
func (o *DeregisterOptions) SetPurge(v bool)
SetPurge gets a reference to the given bool and assigns it to the Purge field.
type DesiredTransition ¶
type DesiredTransition struct { // ForceReschedule is used to indicate that this allocation must be rescheduled. This field is only used when operators want to force a placement even if a failed allocation is not eligible to be rescheduled ForceReschedule *bool `json:"ForceReschedule,omitempty"` // Migrate is used to indicate that this allocation should be stopped and migrated to another node. Migrate *bool `json:"Migrate,omitempty"` // Reschedule is used to indicate that this allocation is eligible to be rescheduled. Most allocations are automatically eligible for rescheduling, so this field is only required when an allocation is not automatically eligible. An example is an allocation that is part of a deployment. Reschedule *bool `json:"Reschedule,omitempty"` }
DesiredTransition DesiredTransition is used to mark an allocation as having a desired state transition. This information can be used by the scheduler to make the correct decision.
func NewDesiredTransition ¶
func NewDesiredTransition() *DesiredTransition
NewDesiredTransition instantiates a new DesiredTransition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDesiredTransitionWithDefaults ¶
func NewDesiredTransitionWithDefaults() *DesiredTransition
NewDesiredTransitionWithDefaults instantiates a new DesiredTransition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DesiredTransition) GetForceReschedule ¶
func (o *DesiredTransition) GetForceReschedule() bool
GetForceReschedule returns the ForceReschedule field value if set, zero value otherwise.
func (*DesiredTransition) GetForceRescheduleOk ¶
func (o *DesiredTransition) GetForceRescheduleOk() (*bool, bool)
GetForceRescheduleOk returns a tuple with the ForceReschedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredTransition) GetMigrate ¶
func (o *DesiredTransition) GetMigrate() bool
GetMigrate returns the Migrate field value if set, zero value otherwise.
func (*DesiredTransition) GetMigrateOk ¶
func (o *DesiredTransition) GetMigrateOk() (*bool, bool)
GetMigrateOk returns a tuple with the Migrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredTransition) GetReschedule ¶
func (o *DesiredTransition) GetReschedule() bool
GetReschedule returns the Reschedule field value if set, zero value otherwise.
func (*DesiredTransition) GetRescheduleOk ¶
func (o *DesiredTransition) GetRescheduleOk() (*bool, bool)
GetRescheduleOk returns a tuple with the Reschedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredTransition) HasForceReschedule ¶
func (o *DesiredTransition) HasForceReschedule() bool
HasForceReschedule returns a boolean if a field has been set.
func (*DesiredTransition) HasMigrate ¶
func (o *DesiredTransition) HasMigrate() bool
HasMigrate returns a boolean if a field has been set.
func (*DesiredTransition) HasReschedule ¶
func (o *DesiredTransition) HasReschedule() bool
HasReschedule returns a boolean if a field has been set.
func (DesiredTransition) MarshalJSON ¶
func (o DesiredTransition) MarshalJSON() ([]byte, error)
func (*DesiredTransition) SetForceReschedule ¶
func (o *DesiredTransition) SetForceReschedule(v bool)
SetForceReschedule gets a reference to the given bool and assigns it to the ForceReschedule field.
func (*DesiredTransition) SetMigrate ¶
func (o *DesiredTransition) SetMigrate(v bool)
SetMigrate gets a reference to the given bool and assigns it to the Migrate field.
func (*DesiredTransition) SetReschedule ¶
func (o *DesiredTransition) SetReschedule(v bool)
SetReschedule gets a reference to the given bool and assigns it to the Reschedule field.
type DesiredUpdates ¶
type DesiredUpdates struct { Canary *int32 `json:"Canary,omitempty"` DestructiveUpdate *int32 `json:"DestructiveUpdate,omitempty"` Ignore *int32 `json:"Ignore,omitempty"` InPlaceUpdate *int32 `json:"InPlaceUpdate,omitempty"` Migrate *int32 `json:"Migrate,omitempty"` Place *int32 `json:"Place,omitempty"` Preemptions *int32 `json:"Preemptions,omitempty"` Stop *int32 `json:"Stop,omitempty"` }
DesiredUpdates DesiredUpdates contains the desired change set for a TaskGroup update operation
func NewDesiredUpdates ¶
func NewDesiredUpdates() *DesiredUpdates
NewDesiredUpdates instantiates a new DesiredUpdates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDesiredUpdatesWithDefaults ¶
func NewDesiredUpdatesWithDefaults() *DesiredUpdates
NewDesiredUpdatesWithDefaults instantiates a new DesiredUpdates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DesiredUpdates) GetCanary ¶
func (o *DesiredUpdates) GetCanary() int32
GetCanary returns the Canary field value if set, zero value otherwise.
func (*DesiredUpdates) GetCanaryOk ¶
func (o *DesiredUpdates) GetCanaryOk() (*int32, bool)
GetCanaryOk returns a tuple with the Canary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetDestructiveUpdate ¶
func (o *DesiredUpdates) GetDestructiveUpdate() int32
GetDestructiveUpdate returns the DestructiveUpdate field value if set, zero value otherwise.
func (*DesiredUpdates) GetDestructiveUpdateOk ¶
func (o *DesiredUpdates) GetDestructiveUpdateOk() (*int32, bool)
GetDestructiveUpdateOk returns a tuple with the DestructiveUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetIgnore ¶
func (o *DesiredUpdates) GetIgnore() int32
GetIgnore returns the Ignore field value if set, zero value otherwise.
func (*DesiredUpdates) GetIgnoreOk ¶
func (o *DesiredUpdates) GetIgnoreOk() (*int32, bool)
GetIgnoreOk returns a tuple with the Ignore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetInPlaceUpdate ¶
func (o *DesiredUpdates) GetInPlaceUpdate() int32
GetInPlaceUpdate returns the InPlaceUpdate field value if set, zero value otherwise.
func (*DesiredUpdates) GetInPlaceUpdateOk ¶
func (o *DesiredUpdates) GetInPlaceUpdateOk() (*int32, bool)
GetInPlaceUpdateOk returns a tuple with the InPlaceUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetMigrate ¶
func (o *DesiredUpdates) GetMigrate() int32
GetMigrate returns the Migrate field value if set, zero value otherwise.
func (*DesiredUpdates) GetMigrateOk ¶
func (o *DesiredUpdates) GetMigrateOk() (*int32, bool)
GetMigrateOk returns a tuple with the Migrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetPlace ¶
func (o *DesiredUpdates) GetPlace() int32
GetPlace returns the Place field value if set, zero value otherwise.
func (*DesiredUpdates) GetPlaceOk ¶
func (o *DesiredUpdates) GetPlaceOk() (*int32, bool)
GetPlaceOk returns a tuple with the Place field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetPreemptions ¶
func (o *DesiredUpdates) GetPreemptions() int32
GetPreemptions returns the Preemptions field value if set, zero value otherwise.
func (*DesiredUpdates) GetPreemptionsOk ¶
func (o *DesiredUpdates) GetPreemptionsOk() (*int32, bool)
GetPreemptionsOk returns a tuple with the Preemptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) GetStop ¶
func (o *DesiredUpdates) GetStop() int32
GetStop returns the Stop field value if set, zero value otherwise.
func (*DesiredUpdates) GetStopOk ¶
func (o *DesiredUpdates) GetStopOk() (*int32, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DesiredUpdates) HasCanary ¶
func (o *DesiredUpdates) HasCanary() bool
HasCanary returns a boolean if a field has been set.
func (*DesiredUpdates) HasDestructiveUpdate ¶
func (o *DesiredUpdates) HasDestructiveUpdate() bool
HasDestructiveUpdate returns a boolean if a field has been set.
func (*DesiredUpdates) HasIgnore ¶
func (o *DesiredUpdates) HasIgnore() bool
HasIgnore returns a boolean if a field has been set.
func (*DesiredUpdates) HasInPlaceUpdate ¶
func (o *DesiredUpdates) HasInPlaceUpdate() bool
HasInPlaceUpdate returns a boolean if a field has been set.
func (*DesiredUpdates) HasMigrate ¶
func (o *DesiredUpdates) HasMigrate() bool
HasMigrate returns a boolean if a field has been set.
func (*DesiredUpdates) HasPlace ¶
func (o *DesiredUpdates) HasPlace() bool
HasPlace returns a boolean if a field has been set.
func (*DesiredUpdates) HasPreemptions ¶
func (o *DesiredUpdates) HasPreemptions() bool
HasPreemptions returns a boolean if a field has been set.
func (*DesiredUpdates) HasStop ¶
func (o *DesiredUpdates) HasStop() bool
HasStop returns a boolean if a field has been set.
func (DesiredUpdates) MarshalJSON ¶
func (o DesiredUpdates) MarshalJSON() ([]byte, error)
func (*DesiredUpdates) SetCanary ¶
func (o *DesiredUpdates) SetCanary(v int32)
SetCanary gets a reference to the given int32 and assigns it to the Canary field.
func (*DesiredUpdates) SetDestructiveUpdate ¶
func (o *DesiredUpdates) SetDestructiveUpdate(v int32)
SetDestructiveUpdate gets a reference to the given int32 and assigns it to the DestructiveUpdate field.
func (*DesiredUpdates) SetIgnore ¶
func (o *DesiredUpdates) SetIgnore(v int32)
SetIgnore gets a reference to the given int32 and assigns it to the Ignore field.
func (*DesiredUpdates) SetInPlaceUpdate ¶
func (o *DesiredUpdates) SetInPlaceUpdate(v int32)
SetInPlaceUpdate gets a reference to the given int32 and assigns it to the InPlaceUpdate field.
func (*DesiredUpdates) SetMigrate ¶
func (o *DesiredUpdates) SetMigrate(v int32)
SetMigrate gets a reference to the given int32 and assigns it to the Migrate field.
func (*DesiredUpdates) SetPlace ¶
func (o *DesiredUpdates) SetPlace(v int32)
SetPlace gets a reference to the given int32 and assigns it to the Place field.
func (*DesiredUpdates) SetPreemptions ¶
func (o *DesiredUpdates) SetPreemptions(v int32)
SetPreemptions gets a reference to the given int32 and assigns it to the Preemptions field.
func (*DesiredUpdates) SetStop ¶
func (o *DesiredUpdates) SetStop(v int32)
SetStop gets a reference to the given int32 and assigns it to the Stop field.
type DispatchPayloadConfig ¶
type DispatchPayloadConfig struct {
File *string `json:"File,omitempty"`
}
DispatchPayloadConfig DispatchPayloadConfig configures how a task gets its input from a job dispatch
func NewDispatchPayloadConfig ¶
func NewDispatchPayloadConfig() *DispatchPayloadConfig
NewDispatchPayloadConfig instantiates a new DispatchPayloadConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDispatchPayloadConfigWithDefaults ¶
func NewDispatchPayloadConfigWithDefaults() *DispatchPayloadConfig
NewDispatchPayloadConfigWithDefaults instantiates a new DispatchPayloadConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DispatchPayloadConfig) GetFile ¶
func (o *DispatchPayloadConfig) GetFile() string
GetFile returns the File field value if set, zero value otherwise.
func (*DispatchPayloadConfig) GetFileOk ¶
func (o *DispatchPayloadConfig) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DispatchPayloadConfig) HasFile ¶
func (o *DispatchPayloadConfig) HasFile() bool
HasFile returns a boolean if a field has been set.
func (DispatchPayloadConfig) MarshalJSON ¶
func (o DispatchPayloadConfig) MarshalJSON() ([]byte, error)
func (*DispatchPayloadConfig) SetFile ¶
func (o *DispatchPayloadConfig) SetFile(v string)
SetFile gets a reference to the given string and assigns it to the File field.
type EphemeralDisk ¶
type EphemeralDisk struct { Migrate *bool `json:"Migrate,omitempty"` SizeMB *int64 `json:"SizeMB,omitempty"` Sticky *bool `json:"Sticky,omitempty"` }
EphemeralDisk EphemeralDisk is an ephemeral disk object
func NewEphemeralDisk ¶
func NewEphemeralDisk() *EphemeralDisk
NewEphemeralDisk instantiates a new EphemeralDisk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEphemeralDiskWithDefaults ¶
func NewEphemeralDiskWithDefaults() *EphemeralDisk
NewEphemeralDiskWithDefaults instantiates a new EphemeralDisk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EphemeralDisk) GetMigrate ¶
func (o *EphemeralDisk) GetMigrate() bool
GetMigrate returns the Migrate field value if set, zero value otherwise.
func (*EphemeralDisk) GetMigrateOk ¶
func (o *EphemeralDisk) GetMigrateOk() (*bool, bool)
GetMigrateOk returns a tuple with the Migrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EphemeralDisk) GetSizeMB ¶
func (o *EphemeralDisk) GetSizeMB() int64
GetSizeMB returns the SizeMB field value if set, zero value otherwise.
func (*EphemeralDisk) GetSizeMBOk ¶
func (o *EphemeralDisk) GetSizeMBOk() (*int64, bool)
GetSizeMBOk returns a tuple with the SizeMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EphemeralDisk) GetSticky ¶
func (o *EphemeralDisk) GetSticky() bool
GetSticky returns the Sticky field value if set, zero value otherwise.
func (*EphemeralDisk) GetStickyOk ¶
func (o *EphemeralDisk) GetStickyOk() (*bool, bool)
GetStickyOk returns a tuple with the Sticky field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EphemeralDisk) HasMigrate ¶
func (o *EphemeralDisk) HasMigrate() bool
HasMigrate returns a boolean if a field has been set.
func (*EphemeralDisk) HasSizeMB ¶
func (o *EphemeralDisk) HasSizeMB() bool
HasSizeMB returns a boolean if a field has been set.
func (*EphemeralDisk) HasSticky ¶
func (o *EphemeralDisk) HasSticky() bool
HasSticky returns a boolean if a field has been set.
func (EphemeralDisk) MarshalJSON ¶
func (o EphemeralDisk) MarshalJSON() ([]byte, error)
func (*EphemeralDisk) SetMigrate ¶
func (o *EphemeralDisk) SetMigrate(v bool)
SetMigrate gets a reference to the given bool and assigns it to the Migrate field.
func (*EphemeralDisk) SetSizeMB ¶
func (o *EphemeralDisk) SetSizeMB(v int64)
SetSizeMB gets a reference to the given int64 and assigns it to the SizeMB field.
func (*EphemeralDisk) SetSticky ¶
func (o *EphemeralDisk) SetSticky(v bool)
SetSticky gets a reference to the given bool and assigns it to the Sticky field.
type ErrorResponse ¶
type ErrorResponse struct { // The error message. Message string `json:"message"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(message string) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
type EvalOptions ¶
type EvalOptions struct {
ForceReschedule *bool `json:"ForceReschedule,omitempty"`
}
EvalOptions EvalOptions is used to encapsulate options when forcing a job evaluation
func NewEvalOptions ¶
func NewEvalOptions() *EvalOptions
NewEvalOptions instantiates a new EvalOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEvalOptionsWithDefaults ¶
func NewEvalOptionsWithDefaults() *EvalOptions
NewEvalOptionsWithDefaults instantiates a new EvalOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EvalOptions) GetForceReschedule ¶
func (o *EvalOptions) GetForceReschedule() bool
GetForceReschedule returns the ForceReschedule field value if set, zero value otherwise.
func (*EvalOptions) GetForceRescheduleOk ¶
func (o *EvalOptions) GetForceRescheduleOk() (*bool, bool)
GetForceRescheduleOk returns a tuple with the ForceReschedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EvalOptions) HasForceReschedule ¶
func (o *EvalOptions) HasForceReschedule() bool
HasForceReschedule returns a boolean if a field has been set.
func (EvalOptions) MarshalJSON ¶
func (o EvalOptions) MarshalJSON() ([]byte, error)
func (*EvalOptions) SetForceReschedule ¶
func (o *EvalOptions) SetForceReschedule(v bool)
SetForceReschedule gets a reference to the given bool and assigns it to the ForceReschedule field.
type Evaluation ¶
type Evaluation struct { AnnotatePlan *bool `json:"AnnotatePlan,omitempty"` BlockedEval *string `json:"BlockedEval,omitempty"` ClassEligibility *map[string]bool `json:"ClassEligibility,omitempty"` CreateIndex *int32 `json:"CreateIndex,omitempty"` CreateTime *int64 `json:"CreateTime,omitempty"` DeploymentID *string `json:"DeploymentID,omitempty"` EscapedComputedClass *bool `json:"EscapedComputedClass,omitempty"` FailedTGAllocs *map[string]AllocationMetric `json:"FailedTGAllocs,omitempty"` ID *string `json:"ID,omitempty"` JobID *string `json:"JobID,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` ModifyTime *int64 `json:"ModifyTime,omitempty"` Namespace *string `json:"Namespace,omitempty"` NextEval *string `json:"NextEval,omitempty"` NodeID *string `json:"NodeID,omitempty"` NodeModifyIndex *int32 `json:"NodeModifyIndex,omitempty"` PreviousEval *string `json:"PreviousEval,omitempty"` Priority *int64 `json:"Priority,omitempty"` QueuedAllocations *map[string]int64 `json:"QueuedAllocations,omitempty"` QuotaLimitReached *string `json:"QuotaLimitReached,omitempty"` SnapshotIndex *int32 `json:"SnapshotIndex,omitempty"` Status *string `json:"Status,omitempty"` StatusDescription *string `json:"StatusDescription,omitempty"` TriggeredBy *string `json:"TriggeredBy,omitempty"` Type *string `json:"Type,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Wait *int64 `json:"Wait,omitempty"` WaitUntil *time.Time `json:"WaitUntil,omitempty"` }
Evaluation struct for Evaluation
func NewEvaluation ¶
func NewEvaluation() *Evaluation
NewEvaluation instantiates a new Evaluation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEvaluationWithDefaults ¶
func NewEvaluationWithDefaults() *Evaluation
NewEvaluationWithDefaults instantiates a new Evaluation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Evaluation) GetAnnotatePlan ¶
func (o *Evaluation) GetAnnotatePlan() bool
GetAnnotatePlan returns the AnnotatePlan field value if set, zero value otherwise.
func (*Evaluation) GetAnnotatePlanOk ¶
func (o *Evaluation) GetAnnotatePlanOk() (*bool, bool)
GetAnnotatePlanOk returns a tuple with the AnnotatePlan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetBlockedEval ¶
func (o *Evaluation) GetBlockedEval() string
GetBlockedEval returns the BlockedEval field value if set, zero value otherwise.
func (*Evaluation) GetBlockedEvalOk ¶
func (o *Evaluation) GetBlockedEvalOk() (*string, bool)
GetBlockedEvalOk returns a tuple with the BlockedEval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetClassEligibility ¶
func (o *Evaluation) GetClassEligibility() map[string]bool
GetClassEligibility returns the ClassEligibility field value if set, zero value otherwise.
func (*Evaluation) GetClassEligibilityOk ¶
func (o *Evaluation) GetClassEligibilityOk() (*map[string]bool, bool)
GetClassEligibilityOk returns a tuple with the ClassEligibility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetCreateIndex ¶
func (o *Evaluation) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*Evaluation) GetCreateIndexOk ¶
func (o *Evaluation) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetCreateTime ¶
func (o *Evaluation) GetCreateTime() int64
GetCreateTime returns the CreateTime field value if set, zero value otherwise.
func (*Evaluation) GetCreateTimeOk ¶
func (o *Evaluation) GetCreateTimeOk() (*int64, bool)
GetCreateTimeOk returns a tuple with the CreateTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetDeploymentID ¶
func (o *Evaluation) GetDeploymentID() string
GetDeploymentID returns the DeploymentID field value if set, zero value otherwise.
func (*Evaluation) GetDeploymentIDOk ¶
func (o *Evaluation) GetDeploymentIDOk() (*string, bool)
GetDeploymentIDOk returns a tuple with the DeploymentID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetEscapedComputedClass ¶
func (o *Evaluation) GetEscapedComputedClass() bool
GetEscapedComputedClass returns the EscapedComputedClass field value if set, zero value otherwise.
func (*Evaluation) GetEscapedComputedClassOk ¶
func (o *Evaluation) GetEscapedComputedClassOk() (*bool, bool)
GetEscapedComputedClassOk returns a tuple with the EscapedComputedClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetFailedTGAllocs ¶
func (o *Evaluation) GetFailedTGAllocs() map[string]AllocationMetric
GetFailedTGAllocs returns the FailedTGAllocs field value if set, zero value otherwise.
func (*Evaluation) GetFailedTGAllocsOk ¶
func (o *Evaluation) GetFailedTGAllocsOk() (*map[string]AllocationMetric, bool)
GetFailedTGAllocsOk returns a tuple with the FailedTGAllocs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetID ¶
func (o *Evaluation) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*Evaluation) GetIDOk ¶
func (o *Evaluation) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetJobID ¶
func (o *Evaluation) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*Evaluation) GetJobIDOk ¶
func (o *Evaluation) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetJobModifyIndex ¶
func (o *Evaluation) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*Evaluation) GetJobModifyIndexOk ¶
func (o *Evaluation) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetModifyIndex ¶
func (o *Evaluation) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*Evaluation) GetModifyIndexOk ¶
func (o *Evaluation) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetModifyTime ¶
func (o *Evaluation) GetModifyTime() int64
GetModifyTime returns the ModifyTime field value if set, zero value otherwise.
func (*Evaluation) GetModifyTimeOk ¶
func (o *Evaluation) GetModifyTimeOk() (*int64, bool)
GetModifyTimeOk returns a tuple with the ModifyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetNamespace ¶
func (o *Evaluation) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Evaluation) GetNamespaceOk ¶
func (o *Evaluation) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetNextEval ¶
func (o *Evaluation) GetNextEval() string
GetNextEval returns the NextEval field value if set, zero value otherwise.
func (*Evaluation) GetNextEvalOk ¶
func (o *Evaluation) GetNextEvalOk() (*string, bool)
GetNextEvalOk returns a tuple with the NextEval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetNodeID ¶
func (o *Evaluation) GetNodeID() string
GetNodeID returns the NodeID field value if set, zero value otherwise.
func (*Evaluation) GetNodeIDOk ¶
func (o *Evaluation) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetNodeModifyIndex ¶
func (o *Evaluation) GetNodeModifyIndex() int32
GetNodeModifyIndex returns the NodeModifyIndex field value if set, zero value otherwise.
func (*Evaluation) GetNodeModifyIndexOk ¶
func (o *Evaluation) GetNodeModifyIndexOk() (*int32, bool)
GetNodeModifyIndexOk returns a tuple with the NodeModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetPreviousEval ¶
func (o *Evaluation) GetPreviousEval() string
GetPreviousEval returns the PreviousEval field value if set, zero value otherwise.
func (*Evaluation) GetPreviousEvalOk ¶
func (o *Evaluation) GetPreviousEvalOk() (*string, bool)
GetPreviousEvalOk returns a tuple with the PreviousEval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetPriority ¶
func (o *Evaluation) GetPriority() int64
GetPriority returns the Priority field value if set, zero value otherwise.
func (*Evaluation) GetPriorityOk ¶
func (o *Evaluation) GetPriorityOk() (*int64, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetQueuedAllocations ¶
func (o *Evaluation) GetQueuedAllocations() map[string]int64
GetQueuedAllocations returns the QueuedAllocations field value if set, zero value otherwise.
func (*Evaluation) GetQueuedAllocationsOk ¶
func (o *Evaluation) GetQueuedAllocationsOk() (*map[string]int64, bool)
GetQueuedAllocationsOk returns a tuple with the QueuedAllocations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetQuotaLimitReached ¶
func (o *Evaluation) GetQuotaLimitReached() string
GetQuotaLimitReached returns the QuotaLimitReached field value if set, zero value otherwise.
func (*Evaluation) GetQuotaLimitReachedOk ¶
func (o *Evaluation) GetQuotaLimitReachedOk() (*string, bool)
GetQuotaLimitReachedOk returns a tuple with the QuotaLimitReached field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetSnapshotIndex ¶
func (o *Evaluation) GetSnapshotIndex() int32
GetSnapshotIndex returns the SnapshotIndex field value if set, zero value otherwise.
func (*Evaluation) GetSnapshotIndexOk ¶
func (o *Evaluation) GetSnapshotIndexOk() (*int32, bool)
GetSnapshotIndexOk returns a tuple with the SnapshotIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetStatus ¶
func (o *Evaluation) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*Evaluation) GetStatusDescription ¶
func (o *Evaluation) GetStatusDescription() string
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*Evaluation) GetStatusDescriptionOk ¶
func (o *Evaluation) GetStatusDescriptionOk() (*string, bool)
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetStatusOk ¶
func (o *Evaluation) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetTriggeredBy ¶
func (o *Evaluation) GetTriggeredBy() string
GetTriggeredBy returns the TriggeredBy field value if set, zero value otherwise.
func (*Evaluation) GetTriggeredByOk ¶
func (o *Evaluation) GetTriggeredByOk() (*string, bool)
GetTriggeredByOk returns a tuple with the TriggeredBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetType ¶
func (o *Evaluation) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*Evaluation) GetTypeOk ¶
func (o *Evaluation) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetWait ¶
func (o *Evaluation) GetWait() int64
GetWait returns the Wait field value if set, zero value otherwise.
func (*Evaluation) GetWaitOk ¶
func (o *Evaluation) GetWaitOk() (*int64, bool)
GetWaitOk returns a tuple with the Wait field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) GetWaitUntil ¶
func (o *Evaluation) GetWaitUntil() time.Time
GetWaitUntil returns the WaitUntil field value if set, zero value otherwise.
func (*Evaluation) GetWaitUntilOk ¶
func (o *Evaluation) GetWaitUntilOk() (*time.Time, bool)
GetWaitUntilOk returns a tuple with the WaitUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Evaluation) HasAnnotatePlan ¶
func (o *Evaluation) HasAnnotatePlan() bool
HasAnnotatePlan returns a boolean if a field has been set.
func (*Evaluation) HasBlockedEval ¶
func (o *Evaluation) HasBlockedEval() bool
HasBlockedEval returns a boolean if a field has been set.
func (*Evaluation) HasClassEligibility ¶
func (o *Evaluation) HasClassEligibility() bool
HasClassEligibility returns a boolean if a field has been set.
func (*Evaluation) HasCreateIndex ¶
func (o *Evaluation) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*Evaluation) HasCreateTime ¶
func (o *Evaluation) HasCreateTime() bool
HasCreateTime returns a boolean if a field has been set.
func (*Evaluation) HasDeploymentID ¶
func (o *Evaluation) HasDeploymentID() bool
HasDeploymentID returns a boolean if a field has been set.
func (*Evaluation) HasEscapedComputedClass ¶
func (o *Evaluation) HasEscapedComputedClass() bool
HasEscapedComputedClass returns a boolean if a field has been set.
func (*Evaluation) HasFailedTGAllocs ¶
func (o *Evaluation) HasFailedTGAllocs() bool
HasFailedTGAllocs returns a boolean if a field has been set.
func (*Evaluation) HasID ¶
func (o *Evaluation) HasID() bool
HasID returns a boolean if a field has been set.
func (*Evaluation) HasJobID ¶
func (o *Evaluation) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*Evaluation) HasJobModifyIndex ¶
func (o *Evaluation) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*Evaluation) HasModifyIndex ¶
func (o *Evaluation) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*Evaluation) HasModifyTime ¶
func (o *Evaluation) HasModifyTime() bool
HasModifyTime returns a boolean if a field has been set.
func (*Evaluation) HasNamespace ¶
func (o *Evaluation) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*Evaluation) HasNextEval ¶
func (o *Evaluation) HasNextEval() bool
HasNextEval returns a boolean if a field has been set.
func (*Evaluation) HasNodeID ¶
func (o *Evaluation) HasNodeID() bool
HasNodeID returns a boolean if a field has been set.
func (*Evaluation) HasNodeModifyIndex ¶
func (o *Evaluation) HasNodeModifyIndex() bool
HasNodeModifyIndex returns a boolean if a field has been set.
func (*Evaluation) HasPreviousEval ¶
func (o *Evaluation) HasPreviousEval() bool
HasPreviousEval returns a boolean if a field has been set.
func (*Evaluation) HasPriority ¶
func (o *Evaluation) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (*Evaluation) HasQueuedAllocations ¶
func (o *Evaluation) HasQueuedAllocations() bool
HasQueuedAllocations returns a boolean if a field has been set.
func (*Evaluation) HasQuotaLimitReached ¶
func (o *Evaluation) HasQuotaLimitReached() bool
HasQuotaLimitReached returns a boolean if a field has been set.
func (*Evaluation) HasSnapshotIndex ¶
func (o *Evaluation) HasSnapshotIndex() bool
HasSnapshotIndex returns a boolean if a field has been set.
func (*Evaluation) HasStatus ¶
func (o *Evaluation) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*Evaluation) HasStatusDescription ¶
func (o *Evaluation) HasStatusDescription() bool
HasStatusDescription returns a boolean if a field has been set.
func (*Evaluation) HasTriggeredBy ¶
func (o *Evaluation) HasTriggeredBy() bool
HasTriggeredBy returns a boolean if a field has been set.
func (*Evaluation) HasType ¶
func (o *Evaluation) HasType() bool
HasType returns a boolean if a field has been set.
func (*Evaluation) HasWait ¶
func (o *Evaluation) HasWait() bool
HasWait returns a boolean if a field has been set.
func (*Evaluation) HasWaitUntil ¶
func (o *Evaluation) HasWaitUntil() bool
HasWaitUntil returns a boolean if a field has been set.
func (Evaluation) MarshalJSON ¶
func (o Evaluation) MarshalJSON() ([]byte, error)
func (*Evaluation) SetAnnotatePlan ¶
func (o *Evaluation) SetAnnotatePlan(v bool)
SetAnnotatePlan gets a reference to the given bool and assigns it to the AnnotatePlan field.
func (*Evaluation) SetBlockedEval ¶
func (o *Evaluation) SetBlockedEval(v string)
SetBlockedEval gets a reference to the given string and assigns it to the BlockedEval field.
func (*Evaluation) SetClassEligibility ¶
func (o *Evaluation) SetClassEligibility(v map[string]bool)
SetClassEligibility gets a reference to the given map[string]bool and assigns it to the ClassEligibility field.
func (*Evaluation) SetCreateIndex ¶
func (o *Evaluation) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*Evaluation) SetCreateTime ¶
func (o *Evaluation) SetCreateTime(v int64)
SetCreateTime gets a reference to the given int64 and assigns it to the CreateTime field.
func (*Evaluation) SetDeploymentID ¶
func (o *Evaluation) SetDeploymentID(v string)
SetDeploymentID gets a reference to the given string and assigns it to the DeploymentID field.
func (*Evaluation) SetEscapedComputedClass ¶
func (o *Evaluation) SetEscapedComputedClass(v bool)
SetEscapedComputedClass gets a reference to the given bool and assigns it to the EscapedComputedClass field.
func (*Evaluation) SetFailedTGAllocs ¶
func (o *Evaluation) SetFailedTGAllocs(v map[string]AllocationMetric)
SetFailedTGAllocs gets a reference to the given map[string]AllocationMetric and assigns it to the FailedTGAllocs field.
func (*Evaluation) SetID ¶
func (o *Evaluation) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*Evaluation) SetJobID ¶
func (o *Evaluation) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*Evaluation) SetJobModifyIndex ¶
func (o *Evaluation) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*Evaluation) SetModifyIndex ¶
func (o *Evaluation) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*Evaluation) SetModifyTime ¶
func (o *Evaluation) SetModifyTime(v int64)
SetModifyTime gets a reference to the given int64 and assigns it to the ModifyTime field.
func (*Evaluation) SetNamespace ¶
func (o *Evaluation) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*Evaluation) SetNextEval ¶
func (o *Evaluation) SetNextEval(v string)
SetNextEval gets a reference to the given string and assigns it to the NextEval field.
func (*Evaluation) SetNodeID ¶
func (o *Evaluation) SetNodeID(v string)
SetNodeID gets a reference to the given string and assigns it to the NodeID field.
func (*Evaluation) SetNodeModifyIndex ¶
func (o *Evaluation) SetNodeModifyIndex(v int32)
SetNodeModifyIndex gets a reference to the given int32 and assigns it to the NodeModifyIndex field.
func (*Evaluation) SetPreviousEval ¶
func (o *Evaluation) SetPreviousEval(v string)
SetPreviousEval gets a reference to the given string and assigns it to the PreviousEval field.
func (*Evaluation) SetPriority ¶
func (o *Evaluation) SetPriority(v int64)
SetPriority gets a reference to the given int64 and assigns it to the Priority field.
func (*Evaluation) SetQueuedAllocations ¶
func (o *Evaluation) SetQueuedAllocations(v map[string]int64)
SetQueuedAllocations gets a reference to the given map[string]int64 and assigns it to the QueuedAllocations field.
func (*Evaluation) SetQuotaLimitReached ¶
func (o *Evaluation) SetQuotaLimitReached(v string)
SetQuotaLimitReached gets a reference to the given string and assigns it to the QuotaLimitReached field.
func (*Evaluation) SetSnapshotIndex ¶
func (o *Evaluation) SetSnapshotIndex(v int32)
SetSnapshotIndex gets a reference to the given int32 and assigns it to the SnapshotIndex field.
func (*Evaluation) SetStatus ¶
func (o *Evaluation) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Evaluation) SetStatusDescription ¶
func (o *Evaluation) SetStatusDescription(v string)
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (*Evaluation) SetTriggeredBy ¶
func (o *Evaluation) SetTriggeredBy(v string)
SetTriggeredBy gets a reference to the given string and assigns it to the TriggeredBy field.
func (*Evaluation) SetType ¶
func (o *Evaluation) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*Evaluation) SetWait ¶
func (o *Evaluation) SetWait(v int64)
SetWait gets a reference to the given int64 and assigns it to the Wait field.
func (*Evaluation) SetWaitUntil ¶
func (o *Evaluation) SetWaitUntil(v time.Time)
SetWaitUntil gets a reference to the given time.Time and assigns it to the WaitUntil field.
type FieldDiff ¶
type FieldDiff struct { Annotations *[]string `json:"Annotations,omitempty"` Name *string `json:"Name,omitempty"` Old *string `json:"Old,omitempty"` Type *string `json:"Type,omitempty"` }
FieldDiff FieldDiff details the differences between to struct fields
func NewFieldDiff ¶
func NewFieldDiff() *FieldDiff
NewFieldDiff instantiates a new FieldDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFieldDiffWithDefaults ¶
func NewFieldDiffWithDefaults() *FieldDiff
NewFieldDiffWithDefaults instantiates a new FieldDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FieldDiff) GetAnnotations ¶
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*FieldDiff) GetAnnotationsOk ¶
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FieldDiff) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FieldDiff) GetOldOk ¶
GetOldOk returns a tuple with the Old field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FieldDiff) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FieldDiff) HasAnnotations ¶
HasAnnotations returns a boolean if a field has been set.
func (FieldDiff) MarshalJSON ¶
func (*FieldDiff) SetAnnotations ¶
SetAnnotations gets a reference to the given []string and assigns it to the Annotations field.
func (*FieldDiff) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GraphDriverData ¶
type GraphDriverData struct { // data Data map[string]string `json:"Data"` // name Name string `json:"Name"` }
GraphDriverData struct for GraphDriverData
func NewGraphDriverData ¶
func NewGraphDriverData(data map[string]string, name string) *GraphDriverData
NewGraphDriverData instantiates a new GraphDriverData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGraphDriverDataWithDefaults ¶
func NewGraphDriverDataWithDefaults() *GraphDriverData
NewGraphDriverDataWithDefaults instantiates a new GraphDriverData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GraphDriverData) GetData ¶
func (o *GraphDriverData) GetData() map[string]string
GetData returns the Data field value
func (*GraphDriverData) GetDataOk ¶
func (o *GraphDriverData) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*GraphDriverData) GetName ¶
func (o *GraphDriverData) GetName() string
GetName returns the Name field value
func (*GraphDriverData) GetNameOk ¶
func (o *GraphDriverData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (GraphDriverData) MarshalJSON ¶
func (o GraphDriverData) MarshalJSON() ([]byte, error)
func (*GraphDriverData) SetData ¶
func (o *GraphDriverData) SetData(v map[string]string)
SetData sets field value
func (*GraphDriverData) SetName ¶
func (o *GraphDriverData) SetName(v string)
SetName sets field value
type IdResponse ¶
type IdResponse struct { // The id of the newly created object. Id string `json:"Id"` }
IdResponse IDResponse Response to an API call that returns just an Id
func NewIdResponse ¶
func NewIdResponse(id string) *IdResponse
NewIdResponse instantiates a new IdResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIdResponseWithDefaults ¶
func NewIdResponseWithDefaults() *IdResponse
NewIdResponseWithDefaults instantiates a new IdResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IdResponse) GetIdOk ¶
func (o *IdResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (IdResponse) MarshalJSON ¶
func (o IdResponse) MarshalJSON() ([]byte, error)
type ImageDeleteResponseItem ¶
type ImageDeleteResponseItem struct { // The image ID of an image that was deleted Deleted *string `json:"Deleted,omitempty"` // The image ID of an image that was untagged Untagged *string `json:"Untagged,omitempty"` }
ImageDeleteResponseItem ImageDeleteResponseItem image delete response item
func NewImageDeleteResponseItem ¶
func NewImageDeleteResponseItem() *ImageDeleteResponseItem
NewImageDeleteResponseItem instantiates a new ImageDeleteResponseItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImageDeleteResponseItemWithDefaults ¶
func NewImageDeleteResponseItemWithDefaults() *ImageDeleteResponseItem
NewImageDeleteResponseItemWithDefaults instantiates a new ImageDeleteResponseItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImageDeleteResponseItem) GetDeleted ¶
func (o *ImageDeleteResponseItem) GetDeleted() string
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*ImageDeleteResponseItem) GetDeletedOk ¶
func (o *ImageDeleteResponseItem) GetDeletedOk() (*string, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageDeleteResponseItem) GetUntagged ¶
func (o *ImageDeleteResponseItem) GetUntagged() string
GetUntagged returns the Untagged field value if set, zero value otherwise.
func (*ImageDeleteResponseItem) GetUntaggedOk ¶
func (o *ImageDeleteResponseItem) GetUntaggedOk() (*string, bool)
GetUntaggedOk returns a tuple with the Untagged field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageDeleteResponseItem) HasDeleted ¶
func (o *ImageDeleteResponseItem) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*ImageDeleteResponseItem) HasUntagged ¶
func (o *ImageDeleteResponseItem) HasUntagged() bool
HasUntagged returns a boolean if a field has been set.
func (ImageDeleteResponseItem) MarshalJSON ¶
func (o ImageDeleteResponseItem) MarshalJSON() ([]byte, error)
func (*ImageDeleteResponseItem) SetDeleted ¶
func (o *ImageDeleteResponseItem) SetDeleted(v string)
SetDeleted gets a reference to the given string and assigns it to the Deleted field.
func (*ImageDeleteResponseItem) SetUntagged ¶
func (o *ImageDeleteResponseItem) SetUntagged(v string)
SetUntagged gets a reference to the given string and assigns it to the Untagged field.
type ImageSummary ¶
type ImageSummary struct { // containers Containers int64 `json:"Containers"` // created Created int64 `json:"Created"` // Id Id string `json:"Id"` // labels Labels map[string]string `json:"Labels"` // parent Id ParentId string `json:"ParentId"` // repo digests RepoDigests []string `json:"RepoDigests"` // repo tags RepoTags []string `json:"RepoTags"` SharedSize int64 `json:"SharedSize"` // size Size int64 `json:"Size"` // virtual size VirtualSize int64 `json:"VirtualSize"` }
ImageSummary ImageSummary image summary
func NewImageSummary ¶
func NewImageSummary(containers int64, created int64, id string, labels map[string]string, parentId string, repoDigests []string, repoTags []string, sharedSize int64, size int64, virtualSize int64) *ImageSummary
NewImageSummary instantiates a new ImageSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImageSummaryWithDefaults ¶
func NewImageSummaryWithDefaults() *ImageSummary
NewImageSummaryWithDefaults instantiates a new ImageSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImageSummary) GetContainers ¶
func (o *ImageSummary) GetContainers() int64
GetContainers returns the Containers field value
func (*ImageSummary) GetContainersOk ¶
func (o *ImageSummary) GetContainersOk() (*int64, bool)
GetContainersOk returns a tuple with the Containers field value and a boolean to check if the value has been set.
func (*ImageSummary) GetCreated ¶
func (o *ImageSummary) GetCreated() int64
GetCreated returns the Created field value
func (*ImageSummary) GetCreatedOk ¶
func (o *ImageSummary) GetCreatedOk() (*int64, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*ImageSummary) GetIdOk ¶
func (o *ImageSummary) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ImageSummary) GetLabels ¶
func (o *ImageSummary) GetLabels() map[string]string
GetLabels returns the Labels field value
func (*ImageSummary) GetLabelsOk ¶
func (o *ImageSummary) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ImageSummary) GetParentId ¶
func (o *ImageSummary) GetParentId() string
GetParentId returns the ParentId field value
func (*ImageSummary) GetParentIdOk ¶
func (o *ImageSummary) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value and a boolean to check if the value has been set.
func (*ImageSummary) GetRepoDigests ¶
func (o *ImageSummary) GetRepoDigests() []string
GetRepoDigests returns the RepoDigests field value
func (*ImageSummary) GetRepoDigestsOk ¶
func (o *ImageSummary) GetRepoDigestsOk() (*[]string, bool)
GetRepoDigestsOk returns a tuple with the RepoDigests field value and a boolean to check if the value has been set.
func (*ImageSummary) GetRepoTags ¶
func (o *ImageSummary) GetRepoTags() []string
GetRepoTags returns the RepoTags field value
func (*ImageSummary) GetRepoTagsOk ¶
func (o *ImageSummary) GetRepoTagsOk() (*[]string, bool)
GetRepoTagsOk returns a tuple with the RepoTags field value and a boolean to check if the value has been set.
func (*ImageSummary) GetSharedSize ¶
func (o *ImageSummary) GetSharedSize() int64
GetSharedSize returns the SharedSize field value
func (*ImageSummary) GetSharedSizeOk ¶
func (o *ImageSummary) GetSharedSizeOk() (*int64, bool)
GetSharedSizeOk returns a tuple with the SharedSize field value and a boolean to check if the value has been set.
func (*ImageSummary) GetSize ¶
func (o *ImageSummary) GetSize() int64
GetSize returns the Size field value
func (*ImageSummary) GetSizeOk ¶
func (o *ImageSummary) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ImageSummary) GetVirtualSize ¶
func (o *ImageSummary) GetVirtualSize() int64
GetVirtualSize returns the VirtualSize field value
func (*ImageSummary) GetVirtualSizeOk ¶
func (o *ImageSummary) GetVirtualSizeOk() (*int64, bool)
GetVirtualSizeOk returns a tuple with the VirtualSize field value and a boolean to check if the value has been set.
func (ImageSummary) MarshalJSON ¶
func (o ImageSummary) MarshalJSON() ([]byte, error)
func (*ImageSummary) SetContainers ¶
func (o *ImageSummary) SetContainers(v int64)
SetContainers sets field value
func (*ImageSummary) SetCreated ¶
func (o *ImageSummary) SetCreated(v int64)
SetCreated sets field value
func (*ImageSummary) SetLabels ¶
func (o *ImageSummary) SetLabels(v map[string]string)
SetLabels sets field value
func (*ImageSummary) SetParentId ¶
func (o *ImageSummary) SetParentId(v string)
SetParentId sets field value
func (*ImageSummary) SetRepoDigests ¶
func (o *ImageSummary) SetRepoDigests(v []string)
SetRepoDigests sets field value
func (*ImageSummary) SetRepoTags ¶
func (o *ImageSummary) SetRepoTags(v []string)
SetRepoTags sets field value
func (*ImageSummary) SetSharedSize ¶
func (o *ImageSummary) SetSharedSize(v int64)
SetSharedSize sets field value
func (*ImageSummary) SetVirtualSize ¶
func (o *ImageSummary) SetVirtualSize(v int64)
SetVirtualSize sets field value
type Job ¶
type Job struct { Affinities *[]Affinity `json:"Affinities,omitempty"` AllAtOnce *bool `json:"AllAtOnce,omitempty"` Constraints *[]Constraint `json:"Constraints,omitempty"` ConsulNamespace *string `json:"ConsulNamespace,omitempty"` ConsulToken *string `json:"ConsulToken,omitempty"` CreateIndex *int32 `json:"CreateIndex,omitempty"` Datacenters *[]string `json:"Datacenters,omitempty"` Dispatched *bool `json:"Dispatched,omitempty"` ID *string `json:"ID,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Migrate *MigrateStrategy `json:"Migrate,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` Multiregion *Multiregion `json:"Multiregion,omitempty"` Name *string `json:"Name,omitempty"` Namespace *string `json:"Namespace,omitempty"` NomadTokenID *string `json:"NomadTokenID,omitempty"` ParameterizedJob *ParameterizedJobConfig `json:"ParameterizedJob,omitempty"` ParentID *string `json:"ParentID,omitempty"` Payload *[]int32 `json:"Payload,omitempty"` Periodic *PeriodicConfig `json:"Periodic,omitempty"` Priority *int64 `json:"Priority,omitempty"` Region *string `json:"Region,omitempty"` Reschedule *ReschedulePolicy `json:"Reschedule,omitempty"` Spreads *[]Spread `json:"Spreads,omitempty"` Stable *bool `json:"Stable,omitempty"` Status *string `json:"Status,omitempty"` StatusDescription *string `json:"StatusDescription,omitempty"` Stop *bool `json:"Stop,omitempty"` SubmitTime *int64 `json:"SubmitTime,omitempty"` TaskGroups *[]TaskGroup `json:"TaskGroups,omitempty"` Type *string `json:"Type,omitempty"` Update *UpdateStrategy `json:"Update,omitempty"` VaultNamespace *string `json:"VaultNamespace,omitempty"` VaultToken *string `json:"VaultToken,omitempty"` Version *int32 `json:"Version,omitempty"` }
Job struct for Job
func NewJob ¶
func NewJob() *Job
NewJob instantiates a new Job object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobWithDefaults ¶
func NewJobWithDefaults() *Job
NewJobWithDefaults instantiates a new Job object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Job) GetAffinities ¶
GetAffinities returns the Affinities field value if set, zero value otherwise.
func (*Job) GetAffinitiesOk ¶
GetAffinitiesOk returns a tuple with the Affinities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetAllAtOnce ¶
GetAllAtOnce returns the AllAtOnce field value if set, zero value otherwise.
func (*Job) GetAllAtOnceOk ¶
GetAllAtOnceOk returns a tuple with the AllAtOnce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetConstraints ¶
func (o *Job) GetConstraints() []Constraint
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*Job) GetConstraintsOk ¶
func (o *Job) GetConstraintsOk() (*[]Constraint, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetConsulNamespace ¶
GetConsulNamespace returns the ConsulNamespace field value if set, zero value otherwise.
func (*Job) GetConsulNamespaceOk ¶
GetConsulNamespaceOk returns a tuple with the ConsulNamespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetConsulToken ¶
GetConsulToken returns the ConsulToken field value if set, zero value otherwise.
func (*Job) GetConsulTokenOk ¶
GetConsulTokenOk returns a tuple with the ConsulToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetCreateIndex ¶
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*Job) GetCreateIndexOk ¶
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetDatacenters ¶
GetDatacenters returns the Datacenters field value if set, zero value otherwise.
func (*Job) GetDatacentersOk ¶
GetDatacentersOk returns a tuple with the Datacenters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetDispatched ¶
GetDispatched returns the Dispatched field value if set, zero value otherwise.
func (*Job) GetDispatchedOk ¶
GetDispatchedOk returns a tuple with the Dispatched field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetIDOk ¶
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetJobModifyIndex ¶
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*Job) GetJobModifyIndexOk ¶
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetMigrate ¶
func (o *Job) GetMigrate() MigrateStrategy
GetMigrate returns the Migrate field value if set, zero value otherwise.
func (*Job) GetMigrateOk ¶
func (o *Job) GetMigrateOk() (*MigrateStrategy, bool)
GetMigrateOk returns a tuple with the Migrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetModifyIndex ¶
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*Job) GetModifyIndexOk ¶
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetMultiregion ¶
func (o *Job) GetMultiregion() Multiregion
GetMultiregion returns the Multiregion field value if set, zero value otherwise.
func (*Job) GetMultiregionOk ¶
func (o *Job) GetMultiregionOk() (*Multiregion, bool)
GetMultiregionOk returns a tuple with the Multiregion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetNamespace ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Job) GetNamespaceOk ¶
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetNomadTokenID ¶
GetNomadTokenID returns the NomadTokenID field value if set, zero value otherwise.
func (*Job) GetNomadTokenIDOk ¶
GetNomadTokenIDOk returns a tuple with the NomadTokenID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetParameterizedJob ¶
func (o *Job) GetParameterizedJob() ParameterizedJobConfig
GetParameterizedJob returns the ParameterizedJob field value if set, zero value otherwise.
func (*Job) GetParameterizedJobOk ¶
func (o *Job) GetParameterizedJobOk() (*ParameterizedJobConfig, bool)
GetParameterizedJobOk returns a tuple with the ParameterizedJob field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetParentID ¶
GetParentID returns the ParentID field value if set, zero value otherwise.
func (*Job) GetParentIDOk ¶
GetParentIDOk returns a tuple with the ParentID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetPayload ¶
GetPayload returns the Payload field value if set, zero value otherwise.
func (*Job) GetPayloadOk ¶
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetPeriodic ¶
func (o *Job) GetPeriodic() PeriodicConfig
GetPeriodic returns the Periodic field value if set, zero value otherwise.
func (*Job) GetPeriodicOk ¶
func (o *Job) GetPeriodicOk() (*PeriodicConfig, bool)
GetPeriodicOk returns a tuple with the Periodic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetPriority ¶
GetPriority returns the Priority field value if set, zero value otherwise.
func (*Job) GetPriorityOk ¶
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetReschedule ¶
func (o *Job) GetReschedule() ReschedulePolicy
GetReschedule returns the Reschedule field value if set, zero value otherwise.
func (*Job) GetRescheduleOk ¶
func (o *Job) GetRescheduleOk() (*ReschedulePolicy, bool)
GetRescheduleOk returns a tuple with the Reschedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetSpreads ¶
GetSpreads returns the Spreads field value if set, zero value otherwise.
func (*Job) GetSpreadsOk ¶
GetSpreadsOk returns a tuple with the Spreads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetStableOk ¶
GetStableOk returns a tuple with the Stable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetStatusDescription ¶
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*Job) GetStatusDescriptionOk ¶
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetStopOk ¶
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetSubmitTime ¶
GetSubmitTime returns the SubmitTime field value if set, zero value otherwise.
func (*Job) GetSubmitTimeOk ¶
GetSubmitTimeOk returns a tuple with the SubmitTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetTaskGroups ¶
GetTaskGroups returns the TaskGroups field value if set, zero value otherwise.
func (*Job) GetTaskGroupsOk ¶
GetTaskGroupsOk returns a tuple with the TaskGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetUpdate ¶
func (o *Job) GetUpdate() UpdateStrategy
GetUpdate returns the Update field value if set, zero value otherwise.
func (*Job) GetUpdateOk ¶
func (o *Job) GetUpdateOk() (*UpdateStrategy, bool)
GetUpdateOk returns a tuple with the Update field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetVaultNamespace ¶
GetVaultNamespace returns the VaultNamespace field value if set, zero value otherwise.
func (*Job) GetVaultNamespaceOk ¶
GetVaultNamespaceOk returns a tuple with the VaultNamespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetVaultToken ¶
GetVaultToken returns the VaultToken field value if set, zero value otherwise.
func (*Job) GetVaultTokenOk ¶
GetVaultTokenOk returns a tuple with the VaultToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Job) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) HasAffinities ¶
HasAffinities returns a boolean if a field has been set.
func (*Job) HasAllAtOnce ¶
HasAllAtOnce returns a boolean if a field has been set.
func (*Job) HasConstraints ¶
HasConstraints returns a boolean if a field has been set.
func (*Job) HasConsulNamespace ¶
HasConsulNamespace returns a boolean if a field has been set.
func (*Job) HasConsulToken ¶
HasConsulToken returns a boolean if a field has been set.
func (*Job) HasCreateIndex ¶
HasCreateIndex returns a boolean if a field has been set.
func (*Job) HasDatacenters ¶
HasDatacenters returns a boolean if a field has been set.
func (*Job) HasDispatched ¶
HasDispatched returns a boolean if a field has been set.
func (*Job) HasJobModifyIndex ¶
HasJobModifyIndex returns a boolean if a field has been set.
func (*Job) HasMigrate ¶
HasMigrate returns a boolean if a field has been set.
func (*Job) HasModifyIndex ¶
HasModifyIndex returns a boolean if a field has been set.
func (*Job) HasMultiregion ¶
HasMultiregion returns a boolean if a field has been set.
func (*Job) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (*Job) HasNomadTokenID ¶
HasNomadTokenID returns a boolean if a field has been set.
func (*Job) HasParameterizedJob ¶
HasParameterizedJob returns a boolean if a field has been set.
func (*Job) HasParentID ¶
HasParentID returns a boolean if a field has been set.
func (*Job) HasPayload ¶
HasPayload returns a boolean if a field has been set.
func (*Job) HasPeriodic ¶
HasPeriodic returns a boolean if a field has been set.
func (*Job) HasPriority ¶
HasPriority returns a boolean if a field has been set.
func (*Job) HasReschedule ¶
HasReschedule returns a boolean if a field has been set.
func (*Job) HasSpreads ¶
HasSpreads returns a boolean if a field has been set.
func (*Job) HasStatusDescription ¶
HasStatusDescription returns a boolean if a field has been set.
func (*Job) HasSubmitTime ¶
HasSubmitTime returns a boolean if a field has been set.
func (*Job) HasTaskGroups ¶
HasTaskGroups returns a boolean if a field has been set.
func (*Job) HasVaultNamespace ¶
HasVaultNamespace returns a boolean if a field has been set.
func (*Job) HasVaultToken ¶
HasVaultToken returns a boolean if a field has been set.
func (*Job) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Job) MarshalJSON ¶
func (*Job) SetAffinities ¶
SetAffinities gets a reference to the given []Affinity and assigns it to the Affinities field.
func (*Job) SetAllAtOnce ¶
SetAllAtOnce gets a reference to the given bool and assigns it to the AllAtOnce field.
func (*Job) SetConstraints ¶
func (o *Job) SetConstraints(v []Constraint)
SetConstraints gets a reference to the given []Constraint and assigns it to the Constraints field.
func (*Job) SetConsulNamespace ¶
SetConsulNamespace gets a reference to the given string and assigns it to the ConsulNamespace field.
func (*Job) SetConsulToken ¶
SetConsulToken gets a reference to the given string and assigns it to the ConsulToken field.
func (*Job) SetCreateIndex ¶
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*Job) SetDatacenters ¶
SetDatacenters gets a reference to the given []string and assigns it to the Datacenters field.
func (*Job) SetDispatched ¶
SetDispatched gets a reference to the given bool and assigns it to the Dispatched field.
func (*Job) SetJobModifyIndex ¶
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*Job) SetMeta ¶
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*Job) SetMigrate ¶
func (o *Job) SetMigrate(v MigrateStrategy)
SetMigrate gets a reference to the given MigrateStrategy and assigns it to the Migrate field.
func (*Job) SetModifyIndex ¶
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*Job) SetMultiregion ¶
func (o *Job) SetMultiregion(v Multiregion)
SetMultiregion gets a reference to the given Multiregion and assigns it to the Multiregion field.
func (*Job) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Job) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*Job) SetNomadTokenID ¶
SetNomadTokenID gets a reference to the given string and assigns it to the NomadTokenID field.
func (*Job) SetParameterizedJob ¶
func (o *Job) SetParameterizedJob(v ParameterizedJobConfig)
SetParameterizedJob gets a reference to the given ParameterizedJobConfig and assigns it to the ParameterizedJob field.
func (*Job) SetParentID ¶
SetParentID gets a reference to the given string and assigns it to the ParentID field.
func (*Job) SetPayload ¶
SetPayload gets a reference to the given []int32 and assigns it to the Payload field.
func (*Job) SetPeriodic ¶
func (o *Job) SetPeriodic(v PeriodicConfig)
SetPeriodic gets a reference to the given PeriodicConfig and assigns it to the Periodic field.
func (*Job) SetPriority ¶
SetPriority gets a reference to the given int64 and assigns it to the Priority field.
func (*Job) SetRegion ¶
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*Job) SetReschedule ¶
func (o *Job) SetReschedule(v ReschedulePolicy)
SetReschedule gets a reference to the given ReschedulePolicy and assigns it to the Reschedule field.
func (*Job) SetSpreads ¶
SetSpreads gets a reference to the given []Spread and assigns it to the Spreads field.
func (*Job) SetStable ¶
SetStable gets a reference to the given bool and assigns it to the Stable field.
func (*Job) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Job) SetStatusDescription ¶
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (*Job) SetSubmitTime ¶
SetSubmitTime gets a reference to the given int64 and assigns it to the SubmitTime field.
func (*Job) SetTaskGroups ¶
SetTaskGroups gets a reference to the given []TaskGroup and assigns it to the TaskGroups field.
func (*Job) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Job) SetUpdate ¶
func (o *Job) SetUpdate(v UpdateStrategy)
SetUpdate gets a reference to the given UpdateStrategy and assigns it to the Update field.
func (*Job) SetVaultNamespace ¶
SetVaultNamespace gets a reference to the given string and assigns it to the VaultNamespace field.
func (*Job) SetVaultToken ¶
SetVaultToken gets a reference to the given string and assigns it to the VaultToken field.
func (*Job) SetVersion ¶
SetVersion gets a reference to the given int32 and assigns it to the Version field.
type JobChildrenSummary ¶
type JobChildrenSummary struct { Dead *int64 `json:"Dead,omitempty"` Pending *int64 `json:"Pending,omitempty"` Running *int64 `json:"Running,omitempty"` }
JobChildrenSummary JobChildrenSummary contains the summary of children job status
func NewJobChildrenSummary ¶
func NewJobChildrenSummary() *JobChildrenSummary
NewJobChildrenSummary instantiates a new JobChildrenSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobChildrenSummaryWithDefaults ¶
func NewJobChildrenSummaryWithDefaults() *JobChildrenSummary
NewJobChildrenSummaryWithDefaults instantiates a new JobChildrenSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobChildrenSummary) GetDead ¶
func (o *JobChildrenSummary) GetDead() int64
GetDead returns the Dead field value if set, zero value otherwise.
func (*JobChildrenSummary) GetDeadOk ¶
func (o *JobChildrenSummary) GetDeadOk() (*int64, bool)
GetDeadOk returns a tuple with the Dead field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobChildrenSummary) GetPending ¶
func (o *JobChildrenSummary) GetPending() int64
GetPending returns the Pending field value if set, zero value otherwise.
func (*JobChildrenSummary) GetPendingOk ¶
func (o *JobChildrenSummary) GetPendingOk() (*int64, bool)
GetPendingOk returns a tuple with the Pending field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobChildrenSummary) GetRunning ¶
func (o *JobChildrenSummary) GetRunning() int64
GetRunning returns the Running field value if set, zero value otherwise.
func (*JobChildrenSummary) GetRunningOk ¶
func (o *JobChildrenSummary) GetRunningOk() (*int64, bool)
GetRunningOk returns a tuple with the Running field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobChildrenSummary) HasDead ¶
func (o *JobChildrenSummary) HasDead() bool
HasDead returns a boolean if a field has been set.
func (*JobChildrenSummary) HasPending ¶
func (o *JobChildrenSummary) HasPending() bool
HasPending returns a boolean if a field has been set.
func (*JobChildrenSummary) HasRunning ¶
func (o *JobChildrenSummary) HasRunning() bool
HasRunning returns a boolean if a field has been set.
func (JobChildrenSummary) MarshalJSON ¶
func (o JobChildrenSummary) MarshalJSON() ([]byte, error)
func (*JobChildrenSummary) SetDead ¶
func (o *JobChildrenSummary) SetDead(v int64)
SetDead gets a reference to the given int64 and assigns it to the Dead field.
func (*JobChildrenSummary) SetPending ¶
func (o *JobChildrenSummary) SetPending(v int64)
SetPending gets a reference to the given int64 and assigns it to the Pending field.
func (*JobChildrenSummary) SetRunning ¶
func (o *JobChildrenSummary) SetRunning(v int64)
SetRunning gets a reference to the given int64 and assigns it to the Running field.
type JobDeregisterResponse ¶
type JobDeregisterResponse struct { EvalCreateIndex *int32 `json:"EvalCreateIndex,omitempty"` EvalID *string `json:"EvalID,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` // Is there a known leader KnownLeader *bool `json:"KnownLeader,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. LastContact *int64 `json:"LastContact,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` }
JobDeregisterResponse JobDeregisterResponse is used to respond to a job de-registration
func NewJobDeregisterResponse ¶
func NewJobDeregisterResponse() *JobDeregisterResponse
NewJobDeregisterResponse instantiates a new JobDeregisterResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDeregisterResponseWithDefaults ¶
func NewJobDeregisterResponseWithDefaults() *JobDeregisterResponse
NewJobDeregisterResponseWithDefaults instantiates a new JobDeregisterResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDeregisterResponse) GetEvalCreateIndex ¶
func (o *JobDeregisterResponse) GetEvalCreateIndex() int32
GetEvalCreateIndex returns the EvalCreateIndex field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetEvalCreateIndexOk ¶
func (o *JobDeregisterResponse) GetEvalCreateIndexOk() (*int32, bool)
GetEvalCreateIndexOk returns a tuple with the EvalCreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetEvalID ¶
func (o *JobDeregisterResponse) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetEvalIDOk ¶
func (o *JobDeregisterResponse) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetJobModifyIndex ¶
func (o *JobDeregisterResponse) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetJobModifyIndexOk ¶
func (o *JobDeregisterResponse) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetKnownLeader ¶
func (o *JobDeregisterResponse) GetKnownLeader() bool
GetKnownLeader returns the KnownLeader field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetKnownLeaderOk ¶
func (o *JobDeregisterResponse) GetKnownLeaderOk() (*bool, bool)
GetKnownLeaderOk returns a tuple with the KnownLeader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetLastContact ¶
func (o *JobDeregisterResponse) GetLastContact() int64
GetLastContact returns the LastContact field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetLastContactOk ¶
func (o *JobDeregisterResponse) GetLastContactOk() (*int64, bool)
GetLastContactOk returns a tuple with the LastContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetLastIndex ¶
func (o *JobDeregisterResponse) GetLastIndex() int32
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetLastIndexOk ¶
func (o *JobDeregisterResponse) GetLastIndexOk() (*int32, bool)
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) GetRequestTime ¶
func (o *JobDeregisterResponse) GetRequestTime() int64
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*JobDeregisterResponse) GetRequestTimeOk ¶
func (o *JobDeregisterResponse) GetRequestTimeOk() (*int64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDeregisterResponse) HasEvalCreateIndex ¶
func (o *JobDeregisterResponse) HasEvalCreateIndex() bool
HasEvalCreateIndex returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasEvalID ¶
func (o *JobDeregisterResponse) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasJobModifyIndex ¶
func (o *JobDeregisterResponse) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasKnownLeader ¶
func (o *JobDeregisterResponse) HasKnownLeader() bool
HasKnownLeader returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasLastContact ¶
func (o *JobDeregisterResponse) HasLastContact() bool
HasLastContact returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasLastIndex ¶
func (o *JobDeregisterResponse) HasLastIndex() bool
HasLastIndex returns a boolean if a field has been set.
func (*JobDeregisterResponse) HasRequestTime ¶
func (o *JobDeregisterResponse) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (JobDeregisterResponse) MarshalJSON ¶
func (o JobDeregisterResponse) MarshalJSON() ([]byte, error)
func (*JobDeregisterResponse) SetEvalCreateIndex ¶
func (o *JobDeregisterResponse) SetEvalCreateIndex(v int32)
SetEvalCreateIndex gets a reference to the given int32 and assigns it to the EvalCreateIndex field.
func (*JobDeregisterResponse) SetEvalID ¶
func (o *JobDeregisterResponse) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
func (*JobDeregisterResponse) SetJobModifyIndex ¶
func (o *JobDeregisterResponse) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobDeregisterResponse) SetKnownLeader ¶
func (o *JobDeregisterResponse) SetKnownLeader(v bool)
SetKnownLeader gets a reference to the given bool and assigns it to the KnownLeader field.
func (*JobDeregisterResponse) SetLastContact ¶
func (o *JobDeregisterResponse) SetLastContact(v int64)
SetLastContact gets a reference to the given int64 and assigns it to the LastContact field.
func (*JobDeregisterResponse) SetLastIndex ¶
func (o *JobDeregisterResponse) SetLastIndex(v int32)
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*JobDeregisterResponse) SetRequestTime ¶
func (o *JobDeregisterResponse) SetRequestTime(v int64)
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
type JobDiff ¶
type JobDiff struct { Fields *[]FieldDiff `json:"Fields,omitempty"` ID *string `json:"ID,omitempty"` Objects *[]ObjectDiff `json:"Objects,omitempty"` TaskGroups *[]TaskGroupDiff `json:"TaskGroups,omitempty"` Type *string `json:"Type,omitempty"` }
JobDiff JobDiff details the differences between two Job specs
func NewJobDiff ¶
func NewJobDiff() *JobDiff
NewJobDiff instantiates a new JobDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDiffWithDefaults ¶
func NewJobDiffWithDefaults() *JobDiff
NewJobDiffWithDefaults instantiates a new JobDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDiff) GetFieldsOk ¶
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDiff) GetIDOk ¶
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDiff) GetObjects ¶
func (o *JobDiff) GetObjects() []ObjectDiff
GetObjects returns the Objects field value if set, zero value otherwise.
func (*JobDiff) GetObjectsOk ¶
func (o *JobDiff) GetObjectsOk() (*[]ObjectDiff, bool)
GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDiff) GetTaskGroups ¶
func (o *JobDiff) GetTaskGroups() []TaskGroupDiff
GetTaskGroups returns the TaskGroups field value if set, zero value otherwise.
func (*JobDiff) GetTaskGroupsOk ¶
func (o *JobDiff) GetTaskGroupsOk() (*[]TaskGroupDiff, bool)
GetTaskGroupsOk returns a tuple with the TaskGroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDiff) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDiff) HasObjects ¶
HasObjects returns a boolean if a field has been set.
func (*JobDiff) HasTaskGroups ¶
HasTaskGroups returns a boolean if a field has been set.
func (JobDiff) MarshalJSON ¶
func (*JobDiff) SetFields ¶
SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.
func (*JobDiff) SetObjects ¶
func (o *JobDiff) SetObjects(v []ObjectDiff)
SetObjects gets a reference to the given []ObjectDiff and assigns it to the Objects field.
func (*JobDiff) SetTaskGroups ¶
func (o *JobDiff) SetTaskGroups(v []TaskGroupDiff)
SetTaskGroups gets a reference to the given []TaskGroupDiff and assigns it to the TaskGroups field.
type JobDispatchRequest ¶
type JobDispatchRequest struct { JobID *string `json:"JobID,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Payload *[]int32 `json:"Payload,omitempty"` }
JobDispatchRequest JobDispatch request targets a Job for dispatch
func NewJobDispatchRequest ¶
func NewJobDispatchRequest() *JobDispatchRequest
NewJobDispatchRequest instantiates a new JobDispatchRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDispatchRequestWithDefaults ¶
func NewJobDispatchRequestWithDefaults() *JobDispatchRequest
NewJobDispatchRequestWithDefaults instantiates a new JobDispatchRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDispatchRequest) GetJobID ¶
func (o *JobDispatchRequest) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*JobDispatchRequest) GetJobIDOk ¶
func (o *JobDispatchRequest) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchRequest) GetMeta ¶
func (o *JobDispatchRequest) GetMeta() map[string]string
GetMeta returns the Meta field value if set, zero value otherwise.
func (*JobDispatchRequest) GetMetaOk ¶
func (o *JobDispatchRequest) GetMetaOk() (*map[string]string, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchRequest) GetPayload ¶
func (o *JobDispatchRequest) GetPayload() []int32
GetPayload returns the Payload field value if set, zero value otherwise.
func (*JobDispatchRequest) GetPayloadOk ¶
func (o *JobDispatchRequest) GetPayloadOk() (*[]int32, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchRequest) HasJobID ¶
func (o *JobDispatchRequest) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*JobDispatchRequest) HasMeta ¶
func (o *JobDispatchRequest) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*JobDispatchRequest) HasPayload ¶
func (o *JobDispatchRequest) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (JobDispatchRequest) MarshalJSON ¶
func (o JobDispatchRequest) MarshalJSON() ([]byte, error)
func (*JobDispatchRequest) SetJobID ¶
func (o *JobDispatchRequest) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*JobDispatchRequest) SetMeta ¶
func (o *JobDispatchRequest) SetMeta(v map[string]string)
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*JobDispatchRequest) SetPayload ¶
func (o *JobDispatchRequest) SetPayload(v []int32)
SetPayload gets a reference to the given []int32 and assigns it to the Payload field.
type JobDispatchResponse ¶
type JobDispatchResponse struct { DispatchedJobID *string `json:"DispatchedJobID,omitempty"` EvalCreateIndex *int32 `json:"EvalCreateIndex,omitempty"` EvalID *string `json:"EvalID,omitempty"` JobCreateIndex *int32 `json:"JobCreateIndex,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` }
JobDispatchResponse JobDispatchResponse contains the result of JobDispatchRequest
func NewJobDispatchResponse ¶
func NewJobDispatchResponse() *JobDispatchResponse
NewJobDispatchResponse instantiates a new JobDispatchResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDispatchResponseWithDefaults ¶
func NewJobDispatchResponseWithDefaults() *JobDispatchResponse
NewJobDispatchResponseWithDefaults instantiates a new JobDispatchResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDispatchResponse) GetDispatchedJobID ¶
func (o *JobDispatchResponse) GetDispatchedJobID() string
GetDispatchedJobID returns the DispatchedJobID field value if set, zero value otherwise.
func (*JobDispatchResponse) GetDispatchedJobIDOk ¶
func (o *JobDispatchResponse) GetDispatchedJobIDOk() (*string, bool)
GetDispatchedJobIDOk returns a tuple with the DispatchedJobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) GetEvalCreateIndex ¶
func (o *JobDispatchResponse) GetEvalCreateIndex() int32
GetEvalCreateIndex returns the EvalCreateIndex field value if set, zero value otherwise.
func (*JobDispatchResponse) GetEvalCreateIndexOk ¶
func (o *JobDispatchResponse) GetEvalCreateIndexOk() (*int32, bool)
GetEvalCreateIndexOk returns a tuple with the EvalCreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) GetEvalID ¶
func (o *JobDispatchResponse) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*JobDispatchResponse) GetEvalIDOk ¶
func (o *JobDispatchResponse) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) GetJobCreateIndex ¶
func (o *JobDispatchResponse) GetJobCreateIndex() int32
GetJobCreateIndex returns the JobCreateIndex field value if set, zero value otherwise.
func (*JobDispatchResponse) GetJobCreateIndexOk ¶
func (o *JobDispatchResponse) GetJobCreateIndexOk() (*int32, bool)
GetJobCreateIndexOk returns a tuple with the JobCreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) GetLastIndex ¶
func (o *JobDispatchResponse) GetLastIndex() int32
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*JobDispatchResponse) GetLastIndexOk ¶
func (o *JobDispatchResponse) GetLastIndexOk() (*int32, bool)
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) GetRequestTime ¶
func (o *JobDispatchResponse) GetRequestTime() int64
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*JobDispatchResponse) GetRequestTimeOk ¶
func (o *JobDispatchResponse) GetRequestTimeOk() (*int64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDispatchResponse) HasDispatchedJobID ¶
func (o *JobDispatchResponse) HasDispatchedJobID() bool
HasDispatchedJobID returns a boolean if a field has been set.
func (*JobDispatchResponse) HasEvalCreateIndex ¶
func (o *JobDispatchResponse) HasEvalCreateIndex() bool
HasEvalCreateIndex returns a boolean if a field has been set.
func (*JobDispatchResponse) HasEvalID ¶
func (o *JobDispatchResponse) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (*JobDispatchResponse) HasJobCreateIndex ¶
func (o *JobDispatchResponse) HasJobCreateIndex() bool
HasJobCreateIndex returns a boolean if a field has been set.
func (*JobDispatchResponse) HasLastIndex ¶
func (o *JobDispatchResponse) HasLastIndex() bool
HasLastIndex returns a boolean if a field has been set.
func (*JobDispatchResponse) HasRequestTime ¶
func (o *JobDispatchResponse) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (JobDispatchResponse) MarshalJSON ¶
func (o JobDispatchResponse) MarshalJSON() ([]byte, error)
func (*JobDispatchResponse) SetDispatchedJobID ¶
func (o *JobDispatchResponse) SetDispatchedJobID(v string)
SetDispatchedJobID gets a reference to the given string and assigns it to the DispatchedJobID field.
func (*JobDispatchResponse) SetEvalCreateIndex ¶
func (o *JobDispatchResponse) SetEvalCreateIndex(v int32)
SetEvalCreateIndex gets a reference to the given int32 and assigns it to the EvalCreateIndex field.
func (*JobDispatchResponse) SetEvalID ¶
func (o *JobDispatchResponse) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
func (*JobDispatchResponse) SetJobCreateIndex ¶
func (o *JobDispatchResponse) SetJobCreateIndex(v int32)
SetJobCreateIndex gets a reference to the given int32 and assigns it to the JobCreateIndex field.
func (*JobDispatchResponse) SetLastIndex ¶
func (o *JobDispatchResponse) SetLastIndex(v int32)
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*JobDispatchResponse) SetRequestTime ¶
func (o *JobDispatchResponse) SetRequestTime(v int64)
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
type JobEvaluateRequest ¶
type JobEvaluateRequest struct { EvalOptions *EvalOptions `json:"EvalOptions,omitempty"` JobID *string `json:"JobID,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` }
JobEvaluateRequest JobEvaluateRequest is used when we just need to re-evaluate a target job
func NewJobEvaluateRequest ¶
func NewJobEvaluateRequest() *JobEvaluateRequest
NewJobEvaluateRequest instantiates a new JobEvaluateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobEvaluateRequestWithDefaults ¶
func NewJobEvaluateRequestWithDefaults() *JobEvaluateRequest
NewJobEvaluateRequestWithDefaults instantiates a new JobEvaluateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobEvaluateRequest) GetEvalOptions ¶
func (o *JobEvaluateRequest) GetEvalOptions() EvalOptions
GetEvalOptions returns the EvalOptions field value if set, zero value otherwise.
func (*JobEvaluateRequest) GetEvalOptionsOk ¶
func (o *JobEvaluateRequest) GetEvalOptionsOk() (*EvalOptions, bool)
GetEvalOptionsOk returns a tuple with the EvalOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobEvaluateRequest) GetJobID ¶
func (o *JobEvaluateRequest) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*JobEvaluateRequest) GetJobIDOk ¶
func (o *JobEvaluateRequest) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobEvaluateRequest) GetNamespace ¶
func (o *JobEvaluateRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobEvaluateRequest) GetNamespaceOk ¶
func (o *JobEvaluateRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobEvaluateRequest) GetRegion ¶
func (o *JobEvaluateRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobEvaluateRequest) GetRegionOk ¶
func (o *JobEvaluateRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobEvaluateRequest) GetSecretID ¶
func (o *JobEvaluateRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobEvaluateRequest) GetSecretIDOk ¶
func (o *JobEvaluateRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobEvaluateRequest) HasEvalOptions ¶
func (o *JobEvaluateRequest) HasEvalOptions() bool
HasEvalOptions returns a boolean if a field has been set.
func (*JobEvaluateRequest) HasJobID ¶
func (o *JobEvaluateRequest) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*JobEvaluateRequest) HasNamespace ¶
func (o *JobEvaluateRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobEvaluateRequest) HasRegion ¶
func (o *JobEvaluateRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobEvaluateRequest) HasSecretID ¶
func (o *JobEvaluateRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (JobEvaluateRequest) MarshalJSON ¶
func (o JobEvaluateRequest) MarshalJSON() ([]byte, error)
func (*JobEvaluateRequest) SetEvalOptions ¶
func (o *JobEvaluateRequest) SetEvalOptions(v EvalOptions)
SetEvalOptions gets a reference to the given EvalOptions and assigns it to the EvalOptions field.
func (*JobEvaluateRequest) SetJobID ¶
func (o *JobEvaluateRequest) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*JobEvaluateRequest) SetNamespace ¶
func (o *JobEvaluateRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobEvaluateRequest) SetRegion ¶
func (o *JobEvaluateRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobEvaluateRequest) SetSecretID ¶
func (o *JobEvaluateRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
type JobListStub ¶
type JobListStub struct { CreateIndex *int32 `json:"CreateIndex,omitempty"` Datacenters *[]string `json:"Datacenters,omitempty"` ID *string `json:"ID,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` JobSummary *JobSummary `json:"JobSummary,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` Name *string `json:"Name,omitempty"` Namespace *string `json:"Namespace,omitempty"` ParameterizedJob *bool `json:"ParameterizedJob,omitempty"` ParentID *string `json:"ParentID,omitempty"` Periodic *bool `json:"Periodic,omitempty"` Priority *int64 `json:"Priority,omitempty"` Status *string `json:"Status,omitempty"` StatusDescription *string `json:"StatusDescription,omitempty"` Stop *bool `json:"Stop,omitempty"` SubmitTime *int64 `json:"SubmitTime,omitempty"` Type *string `json:"Type,omitempty"` }
JobListStub JobListStub is used to return a subset of information about jobs during list operations.
func NewJobListStub ¶
func NewJobListStub() *JobListStub
NewJobListStub instantiates a new JobListStub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobListStubWithDefaults ¶
func NewJobListStubWithDefaults() *JobListStub
NewJobListStubWithDefaults instantiates a new JobListStub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobListStub) GetCreateIndex ¶
func (o *JobListStub) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*JobListStub) GetCreateIndexOk ¶
func (o *JobListStub) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetDatacenters ¶
func (o *JobListStub) GetDatacenters() []string
GetDatacenters returns the Datacenters field value if set, zero value otherwise.
func (*JobListStub) GetDatacentersOk ¶
func (o *JobListStub) GetDatacentersOk() (*[]string, bool)
GetDatacentersOk returns a tuple with the Datacenters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetID ¶
func (o *JobListStub) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*JobListStub) GetIDOk ¶
func (o *JobListStub) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetJobModifyIndex ¶
func (o *JobListStub) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobListStub) GetJobModifyIndexOk ¶
func (o *JobListStub) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetJobSummary ¶
func (o *JobListStub) GetJobSummary() JobSummary
GetJobSummary returns the JobSummary field value if set, zero value otherwise.
func (*JobListStub) GetJobSummaryOk ¶
func (o *JobListStub) GetJobSummaryOk() (*JobSummary, bool)
GetJobSummaryOk returns a tuple with the JobSummary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetModifyIndex ¶
func (o *JobListStub) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*JobListStub) GetModifyIndexOk ¶
func (o *JobListStub) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetName ¶
func (o *JobListStub) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*JobListStub) GetNameOk ¶
func (o *JobListStub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetNamespace ¶
func (o *JobListStub) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobListStub) GetNamespaceOk ¶
func (o *JobListStub) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetParameterizedJob ¶
func (o *JobListStub) GetParameterizedJob() bool
GetParameterizedJob returns the ParameterizedJob field value if set, zero value otherwise.
func (*JobListStub) GetParameterizedJobOk ¶
func (o *JobListStub) GetParameterizedJobOk() (*bool, bool)
GetParameterizedJobOk returns a tuple with the ParameterizedJob field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetParentID ¶
func (o *JobListStub) GetParentID() string
GetParentID returns the ParentID field value if set, zero value otherwise.
func (*JobListStub) GetParentIDOk ¶
func (o *JobListStub) GetParentIDOk() (*string, bool)
GetParentIDOk returns a tuple with the ParentID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetPeriodic ¶
func (o *JobListStub) GetPeriodic() bool
GetPeriodic returns the Periodic field value if set, zero value otherwise.
func (*JobListStub) GetPeriodicOk ¶
func (o *JobListStub) GetPeriodicOk() (*bool, bool)
GetPeriodicOk returns a tuple with the Periodic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetPriority ¶
func (o *JobListStub) GetPriority() int64
GetPriority returns the Priority field value if set, zero value otherwise.
func (*JobListStub) GetPriorityOk ¶
func (o *JobListStub) GetPriorityOk() (*int64, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetStatus ¶
func (o *JobListStub) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*JobListStub) GetStatusDescription ¶
func (o *JobListStub) GetStatusDescription() string
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*JobListStub) GetStatusDescriptionOk ¶
func (o *JobListStub) GetStatusDescriptionOk() (*string, bool)
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetStatusOk ¶
func (o *JobListStub) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetStop ¶
func (o *JobListStub) GetStop() bool
GetStop returns the Stop field value if set, zero value otherwise.
func (*JobListStub) GetStopOk ¶
func (o *JobListStub) GetStopOk() (*bool, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetSubmitTime ¶
func (o *JobListStub) GetSubmitTime() int64
GetSubmitTime returns the SubmitTime field value if set, zero value otherwise.
func (*JobListStub) GetSubmitTimeOk ¶
func (o *JobListStub) GetSubmitTimeOk() (*int64, bool)
GetSubmitTimeOk returns a tuple with the SubmitTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) GetType ¶
func (o *JobListStub) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*JobListStub) GetTypeOk ¶
func (o *JobListStub) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobListStub) HasCreateIndex ¶
func (o *JobListStub) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*JobListStub) HasDatacenters ¶
func (o *JobListStub) HasDatacenters() bool
HasDatacenters returns a boolean if a field has been set.
func (*JobListStub) HasID ¶
func (o *JobListStub) HasID() bool
HasID returns a boolean if a field has been set.
func (*JobListStub) HasJobModifyIndex ¶
func (o *JobListStub) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobListStub) HasJobSummary ¶
func (o *JobListStub) HasJobSummary() bool
HasJobSummary returns a boolean if a field has been set.
func (*JobListStub) HasModifyIndex ¶
func (o *JobListStub) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*JobListStub) HasName ¶
func (o *JobListStub) HasName() bool
HasName returns a boolean if a field has been set.
func (*JobListStub) HasNamespace ¶
func (o *JobListStub) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobListStub) HasParameterizedJob ¶
func (o *JobListStub) HasParameterizedJob() bool
HasParameterizedJob returns a boolean if a field has been set.
func (*JobListStub) HasParentID ¶
func (o *JobListStub) HasParentID() bool
HasParentID returns a boolean if a field has been set.
func (*JobListStub) HasPeriodic ¶
func (o *JobListStub) HasPeriodic() bool
HasPeriodic returns a boolean if a field has been set.
func (*JobListStub) HasPriority ¶
func (o *JobListStub) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (*JobListStub) HasStatus ¶
func (o *JobListStub) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*JobListStub) HasStatusDescription ¶
func (o *JobListStub) HasStatusDescription() bool
HasStatusDescription returns a boolean if a field has been set.
func (*JobListStub) HasStop ¶
func (o *JobListStub) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*JobListStub) HasSubmitTime ¶
func (o *JobListStub) HasSubmitTime() bool
HasSubmitTime returns a boolean if a field has been set.
func (*JobListStub) HasType ¶
func (o *JobListStub) HasType() bool
HasType returns a boolean if a field has been set.
func (JobListStub) MarshalJSON ¶
func (o JobListStub) MarshalJSON() ([]byte, error)
func (*JobListStub) SetCreateIndex ¶
func (o *JobListStub) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*JobListStub) SetDatacenters ¶
func (o *JobListStub) SetDatacenters(v []string)
SetDatacenters gets a reference to the given []string and assigns it to the Datacenters field.
func (*JobListStub) SetID ¶
func (o *JobListStub) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*JobListStub) SetJobModifyIndex ¶
func (o *JobListStub) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobListStub) SetJobSummary ¶
func (o *JobListStub) SetJobSummary(v JobSummary)
SetJobSummary gets a reference to the given JobSummary and assigns it to the JobSummary field.
func (*JobListStub) SetModifyIndex ¶
func (o *JobListStub) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*JobListStub) SetName ¶
func (o *JobListStub) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*JobListStub) SetNamespace ¶
func (o *JobListStub) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobListStub) SetParameterizedJob ¶
func (o *JobListStub) SetParameterizedJob(v bool)
SetParameterizedJob gets a reference to the given bool and assigns it to the ParameterizedJob field.
func (*JobListStub) SetParentID ¶
func (o *JobListStub) SetParentID(v string)
SetParentID gets a reference to the given string and assigns it to the ParentID field.
func (*JobListStub) SetPeriodic ¶
func (o *JobListStub) SetPeriodic(v bool)
SetPeriodic gets a reference to the given bool and assigns it to the Periodic field.
func (*JobListStub) SetPriority ¶
func (o *JobListStub) SetPriority(v int64)
SetPriority gets a reference to the given int64 and assigns it to the Priority field.
func (*JobListStub) SetStatus ¶
func (o *JobListStub) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*JobListStub) SetStatusDescription ¶
func (o *JobListStub) SetStatusDescription(v string)
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (*JobListStub) SetStop ¶
func (o *JobListStub) SetStop(v bool)
SetStop gets a reference to the given bool and assigns it to the Stop field.
func (*JobListStub) SetSubmitTime ¶
func (o *JobListStub) SetSubmitTime(v int64)
SetSubmitTime gets a reference to the given int64 and assigns it to the SubmitTime field.
func (*JobListStub) SetType ¶
func (o *JobListStub) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type JobPlanRequest ¶
type JobPlanRequest struct { Diff *bool `json:"Diff,omitempty"` Job *Job `json:"Job,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` PolicyOverride *bool `json:"PolicyOverride,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` }
JobPlanRequest JobPlanRequest is used to write a Job plan
func NewJobPlanRequest ¶
func NewJobPlanRequest() *JobPlanRequest
NewJobPlanRequest instantiates a new JobPlanRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobPlanRequestWithDefaults ¶
func NewJobPlanRequestWithDefaults() *JobPlanRequest
NewJobPlanRequestWithDefaults instantiates a new JobPlanRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobPlanRequest) GetDiff ¶
func (o *JobPlanRequest) GetDiff() bool
GetDiff returns the Diff field value if set, zero value otherwise.
func (*JobPlanRequest) GetDiffOk ¶
func (o *JobPlanRequest) GetDiffOk() (*bool, bool)
GetDiffOk returns a tuple with the Diff field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) GetJob ¶
func (o *JobPlanRequest) GetJob() Job
GetJob returns the Job field value if set, zero value otherwise.
func (*JobPlanRequest) GetJobOk ¶
func (o *JobPlanRequest) GetJobOk() (*Job, bool)
GetJobOk returns a tuple with the Job field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) GetNamespace ¶
func (o *JobPlanRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobPlanRequest) GetNamespaceOk ¶
func (o *JobPlanRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) GetPolicyOverride ¶
func (o *JobPlanRequest) GetPolicyOverride() bool
GetPolicyOverride returns the PolicyOverride field value if set, zero value otherwise.
func (*JobPlanRequest) GetPolicyOverrideOk ¶
func (o *JobPlanRequest) GetPolicyOverrideOk() (*bool, bool)
GetPolicyOverrideOk returns a tuple with the PolicyOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) GetRegion ¶
func (o *JobPlanRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobPlanRequest) GetRegionOk ¶
func (o *JobPlanRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) GetSecretID ¶
func (o *JobPlanRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobPlanRequest) GetSecretIDOk ¶
func (o *JobPlanRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanRequest) HasDiff ¶
func (o *JobPlanRequest) HasDiff() bool
HasDiff returns a boolean if a field has been set.
func (*JobPlanRequest) HasJob ¶
func (o *JobPlanRequest) HasJob() bool
HasJob returns a boolean if a field has been set.
func (*JobPlanRequest) HasNamespace ¶
func (o *JobPlanRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobPlanRequest) HasPolicyOverride ¶
func (o *JobPlanRequest) HasPolicyOverride() bool
HasPolicyOverride returns a boolean if a field has been set.
func (*JobPlanRequest) HasRegion ¶
func (o *JobPlanRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobPlanRequest) HasSecretID ¶
func (o *JobPlanRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (JobPlanRequest) MarshalJSON ¶
func (o JobPlanRequest) MarshalJSON() ([]byte, error)
func (*JobPlanRequest) SetDiff ¶
func (o *JobPlanRequest) SetDiff(v bool)
SetDiff gets a reference to the given bool and assigns it to the Diff field.
func (*JobPlanRequest) SetJob ¶
func (o *JobPlanRequest) SetJob(v Job)
SetJob gets a reference to the given Job and assigns it to the Job field.
func (*JobPlanRequest) SetNamespace ¶
func (o *JobPlanRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobPlanRequest) SetPolicyOverride ¶
func (o *JobPlanRequest) SetPolicyOverride(v bool)
SetPolicyOverride gets a reference to the given bool and assigns it to the PolicyOverride field.
func (*JobPlanRequest) SetRegion ¶
func (o *JobPlanRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobPlanRequest) SetSecretID ¶
func (o *JobPlanRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
type JobPlanResponse ¶
type JobPlanResponse struct { Annotations *PlanAnnotations `json:"Annotations,omitempty"` CreatedEvals *[]Evaluation `json:"CreatedEvals,omitempty"` Diff *JobDiff `json:"Diff,omitempty"` FailedTGAllocs *map[string]AllocationMetric `json:"FailedTGAllocs,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` NextPeriodicLaunch *time.Time `json:"NextPeriodicLaunch,omitempty"` // Warnings contains any warnings about the given job. These may include deprecation warnings. Warnings *string `json:"Warnings,omitempty"` }
JobPlanResponse JobPlanResponse details the results of a Job plan write operation
func NewJobPlanResponse ¶
func NewJobPlanResponse() *JobPlanResponse
NewJobPlanResponse instantiates a new JobPlanResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobPlanResponseWithDefaults ¶
func NewJobPlanResponseWithDefaults() *JobPlanResponse
NewJobPlanResponseWithDefaults instantiates a new JobPlanResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobPlanResponse) GetAnnotations ¶
func (o *JobPlanResponse) GetAnnotations() PlanAnnotations
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*JobPlanResponse) GetAnnotationsOk ¶
func (o *JobPlanResponse) GetAnnotationsOk() (*PlanAnnotations, bool)
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetCreatedEvals ¶
func (o *JobPlanResponse) GetCreatedEvals() []Evaluation
GetCreatedEvals returns the CreatedEvals field value if set, zero value otherwise.
func (*JobPlanResponse) GetCreatedEvalsOk ¶
func (o *JobPlanResponse) GetCreatedEvalsOk() (*[]Evaluation, bool)
GetCreatedEvalsOk returns a tuple with the CreatedEvals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetDiff ¶
func (o *JobPlanResponse) GetDiff() JobDiff
GetDiff returns the Diff field value if set, zero value otherwise.
func (*JobPlanResponse) GetDiffOk ¶
func (o *JobPlanResponse) GetDiffOk() (*JobDiff, bool)
GetDiffOk returns a tuple with the Diff field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetFailedTGAllocs ¶
func (o *JobPlanResponse) GetFailedTGAllocs() map[string]AllocationMetric
GetFailedTGAllocs returns the FailedTGAllocs field value if set, zero value otherwise.
func (*JobPlanResponse) GetFailedTGAllocsOk ¶
func (o *JobPlanResponse) GetFailedTGAllocsOk() (*map[string]AllocationMetric, bool)
GetFailedTGAllocsOk returns a tuple with the FailedTGAllocs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetJobModifyIndex ¶
func (o *JobPlanResponse) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobPlanResponse) GetJobModifyIndexOk ¶
func (o *JobPlanResponse) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetNextPeriodicLaunch ¶
func (o *JobPlanResponse) GetNextPeriodicLaunch() time.Time
GetNextPeriodicLaunch returns the NextPeriodicLaunch field value if set, zero value otherwise.
func (*JobPlanResponse) GetNextPeriodicLaunchOk ¶
func (o *JobPlanResponse) GetNextPeriodicLaunchOk() (*time.Time, bool)
GetNextPeriodicLaunchOk returns a tuple with the NextPeriodicLaunch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) GetWarnings ¶
func (o *JobPlanResponse) GetWarnings() string
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*JobPlanResponse) GetWarningsOk ¶
func (o *JobPlanResponse) GetWarningsOk() (*string, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobPlanResponse) HasAnnotations ¶
func (o *JobPlanResponse) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*JobPlanResponse) HasCreatedEvals ¶
func (o *JobPlanResponse) HasCreatedEvals() bool
HasCreatedEvals returns a boolean if a field has been set.
func (*JobPlanResponse) HasDiff ¶
func (o *JobPlanResponse) HasDiff() bool
HasDiff returns a boolean if a field has been set.
func (*JobPlanResponse) HasFailedTGAllocs ¶
func (o *JobPlanResponse) HasFailedTGAllocs() bool
HasFailedTGAllocs returns a boolean if a field has been set.
func (*JobPlanResponse) HasJobModifyIndex ¶
func (o *JobPlanResponse) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobPlanResponse) HasNextPeriodicLaunch ¶
func (o *JobPlanResponse) HasNextPeriodicLaunch() bool
HasNextPeriodicLaunch returns a boolean if a field has been set.
func (*JobPlanResponse) HasWarnings ¶
func (o *JobPlanResponse) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (JobPlanResponse) MarshalJSON ¶
func (o JobPlanResponse) MarshalJSON() ([]byte, error)
func (*JobPlanResponse) SetAnnotations ¶
func (o *JobPlanResponse) SetAnnotations(v PlanAnnotations)
SetAnnotations gets a reference to the given PlanAnnotations and assigns it to the Annotations field.
func (*JobPlanResponse) SetCreatedEvals ¶
func (o *JobPlanResponse) SetCreatedEvals(v []Evaluation)
SetCreatedEvals gets a reference to the given []Evaluation and assigns it to the CreatedEvals field.
func (*JobPlanResponse) SetDiff ¶
func (o *JobPlanResponse) SetDiff(v JobDiff)
SetDiff gets a reference to the given JobDiff and assigns it to the Diff field.
func (*JobPlanResponse) SetFailedTGAllocs ¶
func (o *JobPlanResponse) SetFailedTGAllocs(v map[string]AllocationMetric)
SetFailedTGAllocs gets a reference to the given map[string]AllocationMetric and assigns it to the FailedTGAllocs field.
func (*JobPlanResponse) SetJobModifyIndex ¶
func (o *JobPlanResponse) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobPlanResponse) SetNextPeriodicLaunch ¶
func (o *JobPlanResponse) SetNextPeriodicLaunch(v time.Time)
SetNextPeriodicLaunch gets a reference to the given time.Time and assigns it to the NextPeriodicLaunch field.
func (*JobPlanResponse) SetWarnings ¶
func (o *JobPlanResponse) SetWarnings(v string)
SetWarnings gets a reference to the given string and assigns it to the Warnings field.
type JobRegisterRequest ¶
type JobRegisterRequest struct { // If EnforceIndex is set then the job will only be registered if the passed JobModifyIndex matches the current Jobs index. If the index is zero, the register only occurs if the job is new. EnforceIndex *bool `json:"EnforceIndex,omitempty"` Job *Job `json:"Job,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` PolicyOverride *bool `json:"PolicyOverride,omitempty"` PreserveCounts *bool `json:"PreserveCounts,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` }
JobRegisterRequest JobRegisterRequest is used to update a job
func NewJobRegisterRequest ¶
func NewJobRegisterRequest() *JobRegisterRequest
NewJobRegisterRequest instantiates a new JobRegisterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobRegisterRequestWithDefaults ¶
func NewJobRegisterRequestWithDefaults() *JobRegisterRequest
NewJobRegisterRequestWithDefaults instantiates a new JobRegisterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobRegisterRequest) GetEnforceIndex ¶
func (o *JobRegisterRequest) GetEnforceIndex() bool
GetEnforceIndex returns the EnforceIndex field value if set, zero value otherwise.
func (*JobRegisterRequest) GetEnforceIndexOk ¶
func (o *JobRegisterRequest) GetEnforceIndexOk() (*bool, bool)
GetEnforceIndexOk returns a tuple with the EnforceIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetJob ¶
func (o *JobRegisterRequest) GetJob() Job
GetJob returns the Job field value if set, zero value otherwise.
func (*JobRegisterRequest) GetJobModifyIndex ¶
func (o *JobRegisterRequest) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobRegisterRequest) GetJobModifyIndexOk ¶
func (o *JobRegisterRequest) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetJobOk ¶
func (o *JobRegisterRequest) GetJobOk() (*Job, bool)
GetJobOk returns a tuple with the Job field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetNamespace ¶
func (o *JobRegisterRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobRegisterRequest) GetNamespaceOk ¶
func (o *JobRegisterRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetPolicyOverride ¶
func (o *JobRegisterRequest) GetPolicyOverride() bool
GetPolicyOverride returns the PolicyOverride field value if set, zero value otherwise.
func (*JobRegisterRequest) GetPolicyOverrideOk ¶
func (o *JobRegisterRequest) GetPolicyOverrideOk() (*bool, bool)
GetPolicyOverrideOk returns a tuple with the PolicyOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetPreserveCounts ¶
func (o *JobRegisterRequest) GetPreserveCounts() bool
GetPreserveCounts returns the PreserveCounts field value if set, zero value otherwise.
func (*JobRegisterRequest) GetPreserveCountsOk ¶
func (o *JobRegisterRequest) GetPreserveCountsOk() (*bool, bool)
GetPreserveCountsOk returns a tuple with the PreserveCounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetRegion ¶
func (o *JobRegisterRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobRegisterRequest) GetRegionOk ¶
func (o *JobRegisterRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) GetSecretID ¶
func (o *JobRegisterRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobRegisterRequest) GetSecretIDOk ¶
func (o *JobRegisterRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterRequest) HasEnforceIndex ¶
func (o *JobRegisterRequest) HasEnforceIndex() bool
HasEnforceIndex returns a boolean if a field has been set.
func (*JobRegisterRequest) HasJob ¶
func (o *JobRegisterRequest) HasJob() bool
HasJob returns a boolean if a field has been set.
func (*JobRegisterRequest) HasJobModifyIndex ¶
func (o *JobRegisterRequest) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobRegisterRequest) HasNamespace ¶
func (o *JobRegisterRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobRegisterRequest) HasPolicyOverride ¶
func (o *JobRegisterRequest) HasPolicyOverride() bool
HasPolicyOverride returns a boolean if a field has been set.
func (*JobRegisterRequest) HasPreserveCounts ¶
func (o *JobRegisterRequest) HasPreserveCounts() bool
HasPreserveCounts returns a boolean if a field has been set.
func (*JobRegisterRequest) HasRegion ¶
func (o *JobRegisterRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobRegisterRequest) HasSecretID ¶
func (o *JobRegisterRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (JobRegisterRequest) MarshalJSON ¶
func (o JobRegisterRequest) MarshalJSON() ([]byte, error)
func (*JobRegisterRequest) SetEnforceIndex ¶
func (o *JobRegisterRequest) SetEnforceIndex(v bool)
SetEnforceIndex gets a reference to the given bool and assigns it to the EnforceIndex field.
func (*JobRegisterRequest) SetJob ¶
func (o *JobRegisterRequest) SetJob(v Job)
SetJob gets a reference to the given Job and assigns it to the Job field.
func (*JobRegisterRequest) SetJobModifyIndex ¶
func (o *JobRegisterRequest) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobRegisterRequest) SetNamespace ¶
func (o *JobRegisterRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobRegisterRequest) SetPolicyOverride ¶
func (o *JobRegisterRequest) SetPolicyOverride(v bool)
SetPolicyOverride gets a reference to the given bool and assigns it to the PolicyOverride field.
func (*JobRegisterRequest) SetPreserveCounts ¶
func (o *JobRegisterRequest) SetPreserveCounts(v bool)
SetPreserveCounts gets a reference to the given bool and assigns it to the PreserveCounts field.
func (*JobRegisterRequest) SetRegion ¶
func (o *JobRegisterRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobRegisterRequest) SetSecretID ¶
func (o *JobRegisterRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
type JobRegisterResponse ¶
type JobRegisterResponse struct { EvalCreateIndex *int32 `json:"EvalCreateIndex,omitempty"` EvalID *string `json:"EvalID,omitempty"` JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` // Is there a known leader KnownLeader *bool `json:"KnownLeader,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. LastContact *int64 `json:"LastContact,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` // Warnings contains any warnings about the given job. These may include deprecation warnings. Warnings *string `json:"Warnings,omitempty"` }
JobRegisterResponse JobRegisterResponse is used to respond to a job registration
func NewJobRegisterResponse ¶
func NewJobRegisterResponse() *JobRegisterResponse
NewJobRegisterResponse instantiates a new JobRegisterResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobRegisterResponseWithDefaults ¶
func NewJobRegisterResponseWithDefaults() *JobRegisterResponse
NewJobRegisterResponseWithDefaults instantiates a new JobRegisterResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobRegisterResponse) GetEvalCreateIndex ¶
func (o *JobRegisterResponse) GetEvalCreateIndex() int32
GetEvalCreateIndex returns the EvalCreateIndex field value if set, zero value otherwise.
func (*JobRegisterResponse) GetEvalCreateIndexOk ¶
func (o *JobRegisterResponse) GetEvalCreateIndexOk() (*int32, bool)
GetEvalCreateIndexOk returns a tuple with the EvalCreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetEvalID ¶
func (o *JobRegisterResponse) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*JobRegisterResponse) GetEvalIDOk ¶
func (o *JobRegisterResponse) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetJobModifyIndex ¶
func (o *JobRegisterResponse) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobRegisterResponse) GetJobModifyIndexOk ¶
func (o *JobRegisterResponse) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetKnownLeader ¶
func (o *JobRegisterResponse) GetKnownLeader() bool
GetKnownLeader returns the KnownLeader field value if set, zero value otherwise.
func (*JobRegisterResponse) GetKnownLeaderOk ¶
func (o *JobRegisterResponse) GetKnownLeaderOk() (*bool, bool)
GetKnownLeaderOk returns a tuple with the KnownLeader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetLastContact ¶
func (o *JobRegisterResponse) GetLastContact() int64
GetLastContact returns the LastContact field value if set, zero value otherwise.
func (*JobRegisterResponse) GetLastContactOk ¶
func (o *JobRegisterResponse) GetLastContactOk() (*int64, bool)
GetLastContactOk returns a tuple with the LastContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetLastIndex ¶
func (o *JobRegisterResponse) GetLastIndex() int32
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*JobRegisterResponse) GetLastIndexOk ¶
func (o *JobRegisterResponse) GetLastIndexOk() (*int32, bool)
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetRequestTime ¶
func (o *JobRegisterResponse) GetRequestTime() int64
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*JobRegisterResponse) GetRequestTimeOk ¶
func (o *JobRegisterResponse) GetRequestTimeOk() (*int64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) GetWarnings ¶
func (o *JobRegisterResponse) GetWarnings() string
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*JobRegisterResponse) GetWarningsOk ¶
func (o *JobRegisterResponse) GetWarningsOk() (*string, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRegisterResponse) HasEvalCreateIndex ¶
func (o *JobRegisterResponse) HasEvalCreateIndex() bool
HasEvalCreateIndex returns a boolean if a field has been set.
func (*JobRegisterResponse) HasEvalID ¶
func (o *JobRegisterResponse) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (*JobRegisterResponse) HasJobModifyIndex ¶
func (o *JobRegisterResponse) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobRegisterResponse) HasKnownLeader ¶
func (o *JobRegisterResponse) HasKnownLeader() bool
HasKnownLeader returns a boolean if a field has been set.
func (*JobRegisterResponse) HasLastContact ¶
func (o *JobRegisterResponse) HasLastContact() bool
HasLastContact returns a boolean if a field has been set.
func (*JobRegisterResponse) HasLastIndex ¶
func (o *JobRegisterResponse) HasLastIndex() bool
HasLastIndex returns a boolean if a field has been set.
func (*JobRegisterResponse) HasRequestTime ¶
func (o *JobRegisterResponse) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (*JobRegisterResponse) HasWarnings ¶
func (o *JobRegisterResponse) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (JobRegisterResponse) MarshalJSON ¶
func (o JobRegisterResponse) MarshalJSON() ([]byte, error)
func (*JobRegisterResponse) SetEvalCreateIndex ¶
func (o *JobRegisterResponse) SetEvalCreateIndex(v int32)
SetEvalCreateIndex gets a reference to the given int32 and assigns it to the EvalCreateIndex field.
func (*JobRegisterResponse) SetEvalID ¶
func (o *JobRegisterResponse) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
func (*JobRegisterResponse) SetJobModifyIndex ¶
func (o *JobRegisterResponse) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobRegisterResponse) SetKnownLeader ¶
func (o *JobRegisterResponse) SetKnownLeader(v bool)
SetKnownLeader gets a reference to the given bool and assigns it to the KnownLeader field.
func (*JobRegisterResponse) SetLastContact ¶
func (o *JobRegisterResponse) SetLastContact(v int64)
SetLastContact gets a reference to the given int64 and assigns it to the LastContact field.
func (*JobRegisterResponse) SetLastIndex ¶
func (o *JobRegisterResponse) SetLastIndex(v int32)
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*JobRegisterResponse) SetRequestTime ¶
func (o *JobRegisterResponse) SetRequestTime(v int64)
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
func (*JobRegisterResponse) SetWarnings ¶
func (o *JobRegisterResponse) SetWarnings(v string)
SetWarnings gets a reference to the given string and assigns it to the Warnings field.
type JobRevertRequest ¶
type JobRevertRequest struct { // ConsulToken is the Consul token that proves the submitter of the job revert has access to the Service Identity policies associated with the job's Consul Connect enabled services. This field is only used to transfer the token and is not stored after the Job revert. ConsulToken *string `json:"ConsulToken,omitempty"` // EnforcePriorVersion if set will enforce that the job is at the given version before reverting. EnforcePriorVersion *int32 `json:"EnforcePriorVersion,omitempty"` // JobID is the ID of the job being reverted JobID *string `json:"JobID,omitempty"` // JobVersion the version to revert to. JobVersion *int32 `json:"JobVersion,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` // VaultToken is the Vault token that proves the submitter of the job revert has access to any Vault policies specified in the targeted job version. This field is only used to authorize the revert and is not stored after the Job revert. VaultToken *string `json:"VaultToken,omitempty"` }
JobRevertRequest struct for JobRevertRequest
func NewJobRevertRequest ¶
func NewJobRevertRequest() *JobRevertRequest
NewJobRevertRequest instantiates a new JobRevertRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobRevertRequestWithDefaults ¶
func NewJobRevertRequestWithDefaults() *JobRevertRequest
NewJobRevertRequestWithDefaults instantiates a new JobRevertRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobRevertRequest) GetConsulToken ¶
func (o *JobRevertRequest) GetConsulToken() string
GetConsulToken returns the ConsulToken field value if set, zero value otherwise.
func (*JobRevertRequest) GetConsulTokenOk ¶
func (o *JobRevertRequest) GetConsulTokenOk() (*string, bool)
GetConsulTokenOk returns a tuple with the ConsulToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetEnforcePriorVersion ¶
func (o *JobRevertRequest) GetEnforcePriorVersion() int32
GetEnforcePriorVersion returns the EnforcePriorVersion field value if set, zero value otherwise.
func (*JobRevertRequest) GetEnforcePriorVersionOk ¶
func (o *JobRevertRequest) GetEnforcePriorVersionOk() (*int32, bool)
GetEnforcePriorVersionOk returns a tuple with the EnforcePriorVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetJobID ¶
func (o *JobRevertRequest) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*JobRevertRequest) GetJobIDOk ¶
func (o *JobRevertRequest) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetJobVersion ¶
func (o *JobRevertRequest) GetJobVersion() int32
GetJobVersion returns the JobVersion field value if set, zero value otherwise.
func (*JobRevertRequest) GetJobVersionOk ¶
func (o *JobRevertRequest) GetJobVersionOk() (*int32, bool)
GetJobVersionOk returns a tuple with the JobVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetNamespace ¶
func (o *JobRevertRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobRevertRequest) GetNamespaceOk ¶
func (o *JobRevertRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetRegion ¶
func (o *JobRevertRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobRevertRequest) GetRegionOk ¶
func (o *JobRevertRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetSecretID ¶
func (o *JobRevertRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobRevertRequest) GetSecretIDOk ¶
func (o *JobRevertRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) GetVaultToken ¶
func (o *JobRevertRequest) GetVaultToken() string
GetVaultToken returns the VaultToken field value if set, zero value otherwise.
func (*JobRevertRequest) GetVaultTokenOk ¶
func (o *JobRevertRequest) GetVaultTokenOk() (*string, bool)
GetVaultTokenOk returns a tuple with the VaultToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobRevertRequest) HasConsulToken ¶
func (o *JobRevertRequest) HasConsulToken() bool
HasConsulToken returns a boolean if a field has been set.
func (*JobRevertRequest) HasEnforcePriorVersion ¶
func (o *JobRevertRequest) HasEnforcePriorVersion() bool
HasEnforcePriorVersion returns a boolean if a field has been set.
func (*JobRevertRequest) HasJobID ¶
func (o *JobRevertRequest) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*JobRevertRequest) HasJobVersion ¶
func (o *JobRevertRequest) HasJobVersion() bool
HasJobVersion returns a boolean if a field has been set.
func (*JobRevertRequest) HasNamespace ¶
func (o *JobRevertRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobRevertRequest) HasRegion ¶
func (o *JobRevertRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobRevertRequest) HasSecretID ¶
func (o *JobRevertRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (*JobRevertRequest) HasVaultToken ¶
func (o *JobRevertRequest) HasVaultToken() bool
HasVaultToken returns a boolean if a field has been set.
func (JobRevertRequest) MarshalJSON ¶
func (o JobRevertRequest) MarshalJSON() ([]byte, error)
func (*JobRevertRequest) SetConsulToken ¶
func (o *JobRevertRequest) SetConsulToken(v string)
SetConsulToken gets a reference to the given string and assigns it to the ConsulToken field.
func (*JobRevertRequest) SetEnforcePriorVersion ¶
func (o *JobRevertRequest) SetEnforcePriorVersion(v int32)
SetEnforcePriorVersion gets a reference to the given int32 and assigns it to the EnforcePriorVersion field.
func (*JobRevertRequest) SetJobID ¶
func (o *JobRevertRequest) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*JobRevertRequest) SetJobVersion ¶
func (o *JobRevertRequest) SetJobVersion(v int32)
SetJobVersion gets a reference to the given int32 and assigns it to the JobVersion field.
func (*JobRevertRequest) SetNamespace ¶
func (o *JobRevertRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobRevertRequest) SetRegion ¶
func (o *JobRevertRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobRevertRequest) SetSecretID ¶
func (o *JobRevertRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
func (*JobRevertRequest) SetVaultToken ¶
func (o *JobRevertRequest) SetVaultToken(v string)
SetVaultToken gets a reference to the given string and assigns it to the VaultToken field.
type JobStabilityRequest ¶
type JobStabilityRequest struct { // Job to set the stability on JobID *string `json:"JobID,omitempty"` JobVersion *int32 `json:"JobVersion,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` // Set the stability Stable *bool `json:"Stable,omitempty"` }
JobStabilityRequest struct for JobStabilityRequest
func NewJobStabilityRequest ¶
func NewJobStabilityRequest() *JobStabilityRequest
NewJobStabilityRequest instantiates a new JobStabilityRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobStabilityRequestWithDefaults ¶
func NewJobStabilityRequestWithDefaults() *JobStabilityRequest
NewJobStabilityRequestWithDefaults instantiates a new JobStabilityRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobStabilityRequest) GetJobID ¶
func (o *JobStabilityRequest) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*JobStabilityRequest) GetJobIDOk ¶
func (o *JobStabilityRequest) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) GetJobVersion ¶
func (o *JobStabilityRequest) GetJobVersion() int32
GetJobVersion returns the JobVersion field value if set, zero value otherwise.
func (*JobStabilityRequest) GetJobVersionOk ¶
func (o *JobStabilityRequest) GetJobVersionOk() (*int32, bool)
GetJobVersionOk returns a tuple with the JobVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) GetNamespace ¶
func (o *JobStabilityRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobStabilityRequest) GetNamespaceOk ¶
func (o *JobStabilityRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) GetRegion ¶
func (o *JobStabilityRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobStabilityRequest) GetRegionOk ¶
func (o *JobStabilityRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) GetSecretID ¶
func (o *JobStabilityRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobStabilityRequest) GetSecretIDOk ¶
func (o *JobStabilityRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) GetStable ¶
func (o *JobStabilityRequest) GetStable() bool
GetStable returns the Stable field value if set, zero value otherwise.
func (*JobStabilityRequest) GetStableOk ¶
func (o *JobStabilityRequest) GetStableOk() (*bool, bool)
GetStableOk returns a tuple with the Stable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityRequest) HasJobID ¶
func (o *JobStabilityRequest) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*JobStabilityRequest) HasJobVersion ¶
func (o *JobStabilityRequest) HasJobVersion() bool
HasJobVersion returns a boolean if a field has been set.
func (*JobStabilityRequest) HasNamespace ¶
func (o *JobStabilityRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobStabilityRequest) HasRegion ¶
func (o *JobStabilityRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobStabilityRequest) HasSecretID ¶
func (o *JobStabilityRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (*JobStabilityRequest) HasStable ¶
func (o *JobStabilityRequest) HasStable() bool
HasStable returns a boolean if a field has been set.
func (JobStabilityRequest) MarshalJSON ¶
func (o JobStabilityRequest) MarshalJSON() ([]byte, error)
func (*JobStabilityRequest) SetJobID ¶
func (o *JobStabilityRequest) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*JobStabilityRequest) SetJobVersion ¶
func (o *JobStabilityRequest) SetJobVersion(v int32)
SetJobVersion gets a reference to the given int32 and assigns it to the JobVersion field.
func (*JobStabilityRequest) SetNamespace ¶
func (o *JobStabilityRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobStabilityRequest) SetRegion ¶
func (o *JobStabilityRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobStabilityRequest) SetSecretID ¶
func (o *JobStabilityRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
func (*JobStabilityRequest) SetStable ¶
func (o *JobStabilityRequest) SetStable(v bool)
SetStable gets a reference to the given bool and assigns it to the Stable field.
type JobStabilityResponse ¶
type JobStabilityResponse struct { JobModifyIndex *int32 `json:"JobModifyIndex,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` }
JobStabilityResponse struct for JobStabilityResponse
func NewJobStabilityResponse ¶
func NewJobStabilityResponse() *JobStabilityResponse
NewJobStabilityResponse instantiates a new JobStabilityResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobStabilityResponseWithDefaults ¶
func NewJobStabilityResponseWithDefaults() *JobStabilityResponse
NewJobStabilityResponseWithDefaults instantiates a new JobStabilityResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobStabilityResponse) GetJobModifyIndex ¶
func (o *JobStabilityResponse) GetJobModifyIndex() int32
GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.
func (*JobStabilityResponse) GetJobModifyIndexOk ¶
func (o *JobStabilityResponse) GetJobModifyIndexOk() (*int32, bool)
GetJobModifyIndexOk returns a tuple with the JobModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityResponse) GetLastIndex ¶
func (o *JobStabilityResponse) GetLastIndex() int32
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*JobStabilityResponse) GetLastIndexOk ¶
func (o *JobStabilityResponse) GetLastIndexOk() (*int32, bool)
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityResponse) GetRequestTime ¶
func (o *JobStabilityResponse) GetRequestTime() int64
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*JobStabilityResponse) GetRequestTimeOk ¶
func (o *JobStabilityResponse) GetRequestTimeOk() (*int64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobStabilityResponse) HasJobModifyIndex ¶
func (o *JobStabilityResponse) HasJobModifyIndex() bool
HasJobModifyIndex returns a boolean if a field has been set.
func (*JobStabilityResponse) HasLastIndex ¶
func (o *JobStabilityResponse) HasLastIndex() bool
HasLastIndex returns a boolean if a field has been set.
func (*JobStabilityResponse) HasRequestTime ¶
func (o *JobStabilityResponse) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (JobStabilityResponse) MarshalJSON ¶
func (o JobStabilityResponse) MarshalJSON() ([]byte, error)
func (*JobStabilityResponse) SetJobModifyIndex ¶
func (o *JobStabilityResponse) SetJobModifyIndex(v int32)
SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.
func (*JobStabilityResponse) SetLastIndex ¶
func (o *JobStabilityResponse) SetLastIndex(v int32)
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*JobStabilityResponse) SetRequestTime ¶
func (o *JobStabilityResponse) SetRequestTime(v int64)
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
type JobSummary ¶
type JobSummary struct { Children *JobChildrenSummary `json:"Children,omitempty"` // Raft Indexes CreateIndex *int32 `json:"CreateIndex,omitempty"` JobID *string `json:"JobID,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` Namespace *string `json:"Namespace,omitempty"` Summary *map[string]TaskGroupSummary `json:"Summary,omitempty"` }
JobSummary JobSummary summarizes the state of the allocations of a job
func NewJobSummary ¶
func NewJobSummary() *JobSummary
NewJobSummary instantiates a new JobSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobSummaryWithDefaults ¶
func NewJobSummaryWithDefaults() *JobSummary
NewJobSummaryWithDefaults instantiates a new JobSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobSummary) GetChildren ¶
func (o *JobSummary) GetChildren() JobChildrenSummary
GetChildren returns the Children field value if set, zero value otherwise.
func (*JobSummary) GetChildrenOk ¶
func (o *JobSummary) GetChildrenOk() (*JobChildrenSummary, bool)
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) GetCreateIndex ¶
func (o *JobSummary) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*JobSummary) GetCreateIndexOk ¶
func (o *JobSummary) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) GetJobID ¶
func (o *JobSummary) GetJobID() string
GetJobID returns the JobID field value if set, zero value otherwise.
func (*JobSummary) GetJobIDOk ¶
func (o *JobSummary) GetJobIDOk() (*string, bool)
GetJobIDOk returns a tuple with the JobID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) GetModifyIndex ¶
func (o *JobSummary) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*JobSummary) GetModifyIndexOk ¶
func (o *JobSummary) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) GetNamespace ¶
func (o *JobSummary) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobSummary) GetNamespaceOk ¶
func (o *JobSummary) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) GetSummary ¶
func (o *JobSummary) GetSummary() map[string]TaskGroupSummary
GetSummary returns the Summary field value if set, zero value otherwise.
func (*JobSummary) GetSummaryOk ¶
func (o *JobSummary) GetSummaryOk() (*map[string]TaskGroupSummary, bool)
GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobSummary) HasChildren ¶
func (o *JobSummary) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*JobSummary) HasCreateIndex ¶
func (o *JobSummary) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*JobSummary) HasJobID ¶
func (o *JobSummary) HasJobID() bool
HasJobID returns a boolean if a field has been set.
func (*JobSummary) HasModifyIndex ¶
func (o *JobSummary) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*JobSummary) HasNamespace ¶
func (o *JobSummary) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobSummary) HasSummary ¶
func (o *JobSummary) HasSummary() bool
HasSummary returns a boolean if a field has been set.
func (JobSummary) MarshalJSON ¶
func (o JobSummary) MarshalJSON() ([]byte, error)
func (*JobSummary) SetChildren ¶
func (o *JobSummary) SetChildren(v JobChildrenSummary)
SetChildren gets a reference to the given JobChildrenSummary and assigns it to the Children field.
func (*JobSummary) SetCreateIndex ¶
func (o *JobSummary) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*JobSummary) SetJobID ¶
func (o *JobSummary) SetJobID(v string)
SetJobID gets a reference to the given string and assigns it to the JobID field.
func (*JobSummary) SetModifyIndex ¶
func (o *JobSummary) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*JobSummary) SetNamespace ¶
func (o *JobSummary) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobSummary) SetSummary ¶
func (o *JobSummary) SetSummary(v map[string]TaskGroupSummary)
SetSummary gets a reference to the given map[string]TaskGroupSummary and assigns it to the Summary field.
type JobValidateRequest ¶
type JobValidateRequest struct { Job *Job `json:"Job,omitempty"` // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` }
JobValidateRequest JobValidateRequest is used to validate a job
func NewJobValidateRequest ¶
func NewJobValidateRequest() *JobValidateRequest
NewJobValidateRequest instantiates a new JobValidateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobValidateRequestWithDefaults ¶
func NewJobValidateRequestWithDefaults() *JobValidateRequest
NewJobValidateRequestWithDefaults instantiates a new JobValidateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobValidateRequest) GetJob ¶
func (o *JobValidateRequest) GetJob() Job
GetJob returns the Job field value if set, zero value otherwise.
func (*JobValidateRequest) GetJobOk ¶
func (o *JobValidateRequest) GetJobOk() (*Job, bool)
GetJobOk returns a tuple with the Job field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateRequest) GetNamespace ¶
func (o *JobValidateRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*JobValidateRequest) GetNamespaceOk ¶
func (o *JobValidateRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateRequest) GetRegion ¶
func (o *JobValidateRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*JobValidateRequest) GetRegionOk ¶
func (o *JobValidateRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateRequest) GetSecretID ¶
func (o *JobValidateRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*JobValidateRequest) GetSecretIDOk ¶
func (o *JobValidateRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateRequest) HasJob ¶
func (o *JobValidateRequest) HasJob() bool
HasJob returns a boolean if a field has been set.
func (*JobValidateRequest) HasNamespace ¶
func (o *JobValidateRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*JobValidateRequest) HasRegion ¶
func (o *JobValidateRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*JobValidateRequest) HasSecretID ¶
func (o *JobValidateRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (JobValidateRequest) MarshalJSON ¶
func (o JobValidateRequest) MarshalJSON() ([]byte, error)
func (*JobValidateRequest) SetJob ¶
func (o *JobValidateRequest) SetJob(v Job)
SetJob gets a reference to the given Job and assigns it to the Job field.
func (*JobValidateRequest) SetNamespace ¶
func (o *JobValidateRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*JobValidateRequest) SetRegion ¶
func (o *JobValidateRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*JobValidateRequest) SetSecretID ¶
func (o *JobValidateRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
type JobValidateResponse ¶
type JobValidateResponse struct { // DriverConfigValidated indicates whether the agent validated the driver config DriverConfigValidated *bool `json:"DriverConfigValidated,omitempty"` // Error is a string version of any error that may have occurred Error *string `json:"Error,omitempty"` // ValidationErrors is a list of validation errors ValidationErrors *[]string `json:"ValidationErrors,omitempty"` // Warnings contains any warnings about the given job. These may include deprecation warnings. Warnings *string `json:"Warnings,omitempty"` }
JobValidateResponse JobValidateResponse is the response from validate request
func NewJobValidateResponse ¶
func NewJobValidateResponse() *JobValidateResponse
NewJobValidateResponse instantiates a new JobValidateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobValidateResponseWithDefaults ¶
func NewJobValidateResponseWithDefaults() *JobValidateResponse
NewJobValidateResponseWithDefaults instantiates a new JobValidateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobValidateResponse) GetDriverConfigValidated ¶
func (o *JobValidateResponse) GetDriverConfigValidated() bool
GetDriverConfigValidated returns the DriverConfigValidated field value if set, zero value otherwise.
func (*JobValidateResponse) GetDriverConfigValidatedOk ¶
func (o *JobValidateResponse) GetDriverConfigValidatedOk() (*bool, bool)
GetDriverConfigValidatedOk returns a tuple with the DriverConfigValidated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateResponse) GetError ¶
func (o *JobValidateResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*JobValidateResponse) GetErrorOk ¶
func (o *JobValidateResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateResponse) GetValidationErrors ¶
func (o *JobValidateResponse) GetValidationErrors() []string
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*JobValidateResponse) GetValidationErrorsOk ¶
func (o *JobValidateResponse) GetValidationErrorsOk() (*[]string, bool)
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateResponse) GetWarnings ¶
func (o *JobValidateResponse) GetWarnings() string
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*JobValidateResponse) GetWarningsOk ¶
func (o *JobValidateResponse) GetWarningsOk() (*string, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobValidateResponse) HasDriverConfigValidated ¶
func (o *JobValidateResponse) HasDriverConfigValidated() bool
HasDriverConfigValidated returns a boolean if a field has been set.
func (*JobValidateResponse) HasError ¶
func (o *JobValidateResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*JobValidateResponse) HasValidationErrors ¶
func (o *JobValidateResponse) HasValidationErrors() bool
HasValidationErrors returns a boolean if a field has been set.
func (*JobValidateResponse) HasWarnings ¶
func (o *JobValidateResponse) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (JobValidateResponse) MarshalJSON ¶
func (o JobValidateResponse) MarshalJSON() ([]byte, error)
func (*JobValidateResponse) SetDriverConfigValidated ¶
func (o *JobValidateResponse) SetDriverConfigValidated(v bool)
SetDriverConfigValidated gets a reference to the given bool and assigns it to the DriverConfigValidated field.
func (*JobValidateResponse) SetError ¶
func (o *JobValidateResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*JobValidateResponse) SetValidationErrors ¶
func (o *JobValidateResponse) SetValidationErrors(v []string)
SetValidationErrors gets a reference to the given []string and assigns it to the ValidationErrors field.
func (*JobValidateResponse) SetWarnings ¶
func (o *JobValidateResponse) SetWarnings(v string)
SetWarnings gets a reference to the given string and assigns it to the Warnings field.
type JobVersionsResponse ¶
type JobVersionsResponse struct { Diffs *[]JobDiff `json:"Diffs,omitempty"` // Is there a known leader KnownLeader *bool `json:"KnownLeader,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. LastContact *int64 `json:"LastContact,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` Versions *[]Job `json:"Versions,omitempty"` }
JobVersionsResponse JobVersionsResponse is used for a job get versions request
func NewJobVersionsResponse ¶
func NewJobVersionsResponse() *JobVersionsResponse
NewJobVersionsResponse instantiates a new JobVersionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobVersionsResponseWithDefaults ¶
func NewJobVersionsResponseWithDefaults() *JobVersionsResponse
NewJobVersionsResponseWithDefaults instantiates a new JobVersionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobVersionsResponse) GetDiffs ¶
func (o *JobVersionsResponse) GetDiffs() []JobDiff
GetDiffs returns the Diffs field value if set, zero value otherwise.
func (*JobVersionsResponse) GetDiffsOk ¶
func (o *JobVersionsResponse) GetDiffsOk() (*[]JobDiff, bool)
GetDiffsOk returns a tuple with the Diffs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) GetKnownLeader ¶
func (o *JobVersionsResponse) GetKnownLeader() bool
GetKnownLeader returns the KnownLeader field value if set, zero value otherwise.
func (*JobVersionsResponse) GetKnownLeaderOk ¶
func (o *JobVersionsResponse) GetKnownLeaderOk() (*bool, bool)
GetKnownLeaderOk returns a tuple with the KnownLeader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) GetLastContact ¶
func (o *JobVersionsResponse) GetLastContact() int64
GetLastContact returns the LastContact field value if set, zero value otherwise.
func (*JobVersionsResponse) GetLastContactOk ¶
func (o *JobVersionsResponse) GetLastContactOk() (*int64, bool)
GetLastContactOk returns a tuple with the LastContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) GetLastIndex ¶
func (o *JobVersionsResponse) GetLastIndex() int32
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*JobVersionsResponse) GetLastIndexOk ¶
func (o *JobVersionsResponse) GetLastIndexOk() (*int32, bool)
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) GetRequestTime ¶
func (o *JobVersionsResponse) GetRequestTime() int64
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*JobVersionsResponse) GetRequestTimeOk ¶
func (o *JobVersionsResponse) GetRequestTimeOk() (*int64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) GetVersions ¶
func (o *JobVersionsResponse) GetVersions() []Job
GetVersions returns the Versions field value if set, zero value otherwise.
func (*JobVersionsResponse) GetVersionsOk ¶
func (o *JobVersionsResponse) GetVersionsOk() (*[]Job, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobVersionsResponse) HasDiffs ¶
func (o *JobVersionsResponse) HasDiffs() bool
HasDiffs returns a boolean if a field has been set.
func (*JobVersionsResponse) HasKnownLeader ¶
func (o *JobVersionsResponse) HasKnownLeader() bool
HasKnownLeader returns a boolean if a field has been set.
func (*JobVersionsResponse) HasLastContact ¶
func (o *JobVersionsResponse) HasLastContact() bool
HasLastContact returns a boolean if a field has been set.
func (*JobVersionsResponse) HasLastIndex ¶
func (o *JobVersionsResponse) HasLastIndex() bool
HasLastIndex returns a boolean if a field has been set.
func (*JobVersionsResponse) HasRequestTime ¶
func (o *JobVersionsResponse) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (*JobVersionsResponse) HasVersions ¶
func (o *JobVersionsResponse) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (JobVersionsResponse) MarshalJSON ¶
func (o JobVersionsResponse) MarshalJSON() ([]byte, error)
func (*JobVersionsResponse) SetDiffs ¶
func (o *JobVersionsResponse) SetDiffs(v []JobDiff)
SetDiffs gets a reference to the given []JobDiff and assigns it to the Diffs field.
func (*JobVersionsResponse) SetKnownLeader ¶
func (o *JobVersionsResponse) SetKnownLeader(v bool)
SetKnownLeader gets a reference to the given bool and assigns it to the KnownLeader field.
func (*JobVersionsResponse) SetLastContact ¶
func (o *JobVersionsResponse) SetLastContact(v int64)
SetLastContact gets a reference to the given int64 and assigns it to the LastContact field.
func (*JobVersionsResponse) SetLastIndex ¶
func (o *JobVersionsResponse) SetLastIndex(v int32)
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*JobVersionsResponse) SetRequestTime ¶
func (o *JobVersionsResponse) SetRequestTime(v int64)
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
func (*JobVersionsResponse) SetVersions ¶
func (o *JobVersionsResponse) SetVersions(v []Job)
SetVersions gets a reference to the given []Job and assigns it to the Versions field.
type JobsApiService ¶
type JobsApiService service
JobsApiService JobsApi service
func (*JobsApiService) EvaluateJob ¶
func (a *JobsApiService) EvaluateJob(ctx _context.Context, jobName string) ApiEvaluateJobRequest
* EvaluateJob Creates a new evaluation for the given job. This can be used to force run the scheduling logic if necessary. See https://www.nomadproject.io/api-docs/jobs#create-job-evaluation. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param jobName The job identifier. * @return ApiEvaluateJobRequest
func (*JobsApiService) EvaluateJobExecute ¶
func (a *JobsApiService) EvaluateJobExecute(r ApiEvaluateJobRequest) (JobRegisterResponse, *_nethttp.Response, error)
* Execute executes the request * @return JobRegisterResponse
func (*JobsApiService) GetJobAllocations ¶
func (a *JobsApiService) GetJobAllocations(ctx _context.Context, jobName string) ApiGetJobAllocationsRequest
* GetJobAllocations Gets information about a single job's allocations. See [documentation](https://www.nomadproject.io/api-docs/allocations#list-allocations). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param jobName The job identifier. * @return ApiGetJobAllocationsRequest
func (*JobsApiService) GetJobAllocationsExecute ¶
func (a *JobsApiService) GetJobAllocationsExecute(r ApiGetJobAllocationsRequest) ([]AllocListStub, *_nethttp.Response, error)
* Execute executes the request * @return []AllocListStub
func (*JobsApiService) GetJobEvaluations ¶
func (a *JobsApiService) GetJobEvaluations(ctx _context.Context, jobName string) ApiGetJobEvaluationsRequest
* GetJobEvaluations Gets information about a single job's evaluations. See [documentation](https://www.nomadproject.io/api-docs/evaluations#list-evaluations). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param jobName The job identifier. * @return ApiGetJobEvaluationsRequest
func (*JobsApiService) GetJobEvaluationsExecute ¶
func (a *JobsApiService) GetJobEvaluationsExecute(r ApiGetJobEvaluationsRequest) ([]Evaluation, *_nethttp.Response, error)
* Execute executes the request * @return []Evaluation
func (*JobsApiService) GetJobs ¶
func (a *JobsApiService) GetJobs(ctx _context.Context) ApiGetJobsRequest
* GetJobs List all known jobs registered with Nomad. See https://www.nomadproject.io/api-docs/jobs#list-jobs. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetJobsRequest
func (*JobsApiService) GetJobsExecute ¶
func (a *JobsApiService) GetJobsExecute(r ApiGetJobsRequest) ([]JobListStub, *_nethttp.Response, error)
* Execute executes the request * @return []JobListStub
func (*JobsApiService) ParseJobSpec ¶
func (a *JobsApiService) ParseJobSpec(ctx _context.Context) ApiParseJobSpecRequest
* ParseJobSpec Parses a HCL jobspec and produce the equivalent JSON encoded job. See https://www.nomadproject.io/api-docs/jobs#parse-job. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiParseJobSpecRequest
func (*JobsApiService) ParseJobSpecExecute ¶
func (a *JobsApiService) ParseJobSpecExecute(r ApiParseJobSpecRequest) (Job, *_nethttp.Response, error)
* Execute executes the request * @return Job
func (*JobsApiService) PutJobForceRequest ¶
func (a *JobsApiService) PutJobForceRequest(ctx _context.Context, jobName string) ApiPutJobForceRequestRequest
* PutJobForceRequest Forces a new instance of the periodic job. A new instance will be created even if it violates the job's prohibit_overlap settings. As such, this should be only used to immediately run a periodic job. See [documentation](https://www.nomadproject.io/docs/commands/job/periodic-force). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param jobName The job identifier. * @return ApiPutJobForceRequestRequest
func (*JobsApiService) PutJobForceRequestExecute ¶
func (a *JobsApiService) PutJobForceRequestExecute(r ApiPutJobForceRequestRequest) (PeriodicForceResponse, *_nethttp.Response, error)
* Execute executes the request * @return PeriodicForceResponse
type JobsParseRequest ¶
type JobsParseRequest struct { // Canonicalize is a flag as to if the server should return default values for unset fields Canonicalize *bool `json:"Canonicalize,omitempty"` // JobHCL is an hcl jobspec JobHCL *string `json:"JobHCL,omitempty"` // HCLv1 indicates whether the JobHCL should be parsed with the hcl v1 parser Hclv1 *bool `json:"hclv1,omitempty"` }
JobsParseRequest JobsParseRequest is used for arguments of the /v1/jobs/parse endpoint
func NewJobsParseRequest ¶
func NewJobsParseRequest() *JobsParseRequest
NewJobsParseRequest instantiates a new JobsParseRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobsParseRequestWithDefaults ¶
func NewJobsParseRequestWithDefaults() *JobsParseRequest
NewJobsParseRequestWithDefaults instantiates a new JobsParseRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobsParseRequest) GetCanonicalize ¶
func (o *JobsParseRequest) GetCanonicalize() bool
GetCanonicalize returns the Canonicalize field value if set, zero value otherwise.
func (*JobsParseRequest) GetCanonicalizeOk ¶
func (o *JobsParseRequest) GetCanonicalizeOk() (*bool, bool)
GetCanonicalizeOk returns a tuple with the Canonicalize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobsParseRequest) GetHclv1 ¶
func (o *JobsParseRequest) GetHclv1() bool
GetHclv1 returns the Hclv1 field value if set, zero value otherwise.
func (*JobsParseRequest) GetHclv1Ok ¶
func (o *JobsParseRequest) GetHclv1Ok() (*bool, bool)
GetHclv1Ok returns a tuple with the Hclv1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobsParseRequest) GetJobHCL ¶
func (o *JobsParseRequest) GetJobHCL() string
GetJobHCL returns the JobHCL field value if set, zero value otherwise.
func (*JobsParseRequest) GetJobHCLOk ¶
func (o *JobsParseRequest) GetJobHCLOk() (*string, bool)
GetJobHCLOk returns a tuple with the JobHCL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobsParseRequest) HasCanonicalize ¶
func (o *JobsParseRequest) HasCanonicalize() bool
HasCanonicalize returns a boolean if a field has been set.
func (*JobsParseRequest) HasHclv1 ¶
func (o *JobsParseRequest) HasHclv1() bool
HasHclv1 returns a boolean if a field has been set.
func (*JobsParseRequest) HasJobHCL ¶
func (o *JobsParseRequest) HasJobHCL() bool
HasJobHCL returns a boolean if a field has been set.
func (JobsParseRequest) MarshalJSON ¶
func (o JobsParseRequest) MarshalJSON() ([]byte, error)
func (*JobsParseRequest) SetCanonicalize ¶
func (o *JobsParseRequest) SetCanonicalize(v bool)
SetCanonicalize gets a reference to the given bool and assigns it to the Canonicalize field.
func (*JobsParseRequest) SetHclv1 ¶
func (o *JobsParseRequest) SetHclv1(v bool)
SetHclv1 gets a reference to the given bool and assigns it to the Hclv1 field.
func (*JobsParseRequest) SetJobHCL ¶
func (o *JobsParseRequest) SetJobHCL(v string)
SetJobHCL gets a reference to the given string and assigns it to the JobHCL field.
type LogConfig ¶
type LogConfig struct { MaxFileSizeMB *int64 `json:"MaxFileSizeMB,omitempty"` MaxFiles *int64 `json:"MaxFiles,omitempty"` }
LogConfig LogConfig provides configuration for log rotation
func NewLogConfig ¶
func NewLogConfig() *LogConfig
NewLogConfig instantiates a new LogConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLogConfigWithDefaults ¶
func NewLogConfigWithDefaults() *LogConfig
NewLogConfigWithDefaults instantiates a new LogConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LogConfig) GetMaxFileSizeMB ¶
GetMaxFileSizeMB returns the MaxFileSizeMB field value if set, zero value otherwise.
func (*LogConfig) GetMaxFileSizeMBOk ¶
GetMaxFileSizeMBOk returns a tuple with the MaxFileSizeMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogConfig) GetMaxFiles ¶
GetMaxFiles returns the MaxFiles field value if set, zero value otherwise.
func (*LogConfig) GetMaxFilesOk ¶
GetMaxFilesOk returns a tuple with the MaxFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogConfig) HasMaxFileSizeMB ¶
HasMaxFileSizeMB returns a boolean if a field has been set.
func (*LogConfig) HasMaxFiles ¶
HasMaxFiles returns a boolean if a field has been set.
func (LogConfig) MarshalJSON ¶
func (*LogConfig) SetMaxFileSizeMB ¶
SetMaxFileSizeMB gets a reference to the given int64 and assigns it to the MaxFileSizeMB field.
func (*LogConfig) SetMaxFiles ¶
SetMaxFiles gets a reference to the given int64 and assigns it to the MaxFiles field.
type MigrateStrategy ¶
type MigrateStrategy struct { HealthCheck *string `json:"HealthCheck,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. HealthyDeadline *int64 `json:"HealthyDeadline,omitempty"` MaxParallel *int64 `json:"MaxParallel,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. MinHealthyTime *int64 `json:"MinHealthyTime,omitempty"` }
MigrateStrategy MigrateStrategy describes how allocations for a task group should be migrated between nodes (eg when draining).
func NewMigrateStrategy ¶
func NewMigrateStrategy() *MigrateStrategy
NewMigrateStrategy instantiates a new MigrateStrategy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMigrateStrategyWithDefaults ¶
func NewMigrateStrategyWithDefaults() *MigrateStrategy
NewMigrateStrategyWithDefaults instantiates a new MigrateStrategy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MigrateStrategy) GetHealthCheck ¶
func (o *MigrateStrategy) GetHealthCheck() string
GetHealthCheck returns the HealthCheck field value if set, zero value otherwise.
func (*MigrateStrategy) GetHealthCheckOk ¶
func (o *MigrateStrategy) GetHealthCheckOk() (*string, bool)
GetHealthCheckOk returns a tuple with the HealthCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MigrateStrategy) GetHealthyDeadline ¶
func (o *MigrateStrategy) GetHealthyDeadline() int64
GetHealthyDeadline returns the HealthyDeadline field value if set, zero value otherwise.
func (*MigrateStrategy) GetHealthyDeadlineOk ¶
func (o *MigrateStrategy) GetHealthyDeadlineOk() (*int64, bool)
GetHealthyDeadlineOk returns a tuple with the HealthyDeadline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MigrateStrategy) GetMaxParallel ¶
func (o *MigrateStrategy) GetMaxParallel() int64
GetMaxParallel returns the MaxParallel field value if set, zero value otherwise.
func (*MigrateStrategy) GetMaxParallelOk ¶
func (o *MigrateStrategy) GetMaxParallelOk() (*int64, bool)
GetMaxParallelOk returns a tuple with the MaxParallel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MigrateStrategy) GetMinHealthyTime ¶
func (o *MigrateStrategy) GetMinHealthyTime() int64
GetMinHealthyTime returns the MinHealthyTime field value if set, zero value otherwise.
func (*MigrateStrategy) GetMinHealthyTimeOk ¶
func (o *MigrateStrategy) GetMinHealthyTimeOk() (*int64, bool)
GetMinHealthyTimeOk returns a tuple with the MinHealthyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MigrateStrategy) HasHealthCheck ¶
func (o *MigrateStrategy) HasHealthCheck() bool
HasHealthCheck returns a boolean if a field has been set.
func (*MigrateStrategy) HasHealthyDeadline ¶
func (o *MigrateStrategy) HasHealthyDeadline() bool
HasHealthyDeadline returns a boolean if a field has been set.
func (*MigrateStrategy) HasMaxParallel ¶
func (o *MigrateStrategy) HasMaxParallel() bool
HasMaxParallel returns a boolean if a field has been set.
func (*MigrateStrategy) HasMinHealthyTime ¶
func (o *MigrateStrategy) HasMinHealthyTime() bool
HasMinHealthyTime returns a boolean if a field has been set.
func (MigrateStrategy) MarshalJSON ¶
func (o MigrateStrategy) MarshalJSON() ([]byte, error)
func (*MigrateStrategy) SetHealthCheck ¶
func (o *MigrateStrategy) SetHealthCheck(v string)
SetHealthCheck gets a reference to the given string and assigns it to the HealthCheck field.
func (*MigrateStrategy) SetHealthyDeadline ¶
func (o *MigrateStrategy) SetHealthyDeadline(v int64)
SetHealthyDeadline gets a reference to the given int64 and assigns it to the HealthyDeadline field.
func (*MigrateStrategy) SetMaxParallel ¶
func (o *MigrateStrategy) SetMaxParallel(v int64)
SetMaxParallel gets a reference to the given int64 and assigns it to the MaxParallel field.
func (*MigrateStrategy) SetMinHealthyTime ¶
func (o *MigrateStrategy) SetMinHealthyTime(v int64)
SetMinHealthyTime gets a reference to the given int64 and assigns it to the MinHealthyTime field.
type Multiregion ¶
type Multiregion struct { Regions *[]MultiregionRegion `json:"Regions,omitempty"` Strategy *MultiregionStrategy `json:"Strategy,omitempty"` }
Multiregion struct for Multiregion
func NewMultiregion ¶
func NewMultiregion() *Multiregion
NewMultiregion instantiates a new Multiregion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMultiregionWithDefaults ¶
func NewMultiregionWithDefaults() *Multiregion
NewMultiregionWithDefaults instantiates a new Multiregion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Multiregion) GetRegions ¶
func (o *Multiregion) GetRegions() []MultiregionRegion
GetRegions returns the Regions field value if set, zero value otherwise.
func (*Multiregion) GetRegionsOk ¶
func (o *Multiregion) GetRegionsOk() (*[]MultiregionRegion, bool)
GetRegionsOk returns a tuple with the Regions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Multiregion) GetStrategy ¶
func (o *Multiregion) GetStrategy() MultiregionStrategy
GetStrategy returns the Strategy field value if set, zero value otherwise.
func (*Multiregion) GetStrategyOk ¶
func (o *Multiregion) GetStrategyOk() (*MultiregionStrategy, bool)
GetStrategyOk returns a tuple with the Strategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Multiregion) HasRegions ¶
func (o *Multiregion) HasRegions() bool
HasRegions returns a boolean if a field has been set.
func (*Multiregion) HasStrategy ¶
func (o *Multiregion) HasStrategy() bool
HasStrategy returns a boolean if a field has been set.
func (Multiregion) MarshalJSON ¶
func (o Multiregion) MarshalJSON() ([]byte, error)
func (*Multiregion) SetRegions ¶
func (o *Multiregion) SetRegions(v []MultiregionRegion)
SetRegions gets a reference to the given []MultiregionRegion and assigns it to the Regions field.
func (*Multiregion) SetStrategy ¶
func (o *Multiregion) SetStrategy(v MultiregionStrategy)
SetStrategy gets a reference to the given MultiregionStrategy and assigns it to the Strategy field.
type MultiregionRegion ¶
type MultiregionRegion struct { Count *int64 `json:"Count,omitempty"` Datacenters *[]string `json:"Datacenters,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Name *string `json:"Name,omitempty"` }
MultiregionRegion struct for MultiregionRegion
func NewMultiregionRegion ¶
func NewMultiregionRegion() *MultiregionRegion
NewMultiregionRegion instantiates a new MultiregionRegion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMultiregionRegionWithDefaults ¶
func NewMultiregionRegionWithDefaults() *MultiregionRegion
NewMultiregionRegionWithDefaults instantiates a new MultiregionRegion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MultiregionRegion) GetCount ¶
func (o *MultiregionRegion) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*MultiregionRegion) GetCountOk ¶
func (o *MultiregionRegion) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionRegion) GetDatacenters ¶
func (o *MultiregionRegion) GetDatacenters() []string
GetDatacenters returns the Datacenters field value if set, zero value otherwise.
func (*MultiregionRegion) GetDatacentersOk ¶
func (o *MultiregionRegion) GetDatacentersOk() (*[]string, bool)
GetDatacentersOk returns a tuple with the Datacenters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionRegion) GetMeta ¶
func (o *MultiregionRegion) GetMeta() map[string]string
GetMeta returns the Meta field value if set, zero value otherwise.
func (*MultiregionRegion) GetMetaOk ¶
func (o *MultiregionRegion) GetMetaOk() (*map[string]string, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionRegion) GetName ¶
func (o *MultiregionRegion) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MultiregionRegion) GetNameOk ¶
func (o *MultiregionRegion) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionRegion) HasCount ¶
func (o *MultiregionRegion) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*MultiregionRegion) HasDatacenters ¶
func (o *MultiregionRegion) HasDatacenters() bool
HasDatacenters returns a boolean if a field has been set.
func (*MultiregionRegion) HasMeta ¶
func (o *MultiregionRegion) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*MultiregionRegion) HasName ¶
func (o *MultiregionRegion) HasName() bool
HasName returns a boolean if a field has been set.
func (MultiregionRegion) MarshalJSON ¶
func (o MultiregionRegion) MarshalJSON() ([]byte, error)
func (*MultiregionRegion) SetCount ¶
func (o *MultiregionRegion) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*MultiregionRegion) SetDatacenters ¶
func (o *MultiregionRegion) SetDatacenters(v []string)
SetDatacenters gets a reference to the given []string and assigns it to the Datacenters field.
func (*MultiregionRegion) SetMeta ¶
func (o *MultiregionRegion) SetMeta(v map[string]string)
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*MultiregionRegion) SetName ¶
func (o *MultiregionRegion) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type MultiregionStrategy ¶
type MultiregionStrategy struct { MaxParallel *int64 `json:"MaxParallel,omitempty"` OnFailure *string `json:"OnFailure,omitempty"` }
MultiregionStrategy struct for MultiregionStrategy
func NewMultiregionStrategy ¶
func NewMultiregionStrategy() *MultiregionStrategy
NewMultiregionStrategy instantiates a new MultiregionStrategy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMultiregionStrategyWithDefaults ¶
func NewMultiregionStrategyWithDefaults() *MultiregionStrategy
NewMultiregionStrategyWithDefaults instantiates a new MultiregionStrategy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MultiregionStrategy) GetMaxParallel ¶
func (o *MultiregionStrategy) GetMaxParallel() int64
GetMaxParallel returns the MaxParallel field value if set, zero value otherwise.
func (*MultiregionStrategy) GetMaxParallelOk ¶
func (o *MultiregionStrategy) GetMaxParallelOk() (*int64, bool)
GetMaxParallelOk returns a tuple with the MaxParallel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionStrategy) GetOnFailure ¶
func (o *MultiregionStrategy) GetOnFailure() string
GetOnFailure returns the OnFailure field value if set, zero value otherwise.
func (*MultiregionStrategy) GetOnFailureOk ¶
func (o *MultiregionStrategy) GetOnFailureOk() (*string, bool)
GetOnFailureOk returns a tuple with the OnFailure field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiregionStrategy) HasMaxParallel ¶
func (o *MultiregionStrategy) HasMaxParallel() bool
HasMaxParallel returns a boolean if a field has been set.
func (*MultiregionStrategy) HasOnFailure ¶
func (o *MultiregionStrategy) HasOnFailure() bool
HasOnFailure returns a boolean if a field has been set.
func (MultiregionStrategy) MarshalJSON ¶
func (o MultiregionStrategy) MarshalJSON() ([]byte, error)
func (*MultiregionStrategy) SetMaxParallel ¶
func (o *MultiregionStrategy) SetMaxParallel(v int64)
SetMaxParallel gets a reference to the given int64 and assigns it to the MaxParallel field.
func (*MultiregionStrategy) SetOnFailure ¶
func (o *MultiregionStrategy) SetOnFailure(v string)
SetOnFailure gets a reference to the given string and assigns it to the OnFailure field.
type NetworkResource ¶
type NetworkResource struct { CIDR *string `json:"CIDR,omitempty"` DNS *DNSConfig `json:"DNS,omitempty"` Device *string `json:"Device,omitempty"` DynamicPorts *[]Port `json:"DynamicPorts,omitempty"` IP *string `json:"IP,omitempty"` MBits *int64 `json:"MBits,omitempty"` Mode *string `json:"Mode,omitempty"` ReservedPorts *[]Port `json:"ReservedPorts,omitempty"` }
NetworkResource NetworkResource is used to represent available network resources
func NewNetworkResource ¶
func NewNetworkResource() *NetworkResource
NewNetworkResource instantiates a new NetworkResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkResourceWithDefaults ¶
func NewNetworkResourceWithDefaults() *NetworkResource
NewNetworkResourceWithDefaults instantiates a new NetworkResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkResource) GetCIDR ¶
func (o *NetworkResource) GetCIDR() string
GetCIDR returns the CIDR field value if set, zero value otherwise.
func (*NetworkResource) GetCIDROk ¶
func (o *NetworkResource) GetCIDROk() (*string, bool)
GetCIDROk returns a tuple with the CIDR field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetDNS ¶
func (o *NetworkResource) GetDNS() DNSConfig
GetDNS returns the DNS field value if set, zero value otherwise.
func (*NetworkResource) GetDNSOk ¶
func (o *NetworkResource) GetDNSOk() (*DNSConfig, bool)
GetDNSOk returns a tuple with the DNS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetDevice ¶
func (o *NetworkResource) GetDevice() string
GetDevice returns the Device field value if set, zero value otherwise.
func (*NetworkResource) GetDeviceOk ¶
func (o *NetworkResource) GetDeviceOk() (*string, bool)
GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetDynamicPorts ¶
func (o *NetworkResource) GetDynamicPorts() []Port
GetDynamicPorts returns the DynamicPorts field value if set, zero value otherwise.
func (*NetworkResource) GetDynamicPortsOk ¶
func (o *NetworkResource) GetDynamicPortsOk() (*[]Port, bool)
GetDynamicPortsOk returns a tuple with the DynamicPorts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetIP ¶
func (o *NetworkResource) GetIP() string
GetIP returns the IP field value if set, zero value otherwise.
func (*NetworkResource) GetIPOk ¶
func (o *NetworkResource) GetIPOk() (*string, bool)
GetIPOk returns a tuple with the IP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetMBits ¶
func (o *NetworkResource) GetMBits() int64
GetMBits returns the MBits field value if set, zero value otherwise.
func (*NetworkResource) GetMBitsOk ¶
func (o *NetworkResource) GetMBitsOk() (*int64, bool)
GetMBitsOk returns a tuple with the MBits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetMode ¶
func (o *NetworkResource) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*NetworkResource) GetModeOk ¶
func (o *NetworkResource) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) GetReservedPorts ¶
func (o *NetworkResource) GetReservedPorts() []Port
GetReservedPorts returns the ReservedPorts field value if set, zero value otherwise.
func (*NetworkResource) GetReservedPortsOk ¶
func (o *NetworkResource) GetReservedPortsOk() (*[]Port, bool)
GetReservedPortsOk returns a tuple with the ReservedPorts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkResource) HasCIDR ¶
func (o *NetworkResource) HasCIDR() bool
HasCIDR returns a boolean if a field has been set.
func (*NetworkResource) HasDNS ¶
func (o *NetworkResource) HasDNS() bool
HasDNS returns a boolean if a field has been set.
func (*NetworkResource) HasDevice ¶
func (o *NetworkResource) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (*NetworkResource) HasDynamicPorts ¶
func (o *NetworkResource) HasDynamicPorts() bool
HasDynamicPorts returns a boolean if a field has been set.
func (*NetworkResource) HasIP ¶
func (o *NetworkResource) HasIP() bool
HasIP returns a boolean if a field has been set.
func (*NetworkResource) HasMBits ¶
func (o *NetworkResource) HasMBits() bool
HasMBits returns a boolean if a field has been set.
func (*NetworkResource) HasMode ¶
func (o *NetworkResource) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*NetworkResource) HasReservedPorts ¶
func (o *NetworkResource) HasReservedPorts() bool
HasReservedPorts returns a boolean if a field has been set.
func (NetworkResource) MarshalJSON ¶
func (o NetworkResource) MarshalJSON() ([]byte, error)
func (*NetworkResource) SetCIDR ¶
func (o *NetworkResource) SetCIDR(v string)
SetCIDR gets a reference to the given string and assigns it to the CIDR field.
func (*NetworkResource) SetDNS ¶
func (o *NetworkResource) SetDNS(v DNSConfig)
SetDNS gets a reference to the given DNSConfig and assigns it to the DNS field.
func (*NetworkResource) SetDevice ¶
func (o *NetworkResource) SetDevice(v string)
SetDevice gets a reference to the given string and assigns it to the Device field.
func (*NetworkResource) SetDynamicPorts ¶
func (o *NetworkResource) SetDynamicPorts(v []Port)
SetDynamicPorts gets a reference to the given []Port and assigns it to the DynamicPorts field.
func (*NetworkResource) SetIP ¶
func (o *NetworkResource) SetIP(v string)
SetIP gets a reference to the given string and assigns it to the IP field.
func (*NetworkResource) SetMBits ¶
func (o *NetworkResource) SetMBits(v int64)
SetMBits gets a reference to the given int64 and assigns it to the MBits field.
func (*NetworkResource) SetMode ¶
func (o *NetworkResource) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*NetworkResource) SetReservedPorts ¶
func (o *NetworkResource) SetReservedPorts(v []Port)
SetReservedPorts gets a reference to the given []Port and assigns it to the ReservedPorts field.
type NodeScoreMeta ¶
type NodeScoreMeta struct { NodeID *string `json:"NodeID,omitempty"` NormScore *float64 `json:"NormScore,omitempty"` Scores *map[string]float64 `json:"Scores,omitempty"` }
NodeScoreMeta NodeScoreMeta is used to serialize node scoring metadata displayed in the CLI during verbose mode
func NewNodeScoreMeta ¶
func NewNodeScoreMeta() *NodeScoreMeta
NewNodeScoreMeta instantiates a new NodeScoreMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeScoreMetaWithDefaults ¶
func NewNodeScoreMetaWithDefaults() *NodeScoreMeta
NewNodeScoreMetaWithDefaults instantiates a new NodeScoreMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NodeScoreMeta) GetNodeID ¶
func (o *NodeScoreMeta) GetNodeID() string
GetNodeID returns the NodeID field value if set, zero value otherwise.
func (*NodeScoreMeta) GetNodeIDOk ¶
func (o *NodeScoreMeta) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeScoreMeta) GetNormScore ¶
func (o *NodeScoreMeta) GetNormScore() float64
GetNormScore returns the NormScore field value if set, zero value otherwise.
func (*NodeScoreMeta) GetNormScoreOk ¶
func (o *NodeScoreMeta) GetNormScoreOk() (*float64, bool)
GetNormScoreOk returns a tuple with the NormScore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeScoreMeta) GetScores ¶
func (o *NodeScoreMeta) GetScores() map[string]float64
GetScores returns the Scores field value if set, zero value otherwise.
func (*NodeScoreMeta) GetScoresOk ¶
func (o *NodeScoreMeta) GetScoresOk() (*map[string]float64, bool)
GetScoresOk returns a tuple with the Scores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeScoreMeta) HasNodeID ¶
func (o *NodeScoreMeta) HasNodeID() bool
HasNodeID returns a boolean if a field has been set.
func (*NodeScoreMeta) HasNormScore ¶
func (o *NodeScoreMeta) HasNormScore() bool
HasNormScore returns a boolean if a field has been set.
func (*NodeScoreMeta) HasScores ¶
func (o *NodeScoreMeta) HasScores() bool
HasScores returns a boolean if a field has been set.
func (NodeScoreMeta) MarshalJSON ¶
func (o NodeScoreMeta) MarshalJSON() ([]byte, error)
func (*NodeScoreMeta) SetNodeID ¶
func (o *NodeScoreMeta) SetNodeID(v string)
SetNodeID gets a reference to the given string and assigns it to the NodeID field.
func (*NodeScoreMeta) SetNormScore ¶
func (o *NodeScoreMeta) SetNormScore(v float64)
SetNormScore gets a reference to the given float64 and assigns it to the NormScore field.
func (*NodeScoreMeta) SetScores ¶
func (o *NodeScoreMeta) SetScores(v map[string]float64)
SetScores gets a reference to the given map[string]float64 and assigns it to the Scores field.
type NullableAffinity ¶
type NullableAffinity struct {
// contains filtered or unexported fields
}
func NewNullableAffinity ¶
func NewNullableAffinity(val *Affinity) *NullableAffinity
func (NullableAffinity) Get ¶
func (v NullableAffinity) Get() *Affinity
func (NullableAffinity) IsSet ¶
func (v NullableAffinity) IsSet() bool
func (NullableAffinity) MarshalJSON ¶
func (v NullableAffinity) MarshalJSON() ([]byte, error)
func (*NullableAffinity) Set ¶
func (v *NullableAffinity) Set(val *Affinity)
func (*NullableAffinity) UnmarshalJSON ¶
func (v *NullableAffinity) UnmarshalJSON(src []byte) error
func (*NullableAffinity) Unset ¶
func (v *NullableAffinity) Unset()
type NullableAllocDeploymentStatus ¶
type NullableAllocDeploymentStatus struct {
// contains filtered or unexported fields
}
func NewNullableAllocDeploymentStatus ¶
func NewNullableAllocDeploymentStatus(val *AllocDeploymentStatus) *NullableAllocDeploymentStatus
func (NullableAllocDeploymentStatus) Get ¶
func (v NullableAllocDeploymentStatus) Get() *AllocDeploymentStatus
func (NullableAllocDeploymentStatus) IsSet ¶
func (v NullableAllocDeploymentStatus) IsSet() bool
func (NullableAllocDeploymentStatus) MarshalJSON ¶
func (v NullableAllocDeploymentStatus) MarshalJSON() ([]byte, error)
func (*NullableAllocDeploymentStatus) Set ¶
func (v *NullableAllocDeploymentStatus) Set(val *AllocDeploymentStatus)
func (*NullableAllocDeploymentStatus) UnmarshalJSON ¶
func (v *NullableAllocDeploymentStatus) UnmarshalJSON(src []byte) error
func (*NullableAllocDeploymentStatus) Unset ¶
func (v *NullableAllocDeploymentStatus) Unset()
type NullableAllocListStub ¶
type NullableAllocListStub struct {
// contains filtered or unexported fields
}
func NewNullableAllocListStub ¶
func NewNullableAllocListStub(val *AllocListStub) *NullableAllocListStub
func (NullableAllocListStub) Get ¶
func (v NullableAllocListStub) Get() *AllocListStub
func (NullableAllocListStub) IsSet ¶
func (v NullableAllocListStub) IsSet() bool
func (NullableAllocListStub) MarshalJSON ¶
func (v NullableAllocListStub) MarshalJSON() ([]byte, error)
func (*NullableAllocListStub) Set ¶
func (v *NullableAllocListStub) Set(val *AllocListStub)
func (*NullableAllocListStub) UnmarshalJSON ¶
func (v *NullableAllocListStub) UnmarshalJSON(src []byte) error
func (*NullableAllocListStub) Unset ¶
func (v *NullableAllocListStub) Unset()
type NullableAllocatedCpuResources ¶
type NullableAllocatedCpuResources struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedCpuResources ¶
func NewNullableAllocatedCpuResources(val *AllocatedCpuResources) *NullableAllocatedCpuResources
func (NullableAllocatedCpuResources) Get ¶
func (v NullableAllocatedCpuResources) Get() *AllocatedCpuResources
func (NullableAllocatedCpuResources) IsSet ¶
func (v NullableAllocatedCpuResources) IsSet() bool
func (NullableAllocatedCpuResources) MarshalJSON ¶
func (v NullableAllocatedCpuResources) MarshalJSON() ([]byte, error)
func (*NullableAllocatedCpuResources) Set ¶
func (v *NullableAllocatedCpuResources) Set(val *AllocatedCpuResources)
func (*NullableAllocatedCpuResources) UnmarshalJSON ¶
func (v *NullableAllocatedCpuResources) UnmarshalJSON(src []byte) error
func (*NullableAllocatedCpuResources) Unset ¶
func (v *NullableAllocatedCpuResources) Unset()
type NullableAllocatedDeviceResource ¶
type NullableAllocatedDeviceResource struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedDeviceResource ¶
func NewNullableAllocatedDeviceResource(val *AllocatedDeviceResource) *NullableAllocatedDeviceResource
func (NullableAllocatedDeviceResource) Get ¶
func (v NullableAllocatedDeviceResource) Get() *AllocatedDeviceResource
func (NullableAllocatedDeviceResource) IsSet ¶
func (v NullableAllocatedDeviceResource) IsSet() bool
func (NullableAllocatedDeviceResource) MarshalJSON ¶
func (v NullableAllocatedDeviceResource) MarshalJSON() ([]byte, error)
func (*NullableAllocatedDeviceResource) Set ¶
func (v *NullableAllocatedDeviceResource) Set(val *AllocatedDeviceResource)
func (*NullableAllocatedDeviceResource) UnmarshalJSON ¶
func (v *NullableAllocatedDeviceResource) UnmarshalJSON(src []byte) error
func (*NullableAllocatedDeviceResource) Unset ¶
func (v *NullableAllocatedDeviceResource) Unset()
type NullableAllocatedMemoryResources ¶
type NullableAllocatedMemoryResources struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedMemoryResources ¶
func NewNullableAllocatedMemoryResources(val *AllocatedMemoryResources) *NullableAllocatedMemoryResources
func (NullableAllocatedMemoryResources) Get ¶
func (v NullableAllocatedMemoryResources) Get() *AllocatedMemoryResources
func (NullableAllocatedMemoryResources) IsSet ¶
func (v NullableAllocatedMemoryResources) IsSet() bool
func (NullableAllocatedMemoryResources) MarshalJSON ¶
func (v NullableAllocatedMemoryResources) MarshalJSON() ([]byte, error)
func (*NullableAllocatedMemoryResources) Set ¶
func (v *NullableAllocatedMemoryResources) Set(val *AllocatedMemoryResources)
func (*NullableAllocatedMemoryResources) UnmarshalJSON ¶
func (v *NullableAllocatedMemoryResources) UnmarshalJSON(src []byte) error
func (*NullableAllocatedMemoryResources) Unset ¶
func (v *NullableAllocatedMemoryResources) Unset()
type NullableAllocatedPortMapping ¶
type NullableAllocatedPortMapping struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedPortMapping ¶
func NewNullableAllocatedPortMapping(val *AllocatedPortMapping) *NullableAllocatedPortMapping
func (NullableAllocatedPortMapping) Get ¶
func (v NullableAllocatedPortMapping) Get() *AllocatedPortMapping
func (NullableAllocatedPortMapping) IsSet ¶
func (v NullableAllocatedPortMapping) IsSet() bool
func (NullableAllocatedPortMapping) MarshalJSON ¶
func (v NullableAllocatedPortMapping) MarshalJSON() ([]byte, error)
func (*NullableAllocatedPortMapping) Set ¶
func (v *NullableAllocatedPortMapping) Set(val *AllocatedPortMapping)
func (*NullableAllocatedPortMapping) UnmarshalJSON ¶
func (v *NullableAllocatedPortMapping) UnmarshalJSON(src []byte) error
func (*NullableAllocatedPortMapping) Unset ¶
func (v *NullableAllocatedPortMapping) Unset()
type NullableAllocatedResources ¶
type NullableAllocatedResources struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedResources ¶
func NewNullableAllocatedResources(val *AllocatedResources) *NullableAllocatedResources
func (NullableAllocatedResources) Get ¶
func (v NullableAllocatedResources) Get() *AllocatedResources
func (NullableAllocatedResources) IsSet ¶
func (v NullableAllocatedResources) IsSet() bool
func (NullableAllocatedResources) MarshalJSON ¶
func (v NullableAllocatedResources) MarshalJSON() ([]byte, error)
func (*NullableAllocatedResources) Set ¶
func (v *NullableAllocatedResources) Set(val *AllocatedResources)
func (*NullableAllocatedResources) UnmarshalJSON ¶
func (v *NullableAllocatedResources) UnmarshalJSON(src []byte) error
func (*NullableAllocatedResources) Unset ¶
func (v *NullableAllocatedResources) Unset()
type NullableAllocatedSharedResources ¶
type NullableAllocatedSharedResources struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedSharedResources ¶
func NewNullableAllocatedSharedResources(val *AllocatedSharedResources) *NullableAllocatedSharedResources
func (NullableAllocatedSharedResources) Get ¶
func (v NullableAllocatedSharedResources) Get() *AllocatedSharedResources
func (NullableAllocatedSharedResources) IsSet ¶
func (v NullableAllocatedSharedResources) IsSet() bool
func (NullableAllocatedSharedResources) MarshalJSON ¶
func (v NullableAllocatedSharedResources) MarshalJSON() ([]byte, error)
func (*NullableAllocatedSharedResources) Set ¶
func (v *NullableAllocatedSharedResources) Set(val *AllocatedSharedResources)
func (*NullableAllocatedSharedResources) UnmarshalJSON ¶
func (v *NullableAllocatedSharedResources) UnmarshalJSON(src []byte) error
func (*NullableAllocatedSharedResources) Unset ¶
func (v *NullableAllocatedSharedResources) Unset()
type NullableAllocatedTaskResources ¶
type NullableAllocatedTaskResources struct {
// contains filtered or unexported fields
}
func NewNullableAllocatedTaskResources ¶
func NewNullableAllocatedTaskResources(val *AllocatedTaskResources) *NullableAllocatedTaskResources
func (NullableAllocatedTaskResources) Get ¶
func (v NullableAllocatedTaskResources) Get() *AllocatedTaskResources
func (NullableAllocatedTaskResources) IsSet ¶
func (v NullableAllocatedTaskResources) IsSet() bool
func (NullableAllocatedTaskResources) MarshalJSON ¶
func (v NullableAllocatedTaskResources) MarshalJSON() ([]byte, error)
func (*NullableAllocatedTaskResources) Set ¶
func (v *NullableAllocatedTaskResources) Set(val *AllocatedTaskResources)
func (*NullableAllocatedTaskResources) UnmarshalJSON ¶
func (v *NullableAllocatedTaskResources) UnmarshalJSON(src []byte) error
func (*NullableAllocatedTaskResources) Unset ¶
func (v *NullableAllocatedTaskResources) Unset()
type NullableAllocationListStub ¶
type NullableAllocationListStub struct {
// contains filtered or unexported fields
}
func NewNullableAllocationListStub ¶
func NewNullableAllocationListStub(val *AllocationListStub) *NullableAllocationListStub
func (NullableAllocationListStub) Get ¶
func (v NullableAllocationListStub) Get() *AllocationListStub
func (NullableAllocationListStub) IsSet ¶
func (v NullableAllocationListStub) IsSet() bool
func (NullableAllocationListStub) MarshalJSON ¶
func (v NullableAllocationListStub) MarshalJSON() ([]byte, error)
func (*NullableAllocationListStub) Set ¶
func (v *NullableAllocationListStub) Set(val *AllocationListStub)
func (*NullableAllocationListStub) UnmarshalJSON ¶
func (v *NullableAllocationListStub) UnmarshalJSON(src []byte) error
func (*NullableAllocationListStub) Unset ¶
func (v *NullableAllocationListStub) Unset()
type NullableAllocationMetric ¶
type NullableAllocationMetric struct {
// contains filtered or unexported fields
}
func NewNullableAllocationMetric ¶
func NewNullableAllocationMetric(val *AllocationMetric) *NullableAllocationMetric
func (NullableAllocationMetric) Get ¶
func (v NullableAllocationMetric) Get() *AllocationMetric
func (NullableAllocationMetric) IsSet ¶
func (v NullableAllocationMetric) IsSet() bool
func (NullableAllocationMetric) MarshalJSON ¶
func (v NullableAllocationMetric) MarshalJSON() ([]byte, error)
func (*NullableAllocationMetric) Set ¶
func (v *NullableAllocationMetric) Set(val *AllocationMetric)
func (*NullableAllocationMetric) UnmarshalJSON ¶
func (v *NullableAllocationMetric) UnmarshalJSON(src []byte) error
func (*NullableAllocationMetric) Unset ¶
func (v *NullableAllocationMetric) Unset()
type NullableAuthenticateOKBody ¶
type NullableAuthenticateOKBody struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticateOKBody ¶
func NewNullableAuthenticateOKBody(val *AuthenticateOKBody) *NullableAuthenticateOKBody
func (NullableAuthenticateOKBody) Get ¶
func (v NullableAuthenticateOKBody) Get() *AuthenticateOKBody
func (NullableAuthenticateOKBody) IsSet ¶
func (v NullableAuthenticateOKBody) IsSet() bool
func (NullableAuthenticateOKBody) MarshalJSON ¶
func (v NullableAuthenticateOKBody) MarshalJSON() ([]byte, error)
func (*NullableAuthenticateOKBody) Set ¶
func (v *NullableAuthenticateOKBody) Set(val *AuthenticateOKBody)
func (*NullableAuthenticateOKBody) UnmarshalJSON ¶
func (v *NullableAuthenticateOKBody) UnmarshalJSON(src []byte) error
func (*NullableAuthenticateOKBody) Unset ¶
func (v *NullableAuthenticateOKBody) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCSIMountOptions ¶
type NullableCSIMountOptions struct {
// contains filtered or unexported fields
}
func NewNullableCSIMountOptions ¶
func NewNullableCSIMountOptions(val *CSIMountOptions) *NullableCSIMountOptions
func (NullableCSIMountOptions) Get ¶
func (v NullableCSIMountOptions) Get() *CSIMountOptions
func (NullableCSIMountOptions) IsSet ¶
func (v NullableCSIMountOptions) IsSet() bool
func (NullableCSIMountOptions) MarshalJSON ¶
func (v NullableCSIMountOptions) MarshalJSON() ([]byte, error)
func (*NullableCSIMountOptions) Set ¶
func (v *NullableCSIMountOptions) Set(val *CSIMountOptions)
func (*NullableCSIMountOptions) UnmarshalJSON ¶
func (v *NullableCSIMountOptions) UnmarshalJSON(src []byte) error
func (*NullableCSIMountOptions) Unset ¶
func (v *NullableCSIMountOptions) Unset()
type NullableCheckRestart ¶
type NullableCheckRestart struct {
// contains filtered or unexported fields
}
func NewNullableCheckRestart ¶
func NewNullableCheckRestart(val *CheckRestart) *NullableCheckRestart
func (NullableCheckRestart) Get ¶
func (v NullableCheckRestart) Get() *CheckRestart
func (NullableCheckRestart) IsSet ¶
func (v NullableCheckRestart) IsSet() bool
func (NullableCheckRestart) MarshalJSON ¶
func (v NullableCheckRestart) MarshalJSON() ([]byte, error)
func (*NullableCheckRestart) Set ¶
func (v *NullableCheckRestart) Set(val *CheckRestart)
func (*NullableCheckRestart) UnmarshalJSON ¶
func (v *NullableCheckRestart) UnmarshalJSON(src []byte) error
func (*NullableCheckRestart) Unset ¶
func (v *NullableCheckRestart) Unset()
type NullableConstraint ¶
type NullableConstraint struct {
// contains filtered or unexported fields
}
func NewNullableConstraint ¶
func NewNullableConstraint(val *Constraint) *NullableConstraint
func (NullableConstraint) Get ¶
func (v NullableConstraint) Get() *Constraint
func (NullableConstraint) IsSet ¶
func (v NullableConstraint) IsSet() bool
func (NullableConstraint) MarshalJSON ¶
func (v NullableConstraint) MarshalJSON() ([]byte, error)
func (*NullableConstraint) Set ¶
func (v *NullableConstraint) Set(val *Constraint)
func (*NullableConstraint) UnmarshalJSON ¶
func (v *NullableConstraint) UnmarshalJSON(src []byte) error
func (*NullableConstraint) Unset ¶
func (v *NullableConstraint) Unset()
type NullableConsul ¶
type NullableConsul struct {
// contains filtered or unexported fields
}
func NewNullableConsul ¶
func NewNullableConsul(val *Consul) *NullableConsul
func (NullableConsul) Get ¶
func (v NullableConsul) Get() *Consul
func (NullableConsul) IsSet ¶
func (v NullableConsul) IsSet() bool
func (NullableConsul) MarshalJSON ¶
func (v NullableConsul) MarshalJSON() ([]byte, error)
func (*NullableConsul) Set ¶
func (v *NullableConsul) Set(val *Consul)
func (*NullableConsul) UnmarshalJSON ¶
func (v *NullableConsul) UnmarshalJSON(src []byte) error
func (*NullableConsul) Unset ¶
func (v *NullableConsul) Unset()
type NullableConsulConnect ¶
type NullableConsulConnect struct {
// contains filtered or unexported fields
}
func NewNullableConsulConnect ¶
func NewNullableConsulConnect(val *ConsulConnect) *NullableConsulConnect
func (NullableConsulConnect) Get ¶
func (v NullableConsulConnect) Get() *ConsulConnect
func (NullableConsulConnect) IsSet ¶
func (v NullableConsulConnect) IsSet() bool
func (NullableConsulConnect) MarshalJSON ¶
func (v NullableConsulConnect) MarshalJSON() ([]byte, error)
func (*NullableConsulConnect) Set ¶
func (v *NullableConsulConnect) Set(val *ConsulConnect)
func (*NullableConsulConnect) UnmarshalJSON ¶
func (v *NullableConsulConnect) UnmarshalJSON(src []byte) error
func (*NullableConsulConnect) Unset ¶
func (v *NullableConsulConnect) Unset()
type NullableConsulExposeConfig ¶
type NullableConsulExposeConfig struct {
// contains filtered or unexported fields
}
func NewNullableConsulExposeConfig ¶
func NewNullableConsulExposeConfig(val *ConsulExposeConfig) *NullableConsulExposeConfig
func (NullableConsulExposeConfig) Get ¶
func (v NullableConsulExposeConfig) Get() *ConsulExposeConfig
func (NullableConsulExposeConfig) IsSet ¶
func (v NullableConsulExposeConfig) IsSet() bool
func (NullableConsulExposeConfig) MarshalJSON ¶
func (v NullableConsulExposeConfig) MarshalJSON() ([]byte, error)
func (*NullableConsulExposeConfig) Set ¶
func (v *NullableConsulExposeConfig) Set(val *ConsulExposeConfig)
func (*NullableConsulExposeConfig) UnmarshalJSON ¶
func (v *NullableConsulExposeConfig) UnmarshalJSON(src []byte) error
func (*NullableConsulExposeConfig) Unset ¶
func (v *NullableConsulExposeConfig) Unset()
type NullableConsulExposePath ¶
type NullableConsulExposePath struct {
// contains filtered or unexported fields
}
func NewNullableConsulExposePath ¶
func NewNullableConsulExposePath(val *ConsulExposePath) *NullableConsulExposePath
func (NullableConsulExposePath) Get ¶
func (v NullableConsulExposePath) Get() *ConsulExposePath
func (NullableConsulExposePath) IsSet ¶
func (v NullableConsulExposePath) IsSet() bool
func (NullableConsulExposePath) MarshalJSON ¶
func (v NullableConsulExposePath) MarshalJSON() ([]byte, error)
func (*NullableConsulExposePath) Set ¶
func (v *NullableConsulExposePath) Set(val *ConsulExposePath)
func (*NullableConsulExposePath) UnmarshalJSON ¶
func (v *NullableConsulExposePath) UnmarshalJSON(src []byte) error
func (*NullableConsulExposePath) Unset ¶
func (v *NullableConsulExposePath) Unset()
type NullableConsulGateway ¶
type NullableConsulGateway struct {
// contains filtered or unexported fields
}
func NewNullableConsulGateway ¶
func NewNullableConsulGateway(val *ConsulGateway) *NullableConsulGateway
func (NullableConsulGateway) Get ¶
func (v NullableConsulGateway) Get() *ConsulGateway
func (NullableConsulGateway) IsSet ¶
func (v NullableConsulGateway) IsSet() bool
func (NullableConsulGateway) MarshalJSON ¶
func (v NullableConsulGateway) MarshalJSON() ([]byte, error)
func (*NullableConsulGateway) Set ¶
func (v *NullableConsulGateway) Set(val *ConsulGateway)
func (*NullableConsulGateway) UnmarshalJSON ¶
func (v *NullableConsulGateway) UnmarshalJSON(src []byte) error
func (*NullableConsulGateway) Unset ¶
func (v *NullableConsulGateway) Unset()
type NullableConsulGatewayBindAddress ¶
type NullableConsulGatewayBindAddress struct {
// contains filtered or unexported fields
}
func NewNullableConsulGatewayBindAddress ¶
func NewNullableConsulGatewayBindAddress(val *ConsulGatewayBindAddress) *NullableConsulGatewayBindAddress
func (NullableConsulGatewayBindAddress) Get ¶
func (v NullableConsulGatewayBindAddress) Get() *ConsulGatewayBindAddress
func (NullableConsulGatewayBindAddress) IsSet ¶
func (v NullableConsulGatewayBindAddress) IsSet() bool
func (NullableConsulGatewayBindAddress) MarshalJSON ¶
func (v NullableConsulGatewayBindAddress) MarshalJSON() ([]byte, error)
func (*NullableConsulGatewayBindAddress) Set ¶
func (v *NullableConsulGatewayBindAddress) Set(val *ConsulGatewayBindAddress)
func (*NullableConsulGatewayBindAddress) UnmarshalJSON ¶
func (v *NullableConsulGatewayBindAddress) UnmarshalJSON(src []byte) error
func (*NullableConsulGatewayBindAddress) Unset ¶
func (v *NullableConsulGatewayBindAddress) Unset()
type NullableConsulGatewayProxy ¶
type NullableConsulGatewayProxy struct {
// contains filtered or unexported fields
}
func NewNullableConsulGatewayProxy ¶
func NewNullableConsulGatewayProxy(val *ConsulGatewayProxy) *NullableConsulGatewayProxy
func (NullableConsulGatewayProxy) Get ¶
func (v NullableConsulGatewayProxy) Get() *ConsulGatewayProxy
func (NullableConsulGatewayProxy) IsSet ¶
func (v NullableConsulGatewayProxy) IsSet() bool
func (NullableConsulGatewayProxy) MarshalJSON ¶
func (v NullableConsulGatewayProxy) MarshalJSON() ([]byte, error)
func (*NullableConsulGatewayProxy) Set ¶
func (v *NullableConsulGatewayProxy) Set(val *ConsulGatewayProxy)
func (*NullableConsulGatewayProxy) UnmarshalJSON ¶
func (v *NullableConsulGatewayProxy) UnmarshalJSON(src []byte) error
func (*NullableConsulGatewayProxy) Unset ¶
func (v *NullableConsulGatewayProxy) Unset()
type NullableConsulGatewayTLSConfig ¶
type NullableConsulGatewayTLSConfig struct {
// contains filtered or unexported fields
}
func NewNullableConsulGatewayTLSConfig ¶
func NewNullableConsulGatewayTLSConfig(val *ConsulGatewayTLSConfig) *NullableConsulGatewayTLSConfig
func (NullableConsulGatewayTLSConfig) Get ¶
func (v NullableConsulGatewayTLSConfig) Get() *ConsulGatewayTLSConfig
func (NullableConsulGatewayTLSConfig) IsSet ¶
func (v NullableConsulGatewayTLSConfig) IsSet() bool
func (NullableConsulGatewayTLSConfig) MarshalJSON ¶
func (v NullableConsulGatewayTLSConfig) MarshalJSON() ([]byte, error)
func (*NullableConsulGatewayTLSConfig) Set ¶
func (v *NullableConsulGatewayTLSConfig) Set(val *ConsulGatewayTLSConfig)
func (*NullableConsulGatewayTLSConfig) UnmarshalJSON ¶
func (v *NullableConsulGatewayTLSConfig) UnmarshalJSON(src []byte) error
func (*NullableConsulGatewayTLSConfig) Unset ¶
func (v *NullableConsulGatewayTLSConfig) Unset()
type NullableConsulIngressConfigEntry ¶
type NullableConsulIngressConfigEntry struct {
// contains filtered or unexported fields
}
func NewNullableConsulIngressConfigEntry ¶
func NewNullableConsulIngressConfigEntry(val *ConsulIngressConfigEntry) *NullableConsulIngressConfigEntry
func (NullableConsulIngressConfigEntry) Get ¶
func (v NullableConsulIngressConfigEntry) Get() *ConsulIngressConfigEntry
func (NullableConsulIngressConfigEntry) IsSet ¶
func (v NullableConsulIngressConfigEntry) IsSet() bool
func (NullableConsulIngressConfigEntry) MarshalJSON ¶
func (v NullableConsulIngressConfigEntry) MarshalJSON() ([]byte, error)
func (*NullableConsulIngressConfigEntry) Set ¶
func (v *NullableConsulIngressConfigEntry) Set(val *ConsulIngressConfigEntry)
func (*NullableConsulIngressConfigEntry) UnmarshalJSON ¶
func (v *NullableConsulIngressConfigEntry) UnmarshalJSON(src []byte) error
func (*NullableConsulIngressConfigEntry) Unset ¶
func (v *NullableConsulIngressConfigEntry) Unset()
type NullableConsulIngressListener ¶
type NullableConsulIngressListener struct {
// contains filtered or unexported fields
}
func NewNullableConsulIngressListener ¶
func NewNullableConsulIngressListener(val *ConsulIngressListener) *NullableConsulIngressListener
func (NullableConsulIngressListener) Get ¶
func (v NullableConsulIngressListener) Get() *ConsulIngressListener
func (NullableConsulIngressListener) IsSet ¶
func (v NullableConsulIngressListener) IsSet() bool
func (NullableConsulIngressListener) MarshalJSON ¶
func (v NullableConsulIngressListener) MarshalJSON() ([]byte, error)
func (*NullableConsulIngressListener) Set ¶
func (v *NullableConsulIngressListener) Set(val *ConsulIngressListener)
func (*NullableConsulIngressListener) UnmarshalJSON ¶
func (v *NullableConsulIngressListener) UnmarshalJSON(src []byte) error
func (*NullableConsulIngressListener) Unset ¶
func (v *NullableConsulIngressListener) Unset()
type NullableConsulIngressService ¶
type NullableConsulIngressService struct {
// contains filtered or unexported fields
}
func NewNullableConsulIngressService ¶
func NewNullableConsulIngressService(val *ConsulIngressService) *NullableConsulIngressService
func (NullableConsulIngressService) Get ¶
func (v NullableConsulIngressService) Get() *ConsulIngressService
func (NullableConsulIngressService) IsSet ¶
func (v NullableConsulIngressService) IsSet() bool
func (NullableConsulIngressService) MarshalJSON ¶
func (v NullableConsulIngressService) MarshalJSON() ([]byte, error)
func (*NullableConsulIngressService) Set ¶
func (v *NullableConsulIngressService) Set(val *ConsulIngressService)
func (*NullableConsulIngressService) UnmarshalJSON ¶
func (v *NullableConsulIngressService) UnmarshalJSON(src []byte) error
func (*NullableConsulIngressService) Unset ¶
func (v *NullableConsulIngressService) Unset()
type NullableConsulLinkedService ¶
type NullableConsulLinkedService struct {
// contains filtered or unexported fields
}
func NewNullableConsulLinkedService ¶
func NewNullableConsulLinkedService(val *ConsulLinkedService) *NullableConsulLinkedService
func (NullableConsulLinkedService) Get ¶
func (v NullableConsulLinkedService) Get() *ConsulLinkedService
func (NullableConsulLinkedService) IsSet ¶
func (v NullableConsulLinkedService) IsSet() bool
func (NullableConsulLinkedService) MarshalJSON ¶
func (v NullableConsulLinkedService) MarshalJSON() ([]byte, error)
func (*NullableConsulLinkedService) Set ¶
func (v *NullableConsulLinkedService) Set(val *ConsulLinkedService)
func (*NullableConsulLinkedService) UnmarshalJSON ¶
func (v *NullableConsulLinkedService) UnmarshalJSON(src []byte) error
func (*NullableConsulLinkedService) Unset ¶
func (v *NullableConsulLinkedService) Unset()
type NullableConsulProxy ¶
type NullableConsulProxy struct {
// contains filtered or unexported fields
}
func NewNullableConsulProxy ¶
func NewNullableConsulProxy(val *ConsulProxy) *NullableConsulProxy
func (NullableConsulProxy) Get ¶
func (v NullableConsulProxy) Get() *ConsulProxy
func (NullableConsulProxy) IsSet ¶
func (v NullableConsulProxy) IsSet() bool
func (NullableConsulProxy) MarshalJSON ¶
func (v NullableConsulProxy) MarshalJSON() ([]byte, error)
func (*NullableConsulProxy) Set ¶
func (v *NullableConsulProxy) Set(val *ConsulProxy)
func (*NullableConsulProxy) UnmarshalJSON ¶
func (v *NullableConsulProxy) UnmarshalJSON(src []byte) error
func (*NullableConsulProxy) Unset ¶
func (v *NullableConsulProxy) Unset()
type NullableConsulSidecarService ¶
type NullableConsulSidecarService struct {
// contains filtered or unexported fields
}
func NewNullableConsulSidecarService ¶
func NewNullableConsulSidecarService(val *ConsulSidecarService) *NullableConsulSidecarService
func (NullableConsulSidecarService) Get ¶
func (v NullableConsulSidecarService) Get() *ConsulSidecarService
func (NullableConsulSidecarService) IsSet ¶
func (v NullableConsulSidecarService) IsSet() bool
func (NullableConsulSidecarService) MarshalJSON ¶
func (v NullableConsulSidecarService) MarshalJSON() ([]byte, error)
func (*NullableConsulSidecarService) Set ¶
func (v *NullableConsulSidecarService) Set(val *ConsulSidecarService)
func (*NullableConsulSidecarService) UnmarshalJSON ¶
func (v *NullableConsulSidecarService) UnmarshalJSON(src []byte) error
func (*NullableConsulSidecarService) Unset ¶
func (v *NullableConsulSidecarService) Unset()
type NullableConsulTerminatingConfigEntry ¶
type NullableConsulTerminatingConfigEntry struct {
// contains filtered or unexported fields
}
func NewNullableConsulTerminatingConfigEntry ¶
func NewNullableConsulTerminatingConfigEntry(val *ConsulTerminatingConfigEntry) *NullableConsulTerminatingConfigEntry
func (NullableConsulTerminatingConfigEntry) Get ¶
func (v NullableConsulTerminatingConfigEntry) Get() *ConsulTerminatingConfigEntry
func (NullableConsulTerminatingConfigEntry) IsSet ¶
func (v NullableConsulTerminatingConfigEntry) IsSet() bool
func (NullableConsulTerminatingConfigEntry) MarshalJSON ¶
func (v NullableConsulTerminatingConfigEntry) MarshalJSON() ([]byte, error)
func (*NullableConsulTerminatingConfigEntry) Set ¶
func (v *NullableConsulTerminatingConfigEntry) Set(val *ConsulTerminatingConfigEntry)
func (*NullableConsulTerminatingConfigEntry) UnmarshalJSON ¶
func (v *NullableConsulTerminatingConfigEntry) UnmarshalJSON(src []byte) error
func (*NullableConsulTerminatingConfigEntry) Unset ¶
func (v *NullableConsulTerminatingConfigEntry) Unset()
type NullableConsulUpstream ¶
type NullableConsulUpstream struct {
// contains filtered or unexported fields
}
func NewNullableConsulUpstream ¶
func NewNullableConsulUpstream(val *ConsulUpstream) *NullableConsulUpstream
func (NullableConsulUpstream) Get ¶
func (v NullableConsulUpstream) Get() *ConsulUpstream
func (NullableConsulUpstream) IsSet ¶
func (v NullableConsulUpstream) IsSet() bool
func (NullableConsulUpstream) MarshalJSON ¶
func (v NullableConsulUpstream) MarshalJSON() ([]byte, error)
func (*NullableConsulUpstream) Set ¶
func (v *NullableConsulUpstream) Set(val *ConsulUpstream)
func (*NullableConsulUpstream) UnmarshalJSON ¶
func (v *NullableConsulUpstream) UnmarshalJSON(src []byte) error
func (*NullableConsulUpstream) Unset ¶
func (v *NullableConsulUpstream) Unset()
type NullableContainerChangeResponseItem ¶
type NullableContainerChangeResponseItem struct {
// contains filtered or unexported fields
}
func NewNullableContainerChangeResponseItem ¶
func NewNullableContainerChangeResponseItem(val *ContainerChangeResponseItem) *NullableContainerChangeResponseItem
func (NullableContainerChangeResponseItem) Get ¶
func (v NullableContainerChangeResponseItem) Get() *ContainerChangeResponseItem
func (NullableContainerChangeResponseItem) IsSet ¶
func (v NullableContainerChangeResponseItem) IsSet() bool
func (NullableContainerChangeResponseItem) MarshalJSON ¶
func (v NullableContainerChangeResponseItem) MarshalJSON() ([]byte, error)
func (*NullableContainerChangeResponseItem) Set ¶
func (v *NullableContainerChangeResponseItem) Set(val *ContainerChangeResponseItem)
func (*NullableContainerChangeResponseItem) UnmarshalJSON ¶
func (v *NullableContainerChangeResponseItem) UnmarshalJSON(src []byte) error
func (*NullableContainerChangeResponseItem) Unset ¶
func (v *NullableContainerChangeResponseItem) Unset()
type NullableContainerCreateCreatedBody ¶
type NullableContainerCreateCreatedBody struct {
// contains filtered or unexported fields
}
func NewNullableContainerCreateCreatedBody ¶
func NewNullableContainerCreateCreatedBody(val *ContainerCreateCreatedBody) *NullableContainerCreateCreatedBody
func (NullableContainerCreateCreatedBody) Get ¶
func (v NullableContainerCreateCreatedBody) Get() *ContainerCreateCreatedBody
func (NullableContainerCreateCreatedBody) IsSet ¶
func (v NullableContainerCreateCreatedBody) IsSet() bool
func (NullableContainerCreateCreatedBody) MarshalJSON ¶
func (v NullableContainerCreateCreatedBody) MarshalJSON() ([]byte, error)
func (*NullableContainerCreateCreatedBody) Set ¶
func (v *NullableContainerCreateCreatedBody) Set(val *ContainerCreateCreatedBody)
func (*NullableContainerCreateCreatedBody) UnmarshalJSON ¶
func (v *NullableContainerCreateCreatedBody) UnmarshalJSON(src []byte) error
func (*NullableContainerCreateCreatedBody) Unset ¶
func (v *NullableContainerCreateCreatedBody) Unset()
type NullableContainerTopOKBody ¶
type NullableContainerTopOKBody struct {
// contains filtered or unexported fields
}
func NewNullableContainerTopOKBody ¶
func NewNullableContainerTopOKBody(val *ContainerTopOKBody) *NullableContainerTopOKBody
func (NullableContainerTopOKBody) Get ¶
func (v NullableContainerTopOKBody) Get() *ContainerTopOKBody
func (NullableContainerTopOKBody) IsSet ¶
func (v NullableContainerTopOKBody) IsSet() bool
func (NullableContainerTopOKBody) MarshalJSON ¶
func (v NullableContainerTopOKBody) MarshalJSON() ([]byte, error)
func (*NullableContainerTopOKBody) Set ¶
func (v *NullableContainerTopOKBody) Set(val *ContainerTopOKBody)
func (*NullableContainerTopOKBody) UnmarshalJSON ¶
func (v *NullableContainerTopOKBody) UnmarshalJSON(src []byte) error
func (*NullableContainerTopOKBody) Unset ¶
func (v *NullableContainerTopOKBody) Unset()
type NullableContainerUpdateOKBody ¶
type NullableContainerUpdateOKBody struct {
// contains filtered or unexported fields
}
func NewNullableContainerUpdateOKBody ¶
func NewNullableContainerUpdateOKBody(val *ContainerUpdateOKBody) *NullableContainerUpdateOKBody
func (NullableContainerUpdateOKBody) Get ¶
func (v NullableContainerUpdateOKBody) Get() *ContainerUpdateOKBody
func (NullableContainerUpdateOKBody) IsSet ¶
func (v NullableContainerUpdateOKBody) IsSet() bool
func (NullableContainerUpdateOKBody) MarshalJSON ¶
func (v NullableContainerUpdateOKBody) MarshalJSON() ([]byte, error)
func (*NullableContainerUpdateOKBody) Set ¶
func (v *NullableContainerUpdateOKBody) Set(val *ContainerUpdateOKBody)
func (*NullableContainerUpdateOKBody) UnmarshalJSON ¶
func (v *NullableContainerUpdateOKBody) UnmarshalJSON(src []byte) error
func (*NullableContainerUpdateOKBody) Unset ¶
func (v *NullableContainerUpdateOKBody) Unset()
type NullableContainerWaitOKBody ¶
type NullableContainerWaitOKBody struct {
// contains filtered or unexported fields
}
func NewNullableContainerWaitOKBody ¶
func NewNullableContainerWaitOKBody(val *ContainerWaitOKBody) *NullableContainerWaitOKBody
func (NullableContainerWaitOKBody) Get ¶
func (v NullableContainerWaitOKBody) Get() *ContainerWaitOKBody
func (NullableContainerWaitOKBody) IsSet ¶
func (v NullableContainerWaitOKBody) IsSet() bool
func (NullableContainerWaitOKBody) MarshalJSON ¶
func (v NullableContainerWaitOKBody) MarshalJSON() ([]byte, error)
func (*NullableContainerWaitOKBody) Set ¶
func (v *NullableContainerWaitOKBody) Set(val *ContainerWaitOKBody)
func (*NullableContainerWaitOKBody) UnmarshalJSON ¶
func (v *NullableContainerWaitOKBody) UnmarshalJSON(src []byte) error
func (*NullableContainerWaitOKBody) Unset ¶
func (v *NullableContainerWaitOKBody) Unset()
type NullableContainerWaitOKBodyError ¶
type NullableContainerWaitOKBodyError struct {
// contains filtered or unexported fields
}
func NewNullableContainerWaitOKBodyError ¶
func NewNullableContainerWaitOKBodyError(val *ContainerWaitOKBodyError) *NullableContainerWaitOKBodyError
func (NullableContainerWaitOKBodyError) Get ¶
func (v NullableContainerWaitOKBodyError) Get() *ContainerWaitOKBodyError
func (NullableContainerWaitOKBodyError) IsSet ¶
func (v NullableContainerWaitOKBodyError) IsSet() bool
func (NullableContainerWaitOKBodyError) MarshalJSON ¶
func (v NullableContainerWaitOKBodyError) MarshalJSON() ([]byte, error)
func (*NullableContainerWaitOKBodyError) Set ¶
func (v *NullableContainerWaitOKBodyError) Set(val *ContainerWaitOKBodyError)
func (*NullableContainerWaitOKBodyError) UnmarshalJSON ¶
func (v *NullableContainerWaitOKBodyError) UnmarshalJSON(src []byte) error
func (*NullableContainerWaitOKBodyError) Unset ¶
func (v *NullableContainerWaitOKBodyError) Unset()
type NullableDNSConfig ¶
type NullableDNSConfig struct {
// contains filtered or unexported fields
}
func NewNullableDNSConfig ¶
func NewNullableDNSConfig(val *DNSConfig) *NullableDNSConfig
func (NullableDNSConfig) Get ¶
func (v NullableDNSConfig) Get() *DNSConfig
func (NullableDNSConfig) IsSet ¶
func (v NullableDNSConfig) IsSet() bool
func (NullableDNSConfig) MarshalJSON ¶
func (v NullableDNSConfig) MarshalJSON() ([]byte, error)
func (*NullableDNSConfig) Set ¶
func (v *NullableDNSConfig) Set(val *DNSConfig)
func (*NullableDNSConfig) UnmarshalJSON ¶
func (v *NullableDNSConfig) UnmarshalJSON(src []byte) error
func (*NullableDNSConfig) Unset ¶
func (v *NullableDNSConfig) Unset()
type NullableDeregisterOptions ¶
type NullableDeregisterOptions struct {
// contains filtered or unexported fields
}
func NewNullableDeregisterOptions ¶
func NewNullableDeregisterOptions(val *DeregisterOptions) *NullableDeregisterOptions
func (NullableDeregisterOptions) Get ¶
func (v NullableDeregisterOptions) Get() *DeregisterOptions
func (NullableDeregisterOptions) IsSet ¶
func (v NullableDeregisterOptions) IsSet() bool
func (NullableDeregisterOptions) MarshalJSON ¶
func (v NullableDeregisterOptions) MarshalJSON() ([]byte, error)
func (*NullableDeregisterOptions) Set ¶
func (v *NullableDeregisterOptions) Set(val *DeregisterOptions)
func (*NullableDeregisterOptions) UnmarshalJSON ¶
func (v *NullableDeregisterOptions) UnmarshalJSON(src []byte) error
func (*NullableDeregisterOptions) Unset ¶
func (v *NullableDeregisterOptions) Unset()
type NullableDesiredTransition ¶
type NullableDesiredTransition struct {
// contains filtered or unexported fields
}
func NewNullableDesiredTransition ¶
func NewNullableDesiredTransition(val *DesiredTransition) *NullableDesiredTransition
func (NullableDesiredTransition) Get ¶
func (v NullableDesiredTransition) Get() *DesiredTransition
func (NullableDesiredTransition) IsSet ¶
func (v NullableDesiredTransition) IsSet() bool
func (NullableDesiredTransition) MarshalJSON ¶
func (v NullableDesiredTransition) MarshalJSON() ([]byte, error)
func (*NullableDesiredTransition) Set ¶
func (v *NullableDesiredTransition) Set(val *DesiredTransition)
func (*NullableDesiredTransition) UnmarshalJSON ¶
func (v *NullableDesiredTransition) UnmarshalJSON(src []byte) error
func (*NullableDesiredTransition) Unset ¶
func (v *NullableDesiredTransition) Unset()
type NullableDesiredUpdates ¶
type NullableDesiredUpdates struct {
// contains filtered or unexported fields
}
func NewNullableDesiredUpdates ¶
func NewNullableDesiredUpdates(val *DesiredUpdates) *NullableDesiredUpdates
func (NullableDesiredUpdates) Get ¶
func (v NullableDesiredUpdates) Get() *DesiredUpdates
func (NullableDesiredUpdates) IsSet ¶
func (v NullableDesiredUpdates) IsSet() bool
func (NullableDesiredUpdates) MarshalJSON ¶
func (v NullableDesiredUpdates) MarshalJSON() ([]byte, error)
func (*NullableDesiredUpdates) Set ¶
func (v *NullableDesiredUpdates) Set(val *DesiredUpdates)
func (*NullableDesiredUpdates) UnmarshalJSON ¶
func (v *NullableDesiredUpdates) UnmarshalJSON(src []byte) error
func (*NullableDesiredUpdates) Unset ¶
func (v *NullableDesiredUpdates) Unset()
type NullableDispatchPayloadConfig ¶
type NullableDispatchPayloadConfig struct {
// contains filtered or unexported fields
}
func NewNullableDispatchPayloadConfig ¶
func NewNullableDispatchPayloadConfig(val *DispatchPayloadConfig) *NullableDispatchPayloadConfig
func (NullableDispatchPayloadConfig) Get ¶
func (v NullableDispatchPayloadConfig) Get() *DispatchPayloadConfig
func (NullableDispatchPayloadConfig) IsSet ¶
func (v NullableDispatchPayloadConfig) IsSet() bool
func (NullableDispatchPayloadConfig) MarshalJSON ¶
func (v NullableDispatchPayloadConfig) MarshalJSON() ([]byte, error)
func (*NullableDispatchPayloadConfig) Set ¶
func (v *NullableDispatchPayloadConfig) Set(val *DispatchPayloadConfig)
func (*NullableDispatchPayloadConfig) UnmarshalJSON ¶
func (v *NullableDispatchPayloadConfig) UnmarshalJSON(src []byte) error
func (*NullableDispatchPayloadConfig) Unset ¶
func (v *NullableDispatchPayloadConfig) Unset()
type NullableEphemeralDisk ¶
type NullableEphemeralDisk struct {
// contains filtered or unexported fields
}
func NewNullableEphemeralDisk ¶
func NewNullableEphemeralDisk(val *EphemeralDisk) *NullableEphemeralDisk
func (NullableEphemeralDisk) Get ¶
func (v NullableEphemeralDisk) Get() *EphemeralDisk
func (NullableEphemeralDisk) IsSet ¶
func (v NullableEphemeralDisk) IsSet() bool
func (NullableEphemeralDisk) MarshalJSON ¶
func (v NullableEphemeralDisk) MarshalJSON() ([]byte, error)
func (*NullableEphemeralDisk) Set ¶
func (v *NullableEphemeralDisk) Set(val *EphemeralDisk)
func (*NullableEphemeralDisk) UnmarshalJSON ¶
func (v *NullableEphemeralDisk) UnmarshalJSON(src []byte) error
func (*NullableEphemeralDisk) Unset ¶
func (v *NullableEphemeralDisk) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableEvalOptions ¶
type NullableEvalOptions struct {
// contains filtered or unexported fields
}
func NewNullableEvalOptions ¶
func NewNullableEvalOptions(val *EvalOptions) *NullableEvalOptions
func (NullableEvalOptions) Get ¶
func (v NullableEvalOptions) Get() *EvalOptions
func (NullableEvalOptions) IsSet ¶
func (v NullableEvalOptions) IsSet() bool
func (NullableEvalOptions) MarshalJSON ¶
func (v NullableEvalOptions) MarshalJSON() ([]byte, error)
func (*NullableEvalOptions) Set ¶
func (v *NullableEvalOptions) Set(val *EvalOptions)
func (*NullableEvalOptions) UnmarshalJSON ¶
func (v *NullableEvalOptions) UnmarshalJSON(src []byte) error
func (*NullableEvalOptions) Unset ¶
func (v *NullableEvalOptions) Unset()
type NullableEvaluation ¶
type NullableEvaluation struct {
// contains filtered or unexported fields
}
func NewNullableEvaluation ¶
func NewNullableEvaluation(val *Evaluation) *NullableEvaluation
func (NullableEvaluation) Get ¶
func (v NullableEvaluation) Get() *Evaluation
func (NullableEvaluation) IsSet ¶
func (v NullableEvaluation) IsSet() bool
func (NullableEvaluation) MarshalJSON ¶
func (v NullableEvaluation) MarshalJSON() ([]byte, error)
func (*NullableEvaluation) Set ¶
func (v *NullableEvaluation) Set(val *Evaluation)
func (*NullableEvaluation) UnmarshalJSON ¶
func (v *NullableEvaluation) UnmarshalJSON(src []byte) error
func (*NullableEvaluation) Unset ¶
func (v *NullableEvaluation) Unset()
type NullableFieldDiff ¶
type NullableFieldDiff struct {
// contains filtered or unexported fields
}
func NewNullableFieldDiff ¶
func NewNullableFieldDiff(val *FieldDiff) *NullableFieldDiff
func (NullableFieldDiff) Get ¶
func (v NullableFieldDiff) Get() *FieldDiff
func (NullableFieldDiff) IsSet ¶
func (v NullableFieldDiff) IsSet() bool
func (NullableFieldDiff) MarshalJSON ¶
func (v NullableFieldDiff) MarshalJSON() ([]byte, error)
func (*NullableFieldDiff) Set ¶
func (v *NullableFieldDiff) Set(val *FieldDiff)
func (*NullableFieldDiff) UnmarshalJSON ¶
func (v *NullableFieldDiff) UnmarshalJSON(src []byte) error
func (*NullableFieldDiff) Unset ¶
func (v *NullableFieldDiff) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGraphDriverData ¶
type NullableGraphDriverData struct {
// contains filtered or unexported fields
}
func NewNullableGraphDriverData ¶
func NewNullableGraphDriverData(val *GraphDriverData) *NullableGraphDriverData
func (NullableGraphDriverData) Get ¶
func (v NullableGraphDriverData) Get() *GraphDriverData
func (NullableGraphDriverData) IsSet ¶
func (v NullableGraphDriverData) IsSet() bool
func (NullableGraphDriverData) MarshalJSON ¶
func (v NullableGraphDriverData) MarshalJSON() ([]byte, error)
func (*NullableGraphDriverData) Set ¶
func (v *NullableGraphDriverData) Set(val *GraphDriverData)
func (*NullableGraphDriverData) UnmarshalJSON ¶
func (v *NullableGraphDriverData) UnmarshalJSON(src []byte) error
func (*NullableGraphDriverData) Unset ¶
func (v *NullableGraphDriverData) Unset()
type NullableIdResponse ¶
type NullableIdResponse struct {
// contains filtered or unexported fields
}
func NewNullableIdResponse ¶
func NewNullableIdResponse(val *IdResponse) *NullableIdResponse
func (NullableIdResponse) Get ¶
func (v NullableIdResponse) Get() *IdResponse
func (NullableIdResponse) IsSet ¶
func (v NullableIdResponse) IsSet() bool
func (NullableIdResponse) MarshalJSON ¶
func (v NullableIdResponse) MarshalJSON() ([]byte, error)
func (*NullableIdResponse) Set ¶
func (v *NullableIdResponse) Set(val *IdResponse)
func (*NullableIdResponse) UnmarshalJSON ¶
func (v *NullableIdResponse) UnmarshalJSON(src []byte) error
func (*NullableIdResponse) Unset ¶
func (v *NullableIdResponse) Unset()
type NullableImageDeleteResponseItem ¶
type NullableImageDeleteResponseItem struct {
// contains filtered or unexported fields
}
func NewNullableImageDeleteResponseItem ¶
func NewNullableImageDeleteResponseItem(val *ImageDeleteResponseItem) *NullableImageDeleteResponseItem
func (NullableImageDeleteResponseItem) Get ¶
func (v NullableImageDeleteResponseItem) Get() *ImageDeleteResponseItem
func (NullableImageDeleteResponseItem) IsSet ¶
func (v NullableImageDeleteResponseItem) IsSet() bool
func (NullableImageDeleteResponseItem) MarshalJSON ¶
func (v NullableImageDeleteResponseItem) MarshalJSON() ([]byte, error)
func (*NullableImageDeleteResponseItem) Set ¶
func (v *NullableImageDeleteResponseItem) Set(val *ImageDeleteResponseItem)
func (*NullableImageDeleteResponseItem) UnmarshalJSON ¶
func (v *NullableImageDeleteResponseItem) UnmarshalJSON(src []byte) error
func (*NullableImageDeleteResponseItem) Unset ¶
func (v *NullableImageDeleteResponseItem) Unset()
type NullableImageSummary ¶
type NullableImageSummary struct {
// contains filtered or unexported fields
}
func NewNullableImageSummary ¶
func NewNullableImageSummary(val *ImageSummary) *NullableImageSummary
func (NullableImageSummary) Get ¶
func (v NullableImageSummary) Get() *ImageSummary
func (NullableImageSummary) IsSet ¶
func (v NullableImageSummary) IsSet() bool
func (NullableImageSummary) MarshalJSON ¶
func (v NullableImageSummary) MarshalJSON() ([]byte, error)
func (*NullableImageSummary) Set ¶
func (v *NullableImageSummary) Set(val *ImageSummary)
func (*NullableImageSummary) UnmarshalJSON ¶
func (v *NullableImageSummary) UnmarshalJSON(src []byte) error
func (*NullableImageSummary) Unset ¶
func (v *NullableImageSummary) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJob ¶
type NullableJob struct {
// contains filtered or unexported fields
}
func NewNullableJob ¶
func NewNullableJob(val *Job) *NullableJob
func (NullableJob) Get ¶
func (v NullableJob) Get() *Job
func (NullableJob) IsSet ¶
func (v NullableJob) IsSet() bool
func (NullableJob) MarshalJSON ¶
func (v NullableJob) MarshalJSON() ([]byte, error)
func (*NullableJob) Set ¶
func (v *NullableJob) Set(val *Job)
func (*NullableJob) UnmarshalJSON ¶
func (v *NullableJob) UnmarshalJSON(src []byte) error
func (*NullableJob) Unset ¶
func (v *NullableJob) Unset()
type NullableJobChildrenSummary ¶
type NullableJobChildrenSummary struct {
// contains filtered or unexported fields
}
func NewNullableJobChildrenSummary ¶
func NewNullableJobChildrenSummary(val *JobChildrenSummary) *NullableJobChildrenSummary
func (NullableJobChildrenSummary) Get ¶
func (v NullableJobChildrenSummary) Get() *JobChildrenSummary
func (NullableJobChildrenSummary) IsSet ¶
func (v NullableJobChildrenSummary) IsSet() bool
func (NullableJobChildrenSummary) MarshalJSON ¶
func (v NullableJobChildrenSummary) MarshalJSON() ([]byte, error)
func (*NullableJobChildrenSummary) Set ¶
func (v *NullableJobChildrenSummary) Set(val *JobChildrenSummary)
func (*NullableJobChildrenSummary) UnmarshalJSON ¶
func (v *NullableJobChildrenSummary) UnmarshalJSON(src []byte) error
func (*NullableJobChildrenSummary) Unset ¶
func (v *NullableJobChildrenSummary) Unset()
type NullableJobDeregisterResponse ¶
type NullableJobDeregisterResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobDeregisterResponse ¶
func NewNullableJobDeregisterResponse(val *JobDeregisterResponse) *NullableJobDeregisterResponse
func (NullableJobDeregisterResponse) Get ¶
func (v NullableJobDeregisterResponse) Get() *JobDeregisterResponse
func (NullableJobDeregisterResponse) IsSet ¶
func (v NullableJobDeregisterResponse) IsSet() bool
func (NullableJobDeregisterResponse) MarshalJSON ¶
func (v NullableJobDeregisterResponse) MarshalJSON() ([]byte, error)
func (*NullableJobDeregisterResponse) Set ¶
func (v *NullableJobDeregisterResponse) Set(val *JobDeregisterResponse)
func (*NullableJobDeregisterResponse) UnmarshalJSON ¶
func (v *NullableJobDeregisterResponse) UnmarshalJSON(src []byte) error
func (*NullableJobDeregisterResponse) Unset ¶
func (v *NullableJobDeregisterResponse) Unset()
type NullableJobDiff ¶
type NullableJobDiff struct {
// contains filtered or unexported fields
}
func NewNullableJobDiff ¶
func NewNullableJobDiff(val *JobDiff) *NullableJobDiff
func (NullableJobDiff) Get ¶
func (v NullableJobDiff) Get() *JobDiff
func (NullableJobDiff) IsSet ¶
func (v NullableJobDiff) IsSet() bool
func (NullableJobDiff) MarshalJSON ¶
func (v NullableJobDiff) MarshalJSON() ([]byte, error)
func (*NullableJobDiff) Set ¶
func (v *NullableJobDiff) Set(val *JobDiff)
func (*NullableJobDiff) UnmarshalJSON ¶
func (v *NullableJobDiff) UnmarshalJSON(src []byte) error
func (*NullableJobDiff) Unset ¶
func (v *NullableJobDiff) Unset()
type NullableJobDispatchRequest ¶
type NullableJobDispatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobDispatchRequest ¶
func NewNullableJobDispatchRequest(val *JobDispatchRequest) *NullableJobDispatchRequest
func (NullableJobDispatchRequest) Get ¶
func (v NullableJobDispatchRequest) Get() *JobDispatchRequest
func (NullableJobDispatchRequest) IsSet ¶
func (v NullableJobDispatchRequest) IsSet() bool
func (NullableJobDispatchRequest) MarshalJSON ¶
func (v NullableJobDispatchRequest) MarshalJSON() ([]byte, error)
func (*NullableJobDispatchRequest) Set ¶
func (v *NullableJobDispatchRequest) Set(val *JobDispatchRequest)
func (*NullableJobDispatchRequest) UnmarshalJSON ¶
func (v *NullableJobDispatchRequest) UnmarshalJSON(src []byte) error
func (*NullableJobDispatchRequest) Unset ¶
func (v *NullableJobDispatchRequest) Unset()
type NullableJobDispatchResponse ¶
type NullableJobDispatchResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobDispatchResponse ¶
func NewNullableJobDispatchResponse(val *JobDispatchResponse) *NullableJobDispatchResponse
func (NullableJobDispatchResponse) Get ¶
func (v NullableJobDispatchResponse) Get() *JobDispatchResponse
func (NullableJobDispatchResponse) IsSet ¶
func (v NullableJobDispatchResponse) IsSet() bool
func (NullableJobDispatchResponse) MarshalJSON ¶
func (v NullableJobDispatchResponse) MarshalJSON() ([]byte, error)
func (*NullableJobDispatchResponse) Set ¶
func (v *NullableJobDispatchResponse) Set(val *JobDispatchResponse)
func (*NullableJobDispatchResponse) UnmarshalJSON ¶
func (v *NullableJobDispatchResponse) UnmarshalJSON(src []byte) error
func (*NullableJobDispatchResponse) Unset ¶
func (v *NullableJobDispatchResponse) Unset()
type NullableJobEvaluateRequest ¶
type NullableJobEvaluateRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobEvaluateRequest ¶
func NewNullableJobEvaluateRequest(val *JobEvaluateRequest) *NullableJobEvaluateRequest
func (NullableJobEvaluateRequest) Get ¶
func (v NullableJobEvaluateRequest) Get() *JobEvaluateRequest
func (NullableJobEvaluateRequest) IsSet ¶
func (v NullableJobEvaluateRequest) IsSet() bool
func (NullableJobEvaluateRequest) MarshalJSON ¶
func (v NullableJobEvaluateRequest) MarshalJSON() ([]byte, error)
func (*NullableJobEvaluateRequest) Set ¶
func (v *NullableJobEvaluateRequest) Set(val *JobEvaluateRequest)
func (*NullableJobEvaluateRequest) UnmarshalJSON ¶
func (v *NullableJobEvaluateRequest) UnmarshalJSON(src []byte) error
func (*NullableJobEvaluateRequest) Unset ¶
func (v *NullableJobEvaluateRequest) Unset()
type NullableJobListStub ¶
type NullableJobListStub struct {
// contains filtered or unexported fields
}
func NewNullableJobListStub ¶
func NewNullableJobListStub(val *JobListStub) *NullableJobListStub
func (NullableJobListStub) Get ¶
func (v NullableJobListStub) Get() *JobListStub
func (NullableJobListStub) IsSet ¶
func (v NullableJobListStub) IsSet() bool
func (NullableJobListStub) MarshalJSON ¶
func (v NullableJobListStub) MarshalJSON() ([]byte, error)
func (*NullableJobListStub) Set ¶
func (v *NullableJobListStub) Set(val *JobListStub)
func (*NullableJobListStub) UnmarshalJSON ¶
func (v *NullableJobListStub) UnmarshalJSON(src []byte) error
func (*NullableJobListStub) Unset ¶
func (v *NullableJobListStub) Unset()
type NullableJobPlanRequest ¶
type NullableJobPlanRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobPlanRequest ¶
func NewNullableJobPlanRequest(val *JobPlanRequest) *NullableJobPlanRequest
func (NullableJobPlanRequest) Get ¶
func (v NullableJobPlanRequest) Get() *JobPlanRequest
func (NullableJobPlanRequest) IsSet ¶
func (v NullableJobPlanRequest) IsSet() bool
func (NullableJobPlanRequest) MarshalJSON ¶
func (v NullableJobPlanRequest) MarshalJSON() ([]byte, error)
func (*NullableJobPlanRequest) Set ¶
func (v *NullableJobPlanRequest) Set(val *JobPlanRequest)
func (*NullableJobPlanRequest) UnmarshalJSON ¶
func (v *NullableJobPlanRequest) UnmarshalJSON(src []byte) error
func (*NullableJobPlanRequest) Unset ¶
func (v *NullableJobPlanRequest) Unset()
type NullableJobPlanResponse ¶
type NullableJobPlanResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobPlanResponse ¶
func NewNullableJobPlanResponse(val *JobPlanResponse) *NullableJobPlanResponse
func (NullableJobPlanResponse) Get ¶
func (v NullableJobPlanResponse) Get() *JobPlanResponse
func (NullableJobPlanResponse) IsSet ¶
func (v NullableJobPlanResponse) IsSet() bool
func (NullableJobPlanResponse) MarshalJSON ¶
func (v NullableJobPlanResponse) MarshalJSON() ([]byte, error)
func (*NullableJobPlanResponse) Set ¶
func (v *NullableJobPlanResponse) Set(val *JobPlanResponse)
func (*NullableJobPlanResponse) UnmarshalJSON ¶
func (v *NullableJobPlanResponse) UnmarshalJSON(src []byte) error
func (*NullableJobPlanResponse) Unset ¶
func (v *NullableJobPlanResponse) Unset()
type NullableJobRegisterRequest ¶
type NullableJobRegisterRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobRegisterRequest ¶
func NewNullableJobRegisterRequest(val *JobRegisterRequest) *NullableJobRegisterRequest
func (NullableJobRegisterRequest) Get ¶
func (v NullableJobRegisterRequest) Get() *JobRegisterRequest
func (NullableJobRegisterRequest) IsSet ¶
func (v NullableJobRegisterRequest) IsSet() bool
func (NullableJobRegisterRequest) MarshalJSON ¶
func (v NullableJobRegisterRequest) MarshalJSON() ([]byte, error)
func (*NullableJobRegisterRequest) Set ¶
func (v *NullableJobRegisterRequest) Set(val *JobRegisterRequest)
func (*NullableJobRegisterRequest) UnmarshalJSON ¶
func (v *NullableJobRegisterRequest) UnmarshalJSON(src []byte) error
func (*NullableJobRegisterRequest) Unset ¶
func (v *NullableJobRegisterRequest) Unset()
type NullableJobRegisterResponse ¶
type NullableJobRegisterResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobRegisterResponse ¶
func NewNullableJobRegisterResponse(val *JobRegisterResponse) *NullableJobRegisterResponse
func (NullableJobRegisterResponse) Get ¶
func (v NullableJobRegisterResponse) Get() *JobRegisterResponse
func (NullableJobRegisterResponse) IsSet ¶
func (v NullableJobRegisterResponse) IsSet() bool
func (NullableJobRegisterResponse) MarshalJSON ¶
func (v NullableJobRegisterResponse) MarshalJSON() ([]byte, error)
func (*NullableJobRegisterResponse) Set ¶
func (v *NullableJobRegisterResponse) Set(val *JobRegisterResponse)
func (*NullableJobRegisterResponse) UnmarshalJSON ¶
func (v *NullableJobRegisterResponse) UnmarshalJSON(src []byte) error
func (*NullableJobRegisterResponse) Unset ¶
func (v *NullableJobRegisterResponse) Unset()
type NullableJobRevertRequest ¶
type NullableJobRevertRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobRevertRequest ¶
func NewNullableJobRevertRequest(val *JobRevertRequest) *NullableJobRevertRequest
func (NullableJobRevertRequest) Get ¶
func (v NullableJobRevertRequest) Get() *JobRevertRequest
func (NullableJobRevertRequest) IsSet ¶
func (v NullableJobRevertRequest) IsSet() bool
func (NullableJobRevertRequest) MarshalJSON ¶
func (v NullableJobRevertRequest) MarshalJSON() ([]byte, error)
func (*NullableJobRevertRequest) Set ¶
func (v *NullableJobRevertRequest) Set(val *JobRevertRequest)
func (*NullableJobRevertRequest) UnmarshalJSON ¶
func (v *NullableJobRevertRequest) UnmarshalJSON(src []byte) error
func (*NullableJobRevertRequest) Unset ¶
func (v *NullableJobRevertRequest) Unset()
type NullableJobStabilityRequest ¶
type NullableJobStabilityRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobStabilityRequest ¶
func NewNullableJobStabilityRequest(val *JobStabilityRequest) *NullableJobStabilityRequest
func (NullableJobStabilityRequest) Get ¶
func (v NullableJobStabilityRequest) Get() *JobStabilityRequest
func (NullableJobStabilityRequest) IsSet ¶
func (v NullableJobStabilityRequest) IsSet() bool
func (NullableJobStabilityRequest) MarshalJSON ¶
func (v NullableJobStabilityRequest) MarshalJSON() ([]byte, error)
func (*NullableJobStabilityRequest) Set ¶
func (v *NullableJobStabilityRequest) Set(val *JobStabilityRequest)
func (*NullableJobStabilityRequest) UnmarshalJSON ¶
func (v *NullableJobStabilityRequest) UnmarshalJSON(src []byte) error
func (*NullableJobStabilityRequest) Unset ¶
func (v *NullableJobStabilityRequest) Unset()
type NullableJobStabilityResponse ¶
type NullableJobStabilityResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobStabilityResponse ¶
func NewNullableJobStabilityResponse(val *JobStabilityResponse) *NullableJobStabilityResponse
func (NullableJobStabilityResponse) Get ¶
func (v NullableJobStabilityResponse) Get() *JobStabilityResponse
func (NullableJobStabilityResponse) IsSet ¶
func (v NullableJobStabilityResponse) IsSet() bool
func (NullableJobStabilityResponse) MarshalJSON ¶
func (v NullableJobStabilityResponse) MarshalJSON() ([]byte, error)
func (*NullableJobStabilityResponse) Set ¶
func (v *NullableJobStabilityResponse) Set(val *JobStabilityResponse)
func (*NullableJobStabilityResponse) UnmarshalJSON ¶
func (v *NullableJobStabilityResponse) UnmarshalJSON(src []byte) error
func (*NullableJobStabilityResponse) Unset ¶
func (v *NullableJobStabilityResponse) Unset()
type NullableJobSummary ¶
type NullableJobSummary struct {
// contains filtered or unexported fields
}
func NewNullableJobSummary ¶
func NewNullableJobSummary(val *JobSummary) *NullableJobSummary
func (NullableJobSummary) Get ¶
func (v NullableJobSummary) Get() *JobSummary
func (NullableJobSummary) IsSet ¶
func (v NullableJobSummary) IsSet() bool
func (NullableJobSummary) MarshalJSON ¶
func (v NullableJobSummary) MarshalJSON() ([]byte, error)
func (*NullableJobSummary) Set ¶
func (v *NullableJobSummary) Set(val *JobSummary)
func (*NullableJobSummary) UnmarshalJSON ¶
func (v *NullableJobSummary) UnmarshalJSON(src []byte) error
func (*NullableJobSummary) Unset ¶
func (v *NullableJobSummary) Unset()
type NullableJobValidateRequest ¶
type NullableJobValidateRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobValidateRequest ¶
func NewNullableJobValidateRequest(val *JobValidateRequest) *NullableJobValidateRequest
func (NullableJobValidateRequest) Get ¶
func (v NullableJobValidateRequest) Get() *JobValidateRequest
func (NullableJobValidateRequest) IsSet ¶
func (v NullableJobValidateRequest) IsSet() bool
func (NullableJobValidateRequest) MarshalJSON ¶
func (v NullableJobValidateRequest) MarshalJSON() ([]byte, error)
func (*NullableJobValidateRequest) Set ¶
func (v *NullableJobValidateRequest) Set(val *JobValidateRequest)
func (*NullableJobValidateRequest) UnmarshalJSON ¶
func (v *NullableJobValidateRequest) UnmarshalJSON(src []byte) error
func (*NullableJobValidateRequest) Unset ¶
func (v *NullableJobValidateRequest) Unset()
type NullableJobValidateResponse ¶
type NullableJobValidateResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobValidateResponse ¶
func NewNullableJobValidateResponse(val *JobValidateResponse) *NullableJobValidateResponse
func (NullableJobValidateResponse) Get ¶
func (v NullableJobValidateResponse) Get() *JobValidateResponse
func (NullableJobValidateResponse) IsSet ¶
func (v NullableJobValidateResponse) IsSet() bool
func (NullableJobValidateResponse) MarshalJSON ¶
func (v NullableJobValidateResponse) MarshalJSON() ([]byte, error)
func (*NullableJobValidateResponse) Set ¶
func (v *NullableJobValidateResponse) Set(val *JobValidateResponse)
func (*NullableJobValidateResponse) UnmarshalJSON ¶
func (v *NullableJobValidateResponse) UnmarshalJSON(src []byte) error
func (*NullableJobValidateResponse) Unset ¶
func (v *NullableJobValidateResponse) Unset()
type NullableJobVersionsResponse ¶
type NullableJobVersionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableJobVersionsResponse ¶
func NewNullableJobVersionsResponse(val *JobVersionsResponse) *NullableJobVersionsResponse
func (NullableJobVersionsResponse) Get ¶
func (v NullableJobVersionsResponse) Get() *JobVersionsResponse
func (NullableJobVersionsResponse) IsSet ¶
func (v NullableJobVersionsResponse) IsSet() bool
func (NullableJobVersionsResponse) MarshalJSON ¶
func (v NullableJobVersionsResponse) MarshalJSON() ([]byte, error)
func (*NullableJobVersionsResponse) Set ¶
func (v *NullableJobVersionsResponse) Set(val *JobVersionsResponse)
func (*NullableJobVersionsResponse) UnmarshalJSON ¶
func (v *NullableJobVersionsResponse) UnmarshalJSON(src []byte) error
func (*NullableJobVersionsResponse) Unset ¶
func (v *NullableJobVersionsResponse) Unset()
type NullableJobsParseRequest ¶
type NullableJobsParseRequest struct {
// contains filtered or unexported fields
}
func NewNullableJobsParseRequest ¶
func NewNullableJobsParseRequest(val *JobsParseRequest) *NullableJobsParseRequest
func (NullableJobsParseRequest) Get ¶
func (v NullableJobsParseRequest) Get() *JobsParseRequest
func (NullableJobsParseRequest) IsSet ¶
func (v NullableJobsParseRequest) IsSet() bool
func (NullableJobsParseRequest) MarshalJSON ¶
func (v NullableJobsParseRequest) MarshalJSON() ([]byte, error)
func (*NullableJobsParseRequest) Set ¶
func (v *NullableJobsParseRequest) Set(val *JobsParseRequest)
func (*NullableJobsParseRequest) UnmarshalJSON ¶
func (v *NullableJobsParseRequest) UnmarshalJSON(src []byte) error
func (*NullableJobsParseRequest) Unset ¶
func (v *NullableJobsParseRequest) Unset()
type NullableLogConfig ¶
type NullableLogConfig struct {
// contains filtered or unexported fields
}
func NewNullableLogConfig ¶
func NewNullableLogConfig(val *LogConfig) *NullableLogConfig
func (NullableLogConfig) Get ¶
func (v NullableLogConfig) Get() *LogConfig
func (NullableLogConfig) IsSet ¶
func (v NullableLogConfig) IsSet() bool
func (NullableLogConfig) MarshalJSON ¶
func (v NullableLogConfig) MarshalJSON() ([]byte, error)
func (*NullableLogConfig) Set ¶
func (v *NullableLogConfig) Set(val *LogConfig)
func (*NullableLogConfig) UnmarshalJSON ¶
func (v *NullableLogConfig) UnmarshalJSON(src []byte) error
func (*NullableLogConfig) Unset ¶
func (v *NullableLogConfig) Unset()
type NullableMigrateStrategy ¶
type NullableMigrateStrategy struct {
// contains filtered or unexported fields
}
func NewNullableMigrateStrategy ¶
func NewNullableMigrateStrategy(val *MigrateStrategy) *NullableMigrateStrategy
func (NullableMigrateStrategy) Get ¶
func (v NullableMigrateStrategy) Get() *MigrateStrategy
func (NullableMigrateStrategy) IsSet ¶
func (v NullableMigrateStrategy) IsSet() bool
func (NullableMigrateStrategy) MarshalJSON ¶
func (v NullableMigrateStrategy) MarshalJSON() ([]byte, error)
func (*NullableMigrateStrategy) Set ¶
func (v *NullableMigrateStrategy) Set(val *MigrateStrategy)
func (*NullableMigrateStrategy) UnmarshalJSON ¶
func (v *NullableMigrateStrategy) UnmarshalJSON(src []byte) error
func (*NullableMigrateStrategy) Unset ¶
func (v *NullableMigrateStrategy) Unset()
type NullableMultiregion ¶
type NullableMultiregion struct {
// contains filtered or unexported fields
}
func NewNullableMultiregion ¶
func NewNullableMultiregion(val *Multiregion) *NullableMultiregion
func (NullableMultiregion) Get ¶
func (v NullableMultiregion) Get() *Multiregion
func (NullableMultiregion) IsSet ¶
func (v NullableMultiregion) IsSet() bool
func (NullableMultiregion) MarshalJSON ¶
func (v NullableMultiregion) MarshalJSON() ([]byte, error)
func (*NullableMultiregion) Set ¶
func (v *NullableMultiregion) Set(val *Multiregion)
func (*NullableMultiregion) UnmarshalJSON ¶
func (v *NullableMultiregion) UnmarshalJSON(src []byte) error
func (*NullableMultiregion) Unset ¶
func (v *NullableMultiregion) Unset()
type NullableMultiregionRegion ¶
type NullableMultiregionRegion struct {
// contains filtered or unexported fields
}
func NewNullableMultiregionRegion ¶
func NewNullableMultiregionRegion(val *MultiregionRegion) *NullableMultiregionRegion
func (NullableMultiregionRegion) Get ¶
func (v NullableMultiregionRegion) Get() *MultiregionRegion
func (NullableMultiregionRegion) IsSet ¶
func (v NullableMultiregionRegion) IsSet() bool
func (NullableMultiregionRegion) MarshalJSON ¶
func (v NullableMultiregionRegion) MarshalJSON() ([]byte, error)
func (*NullableMultiregionRegion) Set ¶
func (v *NullableMultiregionRegion) Set(val *MultiregionRegion)
func (*NullableMultiregionRegion) UnmarshalJSON ¶
func (v *NullableMultiregionRegion) UnmarshalJSON(src []byte) error
func (*NullableMultiregionRegion) Unset ¶
func (v *NullableMultiregionRegion) Unset()
type NullableMultiregionStrategy ¶
type NullableMultiregionStrategy struct {
// contains filtered or unexported fields
}
func NewNullableMultiregionStrategy ¶
func NewNullableMultiregionStrategy(val *MultiregionStrategy) *NullableMultiregionStrategy
func (NullableMultiregionStrategy) Get ¶
func (v NullableMultiregionStrategy) Get() *MultiregionStrategy
func (NullableMultiregionStrategy) IsSet ¶
func (v NullableMultiregionStrategy) IsSet() bool
func (NullableMultiregionStrategy) MarshalJSON ¶
func (v NullableMultiregionStrategy) MarshalJSON() ([]byte, error)
func (*NullableMultiregionStrategy) Set ¶
func (v *NullableMultiregionStrategy) Set(val *MultiregionStrategy)
func (*NullableMultiregionStrategy) UnmarshalJSON ¶
func (v *NullableMultiregionStrategy) UnmarshalJSON(src []byte) error
func (*NullableMultiregionStrategy) Unset ¶
func (v *NullableMultiregionStrategy) Unset()
type NullableNetworkResource ¶
type NullableNetworkResource struct {
// contains filtered or unexported fields
}
func NewNullableNetworkResource ¶
func NewNullableNetworkResource(val *NetworkResource) *NullableNetworkResource
func (NullableNetworkResource) Get ¶
func (v NullableNetworkResource) Get() *NetworkResource
func (NullableNetworkResource) IsSet ¶
func (v NullableNetworkResource) IsSet() bool
func (NullableNetworkResource) MarshalJSON ¶
func (v NullableNetworkResource) MarshalJSON() ([]byte, error)
func (*NullableNetworkResource) Set ¶
func (v *NullableNetworkResource) Set(val *NetworkResource)
func (*NullableNetworkResource) UnmarshalJSON ¶
func (v *NullableNetworkResource) UnmarshalJSON(src []byte) error
func (*NullableNetworkResource) Unset ¶
func (v *NullableNetworkResource) Unset()
type NullableNodeScoreMeta ¶
type NullableNodeScoreMeta struct {
// contains filtered or unexported fields
}
func NewNullableNodeScoreMeta ¶
func NewNullableNodeScoreMeta(val *NodeScoreMeta) *NullableNodeScoreMeta
func (NullableNodeScoreMeta) Get ¶
func (v NullableNodeScoreMeta) Get() *NodeScoreMeta
func (NullableNodeScoreMeta) IsSet ¶
func (v NullableNodeScoreMeta) IsSet() bool
func (NullableNodeScoreMeta) MarshalJSON ¶
func (v NullableNodeScoreMeta) MarshalJSON() ([]byte, error)
func (*NullableNodeScoreMeta) Set ¶
func (v *NullableNodeScoreMeta) Set(val *NodeScoreMeta)
func (*NullableNodeScoreMeta) UnmarshalJSON ¶
func (v *NullableNodeScoreMeta) UnmarshalJSON(src []byte) error
func (*NullableNodeScoreMeta) Unset ¶
func (v *NullableNodeScoreMeta) Unset()
type NullableObjectDiff ¶
type NullableObjectDiff struct {
// contains filtered or unexported fields
}
func NewNullableObjectDiff ¶
func NewNullableObjectDiff(val *ObjectDiff) *NullableObjectDiff
func (NullableObjectDiff) Get ¶
func (v NullableObjectDiff) Get() *ObjectDiff
func (NullableObjectDiff) IsSet ¶
func (v NullableObjectDiff) IsSet() bool
func (NullableObjectDiff) MarshalJSON ¶
func (v NullableObjectDiff) MarshalJSON() ([]byte, error)
func (*NullableObjectDiff) Set ¶
func (v *NullableObjectDiff) Set(val *ObjectDiff)
func (*NullableObjectDiff) UnmarshalJSON ¶
func (v *NullableObjectDiff) UnmarshalJSON(src []byte) error
func (*NullableObjectDiff) Unset ¶
func (v *NullableObjectDiff) Unset()
type NullableParameterizedJobConfig ¶
type NullableParameterizedJobConfig struct {
// contains filtered or unexported fields
}
func NewNullableParameterizedJobConfig ¶
func NewNullableParameterizedJobConfig(val *ParameterizedJobConfig) *NullableParameterizedJobConfig
func (NullableParameterizedJobConfig) Get ¶
func (v NullableParameterizedJobConfig) Get() *ParameterizedJobConfig
func (NullableParameterizedJobConfig) IsSet ¶
func (v NullableParameterizedJobConfig) IsSet() bool
func (NullableParameterizedJobConfig) MarshalJSON ¶
func (v NullableParameterizedJobConfig) MarshalJSON() ([]byte, error)
func (*NullableParameterizedJobConfig) Set ¶
func (v *NullableParameterizedJobConfig) Set(val *ParameterizedJobConfig)
func (*NullableParameterizedJobConfig) UnmarshalJSON ¶
func (v *NullableParameterizedJobConfig) UnmarshalJSON(src []byte) error
func (*NullableParameterizedJobConfig) Unset ¶
func (v *NullableParameterizedJobConfig) Unset()
type NullablePeriodicConfig ¶
type NullablePeriodicConfig struct {
// contains filtered or unexported fields
}
func NewNullablePeriodicConfig ¶
func NewNullablePeriodicConfig(val *PeriodicConfig) *NullablePeriodicConfig
func (NullablePeriodicConfig) Get ¶
func (v NullablePeriodicConfig) Get() *PeriodicConfig
func (NullablePeriodicConfig) IsSet ¶
func (v NullablePeriodicConfig) IsSet() bool
func (NullablePeriodicConfig) MarshalJSON ¶
func (v NullablePeriodicConfig) MarshalJSON() ([]byte, error)
func (*NullablePeriodicConfig) Set ¶
func (v *NullablePeriodicConfig) Set(val *PeriodicConfig)
func (*NullablePeriodicConfig) UnmarshalJSON ¶
func (v *NullablePeriodicConfig) UnmarshalJSON(src []byte) error
func (*NullablePeriodicConfig) Unset ¶
func (v *NullablePeriodicConfig) Unset()
type NullablePeriodicForceResponse ¶
type NullablePeriodicForceResponse struct {
// contains filtered or unexported fields
}
func NewNullablePeriodicForceResponse ¶
func NewNullablePeriodicForceResponse(val *PeriodicForceResponse) *NullablePeriodicForceResponse
func (NullablePeriodicForceResponse) Get ¶
func (v NullablePeriodicForceResponse) Get() *PeriodicForceResponse
func (NullablePeriodicForceResponse) IsSet ¶
func (v NullablePeriodicForceResponse) IsSet() bool
func (NullablePeriodicForceResponse) MarshalJSON ¶
func (v NullablePeriodicForceResponse) MarshalJSON() ([]byte, error)
func (*NullablePeriodicForceResponse) Set ¶
func (v *NullablePeriodicForceResponse) Set(val *PeriodicForceResponse)
func (*NullablePeriodicForceResponse) UnmarshalJSON ¶
func (v *NullablePeriodicForceResponse) UnmarshalJSON(src []byte) error
func (*NullablePeriodicForceResponse) Unset ¶
func (v *NullablePeriodicForceResponse) Unset()
type NullablePlanAnnotations ¶
type NullablePlanAnnotations struct {
// contains filtered or unexported fields
}
func NewNullablePlanAnnotations ¶
func NewNullablePlanAnnotations(val *PlanAnnotations) *NullablePlanAnnotations
func (NullablePlanAnnotations) Get ¶
func (v NullablePlanAnnotations) Get() *PlanAnnotations
func (NullablePlanAnnotations) IsSet ¶
func (v NullablePlanAnnotations) IsSet() bool
func (NullablePlanAnnotations) MarshalJSON ¶
func (v NullablePlanAnnotations) MarshalJSON() ([]byte, error)
func (*NullablePlanAnnotations) Set ¶
func (v *NullablePlanAnnotations) Set(val *PlanAnnotations)
func (*NullablePlanAnnotations) UnmarshalJSON ¶
func (v *NullablePlanAnnotations) UnmarshalJSON(src []byte) error
func (*NullablePlanAnnotations) Unset ¶
func (v *NullablePlanAnnotations) Unset()
type NullablePlanOptions ¶
type NullablePlanOptions struct {
// contains filtered or unexported fields
}
func NewNullablePlanOptions ¶
func NewNullablePlanOptions(val *PlanOptions) *NullablePlanOptions
func (NullablePlanOptions) Get ¶
func (v NullablePlanOptions) Get() *PlanOptions
func (NullablePlanOptions) IsSet ¶
func (v NullablePlanOptions) IsSet() bool
func (NullablePlanOptions) MarshalJSON ¶
func (v NullablePlanOptions) MarshalJSON() ([]byte, error)
func (*NullablePlanOptions) Set ¶
func (v *NullablePlanOptions) Set(val *PlanOptions)
func (*NullablePlanOptions) UnmarshalJSON ¶
func (v *NullablePlanOptions) UnmarshalJSON(src []byte) error
func (*NullablePlanOptions) Unset ¶
func (v *NullablePlanOptions) Unset()
type NullablePlugin ¶
type NullablePlugin struct {
// contains filtered or unexported fields
}
func NewNullablePlugin ¶
func NewNullablePlugin(val *Plugin) *NullablePlugin
func (NullablePlugin) Get ¶
func (v NullablePlugin) Get() *Plugin
func (NullablePlugin) IsSet ¶
func (v NullablePlugin) IsSet() bool
func (NullablePlugin) MarshalJSON ¶
func (v NullablePlugin) MarshalJSON() ([]byte, error)
func (*NullablePlugin) Set ¶
func (v *NullablePlugin) Set(val *Plugin)
func (*NullablePlugin) UnmarshalJSON ¶
func (v *NullablePlugin) UnmarshalJSON(src []byte) error
func (*NullablePlugin) Unset ¶
func (v *NullablePlugin) Unset()
type NullablePluginConfig ¶
type NullablePluginConfig struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfig ¶
func NewNullablePluginConfig(val *PluginConfig) *NullablePluginConfig
func (NullablePluginConfig) Get ¶
func (v NullablePluginConfig) Get() *PluginConfig
func (NullablePluginConfig) IsSet ¶
func (v NullablePluginConfig) IsSet() bool
func (NullablePluginConfig) MarshalJSON ¶
func (v NullablePluginConfig) MarshalJSON() ([]byte, error)
func (*NullablePluginConfig) Set ¶
func (v *NullablePluginConfig) Set(val *PluginConfig)
func (*NullablePluginConfig) UnmarshalJSON ¶
func (v *NullablePluginConfig) UnmarshalJSON(src []byte) error
func (*NullablePluginConfig) Unset ¶
func (v *NullablePluginConfig) Unset()
type NullablePluginConfigArgs ¶
type NullablePluginConfigArgs struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigArgs ¶
func NewNullablePluginConfigArgs(val *PluginConfigArgs) *NullablePluginConfigArgs
func (NullablePluginConfigArgs) Get ¶
func (v NullablePluginConfigArgs) Get() *PluginConfigArgs
func (NullablePluginConfigArgs) IsSet ¶
func (v NullablePluginConfigArgs) IsSet() bool
func (NullablePluginConfigArgs) MarshalJSON ¶
func (v NullablePluginConfigArgs) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigArgs) Set ¶
func (v *NullablePluginConfigArgs) Set(val *PluginConfigArgs)
func (*NullablePluginConfigArgs) UnmarshalJSON ¶
func (v *NullablePluginConfigArgs) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigArgs) Unset ¶
func (v *NullablePluginConfigArgs) Unset()
type NullablePluginConfigInterface ¶
type NullablePluginConfigInterface struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigInterface ¶
func NewNullablePluginConfigInterface(val *PluginConfigInterface) *NullablePluginConfigInterface
func (NullablePluginConfigInterface) Get ¶
func (v NullablePluginConfigInterface) Get() *PluginConfigInterface
func (NullablePluginConfigInterface) IsSet ¶
func (v NullablePluginConfigInterface) IsSet() bool
func (NullablePluginConfigInterface) MarshalJSON ¶
func (v NullablePluginConfigInterface) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigInterface) Set ¶
func (v *NullablePluginConfigInterface) Set(val *PluginConfigInterface)
func (*NullablePluginConfigInterface) UnmarshalJSON ¶
func (v *NullablePluginConfigInterface) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigInterface) Unset ¶
func (v *NullablePluginConfigInterface) Unset()
type NullablePluginConfigLinux ¶
type NullablePluginConfigLinux struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigLinux ¶
func NewNullablePluginConfigLinux(val *PluginConfigLinux) *NullablePluginConfigLinux
func (NullablePluginConfigLinux) Get ¶
func (v NullablePluginConfigLinux) Get() *PluginConfigLinux
func (NullablePluginConfigLinux) IsSet ¶
func (v NullablePluginConfigLinux) IsSet() bool
func (NullablePluginConfigLinux) MarshalJSON ¶
func (v NullablePluginConfigLinux) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigLinux) Set ¶
func (v *NullablePluginConfigLinux) Set(val *PluginConfigLinux)
func (*NullablePluginConfigLinux) UnmarshalJSON ¶
func (v *NullablePluginConfigLinux) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigLinux) Unset ¶
func (v *NullablePluginConfigLinux) Unset()
type NullablePluginConfigNetwork ¶
type NullablePluginConfigNetwork struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigNetwork ¶
func NewNullablePluginConfigNetwork(val *PluginConfigNetwork) *NullablePluginConfigNetwork
func (NullablePluginConfigNetwork) Get ¶
func (v NullablePluginConfigNetwork) Get() *PluginConfigNetwork
func (NullablePluginConfigNetwork) IsSet ¶
func (v NullablePluginConfigNetwork) IsSet() bool
func (NullablePluginConfigNetwork) MarshalJSON ¶
func (v NullablePluginConfigNetwork) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigNetwork) Set ¶
func (v *NullablePluginConfigNetwork) Set(val *PluginConfigNetwork)
func (*NullablePluginConfigNetwork) UnmarshalJSON ¶
func (v *NullablePluginConfigNetwork) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigNetwork) Unset ¶
func (v *NullablePluginConfigNetwork) Unset()
type NullablePluginConfigRootfs ¶
type NullablePluginConfigRootfs struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigRootfs ¶
func NewNullablePluginConfigRootfs(val *PluginConfigRootfs) *NullablePluginConfigRootfs
func (NullablePluginConfigRootfs) Get ¶
func (v NullablePluginConfigRootfs) Get() *PluginConfigRootfs
func (NullablePluginConfigRootfs) IsSet ¶
func (v NullablePluginConfigRootfs) IsSet() bool
func (NullablePluginConfigRootfs) MarshalJSON ¶
func (v NullablePluginConfigRootfs) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigRootfs) Set ¶
func (v *NullablePluginConfigRootfs) Set(val *PluginConfigRootfs)
func (*NullablePluginConfigRootfs) UnmarshalJSON ¶
func (v *NullablePluginConfigRootfs) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigRootfs) Unset ¶
func (v *NullablePluginConfigRootfs) Unset()
type NullablePluginConfigUser ¶
type NullablePluginConfigUser struct {
// contains filtered or unexported fields
}
func NewNullablePluginConfigUser ¶
func NewNullablePluginConfigUser(val *PluginConfigUser) *NullablePluginConfigUser
func (NullablePluginConfigUser) Get ¶
func (v NullablePluginConfigUser) Get() *PluginConfigUser
func (NullablePluginConfigUser) IsSet ¶
func (v NullablePluginConfigUser) IsSet() bool
func (NullablePluginConfigUser) MarshalJSON ¶
func (v NullablePluginConfigUser) MarshalJSON() ([]byte, error)
func (*NullablePluginConfigUser) Set ¶
func (v *NullablePluginConfigUser) Set(val *PluginConfigUser)
func (*NullablePluginConfigUser) UnmarshalJSON ¶
func (v *NullablePluginConfigUser) UnmarshalJSON(src []byte) error
func (*NullablePluginConfigUser) Unset ¶
func (v *NullablePluginConfigUser) Unset()
type NullablePluginDevice ¶
type NullablePluginDevice struct {
// contains filtered or unexported fields
}
func NewNullablePluginDevice ¶
func NewNullablePluginDevice(val *PluginDevice) *NullablePluginDevice
func (NullablePluginDevice) Get ¶
func (v NullablePluginDevice) Get() *PluginDevice
func (NullablePluginDevice) IsSet ¶
func (v NullablePluginDevice) IsSet() bool
func (NullablePluginDevice) MarshalJSON ¶
func (v NullablePluginDevice) MarshalJSON() ([]byte, error)
func (*NullablePluginDevice) Set ¶
func (v *NullablePluginDevice) Set(val *PluginDevice)
func (*NullablePluginDevice) UnmarshalJSON ¶
func (v *NullablePluginDevice) UnmarshalJSON(src []byte) error
func (*NullablePluginDevice) Unset ¶
func (v *NullablePluginDevice) Unset()
type NullablePluginEnv ¶
type NullablePluginEnv struct {
// contains filtered or unexported fields
}
func NewNullablePluginEnv ¶
func NewNullablePluginEnv(val *PluginEnv) *NullablePluginEnv
func (NullablePluginEnv) Get ¶
func (v NullablePluginEnv) Get() *PluginEnv
func (NullablePluginEnv) IsSet ¶
func (v NullablePluginEnv) IsSet() bool
func (NullablePluginEnv) MarshalJSON ¶
func (v NullablePluginEnv) MarshalJSON() ([]byte, error)
func (*NullablePluginEnv) Set ¶
func (v *NullablePluginEnv) Set(val *PluginEnv)
func (*NullablePluginEnv) UnmarshalJSON ¶
func (v *NullablePluginEnv) UnmarshalJSON(src []byte) error
func (*NullablePluginEnv) Unset ¶
func (v *NullablePluginEnv) Unset()
type NullablePluginInterfaceType ¶
type NullablePluginInterfaceType struct {
// contains filtered or unexported fields
}
func NewNullablePluginInterfaceType ¶
func NewNullablePluginInterfaceType(val *PluginInterfaceType) *NullablePluginInterfaceType
func (NullablePluginInterfaceType) Get ¶
func (v NullablePluginInterfaceType) Get() *PluginInterfaceType
func (NullablePluginInterfaceType) IsSet ¶
func (v NullablePluginInterfaceType) IsSet() bool
func (NullablePluginInterfaceType) MarshalJSON ¶
func (v NullablePluginInterfaceType) MarshalJSON() ([]byte, error)
func (*NullablePluginInterfaceType) Set ¶
func (v *NullablePluginInterfaceType) Set(val *PluginInterfaceType)
func (*NullablePluginInterfaceType) UnmarshalJSON ¶
func (v *NullablePluginInterfaceType) UnmarshalJSON(src []byte) error
func (*NullablePluginInterfaceType) Unset ¶
func (v *NullablePluginInterfaceType) Unset()
type NullablePluginMount ¶
type NullablePluginMount struct {
// contains filtered or unexported fields
}
func NewNullablePluginMount ¶
func NewNullablePluginMount(val *PluginMount) *NullablePluginMount
func (NullablePluginMount) Get ¶
func (v NullablePluginMount) Get() *PluginMount
func (NullablePluginMount) IsSet ¶
func (v NullablePluginMount) IsSet() bool
func (NullablePluginMount) MarshalJSON ¶
func (v NullablePluginMount) MarshalJSON() ([]byte, error)
func (*NullablePluginMount) Set ¶
func (v *NullablePluginMount) Set(val *PluginMount)
func (*NullablePluginMount) UnmarshalJSON ¶
func (v *NullablePluginMount) UnmarshalJSON(src []byte) error
func (*NullablePluginMount) Unset ¶
func (v *NullablePluginMount) Unset()
type NullablePluginSettings ¶
type NullablePluginSettings struct {
// contains filtered or unexported fields
}
func NewNullablePluginSettings ¶
func NewNullablePluginSettings(val *PluginSettings) *NullablePluginSettings
func (NullablePluginSettings) Get ¶
func (v NullablePluginSettings) Get() *PluginSettings
func (NullablePluginSettings) IsSet ¶
func (v NullablePluginSettings) IsSet() bool
func (NullablePluginSettings) MarshalJSON ¶
func (v NullablePluginSettings) MarshalJSON() ([]byte, error)
func (*NullablePluginSettings) Set ¶
func (v *NullablePluginSettings) Set(val *PluginSettings)
func (*NullablePluginSettings) UnmarshalJSON ¶
func (v *NullablePluginSettings) UnmarshalJSON(src []byte) error
func (*NullablePluginSettings) Unset ¶
func (v *NullablePluginSettings) Unset()
type NullablePort ¶
type NullablePort struct {
// contains filtered or unexported fields
}
func NewNullablePort ¶
func NewNullablePort(val *Port) *NullablePort
func (NullablePort) Get ¶
func (v NullablePort) Get() *Port
func (NullablePort) IsSet ¶
func (v NullablePort) IsSet() bool
func (NullablePort) MarshalJSON ¶
func (v NullablePort) MarshalJSON() ([]byte, error)
func (*NullablePort) Set ¶
func (v *NullablePort) Set(val *Port)
func (*NullablePort) UnmarshalJSON ¶
func (v *NullablePort) UnmarshalJSON(src []byte) error
func (*NullablePort) Unset ¶
func (v *NullablePort) Unset()
type NullablePortMapping ¶
type NullablePortMapping struct {
// contains filtered or unexported fields
}
func NewNullablePortMapping ¶
func NewNullablePortMapping(val *PortMapping) *NullablePortMapping
func (NullablePortMapping) Get ¶
func (v NullablePortMapping) Get() *PortMapping
func (NullablePortMapping) IsSet ¶
func (v NullablePortMapping) IsSet() bool
func (NullablePortMapping) MarshalJSON ¶
func (v NullablePortMapping) MarshalJSON() ([]byte, error)
func (*NullablePortMapping) Set ¶
func (v *NullablePortMapping) Set(val *PortMapping)
func (*NullablePortMapping) UnmarshalJSON ¶
func (v *NullablePortMapping) UnmarshalJSON(src []byte) error
func (*NullablePortMapping) Unset ¶
func (v *NullablePortMapping) Unset()
type NullableQueryMeta ¶
type NullableQueryMeta struct {
// contains filtered or unexported fields
}
func NewNullableQueryMeta ¶
func NewNullableQueryMeta(val *QueryMeta) *NullableQueryMeta
func (NullableQueryMeta) Get ¶
func (v NullableQueryMeta) Get() *QueryMeta
func (NullableQueryMeta) IsSet ¶
func (v NullableQueryMeta) IsSet() bool
func (NullableQueryMeta) MarshalJSON ¶
func (v NullableQueryMeta) MarshalJSON() ([]byte, error)
func (*NullableQueryMeta) Set ¶
func (v *NullableQueryMeta) Set(val *QueryMeta)
func (*NullableQueryMeta) UnmarshalJSON ¶
func (v *NullableQueryMeta) UnmarshalJSON(src []byte) error
func (*NullableQueryMeta) Unset ¶
func (v *NullableQueryMeta) Unset()
type NullableRegisterOptions ¶
type NullableRegisterOptions struct {
// contains filtered or unexported fields
}
func NewNullableRegisterOptions ¶
func NewNullableRegisterOptions(val *RegisterOptions) *NullableRegisterOptions
func (NullableRegisterOptions) Get ¶
func (v NullableRegisterOptions) Get() *RegisterOptions
func (NullableRegisterOptions) IsSet ¶
func (v NullableRegisterOptions) IsSet() bool
func (NullableRegisterOptions) MarshalJSON ¶
func (v NullableRegisterOptions) MarshalJSON() ([]byte, error)
func (*NullableRegisterOptions) Set ¶
func (v *NullableRegisterOptions) Set(val *RegisterOptions)
func (*NullableRegisterOptions) UnmarshalJSON ¶
func (v *NullableRegisterOptions) UnmarshalJSON(src []byte) error
func (*NullableRegisterOptions) Unset ¶
func (v *NullableRegisterOptions) Unset()
type NullableRequestedDevice ¶
type NullableRequestedDevice struct {
// contains filtered or unexported fields
}
func NewNullableRequestedDevice ¶
func NewNullableRequestedDevice(val *RequestedDevice) *NullableRequestedDevice
func (NullableRequestedDevice) Get ¶
func (v NullableRequestedDevice) Get() *RequestedDevice
func (NullableRequestedDevice) IsSet ¶
func (v NullableRequestedDevice) IsSet() bool
func (NullableRequestedDevice) MarshalJSON ¶
func (v NullableRequestedDevice) MarshalJSON() ([]byte, error)
func (*NullableRequestedDevice) Set ¶
func (v *NullableRequestedDevice) Set(val *RequestedDevice)
func (*NullableRequestedDevice) UnmarshalJSON ¶
func (v *NullableRequestedDevice) UnmarshalJSON(src []byte) error
func (*NullableRequestedDevice) Unset ¶
func (v *NullableRequestedDevice) Unset()
type NullableRescheduleEvent ¶
type NullableRescheduleEvent struct {
// contains filtered or unexported fields
}
func NewNullableRescheduleEvent ¶
func NewNullableRescheduleEvent(val *RescheduleEvent) *NullableRescheduleEvent
func (NullableRescheduleEvent) Get ¶
func (v NullableRescheduleEvent) Get() *RescheduleEvent
func (NullableRescheduleEvent) IsSet ¶
func (v NullableRescheduleEvent) IsSet() bool
func (NullableRescheduleEvent) MarshalJSON ¶
func (v NullableRescheduleEvent) MarshalJSON() ([]byte, error)
func (*NullableRescheduleEvent) Set ¶
func (v *NullableRescheduleEvent) Set(val *RescheduleEvent)
func (*NullableRescheduleEvent) UnmarshalJSON ¶
func (v *NullableRescheduleEvent) UnmarshalJSON(src []byte) error
func (*NullableRescheduleEvent) Unset ¶
func (v *NullableRescheduleEvent) Unset()
type NullableReschedulePolicy ¶
type NullableReschedulePolicy struct {
// contains filtered or unexported fields
}
func NewNullableReschedulePolicy ¶
func NewNullableReschedulePolicy(val *ReschedulePolicy) *NullableReschedulePolicy
func (NullableReschedulePolicy) Get ¶
func (v NullableReschedulePolicy) Get() *ReschedulePolicy
func (NullableReschedulePolicy) IsSet ¶
func (v NullableReschedulePolicy) IsSet() bool
func (NullableReschedulePolicy) MarshalJSON ¶
func (v NullableReschedulePolicy) MarshalJSON() ([]byte, error)
func (*NullableReschedulePolicy) Set ¶
func (v *NullableReschedulePolicy) Set(val *ReschedulePolicy)
func (*NullableReschedulePolicy) UnmarshalJSON ¶
func (v *NullableReschedulePolicy) UnmarshalJSON(src []byte) error
func (*NullableReschedulePolicy) Unset ¶
func (v *NullableReschedulePolicy) Unset()
type NullableRescheduleTracker ¶
type NullableRescheduleTracker struct {
// contains filtered or unexported fields
}
func NewNullableRescheduleTracker ¶
func NewNullableRescheduleTracker(val *RescheduleTracker) *NullableRescheduleTracker
func (NullableRescheduleTracker) Get ¶
func (v NullableRescheduleTracker) Get() *RescheduleTracker
func (NullableRescheduleTracker) IsSet ¶
func (v NullableRescheduleTracker) IsSet() bool
func (NullableRescheduleTracker) MarshalJSON ¶
func (v NullableRescheduleTracker) MarshalJSON() ([]byte, error)
func (*NullableRescheduleTracker) Set ¶
func (v *NullableRescheduleTracker) Set(val *RescheduleTracker)
func (*NullableRescheduleTracker) UnmarshalJSON ¶
func (v *NullableRescheduleTracker) UnmarshalJSON(src []byte) error
func (*NullableRescheduleTracker) Unset ¶
func (v *NullableRescheduleTracker) Unset()
type NullableResources ¶
type NullableResources struct {
// contains filtered or unexported fields
}
func NewNullableResources ¶
func NewNullableResources(val *Resources) *NullableResources
func (NullableResources) Get ¶
func (v NullableResources) Get() *Resources
func (NullableResources) IsSet ¶
func (v NullableResources) IsSet() bool
func (NullableResources) MarshalJSON ¶
func (v NullableResources) MarshalJSON() ([]byte, error)
func (*NullableResources) Set ¶
func (v *NullableResources) Set(val *Resources)
func (*NullableResources) UnmarshalJSON ¶
func (v *NullableResources) UnmarshalJSON(src []byte) error
func (*NullableResources) Unset ¶
func (v *NullableResources) Unset()
type NullableRestartPolicy ¶
type NullableRestartPolicy struct {
// contains filtered or unexported fields
}
func NewNullableRestartPolicy ¶
func NewNullableRestartPolicy(val *RestartPolicy) *NullableRestartPolicy
func (NullableRestartPolicy) Get ¶
func (v NullableRestartPolicy) Get() *RestartPolicy
func (NullableRestartPolicy) IsSet ¶
func (v NullableRestartPolicy) IsSet() bool
func (NullableRestartPolicy) MarshalJSON ¶
func (v NullableRestartPolicy) MarshalJSON() ([]byte, error)
func (*NullableRestartPolicy) Set ¶
func (v *NullableRestartPolicy) Set(val *RestartPolicy)
func (*NullableRestartPolicy) UnmarshalJSON ¶
func (v *NullableRestartPolicy) UnmarshalJSON(src []byte) error
func (*NullableRestartPolicy) Unset ¶
func (v *NullableRestartPolicy) Unset()
type NullableScalingPolicy ¶
type NullableScalingPolicy struct {
// contains filtered or unexported fields
}
func NewNullableScalingPolicy ¶
func NewNullableScalingPolicy(val *ScalingPolicy) *NullableScalingPolicy
func (NullableScalingPolicy) Get ¶
func (v NullableScalingPolicy) Get() *ScalingPolicy
func (NullableScalingPolicy) IsSet ¶
func (v NullableScalingPolicy) IsSet() bool
func (NullableScalingPolicy) MarshalJSON ¶
func (v NullableScalingPolicy) MarshalJSON() ([]byte, error)
func (*NullableScalingPolicy) Set ¶
func (v *NullableScalingPolicy) Set(val *ScalingPolicy)
func (*NullableScalingPolicy) UnmarshalJSON ¶
func (v *NullableScalingPolicy) UnmarshalJSON(src []byte) error
func (*NullableScalingPolicy) Unset ¶
func (v *NullableScalingPolicy) Unset()
type NullableService ¶
type NullableService struct {
// contains filtered or unexported fields
}
func NewNullableService ¶
func NewNullableService(val *Service) *NullableService
func (NullableService) Get ¶
func (v NullableService) Get() *Service
func (NullableService) IsSet ¶
func (v NullableService) IsSet() bool
func (NullableService) MarshalJSON ¶
func (v NullableService) MarshalJSON() ([]byte, error)
func (*NullableService) Set ¶
func (v *NullableService) Set(val *Service)
func (*NullableService) UnmarshalJSON ¶
func (v *NullableService) UnmarshalJSON(src []byte) error
func (*NullableService) Unset ¶
func (v *NullableService) Unset()
type NullableServiceCheck ¶
type NullableServiceCheck struct {
// contains filtered or unexported fields
}
func NewNullableServiceCheck ¶
func NewNullableServiceCheck(val *ServiceCheck) *NullableServiceCheck
func (NullableServiceCheck) Get ¶
func (v NullableServiceCheck) Get() *ServiceCheck
func (NullableServiceCheck) IsSet ¶
func (v NullableServiceCheck) IsSet() bool
func (NullableServiceCheck) MarshalJSON ¶
func (v NullableServiceCheck) MarshalJSON() ([]byte, error)
func (*NullableServiceCheck) Set ¶
func (v *NullableServiceCheck) Set(val *ServiceCheck)
func (*NullableServiceCheck) UnmarshalJSON ¶
func (v *NullableServiceCheck) UnmarshalJSON(src []byte) error
func (*NullableServiceCheck) Unset ¶
func (v *NullableServiceCheck) Unset()
type NullableServiceUpdateResponse ¶
type NullableServiceUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableServiceUpdateResponse ¶
func NewNullableServiceUpdateResponse(val *ServiceUpdateResponse) *NullableServiceUpdateResponse
func (NullableServiceUpdateResponse) Get ¶
func (v NullableServiceUpdateResponse) Get() *ServiceUpdateResponse
func (NullableServiceUpdateResponse) IsSet ¶
func (v NullableServiceUpdateResponse) IsSet() bool
func (NullableServiceUpdateResponse) MarshalJSON ¶
func (v NullableServiceUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceUpdateResponse) Set ¶
func (v *NullableServiceUpdateResponse) Set(val *ServiceUpdateResponse)
func (*NullableServiceUpdateResponse) UnmarshalJSON ¶
func (v *NullableServiceUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableServiceUpdateResponse) Unset ¶
func (v *NullableServiceUpdateResponse) Unset()
type NullableSidecarTask ¶
type NullableSidecarTask struct {
// contains filtered or unexported fields
}
func NewNullableSidecarTask ¶
func NewNullableSidecarTask(val *SidecarTask) *NullableSidecarTask
func (NullableSidecarTask) Get ¶
func (v NullableSidecarTask) Get() *SidecarTask
func (NullableSidecarTask) IsSet ¶
func (v NullableSidecarTask) IsSet() bool
func (NullableSidecarTask) MarshalJSON ¶
func (v NullableSidecarTask) MarshalJSON() ([]byte, error)
func (*NullableSidecarTask) Set ¶
func (v *NullableSidecarTask) Set(val *SidecarTask)
func (*NullableSidecarTask) UnmarshalJSON ¶
func (v *NullableSidecarTask) UnmarshalJSON(src []byte) error
func (*NullableSidecarTask) Unset ¶
func (v *NullableSidecarTask) Unset()
type NullableSpread ¶
type NullableSpread struct {
// contains filtered or unexported fields
}
func NewNullableSpread ¶
func NewNullableSpread(val *Spread) *NullableSpread
func (NullableSpread) Get ¶
func (v NullableSpread) Get() *Spread
func (NullableSpread) IsSet ¶
func (v NullableSpread) IsSet() bool
func (NullableSpread) MarshalJSON ¶
func (v NullableSpread) MarshalJSON() ([]byte, error)
func (*NullableSpread) Set ¶
func (v *NullableSpread) Set(val *Spread)
func (*NullableSpread) UnmarshalJSON ¶
func (v *NullableSpread) UnmarshalJSON(src []byte) error
func (*NullableSpread) Unset ¶
func (v *NullableSpread) Unset()
type NullableSpreadTarget ¶
type NullableSpreadTarget struct {
// contains filtered or unexported fields
}
func NewNullableSpreadTarget ¶
func NewNullableSpreadTarget(val *SpreadTarget) *NullableSpreadTarget
func (NullableSpreadTarget) Get ¶
func (v NullableSpreadTarget) Get() *SpreadTarget
func (NullableSpreadTarget) IsSet ¶
func (v NullableSpreadTarget) IsSet() bool
func (NullableSpreadTarget) MarshalJSON ¶
func (v NullableSpreadTarget) MarshalJSON() ([]byte, error)
func (*NullableSpreadTarget) Set ¶
func (v *NullableSpreadTarget) Set(val *SpreadTarget)
func (*NullableSpreadTarget) UnmarshalJSON ¶
func (v *NullableSpreadTarget) UnmarshalJSON(src []byte) error
func (*NullableSpreadTarget) Unset ¶
func (v *NullableSpreadTarget) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTask ¶
type NullableTask struct {
// contains filtered or unexported fields
}
func NewNullableTask ¶
func NewNullableTask(val *Task) *NullableTask
func (NullableTask) Get ¶
func (v NullableTask) Get() *Task
func (NullableTask) IsSet ¶
func (v NullableTask) IsSet() bool
func (NullableTask) MarshalJSON ¶
func (v NullableTask) MarshalJSON() ([]byte, error)
func (*NullableTask) Set ¶
func (v *NullableTask) Set(val *Task)
func (*NullableTask) UnmarshalJSON ¶
func (v *NullableTask) UnmarshalJSON(src []byte) error
func (*NullableTask) Unset ¶
func (v *NullableTask) Unset()
type NullableTaskArtifact ¶
type NullableTaskArtifact struct {
// contains filtered or unexported fields
}
func NewNullableTaskArtifact ¶
func NewNullableTaskArtifact(val *TaskArtifact) *NullableTaskArtifact
func (NullableTaskArtifact) Get ¶
func (v NullableTaskArtifact) Get() *TaskArtifact
func (NullableTaskArtifact) IsSet ¶
func (v NullableTaskArtifact) IsSet() bool
func (NullableTaskArtifact) MarshalJSON ¶
func (v NullableTaskArtifact) MarshalJSON() ([]byte, error)
func (*NullableTaskArtifact) Set ¶
func (v *NullableTaskArtifact) Set(val *TaskArtifact)
func (*NullableTaskArtifact) UnmarshalJSON ¶
func (v *NullableTaskArtifact) UnmarshalJSON(src []byte) error
func (*NullableTaskArtifact) Unset ¶
func (v *NullableTaskArtifact) Unset()
type NullableTaskCSIPluginConfig ¶
type NullableTaskCSIPluginConfig struct {
// contains filtered or unexported fields
}
func NewNullableTaskCSIPluginConfig ¶
func NewNullableTaskCSIPluginConfig(val *TaskCSIPluginConfig) *NullableTaskCSIPluginConfig
func (NullableTaskCSIPluginConfig) Get ¶
func (v NullableTaskCSIPluginConfig) Get() *TaskCSIPluginConfig
func (NullableTaskCSIPluginConfig) IsSet ¶
func (v NullableTaskCSIPluginConfig) IsSet() bool
func (NullableTaskCSIPluginConfig) MarshalJSON ¶
func (v NullableTaskCSIPluginConfig) MarshalJSON() ([]byte, error)
func (*NullableTaskCSIPluginConfig) Set ¶
func (v *NullableTaskCSIPluginConfig) Set(val *TaskCSIPluginConfig)
func (*NullableTaskCSIPluginConfig) UnmarshalJSON ¶
func (v *NullableTaskCSIPluginConfig) UnmarshalJSON(src []byte) error
func (*NullableTaskCSIPluginConfig) Unset ¶
func (v *NullableTaskCSIPluginConfig) Unset()
type NullableTaskDiff ¶
type NullableTaskDiff struct {
// contains filtered or unexported fields
}
func NewNullableTaskDiff ¶
func NewNullableTaskDiff(val *TaskDiff) *NullableTaskDiff
func (NullableTaskDiff) Get ¶
func (v NullableTaskDiff) Get() *TaskDiff
func (NullableTaskDiff) IsSet ¶
func (v NullableTaskDiff) IsSet() bool
func (NullableTaskDiff) MarshalJSON ¶
func (v NullableTaskDiff) MarshalJSON() ([]byte, error)
func (*NullableTaskDiff) Set ¶
func (v *NullableTaskDiff) Set(val *TaskDiff)
func (*NullableTaskDiff) UnmarshalJSON ¶
func (v *NullableTaskDiff) UnmarshalJSON(src []byte) error
func (*NullableTaskDiff) Unset ¶
func (v *NullableTaskDiff) Unset()
type NullableTaskEvent ¶
type NullableTaskEvent struct {
// contains filtered or unexported fields
}
func NewNullableTaskEvent ¶
func NewNullableTaskEvent(val *TaskEvent) *NullableTaskEvent
func (NullableTaskEvent) Get ¶
func (v NullableTaskEvent) Get() *TaskEvent
func (NullableTaskEvent) IsSet ¶
func (v NullableTaskEvent) IsSet() bool
func (NullableTaskEvent) MarshalJSON ¶
func (v NullableTaskEvent) MarshalJSON() ([]byte, error)
func (*NullableTaskEvent) Set ¶
func (v *NullableTaskEvent) Set(val *TaskEvent)
func (*NullableTaskEvent) UnmarshalJSON ¶
func (v *NullableTaskEvent) UnmarshalJSON(src []byte) error
func (*NullableTaskEvent) Unset ¶
func (v *NullableTaskEvent) Unset()
type NullableTaskGroup ¶
type NullableTaskGroup struct {
// contains filtered or unexported fields
}
func NewNullableTaskGroup ¶
func NewNullableTaskGroup(val *TaskGroup) *NullableTaskGroup
func (NullableTaskGroup) Get ¶
func (v NullableTaskGroup) Get() *TaskGroup
func (NullableTaskGroup) IsSet ¶
func (v NullableTaskGroup) IsSet() bool
func (NullableTaskGroup) MarshalJSON ¶
func (v NullableTaskGroup) MarshalJSON() ([]byte, error)
func (*NullableTaskGroup) Set ¶
func (v *NullableTaskGroup) Set(val *TaskGroup)
func (*NullableTaskGroup) UnmarshalJSON ¶
func (v *NullableTaskGroup) UnmarshalJSON(src []byte) error
func (*NullableTaskGroup) Unset ¶
func (v *NullableTaskGroup) Unset()
type NullableTaskGroupDiff ¶
type NullableTaskGroupDiff struct {
// contains filtered or unexported fields
}
func NewNullableTaskGroupDiff ¶
func NewNullableTaskGroupDiff(val *TaskGroupDiff) *NullableTaskGroupDiff
func (NullableTaskGroupDiff) Get ¶
func (v NullableTaskGroupDiff) Get() *TaskGroupDiff
func (NullableTaskGroupDiff) IsSet ¶
func (v NullableTaskGroupDiff) IsSet() bool
func (NullableTaskGroupDiff) MarshalJSON ¶
func (v NullableTaskGroupDiff) MarshalJSON() ([]byte, error)
func (*NullableTaskGroupDiff) Set ¶
func (v *NullableTaskGroupDiff) Set(val *TaskGroupDiff)
func (*NullableTaskGroupDiff) UnmarshalJSON ¶
func (v *NullableTaskGroupDiff) UnmarshalJSON(src []byte) error
func (*NullableTaskGroupDiff) Unset ¶
func (v *NullableTaskGroupDiff) Unset()
type NullableTaskGroupSummary ¶
type NullableTaskGroupSummary struct {
// contains filtered or unexported fields
}
func NewNullableTaskGroupSummary ¶
func NewNullableTaskGroupSummary(val *TaskGroupSummary) *NullableTaskGroupSummary
func (NullableTaskGroupSummary) Get ¶
func (v NullableTaskGroupSummary) Get() *TaskGroupSummary
func (NullableTaskGroupSummary) IsSet ¶
func (v NullableTaskGroupSummary) IsSet() bool
func (NullableTaskGroupSummary) MarshalJSON ¶
func (v NullableTaskGroupSummary) MarshalJSON() ([]byte, error)
func (*NullableTaskGroupSummary) Set ¶
func (v *NullableTaskGroupSummary) Set(val *TaskGroupSummary)
func (*NullableTaskGroupSummary) UnmarshalJSON ¶
func (v *NullableTaskGroupSummary) UnmarshalJSON(src []byte) error
func (*NullableTaskGroupSummary) Unset ¶
func (v *NullableTaskGroupSummary) Unset()
type NullableTaskHandle ¶
type NullableTaskHandle struct {
// contains filtered or unexported fields
}
func NewNullableTaskHandle ¶
func NewNullableTaskHandle(val *TaskHandle) *NullableTaskHandle
func (NullableTaskHandle) Get ¶
func (v NullableTaskHandle) Get() *TaskHandle
func (NullableTaskHandle) IsSet ¶
func (v NullableTaskHandle) IsSet() bool
func (NullableTaskHandle) MarshalJSON ¶
func (v NullableTaskHandle) MarshalJSON() ([]byte, error)
func (*NullableTaskHandle) Set ¶
func (v *NullableTaskHandle) Set(val *TaskHandle)
func (*NullableTaskHandle) UnmarshalJSON ¶
func (v *NullableTaskHandle) UnmarshalJSON(src []byte) error
func (*NullableTaskHandle) Unset ¶
func (v *NullableTaskHandle) Unset()
type NullableTaskLifecycle ¶
type NullableTaskLifecycle struct {
// contains filtered or unexported fields
}
func NewNullableTaskLifecycle ¶
func NewNullableTaskLifecycle(val *TaskLifecycle) *NullableTaskLifecycle
func (NullableTaskLifecycle) Get ¶
func (v NullableTaskLifecycle) Get() *TaskLifecycle
func (NullableTaskLifecycle) IsSet ¶
func (v NullableTaskLifecycle) IsSet() bool
func (NullableTaskLifecycle) MarshalJSON ¶
func (v NullableTaskLifecycle) MarshalJSON() ([]byte, error)
func (*NullableTaskLifecycle) Set ¶
func (v *NullableTaskLifecycle) Set(val *TaskLifecycle)
func (*NullableTaskLifecycle) UnmarshalJSON ¶
func (v *NullableTaskLifecycle) UnmarshalJSON(src []byte) error
func (*NullableTaskLifecycle) Unset ¶
func (v *NullableTaskLifecycle) Unset()
type NullableTaskLifecycleConfig ¶
type NullableTaskLifecycleConfig struct {
// contains filtered or unexported fields
}
func NewNullableTaskLifecycleConfig ¶
func NewNullableTaskLifecycleConfig(val *TaskLifecycleConfig) *NullableTaskLifecycleConfig
func (NullableTaskLifecycleConfig) Get ¶
func (v NullableTaskLifecycleConfig) Get() *TaskLifecycleConfig
func (NullableTaskLifecycleConfig) IsSet ¶
func (v NullableTaskLifecycleConfig) IsSet() bool
func (NullableTaskLifecycleConfig) MarshalJSON ¶
func (v NullableTaskLifecycleConfig) MarshalJSON() ([]byte, error)
func (*NullableTaskLifecycleConfig) Set ¶
func (v *NullableTaskLifecycleConfig) Set(val *TaskLifecycleConfig)
func (*NullableTaskLifecycleConfig) UnmarshalJSON ¶
func (v *NullableTaskLifecycleConfig) UnmarshalJSON(src []byte) error
func (*NullableTaskLifecycleConfig) Unset ¶
func (v *NullableTaskLifecycleConfig) Unset()
type NullableTaskState ¶
type NullableTaskState struct {
// contains filtered or unexported fields
}
func NewNullableTaskState ¶
func NewNullableTaskState(val *TaskState) *NullableTaskState
func (NullableTaskState) Get ¶
func (v NullableTaskState) Get() *TaskState
func (NullableTaskState) IsSet ¶
func (v NullableTaskState) IsSet() bool
func (NullableTaskState) MarshalJSON ¶
func (v NullableTaskState) MarshalJSON() ([]byte, error)
func (*NullableTaskState) Set ¶
func (v *NullableTaskState) Set(val *TaskState)
func (*NullableTaskState) UnmarshalJSON ¶
func (v *NullableTaskState) UnmarshalJSON(src []byte) error
func (*NullableTaskState) Unset ¶
func (v *NullableTaskState) Unset()
type NullableTemplate ¶
type NullableTemplate struct {
// contains filtered or unexported fields
}
func NewNullableTemplate ¶
func NewNullableTemplate(val *Template) *NullableTemplate
func (NullableTemplate) Get ¶
func (v NullableTemplate) Get() *Template
func (NullableTemplate) IsSet ¶
func (v NullableTemplate) IsSet() bool
func (NullableTemplate) MarshalJSON ¶
func (v NullableTemplate) MarshalJSON() ([]byte, error)
func (*NullableTemplate) Set ¶
func (v *NullableTemplate) Set(val *Template)
func (*NullableTemplate) UnmarshalJSON ¶
func (v *NullableTemplate) UnmarshalJSON(src []byte) error
func (*NullableTemplate) Unset ¶
func (v *NullableTemplate) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateStrategy ¶
type NullableUpdateStrategy struct {
// contains filtered or unexported fields
}
func NewNullableUpdateStrategy ¶
func NewNullableUpdateStrategy(val *UpdateStrategy) *NullableUpdateStrategy
func (NullableUpdateStrategy) Get ¶
func (v NullableUpdateStrategy) Get() *UpdateStrategy
func (NullableUpdateStrategy) IsSet ¶
func (v NullableUpdateStrategy) IsSet() bool
func (NullableUpdateStrategy) MarshalJSON ¶
func (v NullableUpdateStrategy) MarshalJSON() ([]byte, error)
func (*NullableUpdateStrategy) Set ¶
func (v *NullableUpdateStrategy) Set(val *UpdateStrategy)
func (*NullableUpdateStrategy) UnmarshalJSON ¶
func (v *NullableUpdateStrategy) UnmarshalJSON(src []byte) error
func (*NullableUpdateStrategy) Unset ¶
func (v *NullableUpdateStrategy) Unset()
type NullableVault ¶
type NullableVault struct {
// contains filtered or unexported fields
}
func NewNullableVault ¶
func NewNullableVault(val *Vault) *NullableVault
func (NullableVault) Get ¶
func (v NullableVault) Get() *Vault
func (NullableVault) IsSet ¶
func (v NullableVault) IsSet() bool
func (NullableVault) MarshalJSON ¶
func (v NullableVault) MarshalJSON() ([]byte, error)
func (*NullableVault) Set ¶
func (v *NullableVault) Set(val *Vault)
func (*NullableVault) UnmarshalJSON ¶
func (v *NullableVault) UnmarshalJSON(src []byte) error
func (*NullableVault) Unset ¶
func (v *NullableVault) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type NullableVolumeMount ¶
type NullableVolumeMount struct {
// contains filtered or unexported fields
}
func NewNullableVolumeMount ¶
func NewNullableVolumeMount(val *VolumeMount) *NullableVolumeMount
func (NullableVolumeMount) Get ¶
func (v NullableVolumeMount) Get() *VolumeMount
func (NullableVolumeMount) IsSet ¶
func (v NullableVolumeMount) IsSet() bool
func (NullableVolumeMount) MarshalJSON ¶
func (v NullableVolumeMount) MarshalJSON() ([]byte, error)
func (*NullableVolumeMount) Set ¶
func (v *NullableVolumeMount) Set(val *VolumeMount)
func (*NullableVolumeMount) UnmarshalJSON ¶
func (v *NullableVolumeMount) UnmarshalJSON(src []byte) error
func (*NullableVolumeMount) Unset ¶
func (v *NullableVolumeMount) Unset()
type NullableVolumeRequest ¶
type NullableVolumeRequest struct {
// contains filtered or unexported fields
}
func NewNullableVolumeRequest ¶
func NewNullableVolumeRequest(val *VolumeRequest) *NullableVolumeRequest
func (NullableVolumeRequest) Get ¶
func (v NullableVolumeRequest) Get() *VolumeRequest
func (NullableVolumeRequest) IsSet ¶
func (v NullableVolumeRequest) IsSet() bool
func (NullableVolumeRequest) MarshalJSON ¶
func (v NullableVolumeRequest) MarshalJSON() ([]byte, error)
func (*NullableVolumeRequest) Set ¶
func (v *NullableVolumeRequest) Set(val *VolumeRequest)
func (*NullableVolumeRequest) UnmarshalJSON ¶
func (v *NullableVolumeRequest) UnmarshalJSON(src []byte) error
func (*NullableVolumeRequest) Unset ¶
func (v *NullableVolumeRequest) Unset()
type NullableVolumeUsageData ¶
type NullableVolumeUsageData struct {
// contains filtered or unexported fields
}
func NewNullableVolumeUsageData ¶
func NewNullableVolumeUsageData(val *VolumeUsageData) *NullableVolumeUsageData
func (NullableVolumeUsageData) Get ¶
func (v NullableVolumeUsageData) Get() *VolumeUsageData
func (NullableVolumeUsageData) IsSet ¶
func (v NullableVolumeUsageData) IsSet() bool
func (NullableVolumeUsageData) MarshalJSON ¶
func (v NullableVolumeUsageData) MarshalJSON() ([]byte, error)
func (*NullableVolumeUsageData) Set ¶
func (v *NullableVolumeUsageData) Set(val *VolumeUsageData)
func (*NullableVolumeUsageData) UnmarshalJSON ¶
func (v *NullableVolumeUsageData) UnmarshalJSON(src []byte) error
func (*NullableVolumeUsageData) Unset ¶
func (v *NullableVolumeUsageData) Unset()
type NullableWriteMeta ¶
type NullableWriteMeta struct {
// contains filtered or unexported fields
}
func NewNullableWriteMeta ¶
func NewNullableWriteMeta(val *WriteMeta) *NullableWriteMeta
func (NullableWriteMeta) Get ¶
func (v NullableWriteMeta) Get() *WriteMeta
func (NullableWriteMeta) IsSet ¶
func (v NullableWriteMeta) IsSet() bool
func (NullableWriteMeta) MarshalJSON ¶
func (v NullableWriteMeta) MarshalJSON() ([]byte, error)
func (*NullableWriteMeta) Set ¶
func (v *NullableWriteMeta) Set(val *WriteMeta)
func (*NullableWriteMeta) UnmarshalJSON ¶
func (v *NullableWriteMeta) UnmarshalJSON(src []byte) error
func (*NullableWriteMeta) Unset ¶
func (v *NullableWriteMeta) Unset()
type NullableWriteRequest ¶
type NullableWriteRequest struct {
// contains filtered or unexported fields
}
func NewNullableWriteRequest ¶
func NewNullableWriteRequest(val *WriteRequest) *NullableWriteRequest
func (NullableWriteRequest) Get ¶
func (v NullableWriteRequest) Get() *WriteRequest
func (NullableWriteRequest) IsSet ¶
func (v NullableWriteRequest) IsSet() bool
func (NullableWriteRequest) MarshalJSON ¶
func (v NullableWriteRequest) MarshalJSON() ([]byte, error)
func (*NullableWriteRequest) Set ¶
func (v *NullableWriteRequest) Set(val *WriteRequest)
func (*NullableWriteRequest) UnmarshalJSON ¶
func (v *NullableWriteRequest) UnmarshalJSON(src []byte) error
func (*NullableWriteRequest) Unset ¶
func (v *NullableWriteRequest) Unset()
type ObjectDiff ¶
type ObjectDiff struct { Fields *[]FieldDiff `json:"Fields,omitempty"` Name *string `json:"Name,omitempty"` Objects *[]ObjectDiff `json:"Objects,omitempty"` Type *string `json:"Type,omitempty"` }
ObjectDiff ObjectDiff details the differences between two objects
func NewObjectDiff ¶
func NewObjectDiff() *ObjectDiff
NewObjectDiff instantiates a new ObjectDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectDiffWithDefaults ¶
func NewObjectDiffWithDefaults() *ObjectDiff
NewObjectDiffWithDefaults instantiates a new ObjectDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectDiff) GetFields ¶
func (o *ObjectDiff) GetFields() []FieldDiff
GetFields returns the Fields field value if set, zero value otherwise.
func (*ObjectDiff) GetFieldsOk ¶
func (o *ObjectDiff) GetFieldsOk() (*[]FieldDiff, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectDiff) GetName ¶
func (o *ObjectDiff) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ObjectDiff) GetNameOk ¶
func (o *ObjectDiff) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectDiff) GetObjects ¶
func (o *ObjectDiff) GetObjects() []ObjectDiff
GetObjects returns the Objects field value if set, zero value otherwise.
func (*ObjectDiff) GetObjectsOk ¶
func (o *ObjectDiff) GetObjectsOk() (*[]ObjectDiff, bool)
GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectDiff) GetType ¶
func (o *ObjectDiff) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ObjectDiff) GetTypeOk ¶
func (o *ObjectDiff) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectDiff) HasFields ¶
func (o *ObjectDiff) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*ObjectDiff) HasName ¶
func (o *ObjectDiff) HasName() bool
HasName returns a boolean if a field has been set.
func (*ObjectDiff) HasObjects ¶
func (o *ObjectDiff) HasObjects() bool
HasObjects returns a boolean if a field has been set.
func (*ObjectDiff) HasType ¶
func (o *ObjectDiff) HasType() bool
HasType returns a boolean if a field has been set.
func (ObjectDiff) MarshalJSON ¶
func (o ObjectDiff) MarshalJSON() ([]byte, error)
func (*ObjectDiff) SetFields ¶
func (o *ObjectDiff) SetFields(v []FieldDiff)
SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.
func (*ObjectDiff) SetName ¶
func (o *ObjectDiff) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ObjectDiff) SetObjects ¶
func (o *ObjectDiff) SetObjects(v []ObjectDiff)
SetObjects gets a reference to the given []ObjectDiff and assigns it to the Objects field.
func (*ObjectDiff) SetType ¶
func (o *ObjectDiff) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type ParameterizedJobConfig ¶
type ParameterizedJobConfig struct { MetaOptional *[]string `json:"MetaOptional,omitempty"` MetaRequired *[]string `json:"MetaRequired,omitempty"` Payload *string `json:"Payload,omitempty"` }
ParameterizedJobConfig struct for ParameterizedJobConfig
func NewParameterizedJobConfig ¶
func NewParameterizedJobConfig() *ParameterizedJobConfig
NewParameterizedJobConfig instantiates a new ParameterizedJobConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewParameterizedJobConfigWithDefaults ¶
func NewParameterizedJobConfigWithDefaults() *ParameterizedJobConfig
NewParameterizedJobConfigWithDefaults instantiates a new ParameterizedJobConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ParameterizedJobConfig) GetMetaOptional ¶
func (o *ParameterizedJobConfig) GetMetaOptional() []string
GetMetaOptional returns the MetaOptional field value if set, zero value otherwise.
func (*ParameterizedJobConfig) GetMetaOptionalOk ¶
func (o *ParameterizedJobConfig) GetMetaOptionalOk() (*[]string, bool)
GetMetaOptionalOk returns a tuple with the MetaOptional field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterizedJobConfig) GetMetaRequired ¶
func (o *ParameterizedJobConfig) GetMetaRequired() []string
GetMetaRequired returns the MetaRequired field value if set, zero value otherwise.
func (*ParameterizedJobConfig) GetMetaRequiredOk ¶
func (o *ParameterizedJobConfig) GetMetaRequiredOk() (*[]string, bool)
GetMetaRequiredOk returns a tuple with the MetaRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterizedJobConfig) GetPayload ¶
func (o *ParameterizedJobConfig) GetPayload() string
GetPayload returns the Payload field value if set, zero value otherwise.
func (*ParameterizedJobConfig) GetPayloadOk ¶
func (o *ParameterizedJobConfig) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterizedJobConfig) HasMetaOptional ¶
func (o *ParameterizedJobConfig) HasMetaOptional() bool
HasMetaOptional returns a boolean if a field has been set.
func (*ParameterizedJobConfig) HasMetaRequired ¶
func (o *ParameterizedJobConfig) HasMetaRequired() bool
HasMetaRequired returns a boolean if a field has been set.
func (*ParameterizedJobConfig) HasPayload ¶
func (o *ParameterizedJobConfig) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (ParameterizedJobConfig) MarshalJSON ¶
func (o ParameterizedJobConfig) MarshalJSON() ([]byte, error)
func (*ParameterizedJobConfig) SetMetaOptional ¶
func (o *ParameterizedJobConfig) SetMetaOptional(v []string)
SetMetaOptional gets a reference to the given []string and assigns it to the MetaOptional field.
func (*ParameterizedJobConfig) SetMetaRequired ¶
func (o *ParameterizedJobConfig) SetMetaRequired(v []string)
SetMetaRequired gets a reference to the given []string and assigns it to the MetaRequired field.
func (*ParameterizedJobConfig) SetPayload ¶
func (o *ParameterizedJobConfig) SetPayload(v string)
SetPayload gets a reference to the given string and assigns it to the Payload field.
type PeriodicConfig ¶
type PeriodicConfig struct { Enabled *bool `json:"Enabled,omitempty"` ProhibitOverlap *bool `json:"ProhibitOverlap,omitempty"` Spec *string `json:"Spec,omitempty"` SpecType *string `json:"SpecType,omitempty"` TimeZone *string `json:"TimeZone,omitempty"` }
PeriodicConfig struct for PeriodicConfig
func NewPeriodicConfig ¶
func NewPeriodicConfig() *PeriodicConfig
NewPeriodicConfig instantiates a new PeriodicConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPeriodicConfigWithDefaults ¶
func NewPeriodicConfigWithDefaults() *PeriodicConfig
NewPeriodicConfigWithDefaults instantiates a new PeriodicConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PeriodicConfig) GetEnabled ¶
func (o *PeriodicConfig) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*PeriodicConfig) GetEnabledOk ¶
func (o *PeriodicConfig) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicConfig) GetProhibitOverlap ¶
func (o *PeriodicConfig) GetProhibitOverlap() bool
GetProhibitOverlap returns the ProhibitOverlap field value if set, zero value otherwise.
func (*PeriodicConfig) GetProhibitOverlapOk ¶
func (o *PeriodicConfig) GetProhibitOverlapOk() (*bool, bool)
GetProhibitOverlapOk returns a tuple with the ProhibitOverlap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicConfig) GetSpec ¶
func (o *PeriodicConfig) GetSpec() string
GetSpec returns the Spec field value if set, zero value otherwise.
func (*PeriodicConfig) GetSpecOk ¶
func (o *PeriodicConfig) GetSpecOk() (*string, bool)
GetSpecOk returns a tuple with the Spec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicConfig) GetSpecType ¶
func (o *PeriodicConfig) GetSpecType() string
GetSpecType returns the SpecType field value if set, zero value otherwise.
func (*PeriodicConfig) GetSpecTypeOk ¶
func (o *PeriodicConfig) GetSpecTypeOk() (*string, bool)
GetSpecTypeOk returns a tuple with the SpecType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicConfig) GetTimeZone ¶
func (o *PeriodicConfig) GetTimeZone() string
GetTimeZone returns the TimeZone field value if set, zero value otherwise.
func (*PeriodicConfig) GetTimeZoneOk ¶
func (o *PeriodicConfig) GetTimeZoneOk() (*string, bool)
GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicConfig) HasEnabled ¶
func (o *PeriodicConfig) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*PeriodicConfig) HasProhibitOverlap ¶
func (o *PeriodicConfig) HasProhibitOverlap() bool
HasProhibitOverlap returns a boolean if a field has been set.
func (*PeriodicConfig) HasSpec ¶
func (o *PeriodicConfig) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (*PeriodicConfig) HasSpecType ¶
func (o *PeriodicConfig) HasSpecType() bool
HasSpecType returns a boolean if a field has been set.
func (*PeriodicConfig) HasTimeZone ¶
func (o *PeriodicConfig) HasTimeZone() bool
HasTimeZone returns a boolean if a field has been set.
func (PeriodicConfig) MarshalJSON ¶
func (o PeriodicConfig) MarshalJSON() ([]byte, error)
func (*PeriodicConfig) SetEnabled ¶
func (o *PeriodicConfig) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*PeriodicConfig) SetProhibitOverlap ¶
func (o *PeriodicConfig) SetProhibitOverlap(v bool)
SetProhibitOverlap gets a reference to the given bool and assigns it to the ProhibitOverlap field.
func (*PeriodicConfig) SetSpec ¶
func (o *PeriodicConfig) SetSpec(v string)
SetSpec gets a reference to the given string and assigns it to the Spec field.
func (*PeriodicConfig) SetSpecType ¶
func (o *PeriodicConfig) SetSpecType(v string)
SetSpecType gets a reference to the given string and assigns it to the SpecType field.
func (*PeriodicConfig) SetTimeZone ¶
func (o *PeriodicConfig) SetTimeZone(v string)
SetTimeZone gets a reference to the given string and assigns it to the TimeZone field.
type PeriodicForceResponse ¶
type PeriodicForceResponse struct {
EvalID *string `json:"EvalID,omitempty"`
}
PeriodicForceResponse periodicForceResponse is used to deserialize a force response
func NewPeriodicForceResponse ¶
func NewPeriodicForceResponse() *PeriodicForceResponse
NewPeriodicForceResponse instantiates a new PeriodicForceResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPeriodicForceResponseWithDefaults ¶
func NewPeriodicForceResponseWithDefaults() *PeriodicForceResponse
NewPeriodicForceResponseWithDefaults instantiates a new PeriodicForceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PeriodicForceResponse) GetEvalID ¶
func (o *PeriodicForceResponse) GetEvalID() string
GetEvalID returns the EvalID field value if set, zero value otherwise.
func (*PeriodicForceResponse) GetEvalIDOk ¶
func (o *PeriodicForceResponse) GetEvalIDOk() (*string, bool)
GetEvalIDOk returns a tuple with the EvalID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PeriodicForceResponse) HasEvalID ¶
func (o *PeriodicForceResponse) HasEvalID() bool
HasEvalID returns a boolean if a field has been set.
func (PeriodicForceResponse) MarshalJSON ¶
func (o PeriodicForceResponse) MarshalJSON() ([]byte, error)
func (*PeriodicForceResponse) SetEvalID ¶
func (o *PeriodicForceResponse) SetEvalID(v string)
SetEvalID gets a reference to the given string and assigns it to the EvalID field.
type PlanAnnotations ¶
type PlanAnnotations struct { DesiredTGUpdates *map[string]DesiredUpdates `json:"DesiredTGUpdates,omitempty"` PreemptedAllocs *[]AllocationListStub `json:"PreemptedAllocs,omitempty"` }
PlanAnnotations PlanAnnotations contains annotation details for a JobResponse
func NewPlanAnnotations ¶
func NewPlanAnnotations() *PlanAnnotations
NewPlanAnnotations instantiates a new PlanAnnotations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanAnnotationsWithDefaults ¶
func NewPlanAnnotationsWithDefaults() *PlanAnnotations
NewPlanAnnotationsWithDefaults instantiates a new PlanAnnotations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanAnnotations) GetDesiredTGUpdates ¶
func (o *PlanAnnotations) GetDesiredTGUpdates() map[string]DesiredUpdates
GetDesiredTGUpdates returns the DesiredTGUpdates field value if set, zero value otherwise.
func (*PlanAnnotations) GetDesiredTGUpdatesOk ¶
func (o *PlanAnnotations) GetDesiredTGUpdatesOk() (*map[string]DesiredUpdates, bool)
GetDesiredTGUpdatesOk returns a tuple with the DesiredTGUpdates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanAnnotations) GetPreemptedAllocs ¶
func (o *PlanAnnotations) GetPreemptedAllocs() []AllocationListStub
GetPreemptedAllocs returns the PreemptedAllocs field value if set, zero value otherwise.
func (*PlanAnnotations) GetPreemptedAllocsOk ¶
func (o *PlanAnnotations) GetPreemptedAllocsOk() (*[]AllocationListStub, bool)
GetPreemptedAllocsOk returns a tuple with the PreemptedAllocs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanAnnotations) HasDesiredTGUpdates ¶
func (o *PlanAnnotations) HasDesiredTGUpdates() bool
HasDesiredTGUpdates returns a boolean if a field has been set.
func (*PlanAnnotations) HasPreemptedAllocs ¶
func (o *PlanAnnotations) HasPreemptedAllocs() bool
HasPreemptedAllocs returns a boolean if a field has been set.
func (PlanAnnotations) MarshalJSON ¶
func (o PlanAnnotations) MarshalJSON() ([]byte, error)
func (*PlanAnnotations) SetDesiredTGUpdates ¶
func (o *PlanAnnotations) SetDesiredTGUpdates(v map[string]DesiredUpdates)
SetDesiredTGUpdates gets a reference to the given map[string]DesiredUpdates and assigns it to the DesiredTGUpdates field.
func (*PlanAnnotations) SetPreemptedAllocs ¶
func (o *PlanAnnotations) SetPreemptedAllocs(v []AllocationListStub)
SetPreemptedAllocs gets a reference to the given []AllocationListStub and assigns it to the PreemptedAllocs field.
type PlanOptions ¶
type PlanOptions struct { Diff *bool `json:"Diff,omitempty"` PolicyOverride *bool `json:"PolicyOverride,omitempty"` }
PlanOptions PlanOptions is used to pass through job planning parameters
func NewPlanOptions ¶
func NewPlanOptions() *PlanOptions
NewPlanOptions instantiates a new PlanOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanOptionsWithDefaults ¶
func NewPlanOptionsWithDefaults() *PlanOptions
NewPlanOptionsWithDefaults instantiates a new PlanOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanOptions) GetDiff ¶
func (o *PlanOptions) GetDiff() bool
GetDiff returns the Diff field value if set, zero value otherwise.
func (*PlanOptions) GetDiffOk ¶
func (o *PlanOptions) GetDiffOk() (*bool, bool)
GetDiffOk returns a tuple with the Diff field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanOptions) GetPolicyOverride ¶
func (o *PlanOptions) GetPolicyOverride() bool
GetPolicyOverride returns the PolicyOverride field value if set, zero value otherwise.
func (*PlanOptions) GetPolicyOverrideOk ¶
func (o *PlanOptions) GetPolicyOverrideOk() (*bool, bool)
GetPolicyOverrideOk returns a tuple with the PolicyOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanOptions) HasDiff ¶
func (o *PlanOptions) HasDiff() bool
HasDiff returns a boolean if a field has been set.
func (*PlanOptions) HasPolicyOverride ¶
func (o *PlanOptions) HasPolicyOverride() bool
HasPolicyOverride returns a boolean if a field has been set.
func (PlanOptions) MarshalJSON ¶
func (o PlanOptions) MarshalJSON() ([]byte, error)
func (*PlanOptions) SetDiff ¶
func (o *PlanOptions) SetDiff(v bool)
SetDiff gets a reference to the given bool and assigns it to the Diff field.
func (*PlanOptions) SetPolicyOverride ¶
func (o *PlanOptions) SetPolicyOverride(v bool)
SetPolicyOverride gets a reference to the given bool and assigns it to the PolicyOverride field.
type Plugin ¶
type Plugin struct { Config PluginConfig `json:"Config"` // True if the plugin is running. False if the plugin is not running, only installed. Enabled bool `json:"Enabled"` // Id Id *string `json:"Id,omitempty"` // name Name string `json:"Name"` // plugin remote reference used to push/pull the plugin PluginReference *string `json:"PluginReference,omitempty"` Settings PluginSettings `json:"Settings"` }
Plugin Plugin A plugin for the Engine API
func NewPlugin ¶
func NewPlugin(config PluginConfig, enabled bool, name string, settings PluginSettings) *Plugin
NewPlugin instantiates a new Plugin object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginWithDefaults ¶
func NewPluginWithDefaults() *Plugin
NewPluginWithDefaults instantiates a new Plugin object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Plugin) GetConfig ¶
func (o *Plugin) GetConfig() PluginConfig
GetConfig returns the Config field value
func (*Plugin) GetConfigOk ¶
func (o *Plugin) GetConfigOk() (*PluginConfig, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*Plugin) GetEnabled ¶
GetEnabled returns the Enabled field value
func (*Plugin) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Plugin) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plugin) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Plugin) GetPluginReference ¶
GetPluginReference returns the PluginReference field value if set, zero value otherwise.
func (*Plugin) GetPluginReferenceOk ¶
GetPluginReferenceOk returns a tuple with the PluginReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plugin) GetSettings ¶
func (o *Plugin) GetSettings() PluginSettings
GetSettings returns the Settings field value
func (*Plugin) GetSettingsOk ¶
func (o *Plugin) GetSettingsOk() (*PluginSettings, bool)
GetSettingsOk returns a tuple with the Settings field value and a boolean to check if the value has been set.
func (*Plugin) HasPluginReference ¶
HasPluginReference returns a boolean if a field has been set.
func (Plugin) MarshalJSON ¶
func (*Plugin) SetPluginReference ¶
SetPluginReference gets a reference to the given string and assigns it to the PluginReference field.
func (*Plugin) SetSettings ¶
func (o *Plugin) SetSettings(v PluginSettings)
SetSettings sets field value
type PluginConfig ¶
type PluginConfig struct { Args PluginConfigArgs `json:"Args"` // description Description string `json:"Description"` // Docker Version used to create the plugin DockerVersion *string `json:"DockerVersion,omitempty"` // documentation Documentation string `json:"Documentation"` // entrypoint Entrypoint []string `json:"Entrypoint"` // env Env []PluginEnv `json:"Env"` Interface PluginConfigInterface `json:"Interface"` // ipc host IpcHost bool `json:"IpcHost"` Linux PluginConfigLinux `json:"Linux"` // mounts Mounts []PluginMount `json:"Mounts"` Network PluginConfigNetwork `json:"Network"` // pid host PidHost bool `json:"PidHost"` // propagated mount PropagatedMount string `json:"PropagatedMount"` User *PluginConfigUser `json:"User,omitempty"` // work dir WorkDir string `json:"WorkDir"` Rootfs *PluginConfigRootfs `json:"rootfs,omitempty"` }
PluginConfig struct for PluginConfig
func NewPluginConfig ¶
func NewPluginConfig(args PluginConfigArgs, description string, documentation string, entrypoint []string, env []PluginEnv, interface_ PluginConfigInterface, ipcHost bool, linux PluginConfigLinux, mounts []PluginMount, network PluginConfigNetwork, pidHost bool, propagatedMount string, workDir string) *PluginConfig
NewPluginConfig instantiates a new PluginConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigWithDefaults ¶
func NewPluginConfigWithDefaults() *PluginConfig
NewPluginConfigWithDefaults instantiates a new PluginConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfig) GetArgs ¶
func (o *PluginConfig) GetArgs() PluginConfigArgs
GetArgs returns the Args field value
func (*PluginConfig) GetArgsOk ¶
func (o *PluginConfig) GetArgsOk() (*PluginConfigArgs, bool)
GetArgsOk returns a tuple with the Args field value and a boolean to check if the value has been set.
func (*PluginConfig) GetDescription ¶
func (o *PluginConfig) GetDescription() string
GetDescription returns the Description field value
func (*PluginConfig) GetDescriptionOk ¶
func (o *PluginConfig) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginConfig) GetDockerVersion ¶
func (o *PluginConfig) GetDockerVersion() string
GetDockerVersion returns the DockerVersion field value if set, zero value otherwise.
func (*PluginConfig) GetDockerVersionOk ¶
func (o *PluginConfig) GetDockerVersionOk() (*string, bool)
GetDockerVersionOk returns a tuple with the DockerVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfig) GetDocumentation ¶
func (o *PluginConfig) GetDocumentation() string
GetDocumentation returns the Documentation field value
func (*PluginConfig) GetDocumentationOk ¶
func (o *PluginConfig) GetDocumentationOk() (*string, bool)
GetDocumentationOk returns a tuple with the Documentation field value and a boolean to check if the value has been set.
func (*PluginConfig) GetEntrypoint ¶
func (o *PluginConfig) GetEntrypoint() []string
GetEntrypoint returns the Entrypoint field value
func (*PluginConfig) GetEntrypointOk ¶
func (o *PluginConfig) GetEntrypointOk() (*[]string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field value and a boolean to check if the value has been set.
func (*PluginConfig) GetEnv ¶
func (o *PluginConfig) GetEnv() []PluginEnv
GetEnv returns the Env field value
func (*PluginConfig) GetEnvOk ¶
func (o *PluginConfig) GetEnvOk() (*[]PluginEnv, bool)
GetEnvOk returns a tuple with the Env field value and a boolean to check if the value has been set.
func (*PluginConfig) GetInterface ¶
func (o *PluginConfig) GetInterface() PluginConfigInterface
GetInterface returns the Interface field value
func (*PluginConfig) GetInterfaceOk ¶
func (o *PluginConfig) GetInterfaceOk() (*PluginConfigInterface, bool)
GetInterfaceOk returns a tuple with the Interface field value and a boolean to check if the value has been set.
func (*PluginConfig) GetIpcHost ¶
func (o *PluginConfig) GetIpcHost() bool
GetIpcHost returns the IpcHost field value
func (*PluginConfig) GetIpcHostOk ¶
func (o *PluginConfig) GetIpcHostOk() (*bool, bool)
GetIpcHostOk returns a tuple with the IpcHost field value and a boolean to check if the value has been set.
func (*PluginConfig) GetLinux ¶
func (o *PluginConfig) GetLinux() PluginConfigLinux
GetLinux returns the Linux field value
func (*PluginConfig) GetLinuxOk ¶
func (o *PluginConfig) GetLinuxOk() (*PluginConfigLinux, bool)
GetLinuxOk returns a tuple with the Linux field value and a boolean to check if the value has been set.
func (*PluginConfig) GetMounts ¶
func (o *PluginConfig) GetMounts() []PluginMount
GetMounts returns the Mounts field value
func (*PluginConfig) GetMountsOk ¶
func (o *PluginConfig) GetMountsOk() (*[]PluginMount, bool)
GetMountsOk returns a tuple with the Mounts field value and a boolean to check if the value has been set.
func (*PluginConfig) GetNetwork ¶
func (o *PluginConfig) GetNetwork() PluginConfigNetwork
GetNetwork returns the Network field value
func (*PluginConfig) GetNetworkOk ¶
func (o *PluginConfig) GetNetworkOk() (*PluginConfigNetwork, bool)
GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.
func (*PluginConfig) GetPidHost ¶
func (o *PluginConfig) GetPidHost() bool
GetPidHost returns the PidHost field value
func (*PluginConfig) GetPidHostOk ¶
func (o *PluginConfig) GetPidHostOk() (*bool, bool)
GetPidHostOk returns a tuple with the PidHost field value and a boolean to check if the value has been set.
func (*PluginConfig) GetPropagatedMount ¶
func (o *PluginConfig) GetPropagatedMount() string
GetPropagatedMount returns the PropagatedMount field value
func (*PluginConfig) GetPropagatedMountOk ¶
func (o *PluginConfig) GetPropagatedMountOk() (*string, bool)
GetPropagatedMountOk returns a tuple with the PropagatedMount field value and a boolean to check if the value has been set.
func (*PluginConfig) GetRootfs ¶
func (o *PluginConfig) GetRootfs() PluginConfigRootfs
GetRootfs returns the Rootfs field value if set, zero value otherwise.
func (*PluginConfig) GetRootfsOk ¶
func (o *PluginConfig) GetRootfsOk() (*PluginConfigRootfs, bool)
GetRootfsOk returns a tuple with the Rootfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfig) GetUser ¶
func (o *PluginConfig) GetUser() PluginConfigUser
GetUser returns the User field value if set, zero value otherwise.
func (*PluginConfig) GetUserOk ¶
func (o *PluginConfig) GetUserOk() (*PluginConfigUser, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfig) GetWorkDir ¶
func (o *PluginConfig) GetWorkDir() string
GetWorkDir returns the WorkDir field value
func (*PluginConfig) GetWorkDirOk ¶
func (o *PluginConfig) GetWorkDirOk() (*string, bool)
GetWorkDirOk returns a tuple with the WorkDir field value and a boolean to check if the value has been set.
func (*PluginConfig) HasDockerVersion ¶
func (o *PluginConfig) HasDockerVersion() bool
HasDockerVersion returns a boolean if a field has been set.
func (*PluginConfig) HasRootfs ¶
func (o *PluginConfig) HasRootfs() bool
HasRootfs returns a boolean if a field has been set.
func (*PluginConfig) HasUser ¶
func (o *PluginConfig) HasUser() bool
HasUser returns a boolean if a field has been set.
func (PluginConfig) MarshalJSON ¶
func (o PluginConfig) MarshalJSON() ([]byte, error)
func (*PluginConfig) SetArgs ¶
func (o *PluginConfig) SetArgs(v PluginConfigArgs)
SetArgs sets field value
func (*PluginConfig) SetDescription ¶
func (o *PluginConfig) SetDescription(v string)
SetDescription sets field value
func (*PluginConfig) SetDockerVersion ¶
func (o *PluginConfig) SetDockerVersion(v string)
SetDockerVersion gets a reference to the given string and assigns it to the DockerVersion field.
func (*PluginConfig) SetDocumentation ¶
func (o *PluginConfig) SetDocumentation(v string)
SetDocumentation sets field value
func (*PluginConfig) SetEntrypoint ¶
func (o *PluginConfig) SetEntrypoint(v []string)
SetEntrypoint sets field value
func (*PluginConfig) SetInterface ¶
func (o *PluginConfig) SetInterface(v PluginConfigInterface)
SetInterface sets field value
func (*PluginConfig) SetIpcHost ¶
func (o *PluginConfig) SetIpcHost(v bool)
SetIpcHost sets field value
func (*PluginConfig) SetLinux ¶
func (o *PluginConfig) SetLinux(v PluginConfigLinux)
SetLinux sets field value
func (*PluginConfig) SetMounts ¶
func (o *PluginConfig) SetMounts(v []PluginMount)
SetMounts sets field value
func (*PluginConfig) SetNetwork ¶
func (o *PluginConfig) SetNetwork(v PluginConfigNetwork)
SetNetwork sets field value
func (*PluginConfig) SetPidHost ¶
func (o *PluginConfig) SetPidHost(v bool)
SetPidHost sets field value
func (*PluginConfig) SetPropagatedMount ¶
func (o *PluginConfig) SetPropagatedMount(v string)
SetPropagatedMount sets field value
func (*PluginConfig) SetRootfs ¶
func (o *PluginConfig) SetRootfs(v PluginConfigRootfs)
SetRootfs gets a reference to the given PluginConfigRootfs and assigns it to the Rootfs field.
func (*PluginConfig) SetUser ¶
func (o *PluginConfig) SetUser(v PluginConfigUser)
SetUser gets a reference to the given PluginConfigUser and assigns it to the User field.
func (*PluginConfig) SetWorkDir ¶
func (o *PluginConfig) SetWorkDir(v string)
SetWorkDir sets field value
type PluginConfigArgs ¶
type PluginConfigArgs struct { // description Description string `json:"Description"` // name Name string `json:"Name"` // settable Settable []string `json:"Settable"` // value Value []string `json:"Value"` }
PluginConfigArgs PluginConfigArgs plugin config args
func NewPluginConfigArgs ¶
func NewPluginConfigArgs(description string, name string, settable []string, value []string) *PluginConfigArgs
NewPluginConfigArgs instantiates a new PluginConfigArgs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigArgsWithDefaults ¶
func NewPluginConfigArgsWithDefaults() *PluginConfigArgs
NewPluginConfigArgsWithDefaults instantiates a new PluginConfigArgs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigArgs) GetDescription ¶
func (o *PluginConfigArgs) GetDescription() string
GetDescription returns the Description field value
func (*PluginConfigArgs) GetDescriptionOk ¶
func (o *PluginConfigArgs) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginConfigArgs) GetName ¶
func (o *PluginConfigArgs) GetName() string
GetName returns the Name field value
func (*PluginConfigArgs) GetNameOk ¶
func (o *PluginConfigArgs) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PluginConfigArgs) GetSettable ¶
func (o *PluginConfigArgs) GetSettable() []string
GetSettable returns the Settable field value
func (*PluginConfigArgs) GetSettableOk ¶
func (o *PluginConfigArgs) GetSettableOk() (*[]string, bool)
GetSettableOk returns a tuple with the Settable field value and a boolean to check if the value has been set.
func (*PluginConfigArgs) GetValue ¶
func (o *PluginConfigArgs) GetValue() []string
GetValue returns the Value field value
func (*PluginConfigArgs) GetValueOk ¶
func (o *PluginConfigArgs) GetValueOk() (*[]string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (PluginConfigArgs) MarshalJSON ¶
func (o PluginConfigArgs) MarshalJSON() ([]byte, error)
func (*PluginConfigArgs) SetDescription ¶
func (o *PluginConfigArgs) SetDescription(v string)
SetDescription sets field value
func (*PluginConfigArgs) SetName ¶
func (o *PluginConfigArgs) SetName(v string)
SetName sets field value
func (*PluginConfigArgs) SetSettable ¶
func (o *PluginConfigArgs) SetSettable(v []string)
SetSettable sets field value
func (*PluginConfigArgs) SetValue ¶
func (o *PluginConfigArgs) SetValue(v []string)
SetValue sets field value
type PluginConfigInterface ¶
type PluginConfigInterface struct { // Protocol to use for clients connecting to the plugin. ProtocolScheme *string `json:"ProtocolScheme,omitempty"` // socket Socket string `json:"Socket"` // types Types []PluginInterfaceType `json:"Types"` }
PluginConfigInterface PluginConfigInterface The interface between Docker and the plugin
func NewPluginConfigInterface ¶
func NewPluginConfigInterface(socket string, types []PluginInterfaceType) *PluginConfigInterface
NewPluginConfigInterface instantiates a new PluginConfigInterface object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigInterfaceWithDefaults ¶
func NewPluginConfigInterfaceWithDefaults() *PluginConfigInterface
NewPluginConfigInterfaceWithDefaults instantiates a new PluginConfigInterface object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigInterface) GetProtocolScheme ¶
func (o *PluginConfigInterface) GetProtocolScheme() string
GetProtocolScheme returns the ProtocolScheme field value if set, zero value otherwise.
func (*PluginConfigInterface) GetProtocolSchemeOk ¶
func (o *PluginConfigInterface) GetProtocolSchemeOk() (*string, bool)
GetProtocolSchemeOk returns a tuple with the ProtocolScheme field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfigInterface) GetSocket ¶
func (o *PluginConfigInterface) GetSocket() string
GetSocket returns the Socket field value
func (*PluginConfigInterface) GetSocketOk ¶
func (o *PluginConfigInterface) GetSocketOk() (*string, bool)
GetSocketOk returns a tuple with the Socket field value and a boolean to check if the value has been set.
func (*PluginConfigInterface) GetTypes ¶
func (o *PluginConfigInterface) GetTypes() []PluginInterfaceType
GetTypes returns the Types field value
func (*PluginConfigInterface) GetTypesOk ¶
func (o *PluginConfigInterface) GetTypesOk() (*[]PluginInterfaceType, bool)
GetTypesOk returns a tuple with the Types field value and a boolean to check if the value has been set.
func (*PluginConfigInterface) HasProtocolScheme ¶
func (o *PluginConfigInterface) HasProtocolScheme() bool
HasProtocolScheme returns a boolean if a field has been set.
func (PluginConfigInterface) MarshalJSON ¶
func (o PluginConfigInterface) MarshalJSON() ([]byte, error)
func (*PluginConfigInterface) SetProtocolScheme ¶
func (o *PluginConfigInterface) SetProtocolScheme(v string)
SetProtocolScheme gets a reference to the given string and assigns it to the ProtocolScheme field.
func (*PluginConfigInterface) SetSocket ¶
func (o *PluginConfigInterface) SetSocket(v string)
SetSocket sets field value
func (*PluginConfigInterface) SetTypes ¶
func (o *PluginConfigInterface) SetTypes(v []PluginInterfaceType)
SetTypes sets field value
type PluginConfigLinux ¶
type PluginConfigLinux struct { // allow all devices AllowAllDevices bool `json:"AllowAllDevices"` // capabilities Capabilities []string `json:"Capabilities"` // devices Devices []PluginDevice `json:"Devices"` }
PluginConfigLinux PluginConfigLinux plugin config linux
func NewPluginConfigLinux ¶
func NewPluginConfigLinux(allowAllDevices bool, capabilities []string, devices []PluginDevice) *PluginConfigLinux
NewPluginConfigLinux instantiates a new PluginConfigLinux object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigLinuxWithDefaults ¶
func NewPluginConfigLinuxWithDefaults() *PluginConfigLinux
NewPluginConfigLinuxWithDefaults instantiates a new PluginConfigLinux object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigLinux) GetAllowAllDevices ¶
func (o *PluginConfigLinux) GetAllowAllDevices() bool
GetAllowAllDevices returns the AllowAllDevices field value
func (*PluginConfigLinux) GetAllowAllDevicesOk ¶
func (o *PluginConfigLinux) GetAllowAllDevicesOk() (*bool, bool)
GetAllowAllDevicesOk returns a tuple with the AllowAllDevices field value and a boolean to check if the value has been set.
func (*PluginConfigLinux) GetCapabilities ¶
func (o *PluginConfigLinux) GetCapabilities() []string
GetCapabilities returns the Capabilities field value
func (*PluginConfigLinux) GetCapabilitiesOk ¶
func (o *PluginConfigLinux) GetCapabilitiesOk() (*[]string, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field value and a boolean to check if the value has been set.
func (*PluginConfigLinux) GetDevices ¶
func (o *PluginConfigLinux) GetDevices() []PluginDevice
GetDevices returns the Devices field value
func (*PluginConfigLinux) GetDevicesOk ¶
func (o *PluginConfigLinux) GetDevicesOk() (*[]PluginDevice, bool)
GetDevicesOk returns a tuple with the Devices field value and a boolean to check if the value has been set.
func (PluginConfigLinux) MarshalJSON ¶
func (o PluginConfigLinux) MarshalJSON() ([]byte, error)
func (*PluginConfigLinux) SetAllowAllDevices ¶
func (o *PluginConfigLinux) SetAllowAllDevices(v bool)
SetAllowAllDevices sets field value
func (*PluginConfigLinux) SetCapabilities ¶
func (o *PluginConfigLinux) SetCapabilities(v []string)
SetCapabilities sets field value
func (*PluginConfigLinux) SetDevices ¶
func (o *PluginConfigLinux) SetDevices(v []PluginDevice)
SetDevices sets field value
type PluginConfigNetwork ¶
type PluginConfigNetwork struct { // type Type string `json:"Type"` }
PluginConfigNetwork PluginConfigNetwork plugin config network
func NewPluginConfigNetwork ¶
func NewPluginConfigNetwork(type_ string) *PluginConfigNetwork
NewPluginConfigNetwork instantiates a new PluginConfigNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigNetworkWithDefaults ¶
func NewPluginConfigNetworkWithDefaults() *PluginConfigNetwork
NewPluginConfigNetworkWithDefaults instantiates a new PluginConfigNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigNetwork) GetType ¶
func (o *PluginConfigNetwork) GetType() string
GetType returns the Type field value
func (*PluginConfigNetwork) GetTypeOk ¶
func (o *PluginConfigNetwork) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (PluginConfigNetwork) MarshalJSON ¶
func (o PluginConfigNetwork) MarshalJSON() ([]byte, error)
func (*PluginConfigNetwork) SetType ¶
func (o *PluginConfigNetwork) SetType(v string)
SetType sets field value
type PluginConfigRootfs ¶
type PluginConfigRootfs struct { // diff ids DiffIds *[]string `json:"diff_ids,omitempty"` // type Type *string `json:"type,omitempty"` }
PluginConfigRootfs PluginConfigRootfs plugin config rootfs
func NewPluginConfigRootfs ¶
func NewPluginConfigRootfs() *PluginConfigRootfs
NewPluginConfigRootfs instantiates a new PluginConfigRootfs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigRootfsWithDefaults ¶
func NewPluginConfigRootfsWithDefaults() *PluginConfigRootfs
NewPluginConfigRootfsWithDefaults instantiates a new PluginConfigRootfs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigRootfs) GetDiffIds ¶
func (o *PluginConfigRootfs) GetDiffIds() []string
GetDiffIds returns the DiffIds field value if set, zero value otherwise.
func (*PluginConfigRootfs) GetDiffIdsOk ¶
func (o *PluginConfigRootfs) GetDiffIdsOk() (*[]string, bool)
GetDiffIdsOk returns a tuple with the DiffIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfigRootfs) GetType ¶
func (o *PluginConfigRootfs) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*PluginConfigRootfs) GetTypeOk ¶
func (o *PluginConfigRootfs) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfigRootfs) HasDiffIds ¶
func (o *PluginConfigRootfs) HasDiffIds() bool
HasDiffIds returns a boolean if a field has been set.
func (*PluginConfigRootfs) HasType ¶
func (o *PluginConfigRootfs) HasType() bool
HasType returns a boolean if a field has been set.
func (PluginConfigRootfs) MarshalJSON ¶
func (o PluginConfigRootfs) MarshalJSON() ([]byte, error)
func (*PluginConfigRootfs) SetDiffIds ¶
func (o *PluginConfigRootfs) SetDiffIds(v []string)
SetDiffIds gets a reference to the given []string and assigns it to the DiffIds field.
func (*PluginConfigRootfs) SetType ¶
func (o *PluginConfigRootfs) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type PluginConfigUser ¶
type PluginConfigUser struct { // g ID GID *int32 `json:"GID,omitempty"` // UID UID *int32 `json:"UID,omitempty"` }
PluginConfigUser PluginConfigUser plugin config user
func NewPluginConfigUser ¶
func NewPluginConfigUser() *PluginConfigUser
NewPluginConfigUser instantiates a new PluginConfigUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginConfigUserWithDefaults ¶
func NewPluginConfigUserWithDefaults() *PluginConfigUser
NewPluginConfigUserWithDefaults instantiates a new PluginConfigUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginConfigUser) GetGID ¶
func (o *PluginConfigUser) GetGID() int32
GetGID returns the GID field value if set, zero value otherwise.
func (*PluginConfigUser) GetGIDOk ¶
func (o *PluginConfigUser) GetGIDOk() (*int32, bool)
GetGIDOk returns a tuple with the GID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfigUser) GetUID ¶
func (o *PluginConfigUser) GetUID() int32
GetUID returns the UID field value if set, zero value otherwise.
func (*PluginConfigUser) GetUIDOk ¶
func (o *PluginConfigUser) GetUIDOk() (*int32, bool)
GetUIDOk returns a tuple with the UID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PluginConfigUser) HasGID ¶
func (o *PluginConfigUser) HasGID() bool
HasGID returns a boolean if a field has been set.
func (*PluginConfigUser) HasUID ¶
func (o *PluginConfigUser) HasUID() bool
HasUID returns a boolean if a field has been set.
func (PluginConfigUser) MarshalJSON ¶
func (o PluginConfigUser) MarshalJSON() ([]byte, error)
func (*PluginConfigUser) SetGID ¶
func (o *PluginConfigUser) SetGID(v int32)
SetGID gets a reference to the given int32 and assigns it to the GID field.
func (*PluginConfigUser) SetUID ¶
func (o *PluginConfigUser) SetUID(v int32)
SetUID gets a reference to the given int32 and assigns it to the UID field.
type PluginDevice ¶
type PluginDevice struct { // description Description string `json:"Description"` // name Name string `json:"Name"` // path Path string `json:"Path"` // settable Settable []string `json:"Settable"` }
PluginDevice PluginDevice plugin device
func NewPluginDevice ¶
func NewPluginDevice(description string, name string, path string, settable []string) *PluginDevice
NewPluginDevice instantiates a new PluginDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginDeviceWithDefaults ¶
func NewPluginDeviceWithDefaults() *PluginDevice
NewPluginDeviceWithDefaults instantiates a new PluginDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginDevice) GetDescription ¶
func (o *PluginDevice) GetDescription() string
GetDescription returns the Description field value
func (*PluginDevice) GetDescriptionOk ¶
func (o *PluginDevice) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginDevice) GetName ¶
func (o *PluginDevice) GetName() string
GetName returns the Name field value
func (*PluginDevice) GetNameOk ¶
func (o *PluginDevice) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PluginDevice) GetPath ¶
func (o *PluginDevice) GetPath() string
GetPath returns the Path field value
func (*PluginDevice) GetPathOk ¶
func (o *PluginDevice) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*PluginDevice) GetSettable ¶
func (o *PluginDevice) GetSettable() []string
GetSettable returns the Settable field value
func (*PluginDevice) GetSettableOk ¶
func (o *PluginDevice) GetSettableOk() (*[]string, bool)
GetSettableOk returns a tuple with the Settable field value and a boolean to check if the value has been set.
func (PluginDevice) MarshalJSON ¶
func (o PluginDevice) MarshalJSON() ([]byte, error)
func (*PluginDevice) SetDescription ¶
func (o *PluginDevice) SetDescription(v string)
SetDescription sets field value
func (*PluginDevice) SetSettable ¶
func (o *PluginDevice) SetSettable(v []string)
SetSettable sets field value
type PluginEnv ¶
type PluginEnv struct { // description Description string `json:"Description"` // name Name string `json:"Name"` // settable Settable []string `json:"Settable"` // value Value string `json:"Value"` }
PluginEnv PluginEnv plugin env
func NewPluginEnv ¶
NewPluginEnv instantiates a new PluginEnv object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginEnvWithDefaults ¶
func NewPluginEnvWithDefaults() *PluginEnv
NewPluginEnvWithDefaults instantiates a new PluginEnv object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginEnv) GetDescription ¶
GetDescription returns the Description field value
func (*PluginEnv) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginEnv) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PluginEnv) GetSettable ¶
GetSettable returns the Settable field value
func (*PluginEnv) GetSettableOk ¶
GetSettableOk returns a tuple with the Settable field value and a boolean to check if the value has been set.
func (*PluginEnv) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (PluginEnv) MarshalJSON ¶
func (*PluginEnv) SetDescription ¶
SetDescription sets field value
func (*PluginEnv) SetSettable ¶
SetSettable sets field value
type PluginInterfaceType ¶
type PluginInterfaceType struct { // capability Capability string `json:"Capability"` // prefix Prefix string `json:"Prefix"` // version Version string `json:"Version"` }
PluginInterfaceType PluginInterfaceType plugin interface type
func NewPluginInterfaceType ¶
func NewPluginInterfaceType(capability string, prefix string, version string) *PluginInterfaceType
NewPluginInterfaceType instantiates a new PluginInterfaceType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginInterfaceTypeWithDefaults ¶
func NewPluginInterfaceTypeWithDefaults() *PluginInterfaceType
NewPluginInterfaceTypeWithDefaults instantiates a new PluginInterfaceType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginInterfaceType) GetCapability ¶
func (o *PluginInterfaceType) GetCapability() string
GetCapability returns the Capability field value
func (*PluginInterfaceType) GetCapabilityOk ¶
func (o *PluginInterfaceType) GetCapabilityOk() (*string, bool)
GetCapabilityOk returns a tuple with the Capability field value and a boolean to check if the value has been set.
func (*PluginInterfaceType) GetPrefix ¶
func (o *PluginInterfaceType) GetPrefix() string
GetPrefix returns the Prefix field value
func (*PluginInterfaceType) GetPrefixOk ¶
func (o *PluginInterfaceType) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.
func (*PluginInterfaceType) GetVersion ¶
func (o *PluginInterfaceType) GetVersion() string
GetVersion returns the Version field value
func (*PluginInterfaceType) GetVersionOk ¶
func (o *PluginInterfaceType) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (PluginInterfaceType) MarshalJSON ¶
func (o PluginInterfaceType) MarshalJSON() ([]byte, error)
func (*PluginInterfaceType) SetCapability ¶
func (o *PluginInterfaceType) SetCapability(v string)
SetCapability sets field value
func (*PluginInterfaceType) SetPrefix ¶
func (o *PluginInterfaceType) SetPrefix(v string)
SetPrefix sets field value
func (*PluginInterfaceType) SetVersion ¶
func (o *PluginInterfaceType) SetVersion(v string)
SetVersion sets field value
type PluginMount ¶
type PluginMount struct { // description Description string `json:"Description"` // destination Destination string `json:"Destination"` // name Name string `json:"Name"` // options Options []string `json:"Options"` // settable Settable []string `json:"Settable"` // source Source string `json:"Source"` // type Type string `json:"Type"` }
PluginMount PluginMount plugin mount
func NewPluginMount ¶
func NewPluginMount(description string, destination string, name string, options []string, settable []string, source string, type_ string) *PluginMount
NewPluginMount instantiates a new PluginMount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginMountWithDefaults ¶
func NewPluginMountWithDefaults() *PluginMount
NewPluginMountWithDefaults instantiates a new PluginMount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginMount) GetDescription ¶
func (o *PluginMount) GetDescription() string
GetDescription returns the Description field value
func (*PluginMount) GetDescriptionOk ¶
func (o *PluginMount) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginMount) GetDestination ¶
func (o *PluginMount) GetDestination() string
GetDestination returns the Destination field value
func (*PluginMount) GetDestinationOk ¶
func (o *PluginMount) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*PluginMount) GetName ¶
func (o *PluginMount) GetName() string
GetName returns the Name field value
func (*PluginMount) GetNameOk ¶
func (o *PluginMount) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PluginMount) GetOptions ¶
func (o *PluginMount) GetOptions() []string
GetOptions returns the Options field value
func (*PluginMount) GetOptionsOk ¶
func (o *PluginMount) GetOptionsOk() (*[]string, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (*PluginMount) GetSettable ¶
func (o *PluginMount) GetSettable() []string
GetSettable returns the Settable field value
func (*PluginMount) GetSettableOk ¶
func (o *PluginMount) GetSettableOk() (*[]string, bool)
GetSettableOk returns a tuple with the Settable field value and a boolean to check if the value has been set.
func (*PluginMount) GetSource ¶
func (o *PluginMount) GetSource() string
GetSource returns the Source field value
func (*PluginMount) GetSourceOk ¶
func (o *PluginMount) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*PluginMount) GetType ¶
func (o *PluginMount) GetType() string
GetType returns the Type field value
func (*PluginMount) GetTypeOk ¶
func (o *PluginMount) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (PluginMount) MarshalJSON ¶
func (o PluginMount) MarshalJSON() ([]byte, error)
func (*PluginMount) SetDescription ¶
func (o *PluginMount) SetDescription(v string)
SetDescription sets field value
func (*PluginMount) SetDestination ¶
func (o *PluginMount) SetDestination(v string)
SetDestination sets field value
func (*PluginMount) SetOptions ¶
func (o *PluginMount) SetOptions(v []string)
SetOptions sets field value
func (*PluginMount) SetSettable ¶
func (o *PluginMount) SetSettable(v []string)
SetSettable sets field value
func (*PluginMount) SetSource ¶
func (o *PluginMount) SetSource(v string)
SetSource sets field value
type PluginSettings ¶
type PluginSettings struct { // args Args []string `json:"Args"` // devices Devices []PluginDevice `json:"Devices"` // env Env []string `json:"Env"` // mounts Mounts []PluginMount `json:"Mounts"` }
PluginSettings struct for PluginSettings
func NewPluginSettings ¶
func NewPluginSettings(args []string, devices []PluginDevice, env []string, mounts []PluginMount) *PluginSettings
NewPluginSettings instantiates a new PluginSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPluginSettingsWithDefaults ¶
func NewPluginSettingsWithDefaults() *PluginSettings
NewPluginSettingsWithDefaults instantiates a new PluginSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PluginSettings) GetArgs ¶
func (o *PluginSettings) GetArgs() []string
GetArgs returns the Args field value
func (*PluginSettings) GetArgsOk ¶
func (o *PluginSettings) GetArgsOk() (*[]string, bool)
GetArgsOk returns a tuple with the Args field value and a boolean to check if the value has been set.
func (*PluginSettings) GetDevices ¶
func (o *PluginSettings) GetDevices() []PluginDevice
GetDevices returns the Devices field value
func (*PluginSettings) GetDevicesOk ¶
func (o *PluginSettings) GetDevicesOk() (*[]PluginDevice, bool)
GetDevicesOk returns a tuple with the Devices field value and a boolean to check if the value has been set.
func (*PluginSettings) GetEnv ¶
func (o *PluginSettings) GetEnv() []string
GetEnv returns the Env field value
func (*PluginSettings) GetEnvOk ¶
func (o *PluginSettings) GetEnvOk() (*[]string, bool)
GetEnvOk returns a tuple with the Env field value and a boolean to check if the value has been set.
func (*PluginSettings) GetMounts ¶
func (o *PluginSettings) GetMounts() []PluginMount
GetMounts returns the Mounts field value
func (*PluginSettings) GetMountsOk ¶
func (o *PluginSettings) GetMountsOk() (*[]PluginMount, bool)
GetMountsOk returns a tuple with the Mounts field value and a boolean to check if the value has been set.
func (PluginSettings) MarshalJSON ¶
func (o PluginSettings) MarshalJSON() ([]byte, error)
func (*PluginSettings) SetArgs ¶
func (o *PluginSettings) SetArgs(v []string)
SetArgs sets field value
func (*PluginSettings) SetDevices ¶
func (o *PluginSettings) SetDevices(v []PluginDevice)
SetDevices sets field value
func (*PluginSettings) SetMounts ¶
func (o *PluginSettings) SetMounts(v []PluginMount)
SetMounts sets field value
type Port ¶
type Port struct { // HostNetwork is the name of the network this port should be assigned to. Jobs with a HostNetwork set can only be placed on nodes with that host network available. HostNetwork *string `json:"HostNetwork,omitempty"` // Label is the key for HCL port stanzas: port \"foo\" {} Label *string `json:"Label,omitempty"` // To is the port inside a network namespace where this port is forwarded. -1 is an internal sentinel value used by Consul Connect to mean \"same as the host port.\" To *int64 `json:"To,omitempty"` // Value is the static or dynamic port value. For dynamic ports this will be 0 in the jobspec and set by the scheduler. Value *int64 `json:"Value,omitempty"` }
Port Port An open port on a container
func NewPort ¶
func NewPort() *Port
NewPort instantiates a new Port object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPortWithDefaults ¶
func NewPortWithDefaults() *Port
NewPortWithDefaults instantiates a new Port object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Port) GetHostNetwork ¶
GetHostNetwork returns the HostNetwork field value if set, zero value otherwise.
func (*Port) GetHostNetworkOk ¶
GetHostNetworkOk returns a tuple with the HostNetwork field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Port) GetLabelOk ¶
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Port) GetToOk ¶
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Port) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Port) HasHostNetwork ¶
HasHostNetwork returns a boolean if a field has been set.
func (Port) MarshalJSON ¶
func (*Port) SetHostNetwork ¶
SetHostNetwork gets a reference to the given string and assigns it to the HostNetwork field.
func (*Port) SetLabel ¶
SetLabel gets a reference to the given string and assigns it to the Label field.
type PortMapping ¶
type PortMapping struct { HostIP *string `json:"HostIP,omitempty"` Label *string `json:"Label,omitempty"` To *int64 `json:"To,omitempty"` Value *int64 `json:"Value,omitempty"` }
PortMapping struct for PortMapping
func NewPortMapping ¶
func NewPortMapping() *PortMapping
NewPortMapping instantiates a new PortMapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPortMappingWithDefaults ¶
func NewPortMappingWithDefaults() *PortMapping
NewPortMappingWithDefaults instantiates a new PortMapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PortMapping) GetHostIP ¶
func (o *PortMapping) GetHostIP() string
GetHostIP returns the HostIP field value if set, zero value otherwise.
func (*PortMapping) GetHostIPOk ¶
func (o *PortMapping) GetHostIPOk() (*string, bool)
GetHostIPOk returns a tuple with the HostIP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortMapping) GetLabel ¶
func (o *PortMapping) GetLabel() string
GetLabel returns the Label field value if set, zero value otherwise.
func (*PortMapping) GetLabelOk ¶
func (o *PortMapping) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortMapping) GetTo ¶
func (o *PortMapping) GetTo() int64
GetTo returns the To field value if set, zero value otherwise.
func (*PortMapping) GetToOk ¶
func (o *PortMapping) GetToOk() (*int64, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortMapping) GetValue ¶
func (o *PortMapping) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise.
func (*PortMapping) GetValueOk ¶
func (o *PortMapping) GetValueOk() (*int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortMapping) HasHostIP ¶
func (o *PortMapping) HasHostIP() bool
HasHostIP returns a boolean if a field has been set.
func (*PortMapping) HasLabel ¶
func (o *PortMapping) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*PortMapping) HasTo ¶
func (o *PortMapping) HasTo() bool
HasTo returns a boolean if a field has been set.
func (*PortMapping) HasValue ¶
func (o *PortMapping) HasValue() bool
HasValue returns a boolean if a field has been set.
func (PortMapping) MarshalJSON ¶
func (o PortMapping) MarshalJSON() ([]byte, error)
func (*PortMapping) SetHostIP ¶
func (o *PortMapping) SetHostIP(v string)
SetHostIP gets a reference to the given string and assigns it to the HostIP field.
func (*PortMapping) SetLabel ¶
func (o *PortMapping) SetLabel(v string)
SetLabel gets a reference to the given string and assigns it to the Label field.
func (*PortMapping) SetTo ¶
func (o *PortMapping) SetTo(v int64)
SetTo gets a reference to the given int64 and assigns it to the To field.
func (*PortMapping) SetValue ¶
func (o *PortMapping) SetValue(v int64)
SetValue gets a reference to the given int64 and assigns it to the Value field.
type QueryMeta ¶
type QueryMeta struct { // Is there a known leader KnownLeader *bool `json:"KnownLeader,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. LastContact *int64 `json:"LastContact,omitempty"` // LastIndex. This can be used as a WaitIndex to perform a blocking query LastIndex *int32 `json:"LastIndex,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. RequestTime *int64 `json:"RequestTime,omitempty"` }
QueryMeta QueryMeta is used to return meta data about a query
func NewQueryMeta ¶
func NewQueryMeta() *QueryMeta
NewQueryMeta instantiates a new QueryMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryMetaWithDefaults ¶
func NewQueryMetaWithDefaults() *QueryMeta
NewQueryMetaWithDefaults instantiates a new QueryMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryMeta) GetKnownLeader ¶
GetKnownLeader returns the KnownLeader field value if set, zero value otherwise.
func (*QueryMeta) GetKnownLeaderOk ¶
GetKnownLeaderOk returns a tuple with the KnownLeader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMeta) GetLastContact ¶
GetLastContact returns the LastContact field value if set, zero value otherwise.
func (*QueryMeta) GetLastContactOk ¶
GetLastContactOk returns a tuple with the LastContact field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMeta) GetLastIndex ¶
GetLastIndex returns the LastIndex field value if set, zero value otherwise.
func (*QueryMeta) GetLastIndexOk ¶
GetLastIndexOk returns a tuple with the LastIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMeta) GetRequestTime ¶
GetRequestTime returns the RequestTime field value if set, zero value otherwise.
func (*QueryMeta) GetRequestTimeOk ¶
GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMeta) HasKnownLeader ¶
HasKnownLeader returns a boolean if a field has been set.
func (*QueryMeta) HasLastContact ¶
HasLastContact returns a boolean if a field has been set.
func (*QueryMeta) HasLastIndex ¶
HasLastIndex returns a boolean if a field has been set.
func (*QueryMeta) HasRequestTime ¶
HasRequestTime returns a boolean if a field has been set.
func (QueryMeta) MarshalJSON ¶
func (*QueryMeta) SetKnownLeader ¶
SetKnownLeader gets a reference to the given bool and assigns it to the KnownLeader field.
func (*QueryMeta) SetLastContact ¶
SetLastContact gets a reference to the given int64 and assigns it to the LastContact field.
func (*QueryMeta) SetLastIndex ¶
SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.
func (*QueryMeta) SetRequestTime ¶
SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
type RegisterOptions ¶
type RegisterOptions struct { EnforceIndex *bool `json:"EnforceIndex,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` PolicyOverride *bool `json:"PolicyOverride,omitempty"` PreserveCounts *bool `json:"PreserveCounts,omitempty"` }
RegisterOptions RegisterOptions is used to pass through job registration parameters
func NewRegisterOptions ¶
func NewRegisterOptions() *RegisterOptions
NewRegisterOptions instantiates a new RegisterOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRegisterOptionsWithDefaults ¶
func NewRegisterOptionsWithDefaults() *RegisterOptions
NewRegisterOptionsWithDefaults instantiates a new RegisterOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RegisterOptions) GetEnforceIndex ¶
func (o *RegisterOptions) GetEnforceIndex() bool
GetEnforceIndex returns the EnforceIndex field value if set, zero value otherwise.
func (*RegisterOptions) GetEnforceIndexOk ¶
func (o *RegisterOptions) GetEnforceIndexOk() (*bool, bool)
GetEnforceIndexOk returns a tuple with the EnforceIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterOptions) GetModifyIndex ¶
func (o *RegisterOptions) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*RegisterOptions) GetModifyIndexOk ¶
func (o *RegisterOptions) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterOptions) GetPolicyOverride ¶
func (o *RegisterOptions) GetPolicyOverride() bool
GetPolicyOverride returns the PolicyOverride field value if set, zero value otherwise.
func (*RegisterOptions) GetPolicyOverrideOk ¶
func (o *RegisterOptions) GetPolicyOverrideOk() (*bool, bool)
GetPolicyOverrideOk returns a tuple with the PolicyOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterOptions) GetPreserveCounts ¶
func (o *RegisterOptions) GetPreserveCounts() bool
GetPreserveCounts returns the PreserveCounts field value if set, zero value otherwise.
func (*RegisterOptions) GetPreserveCountsOk ¶
func (o *RegisterOptions) GetPreserveCountsOk() (*bool, bool)
GetPreserveCountsOk returns a tuple with the PreserveCounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegisterOptions) HasEnforceIndex ¶
func (o *RegisterOptions) HasEnforceIndex() bool
HasEnforceIndex returns a boolean if a field has been set.
func (*RegisterOptions) HasModifyIndex ¶
func (o *RegisterOptions) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*RegisterOptions) HasPolicyOverride ¶
func (o *RegisterOptions) HasPolicyOverride() bool
HasPolicyOverride returns a boolean if a field has been set.
func (*RegisterOptions) HasPreserveCounts ¶
func (o *RegisterOptions) HasPreserveCounts() bool
HasPreserveCounts returns a boolean if a field has been set.
func (RegisterOptions) MarshalJSON ¶
func (o RegisterOptions) MarshalJSON() ([]byte, error)
func (*RegisterOptions) SetEnforceIndex ¶
func (o *RegisterOptions) SetEnforceIndex(v bool)
SetEnforceIndex gets a reference to the given bool and assigns it to the EnforceIndex field.
func (*RegisterOptions) SetModifyIndex ¶
func (o *RegisterOptions) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*RegisterOptions) SetPolicyOverride ¶
func (o *RegisterOptions) SetPolicyOverride(v bool)
SetPolicyOverride gets a reference to the given bool and assigns it to the PolicyOverride field.
func (*RegisterOptions) SetPreserveCounts ¶
func (o *RegisterOptions) SetPreserveCounts(v bool)
SetPreserveCounts gets a reference to the given bool and assigns it to the PreserveCounts field.
type RequestedDevice ¶
type RequestedDevice struct { // Affinities are a set of affinites to apply when selecting the device to use. Affinities *[]Affinity `json:"Affinities,omitempty"` // Constraints are a set of constraints to apply when selecting the device to use. Constraints *[]Constraint `json:"Constraints,omitempty"` // Count is the number of requested devices Count *int32 `json:"Count,omitempty"` // Name is the request name. The possible values are as follows: <type>: A single value only specifies the type of request. <vendor>/<type>: A single slash delimiter assumes the vendor and type of device is specified. <vendor>/<type>/<name>: Two slash delimiters assume vendor, type and specific model are specified. Examples are as follows: \"gpu\" \"nvidia/gpu\" \"nvidia/gpu/GTX2080Ti\" Name *string `json:"Name,omitempty"` }
RequestedDevice struct for RequestedDevice
func NewRequestedDevice ¶
func NewRequestedDevice() *RequestedDevice
NewRequestedDevice instantiates a new RequestedDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRequestedDeviceWithDefaults ¶
func NewRequestedDeviceWithDefaults() *RequestedDevice
NewRequestedDeviceWithDefaults instantiates a new RequestedDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RequestedDevice) GetAffinities ¶
func (o *RequestedDevice) GetAffinities() []Affinity
GetAffinities returns the Affinities field value if set, zero value otherwise.
func (*RequestedDevice) GetAffinitiesOk ¶
func (o *RequestedDevice) GetAffinitiesOk() (*[]Affinity, bool)
GetAffinitiesOk returns a tuple with the Affinities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestedDevice) GetConstraints ¶
func (o *RequestedDevice) GetConstraints() []Constraint
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*RequestedDevice) GetConstraintsOk ¶
func (o *RequestedDevice) GetConstraintsOk() (*[]Constraint, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestedDevice) GetCount ¶
func (o *RequestedDevice) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*RequestedDevice) GetCountOk ¶
func (o *RequestedDevice) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestedDevice) GetName ¶
func (o *RequestedDevice) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RequestedDevice) GetNameOk ¶
func (o *RequestedDevice) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestedDevice) HasAffinities ¶
func (o *RequestedDevice) HasAffinities() bool
HasAffinities returns a boolean if a field has been set.
func (*RequestedDevice) HasConstraints ¶
func (o *RequestedDevice) HasConstraints() bool
HasConstraints returns a boolean if a field has been set.
func (*RequestedDevice) HasCount ¶
func (o *RequestedDevice) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*RequestedDevice) HasName ¶
func (o *RequestedDevice) HasName() bool
HasName returns a boolean if a field has been set.
func (RequestedDevice) MarshalJSON ¶
func (o RequestedDevice) MarshalJSON() ([]byte, error)
func (*RequestedDevice) SetAffinities ¶
func (o *RequestedDevice) SetAffinities(v []Affinity)
SetAffinities gets a reference to the given []Affinity and assigns it to the Affinities field.
func (*RequestedDevice) SetConstraints ¶
func (o *RequestedDevice) SetConstraints(v []Constraint)
SetConstraints gets a reference to the given []Constraint and assigns it to the Constraints field.
func (*RequestedDevice) SetCount ¶
func (o *RequestedDevice) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*RequestedDevice) SetName ¶
func (o *RequestedDevice) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type RescheduleEvent ¶
type RescheduleEvent struct { // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Delay *int64 `json:"Delay,omitempty"` // PrevAllocID is the ID of the previous allocation being restarted PrevAllocID *string `json:"PrevAllocID,omitempty"` // PrevNodeID is the node ID of the previous allocation PrevNodeID *string `json:"PrevNodeID,omitempty"` // RescheduleTime is the timestamp of a reschedule attempt RescheduleTime *int64 `json:"RescheduleTime,omitempty"` }
RescheduleEvent RescheduleEvent is used to keep track of previous attempts at rescheduling an allocation
func NewRescheduleEvent ¶
func NewRescheduleEvent() *RescheduleEvent
NewRescheduleEvent instantiates a new RescheduleEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRescheduleEventWithDefaults ¶
func NewRescheduleEventWithDefaults() *RescheduleEvent
NewRescheduleEventWithDefaults instantiates a new RescheduleEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RescheduleEvent) GetDelay ¶
func (o *RescheduleEvent) GetDelay() int64
GetDelay returns the Delay field value if set, zero value otherwise.
func (*RescheduleEvent) GetDelayOk ¶
func (o *RescheduleEvent) GetDelayOk() (*int64, bool)
GetDelayOk returns a tuple with the Delay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescheduleEvent) GetPrevAllocID ¶
func (o *RescheduleEvent) GetPrevAllocID() string
GetPrevAllocID returns the PrevAllocID field value if set, zero value otherwise.
func (*RescheduleEvent) GetPrevAllocIDOk ¶
func (o *RescheduleEvent) GetPrevAllocIDOk() (*string, bool)
GetPrevAllocIDOk returns a tuple with the PrevAllocID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescheduleEvent) GetPrevNodeID ¶
func (o *RescheduleEvent) GetPrevNodeID() string
GetPrevNodeID returns the PrevNodeID field value if set, zero value otherwise.
func (*RescheduleEvent) GetPrevNodeIDOk ¶
func (o *RescheduleEvent) GetPrevNodeIDOk() (*string, bool)
GetPrevNodeIDOk returns a tuple with the PrevNodeID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescheduleEvent) GetRescheduleTime ¶
func (o *RescheduleEvent) GetRescheduleTime() int64
GetRescheduleTime returns the RescheduleTime field value if set, zero value otherwise.
func (*RescheduleEvent) GetRescheduleTimeOk ¶
func (o *RescheduleEvent) GetRescheduleTimeOk() (*int64, bool)
GetRescheduleTimeOk returns a tuple with the RescheduleTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescheduleEvent) HasDelay ¶
func (o *RescheduleEvent) HasDelay() bool
HasDelay returns a boolean if a field has been set.
func (*RescheduleEvent) HasPrevAllocID ¶
func (o *RescheduleEvent) HasPrevAllocID() bool
HasPrevAllocID returns a boolean if a field has been set.
func (*RescheduleEvent) HasPrevNodeID ¶
func (o *RescheduleEvent) HasPrevNodeID() bool
HasPrevNodeID returns a boolean if a field has been set.
func (*RescheduleEvent) HasRescheduleTime ¶
func (o *RescheduleEvent) HasRescheduleTime() bool
HasRescheduleTime returns a boolean if a field has been set.
func (RescheduleEvent) MarshalJSON ¶
func (o RescheduleEvent) MarshalJSON() ([]byte, error)
func (*RescheduleEvent) SetDelay ¶
func (o *RescheduleEvent) SetDelay(v int64)
SetDelay gets a reference to the given int64 and assigns it to the Delay field.
func (*RescheduleEvent) SetPrevAllocID ¶
func (o *RescheduleEvent) SetPrevAllocID(v string)
SetPrevAllocID gets a reference to the given string and assigns it to the PrevAllocID field.
func (*RescheduleEvent) SetPrevNodeID ¶
func (o *RescheduleEvent) SetPrevNodeID(v string)
SetPrevNodeID gets a reference to the given string and assigns it to the PrevNodeID field.
func (*RescheduleEvent) SetRescheduleTime ¶
func (o *RescheduleEvent) SetRescheduleTime(v int64)
SetRescheduleTime gets a reference to the given int64 and assigns it to the RescheduleTime field.
type ReschedulePolicy ¶
type ReschedulePolicy struct { // Attempts limits the number of rescheduling attempts that can occur in an interval. Attempts *int64 `json:"Attempts,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Delay *int64 `json:"Delay,omitempty"` // DelayFunction determines how the delay progressively changes on subsequent reschedule attempts. Valid values are \"exponential\", \"constant\", and \"fibonacci\". DelayFunction *string `json:"DelayFunction,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Interval *int64 `json:"Interval,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. MaxDelay *int64 `json:"MaxDelay,omitempty"` // Unlimited allows rescheduling attempts until they succeed Unlimited *bool `json:"Unlimited,omitempty"` }
ReschedulePolicy struct for ReschedulePolicy
func NewReschedulePolicy ¶
func NewReschedulePolicy() *ReschedulePolicy
NewReschedulePolicy instantiates a new ReschedulePolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewReschedulePolicyWithDefaults ¶
func NewReschedulePolicyWithDefaults() *ReschedulePolicy
NewReschedulePolicyWithDefaults instantiates a new ReschedulePolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ReschedulePolicy) GetAttempts ¶
func (o *ReschedulePolicy) GetAttempts() int64
GetAttempts returns the Attempts field value if set, zero value otherwise.
func (*ReschedulePolicy) GetAttemptsOk ¶
func (o *ReschedulePolicy) GetAttemptsOk() (*int64, bool)
GetAttemptsOk returns a tuple with the Attempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) GetDelay ¶
func (o *ReschedulePolicy) GetDelay() int64
GetDelay returns the Delay field value if set, zero value otherwise.
func (*ReschedulePolicy) GetDelayFunction ¶
func (o *ReschedulePolicy) GetDelayFunction() string
GetDelayFunction returns the DelayFunction field value if set, zero value otherwise.
func (*ReschedulePolicy) GetDelayFunctionOk ¶
func (o *ReschedulePolicy) GetDelayFunctionOk() (*string, bool)
GetDelayFunctionOk returns a tuple with the DelayFunction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) GetDelayOk ¶
func (o *ReschedulePolicy) GetDelayOk() (*int64, bool)
GetDelayOk returns a tuple with the Delay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) GetInterval ¶
func (o *ReschedulePolicy) GetInterval() int64
GetInterval returns the Interval field value if set, zero value otherwise.
func (*ReschedulePolicy) GetIntervalOk ¶
func (o *ReschedulePolicy) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) GetMaxDelay ¶
func (o *ReschedulePolicy) GetMaxDelay() int64
GetMaxDelay returns the MaxDelay field value if set, zero value otherwise.
func (*ReschedulePolicy) GetMaxDelayOk ¶
func (o *ReschedulePolicy) GetMaxDelayOk() (*int64, bool)
GetMaxDelayOk returns a tuple with the MaxDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) GetUnlimited ¶
func (o *ReschedulePolicy) GetUnlimited() bool
GetUnlimited returns the Unlimited field value if set, zero value otherwise.
func (*ReschedulePolicy) GetUnlimitedOk ¶
func (o *ReschedulePolicy) GetUnlimitedOk() (*bool, bool)
GetUnlimitedOk returns a tuple with the Unlimited field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReschedulePolicy) HasAttempts ¶
func (o *ReschedulePolicy) HasAttempts() bool
HasAttempts returns a boolean if a field has been set.
func (*ReschedulePolicy) HasDelay ¶
func (o *ReschedulePolicy) HasDelay() bool
HasDelay returns a boolean if a field has been set.
func (*ReschedulePolicy) HasDelayFunction ¶
func (o *ReschedulePolicy) HasDelayFunction() bool
HasDelayFunction returns a boolean if a field has been set.
func (*ReschedulePolicy) HasInterval ¶
func (o *ReschedulePolicy) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*ReschedulePolicy) HasMaxDelay ¶
func (o *ReschedulePolicy) HasMaxDelay() bool
HasMaxDelay returns a boolean if a field has been set.
func (*ReschedulePolicy) HasUnlimited ¶
func (o *ReschedulePolicy) HasUnlimited() bool
HasUnlimited returns a boolean if a field has been set.
func (ReschedulePolicy) MarshalJSON ¶
func (o ReschedulePolicy) MarshalJSON() ([]byte, error)
func (*ReschedulePolicy) SetAttempts ¶
func (o *ReschedulePolicy) SetAttempts(v int64)
SetAttempts gets a reference to the given int64 and assigns it to the Attempts field.
func (*ReschedulePolicy) SetDelay ¶
func (o *ReschedulePolicy) SetDelay(v int64)
SetDelay gets a reference to the given int64 and assigns it to the Delay field.
func (*ReschedulePolicy) SetDelayFunction ¶
func (o *ReschedulePolicy) SetDelayFunction(v string)
SetDelayFunction gets a reference to the given string and assigns it to the DelayFunction field.
func (*ReschedulePolicy) SetInterval ¶
func (o *ReschedulePolicy) SetInterval(v int64)
SetInterval gets a reference to the given int64 and assigns it to the Interval field.
func (*ReschedulePolicy) SetMaxDelay ¶
func (o *ReschedulePolicy) SetMaxDelay(v int64)
SetMaxDelay gets a reference to the given int64 and assigns it to the MaxDelay field.
func (*ReschedulePolicy) SetUnlimited ¶
func (o *ReschedulePolicy) SetUnlimited(v bool)
SetUnlimited gets a reference to the given bool and assigns it to the Unlimited field.
type RescheduleTracker ¶
type RescheduleTracker struct {
Events *[]RescheduleEvent `json:"Events,omitempty"`
}
RescheduleTracker RescheduleTracker encapsulates previous reschedule events
func NewRescheduleTracker ¶
func NewRescheduleTracker() *RescheduleTracker
NewRescheduleTracker instantiates a new RescheduleTracker object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRescheduleTrackerWithDefaults ¶
func NewRescheduleTrackerWithDefaults() *RescheduleTracker
NewRescheduleTrackerWithDefaults instantiates a new RescheduleTracker object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RescheduleTracker) GetEvents ¶
func (o *RescheduleTracker) GetEvents() []RescheduleEvent
GetEvents returns the Events field value if set, zero value otherwise.
func (*RescheduleTracker) GetEventsOk ¶
func (o *RescheduleTracker) GetEventsOk() (*[]RescheduleEvent, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RescheduleTracker) HasEvents ¶
func (o *RescheduleTracker) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (RescheduleTracker) MarshalJSON ¶
func (o RescheduleTracker) MarshalJSON() ([]byte, error)
func (*RescheduleTracker) SetEvents ¶
func (o *RescheduleTracker) SetEvents(v []RescheduleEvent)
SetEvents gets a reference to the given []RescheduleEvent and assigns it to the Events field.
type Resources ¶
type Resources struct { CPU *int64 `json:"CPU,omitempty"` Cores *int64 `json:"Cores,omitempty"` Devices *[]RequestedDevice `json:"Devices,omitempty"` DiskMB *int64 `json:"DiskMB,omitempty"` // COMPAT(0.10) XXX Deprecated. Please do not use. The field will be removed in Nomad 0.10 and is only being kept to allow any references to be removed before then. IOPS *int64 `json:"IOPS,omitempty"` MemoryMB *int64 `json:"MemoryMB,omitempty"` MemoryMaxMB *int64 `json:"MemoryMaxMB,omitempty"` Networks *[]NetworkResource `json:"Networks,omitempty"` }
Resources Resources encapsulates the required resources of a given task or task group.
func NewResources ¶
func NewResources() *Resources
NewResources instantiates a new Resources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResourcesWithDefaults ¶
func NewResourcesWithDefaults() *Resources
NewResourcesWithDefaults instantiates a new Resources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Resources) GetCPUOk ¶
GetCPUOk returns a tuple with the CPU field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetCoresOk ¶
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetDevices ¶
func (o *Resources) GetDevices() []RequestedDevice
GetDevices returns the Devices field value if set, zero value otherwise.
func (*Resources) GetDevicesOk ¶
func (o *Resources) GetDevicesOk() (*[]RequestedDevice, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetDiskMB ¶
GetDiskMB returns the DiskMB field value if set, zero value otherwise.
func (*Resources) GetDiskMBOk ¶
GetDiskMBOk returns a tuple with the DiskMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetIOPSOk ¶
GetIOPSOk returns a tuple with the IOPS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetMemoryMB ¶
GetMemoryMB returns the MemoryMB field value if set, zero value otherwise.
func (*Resources) GetMemoryMBOk ¶
GetMemoryMBOk returns a tuple with the MemoryMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetMemoryMaxMB ¶
GetMemoryMaxMB returns the MemoryMaxMB field value if set, zero value otherwise.
func (*Resources) GetMemoryMaxMBOk ¶
GetMemoryMaxMBOk returns a tuple with the MemoryMaxMB field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) GetNetworks ¶
func (o *Resources) GetNetworks() []NetworkResource
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*Resources) GetNetworksOk ¶
func (o *Resources) GetNetworksOk() (*[]NetworkResource, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resources) HasDevices ¶
HasDevices returns a boolean if a field has been set.
func (*Resources) HasMemoryMB ¶
HasMemoryMB returns a boolean if a field has been set.
func (*Resources) HasMemoryMaxMB ¶
HasMemoryMaxMB returns a boolean if a field has been set.
func (*Resources) HasNetworks ¶
HasNetworks returns a boolean if a field has been set.
func (Resources) MarshalJSON ¶
func (*Resources) SetCPU ¶
SetCPU gets a reference to the given int64 and assigns it to the CPU field.
func (*Resources) SetCores ¶
SetCores gets a reference to the given int64 and assigns it to the Cores field.
func (*Resources) SetDevices ¶
func (o *Resources) SetDevices(v []RequestedDevice)
SetDevices gets a reference to the given []RequestedDevice and assigns it to the Devices field.
func (*Resources) SetDiskMB ¶
SetDiskMB gets a reference to the given int64 and assigns it to the DiskMB field.
func (*Resources) SetIOPS ¶
SetIOPS gets a reference to the given int64 and assigns it to the IOPS field.
func (*Resources) SetMemoryMB ¶
SetMemoryMB gets a reference to the given int64 and assigns it to the MemoryMB field.
func (*Resources) SetMemoryMaxMB ¶
SetMemoryMaxMB gets a reference to the given int64 and assigns it to the MemoryMaxMB field.
func (*Resources) SetNetworks ¶
func (o *Resources) SetNetworks(v []NetworkResource)
SetNetworks gets a reference to the given []NetworkResource and assigns it to the Networks field.
type RestartPolicy ¶
type RestartPolicy struct { Attempts *int64 `json:"Attempts,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Delay *int64 `json:"Delay,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Interval *int64 `json:"Interval,omitempty"` Mode *string `json:"Mode,omitempty"` }
RestartPolicy RestartPolicy defines how the Nomad client restarts tasks in a taskgroup when they fail
func NewRestartPolicy ¶
func NewRestartPolicy() *RestartPolicy
NewRestartPolicy instantiates a new RestartPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestartPolicyWithDefaults ¶
func NewRestartPolicyWithDefaults() *RestartPolicy
NewRestartPolicyWithDefaults instantiates a new RestartPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestartPolicy) GetAttempts ¶
func (o *RestartPolicy) GetAttempts() int64
GetAttempts returns the Attempts field value if set, zero value otherwise.
func (*RestartPolicy) GetAttemptsOk ¶
func (o *RestartPolicy) GetAttemptsOk() (*int64, bool)
GetAttemptsOk returns a tuple with the Attempts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestartPolicy) GetDelay ¶
func (o *RestartPolicy) GetDelay() int64
GetDelay returns the Delay field value if set, zero value otherwise.
func (*RestartPolicy) GetDelayOk ¶
func (o *RestartPolicy) GetDelayOk() (*int64, bool)
GetDelayOk returns a tuple with the Delay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestartPolicy) GetInterval ¶
func (o *RestartPolicy) GetInterval() int64
GetInterval returns the Interval field value if set, zero value otherwise.
func (*RestartPolicy) GetIntervalOk ¶
func (o *RestartPolicy) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestartPolicy) GetMode ¶
func (o *RestartPolicy) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*RestartPolicy) GetModeOk ¶
func (o *RestartPolicy) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestartPolicy) HasAttempts ¶
func (o *RestartPolicy) HasAttempts() bool
HasAttempts returns a boolean if a field has been set.
func (*RestartPolicy) HasDelay ¶
func (o *RestartPolicy) HasDelay() bool
HasDelay returns a boolean if a field has been set.
func (*RestartPolicy) HasInterval ¶
func (o *RestartPolicy) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*RestartPolicy) HasMode ¶
func (o *RestartPolicy) HasMode() bool
HasMode returns a boolean if a field has been set.
func (RestartPolicy) MarshalJSON ¶
func (o RestartPolicy) MarshalJSON() ([]byte, error)
func (*RestartPolicy) SetAttempts ¶
func (o *RestartPolicy) SetAttempts(v int64)
SetAttempts gets a reference to the given int64 and assigns it to the Attempts field.
func (*RestartPolicy) SetDelay ¶
func (o *RestartPolicy) SetDelay(v int64)
SetDelay gets a reference to the given int64 and assigns it to the Delay field.
func (*RestartPolicy) SetInterval ¶
func (o *RestartPolicy) SetInterval(v int64)
SetInterval gets a reference to the given int64 and assigns it to the Interval field.
func (*RestartPolicy) SetMode ¶
func (o *RestartPolicy) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
type ScalingPolicy ¶
type ScalingPolicy struct { CreateIndex *int32 `json:"CreateIndex,omitempty"` Enabled *bool `json:"Enabled,omitempty"` ID *string `json:"ID,omitempty"` Max *int64 `json:"Max,omitempty"` Min *int64 `json:"Min,omitempty"` ModifyIndex *int32 `json:"ModifyIndex,omitempty"` Namespace *string `json:"Namespace,omitempty"` Policy *map[string]map[string]interface{} `json:"Policy,omitempty"` Target *map[string]string `json:"Target,omitempty"` Type *string `json:"Type,omitempty"` }
ScalingPolicy ScalingPolicy is the user-specified API object for an autoscaling policy
func NewScalingPolicy ¶
func NewScalingPolicy() *ScalingPolicy
NewScalingPolicy instantiates a new ScalingPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScalingPolicyWithDefaults ¶
func NewScalingPolicyWithDefaults() *ScalingPolicy
NewScalingPolicyWithDefaults instantiates a new ScalingPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ScalingPolicy) GetCreateIndex ¶
func (o *ScalingPolicy) GetCreateIndex() int32
GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.
func (*ScalingPolicy) GetCreateIndexOk ¶
func (o *ScalingPolicy) GetCreateIndexOk() (*int32, bool)
GetCreateIndexOk returns a tuple with the CreateIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetEnabled ¶
func (o *ScalingPolicy) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ScalingPolicy) GetEnabledOk ¶
func (o *ScalingPolicy) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetID ¶
func (o *ScalingPolicy) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*ScalingPolicy) GetIDOk ¶
func (o *ScalingPolicy) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetMax ¶
func (o *ScalingPolicy) GetMax() int64
GetMax returns the Max field value if set, zero value otherwise.
func (*ScalingPolicy) GetMaxOk ¶
func (o *ScalingPolicy) GetMaxOk() (*int64, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetMin ¶
func (o *ScalingPolicy) GetMin() int64
GetMin returns the Min field value if set, zero value otherwise.
func (*ScalingPolicy) GetMinOk ¶
func (o *ScalingPolicy) GetMinOk() (*int64, bool)
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetModifyIndex ¶
func (o *ScalingPolicy) GetModifyIndex() int32
GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.
func (*ScalingPolicy) GetModifyIndexOk ¶
func (o *ScalingPolicy) GetModifyIndexOk() (*int32, bool)
GetModifyIndexOk returns a tuple with the ModifyIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetNamespace ¶
func (o *ScalingPolicy) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*ScalingPolicy) GetNamespaceOk ¶
func (o *ScalingPolicy) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetPolicy ¶
func (o *ScalingPolicy) GetPolicy() map[string]map[string]interface{}
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*ScalingPolicy) GetPolicyOk ¶
func (o *ScalingPolicy) GetPolicyOk() (*map[string]map[string]interface{}, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetTarget ¶
func (o *ScalingPolicy) GetTarget() map[string]string
GetTarget returns the Target field value if set, zero value otherwise.
func (*ScalingPolicy) GetTargetOk ¶
func (o *ScalingPolicy) GetTargetOk() (*map[string]string, bool)
GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) GetType ¶
func (o *ScalingPolicy) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ScalingPolicy) GetTypeOk ¶
func (o *ScalingPolicy) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScalingPolicy) HasCreateIndex ¶
func (o *ScalingPolicy) HasCreateIndex() bool
HasCreateIndex returns a boolean if a field has been set.
func (*ScalingPolicy) HasEnabled ¶
func (o *ScalingPolicy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*ScalingPolicy) HasID ¶
func (o *ScalingPolicy) HasID() bool
HasID returns a boolean if a field has been set.
func (*ScalingPolicy) HasMax ¶
func (o *ScalingPolicy) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*ScalingPolicy) HasMin ¶
func (o *ScalingPolicy) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*ScalingPolicy) HasModifyIndex ¶
func (o *ScalingPolicy) HasModifyIndex() bool
HasModifyIndex returns a boolean if a field has been set.
func (*ScalingPolicy) HasNamespace ¶
func (o *ScalingPolicy) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*ScalingPolicy) HasPolicy ¶
func (o *ScalingPolicy) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (*ScalingPolicy) HasTarget ¶
func (o *ScalingPolicy) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (*ScalingPolicy) HasType ¶
func (o *ScalingPolicy) HasType() bool
HasType returns a boolean if a field has been set.
func (ScalingPolicy) MarshalJSON ¶
func (o ScalingPolicy) MarshalJSON() ([]byte, error)
func (*ScalingPolicy) SetCreateIndex ¶
func (o *ScalingPolicy) SetCreateIndex(v int32)
SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.
func (*ScalingPolicy) SetEnabled ¶
func (o *ScalingPolicy) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ScalingPolicy) SetID ¶
func (o *ScalingPolicy) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*ScalingPolicy) SetMax ¶
func (o *ScalingPolicy) SetMax(v int64)
SetMax gets a reference to the given int64 and assigns it to the Max field.
func (*ScalingPolicy) SetMin ¶
func (o *ScalingPolicy) SetMin(v int64)
SetMin gets a reference to the given int64 and assigns it to the Min field.
func (*ScalingPolicy) SetModifyIndex ¶
func (o *ScalingPolicy) SetModifyIndex(v int32)
SetModifyIndex gets a reference to the given int32 and assigns it to the ModifyIndex field.
func (*ScalingPolicy) SetNamespace ¶
func (o *ScalingPolicy) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*ScalingPolicy) SetPolicy ¶
func (o *ScalingPolicy) SetPolicy(v map[string]map[string]interface{})
SetPolicy gets a reference to the given map[string]map[string]interface{} and assigns it to the Policy field.
func (*ScalingPolicy) SetTarget ¶
func (o *ScalingPolicy) SetTarget(v map[string]string)
SetTarget gets a reference to the given map[string]string and assigns it to the Target field.
func (*ScalingPolicy) SetType ¶
func (o *ScalingPolicy) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Service ¶
type Service struct { AddressMode *string `json:"AddressMode,omitempty"` CanaryMeta *map[string]string `json:"CanaryMeta,omitempty"` CanaryTags *[]string `json:"CanaryTags,omitempty"` CheckRestart *CheckRestart `json:"CheckRestart,omitempty"` Checks *[]ServiceCheck `json:"Checks,omitempty"` Connect *ConsulConnect `json:"Connect,omitempty"` EnableTagOverride *bool `json:"EnableTagOverride,omitempty"` // FIXME Id is unused. Remove? Id *string `json:"Id,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Name *string `json:"Name,omitempty"` OnUpdate *string `json:"OnUpdate,omitempty"` PortLabel *string `json:"PortLabel,omitempty"` Tags *[]string `json:"Tags,omitempty"` TaskName *string `json:"TaskName,omitempty"` }
Service struct for Service
func NewService ¶
func NewService() *Service
NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceWithDefaults ¶
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Service) GetAddressMode ¶
GetAddressMode returns the AddressMode field value if set, zero value otherwise.
func (*Service) GetAddressModeOk ¶
GetAddressModeOk returns a tuple with the AddressMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetCanaryMeta ¶
GetCanaryMeta returns the CanaryMeta field value if set, zero value otherwise.
func (*Service) GetCanaryMetaOk ¶
GetCanaryMetaOk returns a tuple with the CanaryMeta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetCanaryTags ¶
GetCanaryTags returns the CanaryTags field value if set, zero value otherwise.
func (*Service) GetCanaryTagsOk ¶
GetCanaryTagsOk returns a tuple with the CanaryTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetCheckRestart ¶
func (o *Service) GetCheckRestart() CheckRestart
GetCheckRestart returns the CheckRestart field value if set, zero value otherwise.
func (*Service) GetCheckRestartOk ¶
func (o *Service) GetCheckRestartOk() (*CheckRestart, bool)
GetCheckRestartOk returns a tuple with the CheckRestart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetChecks ¶
func (o *Service) GetChecks() []ServiceCheck
GetChecks returns the Checks field value if set, zero value otherwise.
func (*Service) GetChecksOk ¶
func (o *Service) GetChecksOk() (*[]ServiceCheck, bool)
GetChecksOk returns a tuple with the Checks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetConnect ¶
func (o *Service) GetConnect() ConsulConnect
GetConnect returns the Connect field value if set, zero value otherwise.
func (*Service) GetConnectOk ¶
func (o *Service) GetConnectOk() (*ConsulConnect, bool)
GetConnectOk returns a tuple with the Connect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetEnableTagOverride ¶
GetEnableTagOverride returns the EnableTagOverride field value if set, zero value otherwise.
func (*Service) GetEnableTagOverrideOk ¶
GetEnableTagOverrideOk returns a tuple with the EnableTagOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetOnUpdate ¶
GetOnUpdate returns the OnUpdate field value if set, zero value otherwise.
func (*Service) GetOnUpdateOk ¶
GetOnUpdateOk returns a tuple with the OnUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetPortLabel ¶
GetPortLabel returns the PortLabel field value if set, zero value otherwise.
func (*Service) GetPortLabelOk ¶
GetPortLabelOk returns a tuple with the PortLabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetTaskName ¶
GetTaskName returns the TaskName field value if set, zero value otherwise.
func (*Service) GetTaskNameOk ¶
GetTaskNameOk returns a tuple with the TaskName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) HasAddressMode ¶
HasAddressMode returns a boolean if a field has been set.
func (*Service) HasCanaryMeta ¶
HasCanaryMeta returns a boolean if a field has been set.
func (*Service) HasCanaryTags ¶
HasCanaryTags returns a boolean if a field has been set.
func (*Service) HasCheckRestart ¶
HasCheckRestart returns a boolean if a field has been set.
func (*Service) HasConnect ¶
HasConnect returns a boolean if a field has been set.
func (*Service) HasEnableTagOverride ¶
HasEnableTagOverride returns a boolean if a field has been set.
func (*Service) HasOnUpdate ¶
HasOnUpdate returns a boolean if a field has been set.
func (*Service) HasPortLabel ¶
HasPortLabel returns a boolean if a field has been set.
func (*Service) HasTaskName ¶
HasTaskName returns a boolean if a field has been set.
func (Service) MarshalJSON ¶
func (*Service) SetAddressMode ¶
SetAddressMode gets a reference to the given string and assigns it to the AddressMode field.
func (*Service) SetCanaryMeta ¶
SetCanaryMeta gets a reference to the given map[string]string and assigns it to the CanaryMeta field.
func (*Service) SetCanaryTags ¶
SetCanaryTags gets a reference to the given []string and assigns it to the CanaryTags field.
func (*Service) SetCheckRestart ¶
func (o *Service) SetCheckRestart(v CheckRestart)
SetCheckRestart gets a reference to the given CheckRestart and assigns it to the CheckRestart field.
func (*Service) SetChecks ¶
func (o *Service) SetChecks(v []ServiceCheck)
SetChecks gets a reference to the given []ServiceCheck and assigns it to the Checks field.
func (*Service) SetConnect ¶
func (o *Service) SetConnect(v ConsulConnect)
SetConnect gets a reference to the given ConsulConnect and assigns it to the Connect field.
func (*Service) SetEnableTagOverride ¶
SetEnableTagOverride gets a reference to the given bool and assigns it to the EnableTagOverride field.
func (*Service) SetMeta ¶
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*Service) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Service) SetOnUpdate ¶
SetOnUpdate gets a reference to the given string and assigns it to the OnUpdate field.
func (*Service) SetPortLabel ¶
SetPortLabel gets a reference to the given string and assigns it to the PortLabel field.
func (*Service) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Service) SetTaskName ¶
SetTaskName gets a reference to the given string and assigns it to the TaskName field.
type ServiceCheck ¶
type ServiceCheck struct { AddressMode *string `json:"AddressMode,omitempty"` Args *[]string `json:"Args,omitempty"` Body *string `json:"Body,omitempty"` CheckRestart *CheckRestart `json:"CheckRestart,omitempty"` Command *string `json:"Command,omitempty"` Expose *bool `json:"Expose,omitempty"` FailuresBeforeCritical *int64 `json:"FailuresBeforeCritical,omitempty"` GRPCService *string `json:"GRPCService,omitempty"` GRPCUseTLS *bool `json:"GRPCUseTLS,omitempty"` Header *map[string][]string `json:"Header,omitempty"` // FIXME Id is unused. Remove? Id *string `json:"Id,omitempty"` InitialStatus *string `json:"InitialStatus,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Interval *int64 `json:"Interval,omitempty"` Method *string `json:"Method,omitempty"` Name *string `json:"Name,omitempty"` OnUpdate *string `json:"OnUpdate,omitempty"` Path *string `json:"Path,omitempty"` PortLabel *string `json:"PortLabel,omitempty"` Protocol *string `json:"Protocol,omitempty"` SuccessBeforePassing *int64 `json:"SuccessBeforePassing,omitempty"` TLSSkipVerify *bool `json:"TLSSkipVerify,omitempty"` TaskName *string `json:"TaskName,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Timeout *int64 `json:"Timeout,omitempty"` Type *string `json:"Type,omitempty"` }
ServiceCheck struct for ServiceCheck
func NewServiceCheck ¶
func NewServiceCheck() *ServiceCheck
NewServiceCheck instantiates a new ServiceCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceCheckWithDefaults ¶
func NewServiceCheckWithDefaults() *ServiceCheck
NewServiceCheckWithDefaults instantiates a new ServiceCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceCheck) GetAddressMode ¶
func (o *ServiceCheck) GetAddressMode() string
GetAddressMode returns the AddressMode field value if set, zero value otherwise.
func (*ServiceCheck) GetAddressModeOk ¶
func (o *ServiceCheck) GetAddressModeOk() (*string, bool)
GetAddressModeOk returns a tuple with the AddressMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetArgs ¶
func (o *ServiceCheck) GetArgs() []string
GetArgs returns the Args field value if set, zero value otherwise.
func (*ServiceCheck) GetArgsOk ¶
func (o *ServiceCheck) GetArgsOk() (*[]string, bool)
GetArgsOk returns a tuple with the Args field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetBody ¶
func (o *ServiceCheck) GetBody() string
GetBody returns the Body field value if set, zero value otherwise.
func (*ServiceCheck) GetBodyOk ¶
func (o *ServiceCheck) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetCheckRestart ¶
func (o *ServiceCheck) GetCheckRestart() CheckRestart
GetCheckRestart returns the CheckRestart field value if set, zero value otherwise.
func (*ServiceCheck) GetCheckRestartOk ¶
func (o *ServiceCheck) GetCheckRestartOk() (*CheckRestart, bool)
GetCheckRestartOk returns a tuple with the CheckRestart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetCommand ¶
func (o *ServiceCheck) GetCommand() string
GetCommand returns the Command field value if set, zero value otherwise.
func (*ServiceCheck) GetCommandOk ¶
func (o *ServiceCheck) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetExpose ¶
func (o *ServiceCheck) GetExpose() bool
GetExpose returns the Expose field value if set, zero value otherwise.
func (*ServiceCheck) GetExposeOk ¶
func (o *ServiceCheck) GetExposeOk() (*bool, bool)
GetExposeOk returns a tuple with the Expose field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetFailuresBeforeCritical ¶
func (o *ServiceCheck) GetFailuresBeforeCritical() int64
GetFailuresBeforeCritical returns the FailuresBeforeCritical field value if set, zero value otherwise.
func (*ServiceCheck) GetFailuresBeforeCriticalOk ¶
func (o *ServiceCheck) GetFailuresBeforeCriticalOk() (*int64, bool)
GetFailuresBeforeCriticalOk returns a tuple with the FailuresBeforeCritical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetGRPCService ¶
func (o *ServiceCheck) GetGRPCService() string
GetGRPCService returns the GRPCService field value if set, zero value otherwise.
func (*ServiceCheck) GetGRPCServiceOk ¶
func (o *ServiceCheck) GetGRPCServiceOk() (*string, bool)
GetGRPCServiceOk returns a tuple with the GRPCService field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetGRPCUseTLS ¶
func (o *ServiceCheck) GetGRPCUseTLS() bool
GetGRPCUseTLS returns the GRPCUseTLS field value if set, zero value otherwise.
func (*ServiceCheck) GetGRPCUseTLSOk ¶
func (o *ServiceCheck) GetGRPCUseTLSOk() (*bool, bool)
GetGRPCUseTLSOk returns a tuple with the GRPCUseTLS field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetHeader ¶
func (o *ServiceCheck) GetHeader() map[string][]string
GetHeader returns the Header field value if set, zero value otherwise.
func (*ServiceCheck) GetHeaderOk ¶
func (o *ServiceCheck) GetHeaderOk() (*map[string][]string, bool)
GetHeaderOk returns a tuple with the Header field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetId ¶
func (o *ServiceCheck) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ServiceCheck) GetIdOk ¶
func (o *ServiceCheck) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetInitialStatus ¶
func (o *ServiceCheck) GetInitialStatus() string
GetInitialStatus returns the InitialStatus field value if set, zero value otherwise.
func (*ServiceCheck) GetInitialStatusOk ¶
func (o *ServiceCheck) GetInitialStatusOk() (*string, bool)
GetInitialStatusOk returns a tuple with the InitialStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetInterval ¶
func (o *ServiceCheck) GetInterval() int64
GetInterval returns the Interval field value if set, zero value otherwise.
func (*ServiceCheck) GetIntervalOk ¶
func (o *ServiceCheck) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetMethod ¶
func (o *ServiceCheck) GetMethod() string
GetMethod returns the Method field value if set, zero value otherwise.
func (*ServiceCheck) GetMethodOk ¶
func (o *ServiceCheck) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetName ¶
func (o *ServiceCheck) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServiceCheck) GetNameOk ¶
func (o *ServiceCheck) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetOnUpdate ¶
func (o *ServiceCheck) GetOnUpdate() string
GetOnUpdate returns the OnUpdate field value if set, zero value otherwise.
func (*ServiceCheck) GetOnUpdateOk ¶
func (o *ServiceCheck) GetOnUpdateOk() (*string, bool)
GetOnUpdateOk returns a tuple with the OnUpdate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetPath ¶
func (o *ServiceCheck) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*ServiceCheck) GetPathOk ¶
func (o *ServiceCheck) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetPortLabel ¶
func (o *ServiceCheck) GetPortLabel() string
GetPortLabel returns the PortLabel field value if set, zero value otherwise.
func (*ServiceCheck) GetPortLabelOk ¶
func (o *ServiceCheck) GetPortLabelOk() (*string, bool)
GetPortLabelOk returns a tuple with the PortLabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetProtocol ¶
func (o *ServiceCheck) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*ServiceCheck) GetProtocolOk ¶
func (o *ServiceCheck) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetSuccessBeforePassing ¶
func (o *ServiceCheck) GetSuccessBeforePassing() int64
GetSuccessBeforePassing returns the SuccessBeforePassing field value if set, zero value otherwise.
func (*ServiceCheck) GetSuccessBeforePassingOk ¶
func (o *ServiceCheck) GetSuccessBeforePassingOk() (*int64, bool)
GetSuccessBeforePassingOk returns a tuple with the SuccessBeforePassing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetTLSSkipVerify ¶
func (o *ServiceCheck) GetTLSSkipVerify() bool
GetTLSSkipVerify returns the TLSSkipVerify field value if set, zero value otherwise.
func (*ServiceCheck) GetTLSSkipVerifyOk ¶
func (o *ServiceCheck) GetTLSSkipVerifyOk() (*bool, bool)
GetTLSSkipVerifyOk returns a tuple with the TLSSkipVerify field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetTaskName ¶
func (o *ServiceCheck) GetTaskName() string
GetTaskName returns the TaskName field value if set, zero value otherwise.
func (*ServiceCheck) GetTaskNameOk ¶
func (o *ServiceCheck) GetTaskNameOk() (*string, bool)
GetTaskNameOk returns a tuple with the TaskName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetTimeout ¶
func (o *ServiceCheck) GetTimeout() int64
GetTimeout returns the Timeout field value if set, zero value otherwise.
func (*ServiceCheck) GetTimeoutOk ¶
func (o *ServiceCheck) GetTimeoutOk() (*int64, bool)
GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) GetType ¶
func (o *ServiceCheck) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ServiceCheck) GetTypeOk ¶
func (o *ServiceCheck) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceCheck) HasAddressMode ¶
func (o *ServiceCheck) HasAddressMode() bool
HasAddressMode returns a boolean if a field has been set.
func (*ServiceCheck) HasArgs ¶
func (o *ServiceCheck) HasArgs() bool
HasArgs returns a boolean if a field has been set.
func (*ServiceCheck) HasBody ¶
func (o *ServiceCheck) HasBody() bool
HasBody returns a boolean if a field has been set.
func (*ServiceCheck) HasCheckRestart ¶
func (o *ServiceCheck) HasCheckRestart() bool
HasCheckRestart returns a boolean if a field has been set.
func (*ServiceCheck) HasCommand ¶
func (o *ServiceCheck) HasCommand() bool
HasCommand returns a boolean if a field has been set.
func (*ServiceCheck) HasExpose ¶
func (o *ServiceCheck) HasExpose() bool
HasExpose returns a boolean if a field has been set.
func (*ServiceCheck) HasFailuresBeforeCritical ¶
func (o *ServiceCheck) HasFailuresBeforeCritical() bool
HasFailuresBeforeCritical returns a boolean if a field has been set.
func (*ServiceCheck) HasGRPCService ¶
func (o *ServiceCheck) HasGRPCService() bool
HasGRPCService returns a boolean if a field has been set.
func (*ServiceCheck) HasGRPCUseTLS ¶
func (o *ServiceCheck) HasGRPCUseTLS() bool
HasGRPCUseTLS returns a boolean if a field has been set.
func (*ServiceCheck) HasHeader ¶
func (o *ServiceCheck) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*ServiceCheck) HasId ¶
func (o *ServiceCheck) HasId() bool
HasId returns a boolean if a field has been set.
func (*ServiceCheck) HasInitialStatus ¶
func (o *ServiceCheck) HasInitialStatus() bool
HasInitialStatus returns a boolean if a field has been set.
func (*ServiceCheck) HasInterval ¶
func (o *ServiceCheck) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*ServiceCheck) HasMethod ¶
func (o *ServiceCheck) HasMethod() bool
HasMethod returns a boolean if a field has been set.
func (*ServiceCheck) HasName ¶
func (o *ServiceCheck) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServiceCheck) HasOnUpdate ¶
func (o *ServiceCheck) HasOnUpdate() bool
HasOnUpdate returns a boolean if a field has been set.
func (*ServiceCheck) HasPath ¶
func (o *ServiceCheck) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*ServiceCheck) HasPortLabel ¶
func (o *ServiceCheck) HasPortLabel() bool
HasPortLabel returns a boolean if a field has been set.
func (*ServiceCheck) HasProtocol ¶
func (o *ServiceCheck) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*ServiceCheck) HasSuccessBeforePassing ¶
func (o *ServiceCheck) HasSuccessBeforePassing() bool
HasSuccessBeforePassing returns a boolean if a field has been set.
func (*ServiceCheck) HasTLSSkipVerify ¶
func (o *ServiceCheck) HasTLSSkipVerify() bool
HasTLSSkipVerify returns a boolean if a field has been set.
func (*ServiceCheck) HasTaskName ¶
func (o *ServiceCheck) HasTaskName() bool
HasTaskName returns a boolean if a field has been set.
func (*ServiceCheck) HasTimeout ¶
func (o *ServiceCheck) HasTimeout() bool
HasTimeout returns a boolean if a field has been set.
func (*ServiceCheck) HasType ¶
func (o *ServiceCheck) HasType() bool
HasType returns a boolean if a field has been set.
func (ServiceCheck) MarshalJSON ¶
func (o ServiceCheck) MarshalJSON() ([]byte, error)
func (*ServiceCheck) SetAddressMode ¶
func (o *ServiceCheck) SetAddressMode(v string)
SetAddressMode gets a reference to the given string and assigns it to the AddressMode field.
func (*ServiceCheck) SetArgs ¶
func (o *ServiceCheck) SetArgs(v []string)
SetArgs gets a reference to the given []string and assigns it to the Args field.
func (*ServiceCheck) SetBody ¶
func (o *ServiceCheck) SetBody(v string)
SetBody gets a reference to the given string and assigns it to the Body field.
func (*ServiceCheck) SetCheckRestart ¶
func (o *ServiceCheck) SetCheckRestart(v CheckRestart)
SetCheckRestart gets a reference to the given CheckRestart and assigns it to the CheckRestart field.
func (*ServiceCheck) SetCommand ¶
func (o *ServiceCheck) SetCommand(v string)
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*ServiceCheck) SetExpose ¶
func (o *ServiceCheck) SetExpose(v bool)
SetExpose gets a reference to the given bool and assigns it to the Expose field.
func (*ServiceCheck) SetFailuresBeforeCritical ¶
func (o *ServiceCheck) SetFailuresBeforeCritical(v int64)
SetFailuresBeforeCritical gets a reference to the given int64 and assigns it to the FailuresBeforeCritical field.
func (*ServiceCheck) SetGRPCService ¶
func (o *ServiceCheck) SetGRPCService(v string)
SetGRPCService gets a reference to the given string and assigns it to the GRPCService field.
func (*ServiceCheck) SetGRPCUseTLS ¶
func (o *ServiceCheck) SetGRPCUseTLS(v bool)
SetGRPCUseTLS gets a reference to the given bool and assigns it to the GRPCUseTLS field.
func (*ServiceCheck) SetHeader ¶
func (o *ServiceCheck) SetHeader(v map[string][]string)
SetHeader gets a reference to the given map[string][]string and assigns it to the Header field.
func (*ServiceCheck) SetId ¶
func (o *ServiceCheck) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ServiceCheck) SetInitialStatus ¶
func (o *ServiceCheck) SetInitialStatus(v string)
SetInitialStatus gets a reference to the given string and assigns it to the InitialStatus field.
func (*ServiceCheck) SetInterval ¶
func (o *ServiceCheck) SetInterval(v int64)
SetInterval gets a reference to the given int64 and assigns it to the Interval field.
func (*ServiceCheck) SetMethod ¶
func (o *ServiceCheck) SetMethod(v string)
SetMethod gets a reference to the given string and assigns it to the Method field.
func (*ServiceCheck) SetName ¶
func (o *ServiceCheck) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServiceCheck) SetOnUpdate ¶
func (o *ServiceCheck) SetOnUpdate(v string)
SetOnUpdate gets a reference to the given string and assigns it to the OnUpdate field.
func (*ServiceCheck) SetPath ¶
func (o *ServiceCheck) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ServiceCheck) SetPortLabel ¶
func (o *ServiceCheck) SetPortLabel(v string)
SetPortLabel gets a reference to the given string and assigns it to the PortLabel field.
func (*ServiceCheck) SetProtocol ¶
func (o *ServiceCheck) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*ServiceCheck) SetSuccessBeforePassing ¶
func (o *ServiceCheck) SetSuccessBeforePassing(v int64)
SetSuccessBeforePassing gets a reference to the given int64 and assigns it to the SuccessBeforePassing field.
func (*ServiceCheck) SetTLSSkipVerify ¶
func (o *ServiceCheck) SetTLSSkipVerify(v bool)
SetTLSSkipVerify gets a reference to the given bool and assigns it to the TLSSkipVerify field.
func (*ServiceCheck) SetTaskName ¶
func (o *ServiceCheck) SetTaskName(v string)
SetTaskName gets a reference to the given string and assigns it to the TaskName field.
func (*ServiceCheck) SetTimeout ¶
func (o *ServiceCheck) SetTimeout(v int64)
SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.
func (*ServiceCheck) SetType ¶
func (o *ServiceCheck) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type ServiceUpdateResponse ¶
type ServiceUpdateResponse struct { // Optional warning messages Warnings *[]string `json:"Warnings,omitempty"` }
ServiceUpdateResponse ServiceUpdateResponse service update response
func NewServiceUpdateResponse ¶
func NewServiceUpdateResponse() *ServiceUpdateResponse
NewServiceUpdateResponse instantiates a new ServiceUpdateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceUpdateResponseWithDefaults ¶
func NewServiceUpdateResponseWithDefaults() *ServiceUpdateResponse
NewServiceUpdateResponseWithDefaults instantiates a new ServiceUpdateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceUpdateResponse) GetWarnings ¶
func (o *ServiceUpdateResponse) GetWarnings() []string
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*ServiceUpdateResponse) GetWarningsOk ¶
func (o *ServiceUpdateResponse) GetWarningsOk() (*[]string, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceUpdateResponse) HasWarnings ¶
func (o *ServiceUpdateResponse) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (ServiceUpdateResponse) MarshalJSON ¶
func (o ServiceUpdateResponse) MarshalJSON() ([]byte, error)
func (*ServiceUpdateResponse) SetWarnings ¶
func (o *ServiceUpdateResponse) SetWarnings(v []string)
SetWarnings gets a reference to the given []string and assigns it to the Warnings field.
type SidecarTask ¶
type SidecarTask struct { Config *map[string]map[string]interface{} `json:"Config,omitempty"` Driver *string `json:"Driver,omitempty"` Env *map[string]string `json:"Env,omitempty"` KillSignal *string `json:"KillSignal,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. KillTimeout *int64 `json:"KillTimeout,omitempty"` LogConfig *LogConfig `json:"LogConfig,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Name *string `json:"Name,omitempty"` Resources *Resources `json:"Resources,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. ShutdownDelay *int64 `json:"ShutdownDelay,omitempty"` User *string `json:"User,omitempty"` }
SidecarTask SidecarTask represents a subset of Task fields that can be set to override the fields of the Task generated for the sidecar
func NewSidecarTask ¶
func NewSidecarTask() *SidecarTask
NewSidecarTask instantiates a new SidecarTask object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSidecarTaskWithDefaults ¶
func NewSidecarTaskWithDefaults() *SidecarTask
NewSidecarTaskWithDefaults instantiates a new SidecarTask object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SidecarTask) GetConfig ¶
func (o *SidecarTask) GetConfig() map[string]map[string]interface{}
GetConfig returns the Config field value if set, zero value otherwise.
func (*SidecarTask) GetConfigOk ¶
func (o *SidecarTask) GetConfigOk() (*map[string]map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetDriver ¶
func (o *SidecarTask) GetDriver() string
GetDriver returns the Driver field value if set, zero value otherwise.
func (*SidecarTask) GetDriverOk ¶
func (o *SidecarTask) GetDriverOk() (*string, bool)
GetDriverOk returns a tuple with the Driver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetEnv ¶
func (o *SidecarTask) GetEnv() map[string]string
GetEnv returns the Env field value if set, zero value otherwise.
func (*SidecarTask) GetEnvOk ¶
func (o *SidecarTask) GetEnvOk() (*map[string]string, bool)
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetKillSignal ¶
func (o *SidecarTask) GetKillSignal() string
GetKillSignal returns the KillSignal field value if set, zero value otherwise.
func (*SidecarTask) GetKillSignalOk ¶
func (o *SidecarTask) GetKillSignalOk() (*string, bool)
GetKillSignalOk returns a tuple with the KillSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetKillTimeout ¶
func (o *SidecarTask) GetKillTimeout() int64
GetKillTimeout returns the KillTimeout field value if set, zero value otherwise.
func (*SidecarTask) GetKillTimeoutOk ¶
func (o *SidecarTask) GetKillTimeoutOk() (*int64, bool)
GetKillTimeoutOk returns a tuple with the KillTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetLogConfig ¶
func (o *SidecarTask) GetLogConfig() LogConfig
GetLogConfig returns the LogConfig field value if set, zero value otherwise.
func (*SidecarTask) GetLogConfigOk ¶
func (o *SidecarTask) GetLogConfigOk() (*LogConfig, bool)
GetLogConfigOk returns a tuple with the LogConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetMeta ¶
func (o *SidecarTask) GetMeta() map[string]string
GetMeta returns the Meta field value if set, zero value otherwise.
func (*SidecarTask) GetMetaOk ¶
func (o *SidecarTask) GetMetaOk() (*map[string]string, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetName ¶
func (o *SidecarTask) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SidecarTask) GetNameOk ¶
func (o *SidecarTask) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetResources ¶
func (o *SidecarTask) GetResources() Resources
GetResources returns the Resources field value if set, zero value otherwise.
func (*SidecarTask) GetResourcesOk ¶
func (o *SidecarTask) GetResourcesOk() (*Resources, bool)
GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetShutdownDelay ¶
func (o *SidecarTask) GetShutdownDelay() int64
GetShutdownDelay returns the ShutdownDelay field value if set, zero value otherwise.
func (*SidecarTask) GetShutdownDelayOk ¶
func (o *SidecarTask) GetShutdownDelayOk() (*int64, bool)
GetShutdownDelayOk returns a tuple with the ShutdownDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) GetUser ¶
func (o *SidecarTask) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*SidecarTask) GetUserOk ¶
func (o *SidecarTask) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SidecarTask) HasConfig ¶
func (o *SidecarTask) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (*SidecarTask) HasDriver ¶
func (o *SidecarTask) HasDriver() bool
HasDriver returns a boolean if a field has been set.
func (*SidecarTask) HasEnv ¶
func (o *SidecarTask) HasEnv() bool
HasEnv returns a boolean if a field has been set.
func (*SidecarTask) HasKillSignal ¶
func (o *SidecarTask) HasKillSignal() bool
HasKillSignal returns a boolean if a field has been set.
func (*SidecarTask) HasKillTimeout ¶
func (o *SidecarTask) HasKillTimeout() bool
HasKillTimeout returns a boolean if a field has been set.
func (*SidecarTask) HasLogConfig ¶
func (o *SidecarTask) HasLogConfig() bool
HasLogConfig returns a boolean if a field has been set.
func (*SidecarTask) HasMeta ¶
func (o *SidecarTask) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*SidecarTask) HasName ¶
func (o *SidecarTask) HasName() bool
HasName returns a boolean if a field has been set.
func (*SidecarTask) HasResources ¶
func (o *SidecarTask) HasResources() bool
HasResources returns a boolean if a field has been set.
func (*SidecarTask) HasShutdownDelay ¶
func (o *SidecarTask) HasShutdownDelay() bool
HasShutdownDelay returns a boolean if a field has been set.
func (*SidecarTask) HasUser ¶
func (o *SidecarTask) HasUser() bool
HasUser returns a boolean if a field has been set.
func (SidecarTask) MarshalJSON ¶
func (o SidecarTask) MarshalJSON() ([]byte, error)
func (*SidecarTask) SetConfig ¶
func (o *SidecarTask) SetConfig(v map[string]map[string]interface{})
SetConfig gets a reference to the given map[string]map[string]interface{} and assigns it to the Config field.
func (*SidecarTask) SetDriver ¶
func (o *SidecarTask) SetDriver(v string)
SetDriver gets a reference to the given string and assigns it to the Driver field.
func (*SidecarTask) SetEnv ¶
func (o *SidecarTask) SetEnv(v map[string]string)
SetEnv gets a reference to the given map[string]string and assigns it to the Env field.
func (*SidecarTask) SetKillSignal ¶
func (o *SidecarTask) SetKillSignal(v string)
SetKillSignal gets a reference to the given string and assigns it to the KillSignal field.
func (*SidecarTask) SetKillTimeout ¶
func (o *SidecarTask) SetKillTimeout(v int64)
SetKillTimeout gets a reference to the given int64 and assigns it to the KillTimeout field.
func (*SidecarTask) SetLogConfig ¶
func (o *SidecarTask) SetLogConfig(v LogConfig)
SetLogConfig gets a reference to the given LogConfig and assigns it to the LogConfig field.
func (*SidecarTask) SetMeta ¶
func (o *SidecarTask) SetMeta(v map[string]string)
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*SidecarTask) SetName ¶
func (o *SidecarTask) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SidecarTask) SetResources ¶
func (o *SidecarTask) SetResources(v Resources)
SetResources gets a reference to the given Resources and assigns it to the Resources field.
func (*SidecarTask) SetShutdownDelay ¶
func (o *SidecarTask) SetShutdownDelay(v int64)
SetShutdownDelay gets a reference to the given int64 and assigns it to the ShutdownDelay field.
func (*SidecarTask) SetUser ¶
func (o *SidecarTask) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
type Spread ¶
type Spread struct { Attribute *string `json:"Attribute,omitempty"` SpreadTarget *[]SpreadTarget `json:"SpreadTarget,omitempty"` Weight *int32 `json:"Weight,omitempty"` }
Spread Spread is used to serialize task group allocation spread preferences
func NewSpread ¶
func NewSpread() *Spread
NewSpread instantiates a new Spread object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpreadWithDefaults ¶
func NewSpreadWithDefaults() *Spread
NewSpreadWithDefaults instantiates a new Spread object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Spread) GetAttribute ¶
GetAttribute returns the Attribute field value if set, zero value otherwise.
func (*Spread) GetAttributeOk ¶
GetAttributeOk returns a tuple with the Attribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Spread) GetSpreadTarget ¶
func (o *Spread) GetSpreadTarget() []SpreadTarget
GetSpreadTarget returns the SpreadTarget field value if set, zero value otherwise.
func (*Spread) GetSpreadTargetOk ¶
func (o *Spread) GetSpreadTargetOk() (*[]SpreadTarget, bool)
GetSpreadTargetOk returns a tuple with the SpreadTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Spread) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Spread) HasAttribute ¶
HasAttribute returns a boolean if a field has been set.
func (*Spread) HasSpreadTarget ¶
HasSpreadTarget returns a boolean if a field has been set.
func (Spread) MarshalJSON ¶
func (*Spread) SetAttribute ¶
SetAttribute gets a reference to the given string and assigns it to the Attribute field.
func (*Spread) SetSpreadTarget ¶
func (o *Spread) SetSpreadTarget(v []SpreadTarget)
SetSpreadTarget gets a reference to the given []SpreadTarget and assigns it to the SpreadTarget field.
type SpreadTarget ¶
type SpreadTarget struct { Percent *int32 `json:"Percent,omitempty"` Value *string `json:"Value,omitempty"` }
SpreadTarget SpreadTarget is used to serialize target allocation spread percentages
func NewSpreadTarget ¶
func NewSpreadTarget() *SpreadTarget
NewSpreadTarget instantiates a new SpreadTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpreadTargetWithDefaults ¶
func NewSpreadTargetWithDefaults() *SpreadTarget
NewSpreadTargetWithDefaults instantiates a new SpreadTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SpreadTarget) GetPercent ¶
func (o *SpreadTarget) GetPercent() int32
GetPercent returns the Percent field value if set, zero value otherwise.
func (*SpreadTarget) GetPercentOk ¶
func (o *SpreadTarget) GetPercentOk() (*int32, bool)
GetPercentOk returns a tuple with the Percent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpreadTarget) GetValue ¶
func (o *SpreadTarget) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SpreadTarget) GetValueOk ¶
func (o *SpreadTarget) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SpreadTarget) HasPercent ¶
func (o *SpreadTarget) HasPercent() bool
HasPercent returns a boolean if a field has been set.
func (*SpreadTarget) HasValue ¶
func (o *SpreadTarget) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SpreadTarget) MarshalJSON ¶
func (o SpreadTarget) MarshalJSON() ([]byte, error)
func (*SpreadTarget) SetPercent ¶
func (o *SpreadTarget) SetPercent(v int32)
SetPercent gets a reference to the given int32 and assigns it to the Percent field.
func (*SpreadTarget) SetValue ¶
func (o *SpreadTarget) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
type Task ¶
type Task struct { Affinities *[]Affinity `json:"Affinities,omitempty"` Artifacts *[]TaskArtifact `json:"Artifacts,omitempty"` CSIPluginConfig *TaskCSIPluginConfig `json:"CSIPluginConfig,omitempty"` Config *map[string]map[string]interface{} `json:"Config,omitempty"` Constraints *[]Constraint `json:"Constraints,omitempty"` DispatchPayload *DispatchPayloadConfig `json:"DispatchPayload,omitempty"` Driver *string `json:"Driver,omitempty"` Env *map[string]string `json:"Env,omitempty"` KillSignal *string `json:"KillSignal,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. KillTimeout *int64 `json:"KillTimeout,omitempty"` Kind *string `json:"Kind,omitempty"` Leader *bool `json:"Leader,omitempty"` Lifecycle *TaskLifecycle `json:"Lifecycle,omitempty"` LogConfig *LogConfig `json:"LogConfig,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Name *string `json:"Name,omitempty"` Resources *Resources `json:"Resources,omitempty"` RestartPolicy *RestartPolicy `json:"RestartPolicy,omitempty"` ScalingPolicies *[]ScalingPolicy `json:"ScalingPolicies,omitempty"` Services *[]Service `json:"Services,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. ShutdownDelay *int64 `json:"ShutdownDelay,omitempty"` Templates *[]Template `json:"Templates,omitempty"` User *string `json:"User,omitempty"` Vault *Vault `json:"Vault,omitempty"` VolumeMounts *[]VolumeMount `json:"VolumeMounts,omitempty"` }
Task struct for Task
func NewTask ¶
func NewTask() *Task
NewTask instantiates a new Task object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskWithDefaults ¶
func NewTaskWithDefaults() *Task
NewTaskWithDefaults instantiates a new Task object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Task) GetAffinities ¶
GetAffinities returns the Affinities field value if set, zero value otherwise.
func (*Task) GetAffinitiesOk ¶
GetAffinitiesOk returns a tuple with the Affinities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetArtifacts ¶
func (o *Task) GetArtifacts() []TaskArtifact
GetArtifacts returns the Artifacts field value if set, zero value otherwise.
func (*Task) GetArtifactsOk ¶
func (o *Task) GetArtifactsOk() (*[]TaskArtifact, bool)
GetArtifactsOk returns a tuple with the Artifacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetCSIPluginConfig ¶
func (o *Task) GetCSIPluginConfig() TaskCSIPluginConfig
GetCSIPluginConfig returns the CSIPluginConfig field value if set, zero value otherwise.
func (*Task) GetCSIPluginConfigOk ¶
func (o *Task) GetCSIPluginConfigOk() (*TaskCSIPluginConfig, bool)
GetCSIPluginConfigOk returns a tuple with the CSIPluginConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetConstraints ¶
func (o *Task) GetConstraints() []Constraint
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*Task) GetConstraintsOk ¶
func (o *Task) GetConstraintsOk() (*[]Constraint, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetDispatchPayload ¶
func (o *Task) GetDispatchPayload() DispatchPayloadConfig
GetDispatchPayload returns the DispatchPayload field value if set, zero value otherwise.
func (*Task) GetDispatchPayloadOk ¶
func (o *Task) GetDispatchPayloadOk() (*DispatchPayloadConfig, bool)
GetDispatchPayloadOk returns a tuple with the DispatchPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetDriverOk ¶
GetDriverOk returns a tuple with the Driver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetEnvOk ¶
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetKillSignal ¶
GetKillSignal returns the KillSignal field value if set, zero value otherwise.
func (*Task) GetKillSignalOk ¶
GetKillSignalOk returns a tuple with the KillSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetKillTimeout ¶
GetKillTimeout returns the KillTimeout field value if set, zero value otherwise.
func (*Task) GetKillTimeoutOk ¶
GetKillTimeoutOk returns a tuple with the KillTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetLeaderOk ¶
GetLeaderOk returns a tuple with the Leader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetLifecycle ¶
func (o *Task) GetLifecycle() TaskLifecycle
GetLifecycle returns the Lifecycle field value if set, zero value otherwise.
func (*Task) GetLifecycleOk ¶
func (o *Task) GetLifecycleOk() (*TaskLifecycle, bool)
GetLifecycleOk returns a tuple with the Lifecycle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetLogConfig ¶
GetLogConfig returns the LogConfig field value if set, zero value otherwise.
func (*Task) GetLogConfigOk ¶
GetLogConfigOk returns a tuple with the LogConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetResources ¶
GetResources returns the Resources field value if set, zero value otherwise.
func (*Task) GetResourcesOk ¶
GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetRestartPolicy ¶
func (o *Task) GetRestartPolicy() RestartPolicy
GetRestartPolicy returns the RestartPolicy field value if set, zero value otherwise.
func (*Task) GetRestartPolicyOk ¶
func (o *Task) GetRestartPolicyOk() (*RestartPolicy, bool)
GetRestartPolicyOk returns a tuple with the RestartPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetScalingPolicies ¶
func (o *Task) GetScalingPolicies() []ScalingPolicy
GetScalingPolicies returns the ScalingPolicies field value if set, zero value otherwise.
func (*Task) GetScalingPoliciesOk ¶
func (o *Task) GetScalingPoliciesOk() (*[]ScalingPolicy, bool)
GetScalingPoliciesOk returns a tuple with the ScalingPolicies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetServices ¶
GetServices returns the Services field value if set, zero value otherwise.
func (*Task) GetServicesOk ¶
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetShutdownDelay ¶
GetShutdownDelay returns the ShutdownDelay field value if set, zero value otherwise.
func (*Task) GetShutdownDelayOk ¶
GetShutdownDelayOk returns a tuple with the ShutdownDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetTemplates ¶
GetTemplates returns the Templates field value if set, zero value otherwise.
func (*Task) GetTemplatesOk ¶
GetTemplatesOk returns a tuple with the Templates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetUserOk ¶
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetVaultOk ¶
GetVaultOk returns a tuple with the Vault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) GetVolumeMounts ¶
func (o *Task) GetVolumeMounts() []VolumeMount
GetVolumeMounts returns the VolumeMounts field value if set, zero value otherwise.
func (*Task) GetVolumeMountsOk ¶
func (o *Task) GetVolumeMountsOk() (*[]VolumeMount, bool)
GetVolumeMountsOk returns a tuple with the VolumeMounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Task) HasAffinities ¶
HasAffinities returns a boolean if a field has been set.
func (*Task) HasArtifacts ¶
HasArtifacts returns a boolean if a field has been set.
func (*Task) HasCSIPluginConfig ¶
HasCSIPluginConfig returns a boolean if a field has been set.
func (*Task) HasConstraints ¶
HasConstraints returns a boolean if a field has been set.
func (*Task) HasDispatchPayload ¶
HasDispatchPayload returns a boolean if a field has been set.
func (*Task) HasKillSignal ¶
HasKillSignal returns a boolean if a field has been set.
func (*Task) HasKillTimeout ¶
HasKillTimeout returns a boolean if a field has been set.
func (*Task) HasLifecycle ¶
HasLifecycle returns a boolean if a field has been set.
func (*Task) HasLogConfig ¶
HasLogConfig returns a boolean if a field has been set.
func (*Task) HasResources ¶
HasResources returns a boolean if a field has been set.
func (*Task) HasRestartPolicy ¶
HasRestartPolicy returns a boolean if a field has been set.
func (*Task) HasScalingPolicies ¶
HasScalingPolicies returns a boolean if a field has been set.
func (*Task) HasServices ¶
HasServices returns a boolean if a field has been set.
func (*Task) HasShutdownDelay ¶
HasShutdownDelay returns a boolean if a field has been set.
func (*Task) HasTemplates ¶
HasTemplates returns a boolean if a field has been set.
func (*Task) HasVolumeMounts ¶
HasVolumeMounts returns a boolean if a field has been set.
func (Task) MarshalJSON ¶
func (*Task) SetAffinities ¶
SetAffinities gets a reference to the given []Affinity and assigns it to the Affinities field.
func (*Task) SetArtifacts ¶
func (o *Task) SetArtifacts(v []TaskArtifact)
SetArtifacts gets a reference to the given []TaskArtifact and assigns it to the Artifacts field.
func (*Task) SetCSIPluginConfig ¶
func (o *Task) SetCSIPluginConfig(v TaskCSIPluginConfig)
SetCSIPluginConfig gets a reference to the given TaskCSIPluginConfig and assigns it to the CSIPluginConfig field.
func (*Task) SetConfig ¶
SetConfig gets a reference to the given map[string]map[string]interface{} and assigns it to the Config field.
func (*Task) SetConstraints ¶
func (o *Task) SetConstraints(v []Constraint)
SetConstraints gets a reference to the given []Constraint and assigns it to the Constraints field.
func (*Task) SetDispatchPayload ¶
func (o *Task) SetDispatchPayload(v DispatchPayloadConfig)
SetDispatchPayload gets a reference to the given DispatchPayloadConfig and assigns it to the DispatchPayload field.
func (*Task) SetDriver ¶
SetDriver gets a reference to the given string and assigns it to the Driver field.
func (*Task) SetEnv ¶
SetEnv gets a reference to the given map[string]string and assigns it to the Env field.
func (*Task) SetKillSignal ¶
SetKillSignal gets a reference to the given string and assigns it to the KillSignal field.
func (*Task) SetKillTimeout ¶
SetKillTimeout gets a reference to the given int64 and assigns it to the KillTimeout field.
func (*Task) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Task) SetLeader ¶
SetLeader gets a reference to the given bool and assigns it to the Leader field.
func (*Task) SetLifecycle ¶
func (o *Task) SetLifecycle(v TaskLifecycle)
SetLifecycle gets a reference to the given TaskLifecycle and assigns it to the Lifecycle field.
func (*Task) SetLogConfig ¶
SetLogConfig gets a reference to the given LogConfig and assigns it to the LogConfig field.
func (*Task) SetMeta ¶
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*Task) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Task) SetResources ¶
SetResources gets a reference to the given Resources and assigns it to the Resources field.
func (*Task) SetRestartPolicy ¶
func (o *Task) SetRestartPolicy(v RestartPolicy)
SetRestartPolicy gets a reference to the given RestartPolicy and assigns it to the RestartPolicy field.
func (*Task) SetScalingPolicies ¶
func (o *Task) SetScalingPolicies(v []ScalingPolicy)
SetScalingPolicies gets a reference to the given []ScalingPolicy and assigns it to the ScalingPolicies field.
func (*Task) SetServices ¶
SetServices gets a reference to the given []Service and assigns it to the Services field.
func (*Task) SetShutdownDelay ¶
SetShutdownDelay gets a reference to the given int64 and assigns it to the ShutdownDelay field.
func (*Task) SetTemplates ¶
SetTemplates gets a reference to the given []Template and assigns it to the Templates field.
func (*Task) SetUser ¶
SetUser gets a reference to the given string and assigns it to the User field.
func (*Task) SetVault ¶
SetVault gets a reference to the given Vault and assigns it to the Vault field.
func (*Task) SetVolumeMounts ¶
func (o *Task) SetVolumeMounts(v []VolumeMount)
SetVolumeMounts gets a reference to the given []VolumeMount and assigns it to the VolumeMounts field.
type TaskArtifact ¶
type TaskArtifact struct { GetterHeaders *map[string]string `json:"GetterHeaders,omitempty"` GetterMode *string `json:"GetterMode,omitempty"` GetterOptions *map[string]string `json:"GetterOptions,omitempty"` GetterSource *string `json:"GetterSource,omitempty"` RelativeDest *string `json:"RelativeDest,omitempty"` }
TaskArtifact struct for TaskArtifact
func NewTaskArtifact ¶
func NewTaskArtifact() *TaskArtifact
NewTaskArtifact instantiates a new TaskArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskArtifactWithDefaults ¶
func NewTaskArtifactWithDefaults() *TaskArtifact
NewTaskArtifactWithDefaults instantiates a new TaskArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskArtifact) GetGetterHeaders ¶
func (o *TaskArtifact) GetGetterHeaders() map[string]string
GetGetterHeaders returns the GetterHeaders field value if set, zero value otherwise.
func (*TaskArtifact) GetGetterHeadersOk ¶
func (o *TaskArtifact) GetGetterHeadersOk() (*map[string]string, bool)
GetGetterHeadersOk returns a tuple with the GetterHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskArtifact) GetGetterMode ¶
func (o *TaskArtifact) GetGetterMode() string
GetGetterMode returns the GetterMode field value if set, zero value otherwise.
func (*TaskArtifact) GetGetterModeOk ¶
func (o *TaskArtifact) GetGetterModeOk() (*string, bool)
GetGetterModeOk returns a tuple with the GetterMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskArtifact) GetGetterOptions ¶
func (o *TaskArtifact) GetGetterOptions() map[string]string
GetGetterOptions returns the GetterOptions field value if set, zero value otherwise.
func (*TaskArtifact) GetGetterOptionsOk ¶
func (o *TaskArtifact) GetGetterOptionsOk() (*map[string]string, bool)
GetGetterOptionsOk returns a tuple with the GetterOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskArtifact) GetGetterSource ¶
func (o *TaskArtifact) GetGetterSource() string
GetGetterSource returns the GetterSource field value if set, zero value otherwise.
func (*TaskArtifact) GetGetterSourceOk ¶
func (o *TaskArtifact) GetGetterSourceOk() (*string, bool)
GetGetterSourceOk returns a tuple with the GetterSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskArtifact) GetRelativeDest ¶
func (o *TaskArtifact) GetRelativeDest() string
GetRelativeDest returns the RelativeDest field value if set, zero value otherwise.
func (*TaskArtifact) GetRelativeDestOk ¶
func (o *TaskArtifact) GetRelativeDestOk() (*string, bool)
GetRelativeDestOk returns a tuple with the RelativeDest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskArtifact) HasGetterHeaders ¶
func (o *TaskArtifact) HasGetterHeaders() bool
HasGetterHeaders returns a boolean if a field has been set.
func (*TaskArtifact) HasGetterMode ¶
func (o *TaskArtifact) HasGetterMode() bool
HasGetterMode returns a boolean if a field has been set.
func (*TaskArtifact) HasGetterOptions ¶
func (o *TaskArtifact) HasGetterOptions() bool
HasGetterOptions returns a boolean if a field has been set.
func (*TaskArtifact) HasGetterSource ¶
func (o *TaskArtifact) HasGetterSource() bool
HasGetterSource returns a boolean if a field has been set.
func (*TaskArtifact) HasRelativeDest ¶
func (o *TaskArtifact) HasRelativeDest() bool
HasRelativeDest returns a boolean if a field has been set.
func (TaskArtifact) MarshalJSON ¶
func (o TaskArtifact) MarshalJSON() ([]byte, error)
func (*TaskArtifact) SetGetterHeaders ¶
func (o *TaskArtifact) SetGetterHeaders(v map[string]string)
SetGetterHeaders gets a reference to the given map[string]string and assigns it to the GetterHeaders field.
func (*TaskArtifact) SetGetterMode ¶
func (o *TaskArtifact) SetGetterMode(v string)
SetGetterMode gets a reference to the given string and assigns it to the GetterMode field.
func (*TaskArtifact) SetGetterOptions ¶
func (o *TaskArtifact) SetGetterOptions(v map[string]string)
SetGetterOptions gets a reference to the given map[string]string and assigns it to the GetterOptions field.
func (*TaskArtifact) SetGetterSource ¶
func (o *TaskArtifact) SetGetterSource(v string)
SetGetterSource gets a reference to the given string and assigns it to the GetterSource field.
func (*TaskArtifact) SetRelativeDest ¶
func (o *TaskArtifact) SetRelativeDest(v string)
SetRelativeDest gets a reference to the given string and assigns it to the RelativeDest field.
type TaskCSIPluginConfig ¶
type TaskCSIPluginConfig struct { // ID is the identifier of the plugin. Ideally this should be the FQDN of the plugin. ID *string `json:"ID,omitempty"` // MountDir is the destination that nomad should mount in its CSI directory for the plugin. It will then expect a file called CSISocketName to be created by the plugin, and will provide references into \"MountDir/CSIIntermediaryDirname/VolumeName/AllocID for mounts. Default is /csi. MountDir *string `json:"MountDir,omitempty"` // CSIPluginType is an enum string that encapsulates the valid options for a CSIPlugin stanza's Type. These modes will allow the plugin to be used in different ways by the client. Type *string `json:"Type,omitempty"` }
TaskCSIPluginConfig TaskCSIPluginConfig contains the data that is required to setup a task as a CSI plugin. This will be used by the csi_plugin_supervisor_hook to configure mounts for the plugin and initiate the connection to the plugin catalog.
func NewTaskCSIPluginConfig ¶
func NewTaskCSIPluginConfig() *TaskCSIPluginConfig
NewTaskCSIPluginConfig instantiates a new TaskCSIPluginConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskCSIPluginConfigWithDefaults ¶
func NewTaskCSIPluginConfigWithDefaults() *TaskCSIPluginConfig
NewTaskCSIPluginConfigWithDefaults instantiates a new TaskCSIPluginConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskCSIPluginConfig) GetID ¶
func (o *TaskCSIPluginConfig) GetID() string
GetID returns the ID field value if set, zero value otherwise.
func (*TaskCSIPluginConfig) GetIDOk ¶
func (o *TaskCSIPluginConfig) GetIDOk() (*string, bool)
GetIDOk returns a tuple with the ID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskCSIPluginConfig) GetMountDir ¶
func (o *TaskCSIPluginConfig) GetMountDir() string
GetMountDir returns the MountDir field value if set, zero value otherwise.
func (*TaskCSIPluginConfig) GetMountDirOk ¶
func (o *TaskCSIPluginConfig) GetMountDirOk() (*string, bool)
GetMountDirOk returns a tuple with the MountDir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskCSIPluginConfig) GetType ¶
func (o *TaskCSIPluginConfig) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TaskCSIPluginConfig) GetTypeOk ¶
func (o *TaskCSIPluginConfig) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskCSIPluginConfig) HasID ¶
func (o *TaskCSIPluginConfig) HasID() bool
HasID returns a boolean if a field has been set.
func (*TaskCSIPluginConfig) HasMountDir ¶
func (o *TaskCSIPluginConfig) HasMountDir() bool
HasMountDir returns a boolean if a field has been set.
func (*TaskCSIPluginConfig) HasType ¶
func (o *TaskCSIPluginConfig) HasType() bool
HasType returns a boolean if a field has been set.
func (TaskCSIPluginConfig) MarshalJSON ¶
func (o TaskCSIPluginConfig) MarshalJSON() ([]byte, error)
func (*TaskCSIPluginConfig) SetID ¶
func (o *TaskCSIPluginConfig) SetID(v string)
SetID gets a reference to the given string and assigns it to the ID field.
func (*TaskCSIPluginConfig) SetMountDir ¶
func (o *TaskCSIPluginConfig) SetMountDir(v string)
SetMountDir gets a reference to the given string and assigns it to the MountDir field.
func (*TaskCSIPluginConfig) SetType ¶
func (o *TaskCSIPluginConfig) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type TaskDiff ¶
type TaskDiff struct { Annotations *[]string `json:"Annotations,omitempty"` Fields *[]FieldDiff `json:"Fields,omitempty"` Name *string `json:"Name,omitempty"` Objects *[]ObjectDiff `json:"Objects,omitempty"` Type *string `json:"Type,omitempty"` }
TaskDiff TaskDiff details the differences between two Task specs
func NewTaskDiff ¶
func NewTaskDiff() *TaskDiff
NewTaskDiff instantiates a new TaskDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskDiffWithDefaults ¶
func NewTaskDiffWithDefaults() *TaskDiff
NewTaskDiffWithDefaults instantiates a new TaskDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskDiff) GetAnnotations ¶
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*TaskDiff) GetAnnotationsOk ¶
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskDiff) GetFieldsOk ¶
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskDiff) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskDiff) GetObjects ¶
func (o *TaskDiff) GetObjects() []ObjectDiff
GetObjects returns the Objects field value if set, zero value otherwise.
func (*TaskDiff) GetObjectsOk ¶
func (o *TaskDiff) GetObjectsOk() (*[]ObjectDiff, bool)
GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskDiff) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskDiff) HasAnnotations ¶
HasAnnotations returns a boolean if a field has been set.
func (*TaskDiff) HasObjects ¶
HasObjects returns a boolean if a field has been set.
func (TaskDiff) MarshalJSON ¶
func (*TaskDiff) SetAnnotations ¶
SetAnnotations gets a reference to the given []string and assigns it to the Annotations field.
func (*TaskDiff) SetFields ¶
SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.
func (*TaskDiff) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*TaskDiff) SetObjects ¶
func (o *TaskDiff) SetObjects(v []ObjectDiff)
SetObjects gets a reference to the given []ObjectDiff and assigns it to the Objects field.
type TaskEvent ¶
type TaskEvent struct { // Details is a map with annotated info about the event Details *map[string]string `json:"Details,omitempty"` // The maximum allowed task disk size. Deprecated, use Details[\"disk_limit\"] to access this. DiskLimit *int64 `json:"DiskLimit,omitempty"` // DisplayMessage is a human friendly message about the event DisplayMessage *string `json:"DisplayMessage,omitempty"` // Artifact Download fields Deprecated, use Details[\"download_error\"] to access this. DownloadError *string `json:"DownloadError,omitempty"` // Driver Failure fields. Deprecated, use Details[\"driver_error\"] to access this. DriverError *string `json:"DriverError,omitempty"` // DriverMessage indicates a driver action being taken. Deprecated, use Details[\"driver_message\"] to access this. DriverMessage *string `json:"DriverMessage,omitempty"` // Deprecated, use Details[\"exit_code\"] to access this. ExitCode *int64 `json:"ExitCode,omitempty"` // Name of the sibling task that caused termination of the task that the TaskEvent refers to. Deprecated, use Details[\"failed_sibling\"] to access this. FailedSibling *string `json:"FailedSibling,omitempty"` // FailsTask marks whether this event fails the task. Deprecated, use Details[\"fails_task\"] to access this. FailsTask *bool `json:"FailsTask,omitempty"` // GenericSource is the source of a message. Deprecated, is redundant with event type. GenericSource *string `json:"GenericSource,omitempty"` // Task Killed Fields. Deprecated, use Details[\"kill_error\"] to access this. KillError *string `json:"KillError,omitempty"` // KillReason is the reason the task was killed Deprecated, use Details[\"kill_reason\"] to access this. KillReason *string `json:"KillReason,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. KillTimeout *int64 `json:"KillTimeout,omitempty"` Message *string `json:"Message,omitempty"` // Restart fields. Deprecated, use Details[\"restart_reason\"] to access this. RestartReason *string `json:"RestartReason,omitempty"` // Setup Failure fields. Deprecated, use Details[\"setup_error\"] to access this. SetupError *string `json:"SetupError,omitempty"` // Deprecated, use Details[\"signal\"] to access this. Signal *int64 `json:"Signal,omitempty"` // TaskRestarting fields. Deprecated, use Details[\"start_delay\"] to access this. StartDelay *int64 `json:"StartDelay,omitempty"` // TaskSignal is the signal that was sent to the task Deprecated, use Details[\"task_signal\"] to access this. TaskSignal *string `json:"TaskSignal,omitempty"` // TaskSignalReason indicates the reason the task is being signalled. Deprecated, use Details[\"task_signal_reason\"] to access this. TaskSignalReason *string `json:"TaskSignalReason,omitempty"` Time *int64 `json:"Time,omitempty"` Type *string `json:"Type,omitempty"` // Validation fields Deprecated, use Details[\"validation_error\"] to access this. ValidationError *string `json:"ValidationError,omitempty"` // VaultError is the error from token renewal Deprecated, use Details[\"vault_renewal_error\"] to access this. VaultError *string `json:"VaultError,omitempty"` }
TaskEvent TaskEvent is an event that effects the state of a task and contains meta-data appropriate to the events type.
func NewTaskEvent ¶
func NewTaskEvent() *TaskEvent
NewTaskEvent instantiates a new TaskEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskEventWithDefaults ¶
func NewTaskEventWithDefaults() *TaskEvent
NewTaskEventWithDefaults instantiates a new TaskEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskEvent) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*TaskEvent) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetDiskLimit ¶
GetDiskLimit returns the DiskLimit field value if set, zero value otherwise.
func (*TaskEvent) GetDiskLimitOk ¶
GetDiskLimitOk returns a tuple with the DiskLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetDisplayMessage ¶
GetDisplayMessage returns the DisplayMessage field value if set, zero value otherwise.
func (*TaskEvent) GetDisplayMessageOk ¶
GetDisplayMessageOk returns a tuple with the DisplayMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetDownloadError ¶
GetDownloadError returns the DownloadError field value if set, zero value otherwise.
func (*TaskEvent) GetDownloadErrorOk ¶
GetDownloadErrorOk returns a tuple with the DownloadError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetDriverError ¶
GetDriverError returns the DriverError field value if set, zero value otherwise.
func (*TaskEvent) GetDriverErrorOk ¶
GetDriverErrorOk returns a tuple with the DriverError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetDriverMessage ¶
GetDriverMessage returns the DriverMessage field value if set, zero value otherwise.
func (*TaskEvent) GetDriverMessageOk ¶
GetDriverMessageOk returns a tuple with the DriverMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetExitCode ¶
GetExitCode returns the ExitCode field value if set, zero value otherwise.
func (*TaskEvent) GetExitCodeOk ¶
GetExitCodeOk returns a tuple with the ExitCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetFailedSibling ¶
GetFailedSibling returns the FailedSibling field value if set, zero value otherwise.
func (*TaskEvent) GetFailedSiblingOk ¶
GetFailedSiblingOk returns a tuple with the FailedSibling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetFailsTask ¶
GetFailsTask returns the FailsTask field value if set, zero value otherwise.
func (*TaskEvent) GetFailsTaskOk ¶
GetFailsTaskOk returns a tuple with the FailsTask field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetGenericSource ¶
GetGenericSource returns the GenericSource field value if set, zero value otherwise.
func (*TaskEvent) GetGenericSourceOk ¶
GetGenericSourceOk returns a tuple with the GenericSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetKillError ¶
GetKillError returns the KillError field value if set, zero value otherwise.
func (*TaskEvent) GetKillErrorOk ¶
GetKillErrorOk returns a tuple with the KillError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetKillReason ¶
GetKillReason returns the KillReason field value if set, zero value otherwise.
func (*TaskEvent) GetKillReasonOk ¶
GetKillReasonOk returns a tuple with the KillReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetKillTimeout ¶
GetKillTimeout returns the KillTimeout field value if set, zero value otherwise.
func (*TaskEvent) GetKillTimeoutOk ¶
GetKillTimeoutOk returns a tuple with the KillTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*TaskEvent) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetRestartReason ¶
GetRestartReason returns the RestartReason field value if set, zero value otherwise.
func (*TaskEvent) GetRestartReasonOk ¶
GetRestartReasonOk returns a tuple with the RestartReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetSetupError ¶
GetSetupError returns the SetupError field value if set, zero value otherwise.
func (*TaskEvent) GetSetupErrorOk ¶
GetSetupErrorOk returns a tuple with the SetupError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetSignal ¶
GetSignal returns the Signal field value if set, zero value otherwise.
func (*TaskEvent) GetSignalOk ¶
GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetStartDelay ¶
GetStartDelay returns the StartDelay field value if set, zero value otherwise.
func (*TaskEvent) GetStartDelayOk ¶
GetStartDelayOk returns a tuple with the StartDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetTaskSignal ¶
GetTaskSignal returns the TaskSignal field value if set, zero value otherwise.
func (*TaskEvent) GetTaskSignalOk ¶
GetTaskSignalOk returns a tuple with the TaskSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetTaskSignalReason ¶
GetTaskSignalReason returns the TaskSignalReason field value if set, zero value otherwise.
func (*TaskEvent) GetTaskSignalReasonOk ¶
GetTaskSignalReasonOk returns a tuple with the TaskSignalReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetTimeOk ¶
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetValidationError ¶
GetValidationError returns the ValidationError field value if set, zero value otherwise.
func (*TaskEvent) GetValidationErrorOk ¶
GetValidationErrorOk returns a tuple with the ValidationError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) GetVaultError ¶
GetVaultError returns the VaultError field value if set, zero value otherwise.
func (*TaskEvent) GetVaultErrorOk ¶
GetVaultErrorOk returns a tuple with the VaultError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskEvent) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*TaskEvent) HasDiskLimit ¶
HasDiskLimit returns a boolean if a field has been set.
func (*TaskEvent) HasDisplayMessage ¶
HasDisplayMessage returns a boolean if a field has been set.
func (*TaskEvent) HasDownloadError ¶
HasDownloadError returns a boolean if a field has been set.
func (*TaskEvent) HasDriverError ¶
HasDriverError returns a boolean if a field has been set.
func (*TaskEvent) HasDriverMessage ¶
HasDriverMessage returns a boolean if a field has been set.
func (*TaskEvent) HasExitCode ¶
HasExitCode returns a boolean if a field has been set.
func (*TaskEvent) HasFailedSibling ¶
HasFailedSibling returns a boolean if a field has been set.
func (*TaskEvent) HasFailsTask ¶
HasFailsTask returns a boolean if a field has been set.
func (*TaskEvent) HasGenericSource ¶
HasGenericSource returns a boolean if a field has been set.
func (*TaskEvent) HasKillError ¶
HasKillError returns a boolean if a field has been set.
func (*TaskEvent) HasKillReason ¶
HasKillReason returns a boolean if a field has been set.
func (*TaskEvent) HasKillTimeout ¶
HasKillTimeout returns a boolean if a field has been set.
func (*TaskEvent) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*TaskEvent) HasRestartReason ¶
HasRestartReason returns a boolean if a field has been set.
func (*TaskEvent) HasSetupError ¶
HasSetupError returns a boolean if a field has been set.
func (*TaskEvent) HasStartDelay ¶
HasStartDelay returns a boolean if a field has been set.
func (*TaskEvent) HasTaskSignal ¶
HasTaskSignal returns a boolean if a field has been set.
func (*TaskEvent) HasTaskSignalReason ¶
HasTaskSignalReason returns a boolean if a field has been set.
func (*TaskEvent) HasValidationError ¶
HasValidationError returns a boolean if a field has been set.
func (*TaskEvent) HasVaultError ¶
HasVaultError returns a boolean if a field has been set.
func (TaskEvent) MarshalJSON ¶
func (*TaskEvent) SetDetails ¶
SetDetails gets a reference to the given map[string]string and assigns it to the Details field.
func (*TaskEvent) SetDiskLimit ¶
SetDiskLimit gets a reference to the given int64 and assigns it to the DiskLimit field.
func (*TaskEvent) SetDisplayMessage ¶
SetDisplayMessage gets a reference to the given string and assigns it to the DisplayMessage field.
func (*TaskEvent) SetDownloadError ¶
SetDownloadError gets a reference to the given string and assigns it to the DownloadError field.
func (*TaskEvent) SetDriverError ¶
SetDriverError gets a reference to the given string and assigns it to the DriverError field.
func (*TaskEvent) SetDriverMessage ¶
SetDriverMessage gets a reference to the given string and assigns it to the DriverMessage field.
func (*TaskEvent) SetExitCode ¶
SetExitCode gets a reference to the given int64 and assigns it to the ExitCode field.
func (*TaskEvent) SetFailedSibling ¶
SetFailedSibling gets a reference to the given string and assigns it to the FailedSibling field.
func (*TaskEvent) SetFailsTask ¶
SetFailsTask gets a reference to the given bool and assigns it to the FailsTask field.
func (*TaskEvent) SetGenericSource ¶
SetGenericSource gets a reference to the given string and assigns it to the GenericSource field.
func (*TaskEvent) SetKillError ¶
SetKillError gets a reference to the given string and assigns it to the KillError field.
func (*TaskEvent) SetKillReason ¶
SetKillReason gets a reference to the given string and assigns it to the KillReason field.
func (*TaskEvent) SetKillTimeout ¶
SetKillTimeout gets a reference to the given int64 and assigns it to the KillTimeout field.
func (*TaskEvent) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*TaskEvent) SetRestartReason ¶
SetRestartReason gets a reference to the given string and assigns it to the RestartReason field.
func (*TaskEvent) SetSetupError ¶
SetSetupError gets a reference to the given string and assigns it to the SetupError field.
func (*TaskEvent) SetSignal ¶
SetSignal gets a reference to the given int64 and assigns it to the Signal field.
func (*TaskEvent) SetStartDelay ¶
SetStartDelay gets a reference to the given int64 and assigns it to the StartDelay field.
func (*TaskEvent) SetTaskSignal ¶
SetTaskSignal gets a reference to the given string and assigns it to the TaskSignal field.
func (*TaskEvent) SetTaskSignalReason ¶
SetTaskSignalReason gets a reference to the given string and assigns it to the TaskSignalReason field.
func (*TaskEvent) SetTime ¶
SetTime gets a reference to the given int64 and assigns it to the Time field.
func (*TaskEvent) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*TaskEvent) SetValidationError ¶
SetValidationError gets a reference to the given string and assigns it to the ValidationError field.
func (*TaskEvent) SetVaultError ¶
SetVaultError gets a reference to the given string and assigns it to the VaultError field.
type TaskGroup ¶
type TaskGroup struct { Affinities *[]Affinity `json:"Affinities,omitempty"` Constraints *[]Constraint `json:"Constraints,omitempty"` Consul *Consul `json:"Consul,omitempty"` Count *int64 `json:"Count,omitempty"` EphemeralDisk *EphemeralDisk `json:"EphemeralDisk,omitempty"` Meta *map[string]string `json:"Meta,omitempty"` Migrate *MigrateStrategy `json:"Migrate,omitempty"` Name *string `json:"Name,omitempty"` Networks *[]NetworkResource `json:"Networks,omitempty"` ReschedulePolicy *ReschedulePolicy `json:"ReschedulePolicy,omitempty"` RestartPolicy *RestartPolicy `json:"RestartPolicy,omitempty"` Scaling *ScalingPolicy `json:"Scaling,omitempty"` Services *[]Service `json:"Services,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. ShutdownDelay *int64 `json:"ShutdownDelay,omitempty"` Spreads *[]Spread `json:"Spreads,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. StopAfterClientDisconnect *int64 `json:"StopAfterClientDisconnect,omitempty"` Tasks *[]Task `json:"Tasks,omitempty"` Update *UpdateStrategy `json:"Update,omitempty"` Volumes *map[string]VolumeRequest `json:"Volumes,omitempty"` }
TaskGroup struct for TaskGroup
func NewTaskGroup ¶
func NewTaskGroup() *TaskGroup
NewTaskGroup instantiates a new TaskGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskGroupWithDefaults ¶
func NewTaskGroupWithDefaults() *TaskGroup
NewTaskGroupWithDefaults instantiates a new TaskGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskGroup) GetAffinities ¶
GetAffinities returns the Affinities field value if set, zero value otherwise.
func (*TaskGroup) GetAffinitiesOk ¶
GetAffinitiesOk returns a tuple with the Affinities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetConstraints ¶
func (o *TaskGroup) GetConstraints() []Constraint
GetConstraints returns the Constraints field value if set, zero value otherwise.
func (*TaskGroup) GetConstraintsOk ¶
func (o *TaskGroup) GetConstraintsOk() (*[]Constraint, bool)
GetConstraintsOk returns a tuple with the Constraints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetConsul ¶
GetConsul returns the Consul field value if set, zero value otherwise.
func (*TaskGroup) GetConsulOk ¶
GetConsulOk returns a tuple with the Consul field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetCountOk ¶
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetEphemeralDisk ¶
func (o *TaskGroup) GetEphemeralDisk() EphemeralDisk
GetEphemeralDisk returns the EphemeralDisk field value if set, zero value otherwise.
func (*TaskGroup) GetEphemeralDiskOk ¶
func (o *TaskGroup) GetEphemeralDiskOk() (*EphemeralDisk, bool)
GetEphemeralDiskOk returns a tuple with the EphemeralDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetMigrate ¶
func (o *TaskGroup) GetMigrate() MigrateStrategy
GetMigrate returns the Migrate field value if set, zero value otherwise.
func (*TaskGroup) GetMigrateOk ¶
func (o *TaskGroup) GetMigrateOk() (*MigrateStrategy, bool)
GetMigrateOk returns a tuple with the Migrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetNetworks ¶
func (o *TaskGroup) GetNetworks() []NetworkResource
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*TaskGroup) GetNetworksOk ¶
func (o *TaskGroup) GetNetworksOk() (*[]NetworkResource, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetReschedulePolicy ¶
func (o *TaskGroup) GetReschedulePolicy() ReschedulePolicy
GetReschedulePolicy returns the ReschedulePolicy field value if set, zero value otherwise.
func (*TaskGroup) GetReschedulePolicyOk ¶
func (o *TaskGroup) GetReschedulePolicyOk() (*ReschedulePolicy, bool)
GetReschedulePolicyOk returns a tuple with the ReschedulePolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetRestartPolicy ¶
func (o *TaskGroup) GetRestartPolicy() RestartPolicy
GetRestartPolicy returns the RestartPolicy field value if set, zero value otherwise.
func (*TaskGroup) GetRestartPolicyOk ¶
func (o *TaskGroup) GetRestartPolicyOk() (*RestartPolicy, bool)
GetRestartPolicyOk returns a tuple with the RestartPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetScaling ¶
func (o *TaskGroup) GetScaling() ScalingPolicy
GetScaling returns the Scaling field value if set, zero value otherwise.
func (*TaskGroup) GetScalingOk ¶
func (o *TaskGroup) GetScalingOk() (*ScalingPolicy, bool)
GetScalingOk returns a tuple with the Scaling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetServices ¶
GetServices returns the Services field value if set, zero value otherwise.
func (*TaskGroup) GetServicesOk ¶
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetShutdownDelay ¶
GetShutdownDelay returns the ShutdownDelay field value if set, zero value otherwise.
func (*TaskGroup) GetShutdownDelayOk ¶
GetShutdownDelayOk returns a tuple with the ShutdownDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetSpreads ¶
GetSpreads returns the Spreads field value if set, zero value otherwise.
func (*TaskGroup) GetSpreadsOk ¶
GetSpreadsOk returns a tuple with the Spreads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetStopAfterClientDisconnect ¶
GetStopAfterClientDisconnect returns the StopAfterClientDisconnect field value if set, zero value otherwise.
func (*TaskGroup) GetStopAfterClientDisconnectOk ¶
GetStopAfterClientDisconnectOk returns a tuple with the StopAfterClientDisconnect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetTasksOk ¶
GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetUpdate ¶
func (o *TaskGroup) GetUpdate() UpdateStrategy
GetUpdate returns the Update field value if set, zero value otherwise.
func (*TaskGroup) GetUpdateOk ¶
func (o *TaskGroup) GetUpdateOk() (*UpdateStrategy, bool)
GetUpdateOk returns a tuple with the Update field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) GetVolumes ¶
func (o *TaskGroup) GetVolumes() map[string]VolumeRequest
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*TaskGroup) GetVolumesOk ¶
func (o *TaskGroup) GetVolumesOk() (*map[string]VolumeRequest, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroup) HasAffinities ¶
HasAffinities returns a boolean if a field has been set.
func (*TaskGroup) HasConstraints ¶
HasConstraints returns a boolean if a field has been set.
func (*TaskGroup) HasEphemeralDisk ¶
HasEphemeralDisk returns a boolean if a field has been set.
func (*TaskGroup) HasMigrate ¶
HasMigrate returns a boolean if a field has been set.
func (*TaskGroup) HasNetworks ¶
HasNetworks returns a boolean if a field has been set.
func (*TaskGroup) HasReschedulePolicy ¶
HasReschedulePolicy returns a boolean if a field has been set.
func (*TaskGroup) HasRestartPolicy ¶
HasRestartPolicy returns a boolean if a field has been set.
func (*TaskGroup) HasScaling ¶
HasScaling returns a boolean if a field has been set.
func (*TaskGroup) HasServices ¶
HasServices returns a boolean if a field has been set.
func (*TaskGroup) HasShutdownDelay ¶
HasShutdownDelay returns a boolean if a field has been set.
func (*TaskGroup) HasSpreads ¶
HasSpreads returns a boolean if a field has been set.
func (*TaskGroup) HasStopAfterClientDisconnect ¶
HasStopAfterClientDisconnect returns a boolean if a field has been set.
func (*TaskGroup) HasVolumes ¶
HasVolumes returns a boolean if a field has been set.
func (TaskGroup) MarshalJSON ¶
func (*TaskGroup) SetAffinities ¶
SetAffinities gets a reference to the given []Affinity and assigns it to the Affinities field.
func (*TaskGroup) SetConstraints ¶
func (o *TaskGroup) SetConstraints(v []Constraint)
SetConstraints gets a reference to the given []Constraint and assigns it to the Constraints field.
func (*TaskGroup) SetConsul ¶
SetConsul gets a reference to the given Consul and assigns it to the Consul field.
func (*TaskGroup) SetCount ¶
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*TaskGroup) SetEphemeralDisk ¶
func (o *TaskGroup) SetEphemeralDisk(v EphemeralDisk)
SetEphemeralDisk gets a reference to the given EphemeralDisk and assigns it to the EphemeralDisk field.
func (*TaskGroup) SetMeta ¶
SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.
func (*TaskGroup) SetMigrate ¶
func (o *TaskGroup) SetMigrate(v MigrateStrategy)
SetMigrate gets a reference to the given MigrateStrategy and assigns it to the Migrate field.
func (*TaskGroup) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*TaskGroup) SetNetworks ¶
func (o *TaskGroup) SetNetworks(v []NetworkResource)
SetNetworks gets a reference to the given []NetworkResource and assigns it to the Networks field.
func (*TaskGroup) SetReschedulePolicy ¶
func (o *TaskGroup) SetReschedulePolicy(v ReschedulePolicy)
SetReschedulePolicy gets a reference to the given ReschedulePolicy and assigns it to the ReschedulePolicy field.
func (*TaskGroup) SetRestartPolicy ¶
func (o *TaskGroup) SetRestartPolicy(v RestartPolicy)
SetRestartPolicy gets a reference to the given RestartPolicy and assigns it to the RestartPolicy field.
func (*TaskGroup) SetScaling ¶
func (o *TaskGroup) SetScaling(v ScalingPolicy)
SetScaling gets a reference to the given ScalingPolicy and assigns it to the Scaling field.
func (*TaskGroup) SetServices ¶
SetServices gets a reference to the given []Service and assigns it to the Services field.
func (*TaskGroup) SetShutdownDelay ¶
SetShutdownDelay gets a reference to the given int64 and assigns it to the ShutdownDelay field.
func (*TaskGroup) SetSpreads ¶
SetSpreads gets a reference to the given []Spread and assigns it to the Spreads field.
func (*TaskGroup) SetStopAfterClientDisconnect ¶
SetStopAfterClientDisconnect gets a reference to the given int64 and assigns it to the StopAfterClientDisconnect field.
func (*TaskGroup) SetTasks ¶
SetTasks gets a reference to the given []Task and assigns it to the Tasks field.
func (*TaskGroup) SetUpdate ¶
func (o *TaskGroup) SetUpdate(v UpdateStrategy)
SetUpdate gets a reference to the given UpdateStrategy and assigns it to the Update field.
func (*TaskGroup) SetVolumes ¶
func (o *TaskGroup) SetVolumes(v map[string]VolumeRequest)
SetVolumes gets a reference to the given map[string]VolumeRequest and assigns it to the Volumes field.
type TaskGroupDiff ¶
type TaskGroupDiff struct { Fields *[]FieldDiff `json:"Fields,omitempty"` Name *string `json:"Name,omitempty"` Objects *[]ObjectDiff `json:"Objects,omitempty"` Tasks *[]TaskDiff `json:"Tasks,omitempty"` Type *string `json:"Type,omitempty"` Updates *map[string]int32 `json:"Updates,omitempty"` }
TaskGroupDiff TaskGroupDiff details the differences between two TaskGroup specs
func NewTaskGroupDiff ¶
func NewTaskGroupDiff() *TaskGroupDiff
NewTaskGroupDiff instantiates a new TaskGroupDiff object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskGroupDiffWithDefaults ¶
func NewTaskGroupDiffWithDefaults() *TaskGroupDiff
NewTaskGroupDiffWithDefaults instantiates a new TaskGroupDiff object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskGroupDiff) GetFields ¶
func (o *TaskGroupDiff) GetFields() []FieldDiff
GetFields returns the Fields field value if set, zero value otherwise.
func (*TaskGroupDiff) GetFieldsOk ¶
func (o *TaskGroupDiff) GetFieldsOk() (*[]FieldDiff, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) GetName ¶
func (o *TaskGroupDiff) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TaskGroupDiff) GetNameOk ¶
func (o *TaskGroupDiff) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) GetObjects ¶
func (o *TaskGroupDiff) GetObjects() []ObjectDiff
GetObjects returns the Objects field value if set, zero value otherwise.
func (*TaskGroupDiff) GetObjectsOk ¶
func (o *TaskGroupDiff) GetObjectsOk() (*[]ObjectDiff, bool)
GetObjectsOk returns a tuple with the Objects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) GetTasks ¶
func (o *TaskGroupDiff) GetTasks() []TaskDiff
GetTasks returns the Tasks field value if set, zero value otherwise.
func (*TaskGroupDiff) GetTasksOk ¶
func (o *TaskGroupDiff) GetTasksOk() (*[]TaskDiff, bool)
GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) GetType ¶
func (o *TaskGroupDiff) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TaskGroupDiff) GetTypeOk ¶
func (o *TaskGroupDiff) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) GetUpdates ¶
func (o *TaskGroupDiff) GetUpdates() map[string]int32
GetUpdates returns the Updates field value if set, zero value otherwise.
func (*TaskGroupDiff) GetUpdatesOk ¶
func (o *TaskGroupDiff) GetUpdatesOk() (*map[string]int32, bool)
GetUpdatesOk returns a tuple with the Updates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupDiff) HasFields ¶
func (o *TaskGroupDiff) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*TaskGroupDiff) HasName ¶
func (o *TaskGroupDiff) HasName() bool
HasName returns a boolean if a field has been set.
func (*TaskGroupDiff) HasObjects ¶
func (o *TaskGroupDiff) HasObjects() bool
HasObjects returns a boolean if a field has been set.
func (*TaskGroupDiff) HasTasks ¶
func (o *TaskGroupDiff) HasTasks() bool
HasTasks returns a boolean if a field has been set.
func (*TaskGroupDiff) HasType ¶
func (o *TaskGroupDiff) HasType() bool
HasType returns a boolean if a field has been set.
func (*TaskGroupDiff) HasUpdates ¶
func (o *TaskGroupDiff) HasUpdates() bool
HasUpdates returns a boolean if a field has been set.
func (TaskGroupDiff) MarshalJSON ¶
func (o TaskGroupDiff) MarshalJSON() ([]byte, error)
func (*TaskGroupDiff) SetFields ¶
func (o *TaskGroupDiff) SetFields(v []FieldDiff)
SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.
func (*TaskGroupDiff) SetName ¶
func (o *TaskGroupDiff) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TaskGroupDiff) SetObjects ¶
func (o *TaskGroupDiff) SetObjects(v []ObjectDiff)
SetObjects gets a reference to the given []ObjectDiff and assigns it to the Objects field.
func (*TaskGroupDiff) SetTasks ¶
func (o *TaskGroupDiff) SetTasks(v []TaskDiff)
SetTasks gets a reference to the given []TaskDiff and assigns it to the Tasks field.
func (*TaskGroupDiff) SetType ¶
func (o *TaskGroupDiff) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*TaskGroupDiff) SetUpdates ¶
func (o *TaskGroupDiff) SetUpdates(v map[string]int32)
SetUpdates gets a reference to the given map[string]int32 and assigns it to the Updates field.
type TaskGroupSummary ¶
type TaskGroupSummary struct { Complete *int64 `json:"Complete,omitempty"` Failed *int64 `json:"Failed,omitempty"` Lost *int64 `json:"Lost,omitempty"` Queued *int64 `json:"Queued,omitempty"` Running *int64 `json:"Running,omitempty"` Starting *int64 `json:"Starting,omitempty"` }
TaskGroupSummary TaskGroup summarizes the state of all the allocations of a particular TaskGroup
func NewTaskGroupSummary ¶
func NewTaskGroupSummary() *TaskGroupSummary
NewTaskGroupSummary instantiates a new TaskGroupSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskGroupSummaryWithDefaults ¶
func NewTaskGroupSummaryWithDefaults() *TaskGroupSummary
NewTaskGroupSummaryWithDefaults instantiates a new TaskGroupSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskGroupSummary) GetComplete ¶
func (o *TaskGroupSummary) GetComplete() int64
GetComplete returns the Complete field value if set, zero value otherwise.
func (*TaskGroupSummary) GetCompleteOk ¶
func (o *TaskGroupSummary) GetCompleteOk() (*int64, bool)
GetCompleteOk returns a tuple with the Complete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) GetFailed ¶
func (o *TaskGroupSummary) GetFailed() int64
GetFailed returns the Failed field value if set, zero value otherwise.
func (*TaskGroupSummary) GetFailedOk ¶
func (o *TaskGroupSummary) GetFailedOk() (*int64, bool)
GetFailedOk returns a tuple with the Failed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) GetLost ¶
func (o *TaskGroupSummary) GetLost() int64
GetLost returns the Lost field value if set, zero value otherwise.
func (*TaskGroupSummary) GetLostOk ¶
func (o *TaskGroupSummary) GetLostOk() (*int64, bool)
GetLostOk returns a tuple with the Lost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) GetQueued ¶
func (o *TaskGroupSummary) GetQueued() int64
GetQueued returns the Queued field value if set, zero value otherwise.
func (*TaskGroupSummary) GetQueuedOk ¶
func (o *TaskGroupSummary) GetQueuedOk() (*int64, bool)
GetQueuedOk returns a tuple with the Queued field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) GetRunning ¶
func (o *TaskGroupSummary) GetRunning() int64
GetRunning returns the Running field value if set, zero value otherwise.
func (*TaskGroupSummary) GetRunningOk ¶
func (o *TaskGroupSummary) GetRunningOk() (*int64, bool)
GetRunningOk returns a tuple with the Running field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) GetStarting ¶
func (o *TaskGroupSummary) GetStarting() int64
GetStarting returns the Starting field value if set, zero value otherwise.
func (*TaskGroupSummary) GetStartingOk ¶
func (o *TaskGroupSummary) GetStartingOk() (*int64, bool)
GetStartingOk returns a tuple with the Starting field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskGroupSummary) HasComplete ¶
func (o *TaskGroupSummary) HasComplete() bool
HasComplete returns a boolean if a field has been set.
func (*TaskGroupSummary) HasFailed ¶
func (o *TaskGroupSummary) HasFailed() bool
HasFailed returns a boolean if a field has been set.
func (*TaskGroupSummary) HasLost ¶
func (o *TaskGroupSummary) HasLost() bool
HasLost returns a boolean if a field has been set.
func (*TaskGroupSummary) HasQueued ¶
func (o *TaskGroupSummary) HasQueued() bool
HasQueued returns a boolean if a field has been set.
func (*TaskGroupSummary) HasRunning ¶
func (o *TaskGroupSummary) HasRunning() bool
HasRunning returns a boolean if a field has been set.
func (*TaskGroupSummary) HasStarting ¶
func (o *TaskGroupSummary) HasStarting() bool
HasStarting returns a boolean if a field has been set.
func (TaskGroupSummary) MarshalJSON ¶
func (o TaskGroupSummary) MarshalJSON() ([]byte, error)
func (*TaskGroupSummary) SetComplete ¶
func (o *TaskGroupSummary) SetComplete(v int64)
SetComplete gets a reference to the given int64 and assigns it to the Complete field.
func (*TaskGroupSummary) SetFailed ¶
func (o *TaskGroupSummary) SetFailed(v int64)
SetFailed gets a reference to the given int64 and assigns it to the Failed field.
func (*TaskGroupSummary) SetLost ¶
func (o *TaskGroupSummary) SetLost(v int64)
SetLost gets a reference to the given int64 and assigns it to the Lost field.
func (*TaskGroupSummary) SetQueued ¶
func (o *TaskGroupSummary) SetQueued(v int64)
SetQueued gets a reference to the given int64 and assigns it to the Queued field.
func (*TaskGroupSummary) SetRunning ¶
func (o *TaskGroupSummary) SetRunning(v int64)
SetRunning gets a reference to the given int64 and assigns it to the Running field.
func (*TaskGroupSummary) SetStarting ¶
func (o *TaskGroupSummary) SetStarting(v int64)
SetStarting gets a reference to the given int64 and assigns it to the Starting field.
type TaskHandle ¶
type TaskHandle struct { // Driver-specific state containing a handle to the remote task. DriverState *[]int32 `json:"DriverState,omitempty"` // Version of driver state. Used by the driver to gracefully handle plugin upgrades. Version *int64 `json:"Version,omitempty"` }
TaskHandle Minimal set of fields from plugins/drivers/task_handle.go:TaskHandle
func NewTaskHandle ¶
func NewTaskHandle() *TaskHandle
NewTaskHandle instantiates a new TaskHandle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskHandleWithDefaults ¶
func NewTaskHandleWithDefaults() *TaskHandle
NewTaskHandleWithDefaults instantiates a new TaskHandle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskHandle) GetDriverState ¶
func (o *TaskHandle) GetDriverState() []int32
GetDriverState returns the DriverState field value if set, zero value otherwise.
func (*TaskHandle) GetDriverStateOk ¶
func (o *TaskHandle) GetDriverStateOk() (*[]int32, bool)
GetDriverStateOk returns a tuple with the DriverState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskHandle) GetVersion ¶
func (o *TaskHandle) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*TaskHandle) GetVersionOk ¶
func (o *TaskHandle) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskHandle) HasDriverState ¶
func (o *TaskHandle) HasDriverState() bool
HasDriverState returns a boolean if a field has been set.
func (*TaskHandle) HasVersion ¶
func (o *TaskHandle) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (TaskHandle) MarshalJSON ¶
func (o TaskHandle) MarshalJSON() ([]byte, error)
func (*TaskHandle) SetDriverState ¶
func (o *TaskHandle) SetDriverState(v []int32)
SetDriverState gets a reference to the given []int32 and assigns it to the DriverState field.
func (*TaskHandle) SetVersion ¶
func (o *TaskHandle) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
type TaskLifecycle ¶
type TaskLifecycle struct { Hook *string `json:"Hook,omitempty"` Sidecar *bool `json:"Sidecar,omitempty"` }
TaskLifecycle struct for TaskLifecycle
func NewTaskLifecycle ¶
func NewTaskLifecycle() *TaskLifecycle
NewTaskLifecycle instantiates a new TaskLifecycle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskLifecycleWithDefaults ¶
func NewTaskLifecycleWithDefaults() *TaskLifecycle
NewTaskLifecycleWithDefaults instantiates a new TaskLifecycle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskLifecycle) GetHook ¶
func (o *TaskLifecycle) GetHook() string
GetHook returns the Hook field value if set, zero value otherwise.
func (*TaskLifecycle) GetHookOk ¶
func (o *TaskLifecycle) GetHookOk() (*string, bool)
GetHookOk returns a tuple with the Hook field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskLifecycle) GetSidecar ¶
func (o *TaskLifecycle) GetSidecar() bool
GetSidecar returns the Sidecar field value if set, zero value otherwise.
func (*TaskLifecycle) GetSidecarOk ¶
func (o *TaskLifecycle) GetSidecarOk() (*bool, bool)
GetSidecarOk returns a tuple with the Sidecar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskLifecycle) HasHook ¶
func (o *TaskLifecycle) HasHook() bool
HasHook returns a boolean if a field has been set.
func (*TaskLifecycle) HasSidecar ¶
func (o *TaskLifecycle) HasSidecar() bool
HasSidecar returns a boolean if a field has been set.
func (TaskLifecycle) MarshalJSON ¶
func (o TaskLifecycle) MarshalJSON() ([]byte, error)
func (*TaskLifecycle) SetHook ¶
func (o *TaskLifecycle) SetHook(v string)
SetHook gets a reference to the given string and assigns it to the Hook field.
func (*TaskLifecycle) SetSidecar ¶
func (o *TaskLifecycle) SetSidecar(v bool)
SetSidecar gets a reference to the given bool and assigns it to the Sidecar field.
type TaskLifecycleConfig ¶
type TaskLifecycleConfig struct { Hook *string `json:"Hook,omitempty"` Sidecar *bool `json:"Sidecar,omitempty"` }
TaskLifecycleConfig struct for TaskLifecycleConfig
func NewTaskLifecycleConfig ¶
func NewTaskLifecycleConfig() *TaskLifecycleConfig
NewTaskLifecycleConfig instantiates a new TaskLifecycleConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskLifecycleConfigWithDefaults ¶
func NewTaskLifecycleConfigWithDefaults() *TaskLifecycleConfig
NewTaskLifecycleConfigWithDefaults instantiates a new TaskLifecycleConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskLifecycleConfig) GetHook ¶
func (o *TaskLifecycleConfig) GetHook() string
GetHook returns the Hook field value if set, zero value otherwise.
func (*TaskLifecycleConfig) GetHookOk ¶
func (o *TaskLifecycleConfig) GetHookOk() (*string, bool)
GetHookOk returns a tuple with the Hook field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskLifecycleConfig) GetSidecar ¶
func (o *TaskLifecycleConfig) GetSidecar() bool
GetSidecar returns the Sidecar field value if set, zero value otherwise.
func (*TaskLifecycleConfig) GetSidecarOk ¶
func (o *TaskLifecycleConfig) GetSidecarOk() (*bool, bool)
GetSidecarOk returns a tuple with the Sidecar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskLifecycleConfig) HasHook ¶
func (o *TaskLifecycleConfig) HasHook() bool
HasHook returns a boolean if a field has been set.
func (*TaskLifecycleConfig) HasSidecar ¶
func (o *TaskLifecycleConfig) HasSidecar() bool
HasSidecar returns a boolean if a field has been set.
func (TaskLifecycleConfig) MarshalJSON ¶
func (o TaskLifecycleConfig) MarshalJSON() ([]byte, error)
func (*TaskLifecycleConfig) SetHook ¶
func (o *TaskLifecycleConfig) SetHook(v string)
SetHook gets a reference to the given string and assigns it to the Hook field.
func (*TaskLifecycleConfig) SetSidecar ¶
func (o *TaskLifecycleConfig) SetSidecar(v bool)
SetSidecar gets a reference to the given bool and assigns it to the Sidecar field.
type TaskState ¶
type TaskState struct { // Series of task events that transition the state of the task. Events *[]TaskEvent `json:"Events,omitempty"` // Failed marks a task as having failed Failed *bool `json:"Failed,omitempty"` // FinishedAt is the time at which the task transitioned to dead and will not be started again. FinishedAt *time.Time `json:"FinishedAt,omitempty"` // LastRestart is the time the task last restarted. It is updated each time the task restarts LastRestart *time.Time `json:"LastRestart,omitempty"` // Restarts is the number of times the task has restarted Restarts *int32 `json:"Restarts,omitempty"` // StartedAt is the time the task is started. It is updated each time the task starts StartedAt *time.Time `json:"StartedAt,omitempty"` // The current state of the task. State *string `json:"State,omitempty"` TaskHandle *TaskHandle `json:"TaskHandle,omitempty"` }
TaskState TaskState tracks the current state of a task and events that caused state transitions.
func NewTaskState ¶
func NewTaskState() *TaskState
NewTaskState instantiates a new TaskState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskStateWithDefaults ¶
func NewTaskStateWithDefaults() *TaskState
NewTaskStateWithDefaults instantiates a new TaskState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskState) GetEvents ¶
GetEvents returns the Events field value if set, zero value otherwise.
func (*TaskState) GetEventsOk ¶
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetFailed ¶
GetFailed returns the Failed field value if set, zero value otherwise.
func (*TaskState) GetFailedOk ¶
GetFailedOk returns a tuple with the Failed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetFinishedAt ¶
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.
func (*TaskState) GetFinishedAtOk ¶
GetFinishedAtOk returns a tuple with the FinishedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetLastRestart ¶
GetLastRestart returns the LastRestart field value if set, zero value otherwise.
func (*TaskState) GetLastRestartOk ¶
GetLastRestartOk returns a tuple with the LastRestart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetRestarts ¶
GetRestarts returns the Restarts field value if set, zero value otherwise.
func (*TaskState) GetRestartsOk ¶
GetRestartsOk returns a tuple with the Restarts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetStartedAt ¶
GetStartedAt returns the StartedAt field value if set, zero value otherwise.
func (*TaskState) GetStartedAtOk ¶
GetStartedAtOk returns a tuple with the StartedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) GetTaskHandle ¶
func (o *TaskState) GetTaskHandle() TaskHandle
GetTaskHandle returns the TaskHandle field value if set, zero value otherwise.
func (*TaskState) GetTaskHandleOk ¶
func (o *TaskState) GetTaskHandleOk() (*TaskHandle, bool)
GetTaskHandleOk returns a tuple with the TaskHandle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskState) HasFinishedAt ¶
HasFinishedAt returns a boolean if a field has been set.
func (*TaskState) HasLastRestart ¶
HasLastRestart returns a boolean if a field has been set.
func (*TaskState) HasRestarts ¶
HasRestarts returns a boolean if a field has been set.
func (*TaskState) HasStartedAt ¶
HasStartedAt returns a boolean if a field has been set.
func (*TaskState) HasTaskHandle ¶
HasTaskHandle returns a boolean if a field has been set.
func (TaskState) MarshalJSON ¶
func (*TaskState) SetEvents ¶
SetEvents gets a reference to the given []TaskEvent and assigns it to the Events field.
func (*TaskState) SetFailed ¶
SetFailed gets a reference to the given bool and assigns it to the Failed field.
func (*TaskState) SetFinishedAt ¶
SetFinishedAt gets a reference to the given time.Time and assigns it to the FinishedAt field.
func (*TaskState) SetLastRestart ¶
SetLastRestart gets a reference to the given time.Time and assigns it to the LastRestart field.
func (*TaskState) SetRestarts ¶
SetRestarts gets a reference to the given int32 and assigns it to the Restarts field.
func (*TaskState) SetStartedAt ¶
SetStartedAt gets a reference to the given time.Time and assigns it to the StartedAt field.
func (*TaskState) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*TaskState) SetTaskHandle ¶
func (o *TaskState) SetTaskHandle(v TaskHandle)
SetTaskHandle gets a reference to the given TaskHandle and assigns it to the TaskHandle field.
type Template ¶
type Template struct { ChangeMode *string `json:"ChangeMode,omitempty"` ChangeSignal *string `json:"ChangeSignal,omitempty"` DestPath *string `json:"DestPath,omitempty"` EmbeddedTmpl *string `json:"EmbeddedTmpl,omitempty"` Envvars *bool `json:"Envvars,omitempty"` LeftDelim *string `json:"LeftDelim,omitempty"` Perms *string `json:"Perms,omitempty"` RightDelim *string `json:"RightDelim,omitempty"` SourcePath *string `json:"SourcePath,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Splay *int64 `json:"Splay,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. VaultGrace *int64 `json:"VaultGrace,omitempty"` }
Template struct for Template
func NewTemplate ¶
func NewTemplate() *Template
NewTemplate instantiates a new Template object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTemplateWithDefaults ¶
func NewTemplateWithDefaults() *Template
NewTemplateWithDefaults instantiates a new Template object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Template) GetChangeMode ¶
GetChangeMode returns the ChangeMode field value if set, zero value otherwise.
func (*Template) GetChangeModeOk ¶
GetChangeModeOk returns a tuple with the ChangeMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetChangeSignal ¶
GetChangeSignal returns the ChangeSignal field value if set, zero value otherwise.
func (*Template) GetChangeSignalOk ¶
GetChangeSignalOk returns a tuple with the ChangeSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetDestPath ¶
GetDestPath returns the DestPath field value if set, zero value otherwise.
func (*Template) GetDestPathOk ¶
GetDestPathOk returns a tuple with the DestPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetEmbeddedTmpl ¶
GetEmbeddedTmpl returns the EmbeddedTmpl field value if set, zero value otherwise.
func (*Template) GetEmbeddedTmplOk ¶
GetEmbeddedTmplOk returns a tuple with the EmbeddedTmpl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetEnvvars ¶
GetEnvvars returns the Envvars field value if set, zero value otherwise.
func (*Template) GetEnvvarsOk ¶
GetEnvvarsOk returns a tuple with the Envvars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetLeftDelim ¶
GetLeftDelim returns the LeftDelim field value if set, zero value otherwise.
func (*Template) GetLeftDelimOk ¶
GetLeftDelimOk returns a tuple with the LeftDelim field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetPermsOk ¶
GetPermsOk returns a tuple with the Perms field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetRightDelim ¶
GetRightDelim returns the RightDelim field value if set, zero value otherwise.
func (*Template) GetRightDelimOk ¶
GetRightDelimOk returns a tuple with the RightDelim field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetSourcePath ¶
GetSourcePath returns the SourcePath field value if set, zero value otherwise.
func (*Template) GetSourcePathOk ¶
GetSourcePathOk returns a tuple with the SourcePath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetSplayOk ¶
GetSplayOk returns a tuple with the Splay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) GetVaultGrace ¶
GetVaultGrace returns the VaultGrace field value if set, zero value otherwise.
func (*Template) GetVaultGraceOk ¶
GetVaultGraceOk returns a tuple with the VaultGrace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Template) HasChangeMode ¶
HasChangeMode returns a boolean if a field has been set.
func (*Template) HasChangeSignal ¶
HasChangeSignal returns a boolean if a field has been set.
func (*Template) HasDestPath ¶
HasDestPath returns a boolean if a field has been set.
func (*Template) HasEmbeddedTmpl ¶
HasEmbeddedTmpl returns a boolean if a field has been set.
func (*Template) HasEnvvars ¶
HasEnvvars returns a boolean if a field has been set.
func (*Template) HasLeftDelim ¶
HasLeftDelim returns a boolean if a field has been set.
func (*Template) HasRightDelim ¶
HasRightDelim returns a boolean if a field has been set.
func (*Template) HasSourcePath ¶
HasSourcePath returns a boolean if a field has been set.
func (*Template) HasVaultGrace ¶
HasVaultGrace returns a boolean if a field has been set.
func (Template) MarshalJSON ¶
func (*Template) SetChangeMode ¶
SetChangeMode gets a reference to the given string and assigns it to the ChangeMode field.
func (*Template) SetChangeSignal ¶
SetChangeSignal gets a reference to the given string and assigns it to the ChangeSignal field.
func (*Template) SetDestPath ¶
SetDestPath gets a reference to the given string and assigns it to the DestPath field.
func (*Template) SetEmbeddedTmpl ¶
SetEmbeddedTmpl gets a reference to the given string and assigns it to the EmbeddedTmpl field.
func (*Template) SetEnvvars ¶
SetEnvvars gets a reference to the given bool and assigns it to the Envvars field.
func (*Template) SetLeftDelim ¶
SetLeftDelim gets a reference to the given string and assigns it to the LeftDelim field.
func (*Template) SetPerms ¶
SetPerms gets a reference to the given string and assigns it to the Perms field.
func (*Template) SetRightDelim ¶
SetRightDelim gets a reference to the given string and assigns it to the RightDelim field.
func (*Template) SetSourcePath ¶
SetSourcePath gets a reference to the given string and assigns it to the SourcePath field.
func (*Template) SetSplay ¶
SetSplay gets a reference to the given int64 and assigns it to the Splay field.
func (*Template) SetVaultGrace ¶
SetVaultGrace gets a reference to the given int64 and assigns it to the VaultGrace field.
type UpdateStrategy ¶
type UpdateStrategy struct { AutoPromote *bool `json:"AutoPromote,omitempty"` AutoRevert *bool `json:"AutoRevert,omitempty"` Canary *int64 `json:"Canary,omitempty"` HealthCheck *string `json:"HealthCheck,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. HealthyDeadline *int64 `json:"HealthyDeadline,omitempty"` MaxParallel *int64 `json:"MaxParallel,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. MinHealthyTime *int64 `json:"MinHealthyTime,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. ProgressDeadline *int64 `json:"ProgressDeadline,omitempty"` // A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. Stagger *int64 `json:"Stagger,omitempty"` }
UpdateStrategy struct for UpdateStrategy
func NewUpdateStrategy ¶
func NewUpdateStrategy() *UpdateStrategy
NewUpdateStrategy instantiates a new UpdateStrategy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateStrategyWithDefaults ¶
func NewUpdateStrategyWithDefaults() *UpdateStrategy
NewUpdateStrategyWithDefaults instantiates a new UpdateStrategy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateStrategy) GetAutoPromote ¶
func (o *UpdateStrategy) GetAutoPromote() bool
GetAutoPromote returns the AutoPromote field value if set, zero value otherwise.
func (*UpdateStrategy) GetAutoPromoteOk ¶
func (o *UpdateStrategy) GetAutoPromoteOk() (*bool, bool)
GetAutoPromoteOk returns a tuple with the AutoPromote field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetAutoRevert ¶
func (o *UpdateStrategy) GetAutoRevert() bool
GetAutoRevert returns the AutoRevert field value if set, zero value otherwise.
func (*UpdateStrategy) GetAutoRevertOk ¶
func (o *UpdateStrategy) GetAutoRevertOk() (*bool, bool)
GetAutoRevertOk returns a tuple with the AutoRevert field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetCanary ¶
func (o *UpdateStrategy) GetCanary() int64
GetCanary returns the Canary field value if set, zero value otherwise.
func (*UpdateStrategy) GetCanaryOk ¶
func (o *UpdateStrategy) GetCanaryOk() (*int64, bool)
GetCanaryOk returns a tuple with the Canary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetHealthCheck ¶
func (o *UpdateStrategy) GetHealthCheck() string
GetHealthCheck returns the HealthCheck field value if set, zero value otherwise.
func (*UpdateStrategy) GetHealthCheckOk ¶
func (o *UpdateStrategy) GetHealthCheckOk() (*string, bool)
GetHealthCheckOk returns a tuple with the HealthCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetHealthyDeadline ¶
func (o *UpdateStrategy) GetHealthyDeadline() int64
GetHealthyDeadline returns the HealthyDeadline field value if set, zero value otherwise.
func (*UpdateStrategy) GetHealthyDeadlineOk ¶
func (o *UpdateStrategy) GetHealthyDeadlineOk() (*int64, bool)
GetHealthyDeadlineOk returns a tuple with the HealthyDeadline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetMaxParallel ¶
func (o *UpdateStrategy) GetMaxParallel() int64
GetMaxParallel returns the MaxParallel field value if set, zero value otherwise.
func (*UpdateStrategy) GetMaxParallelOk ¶
func (o *UpdateStrategy) GetMaxParallelOk() (*int64, bool)
GetMaxParallelOk returns a tuple with the MaxParallel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetMinHealthyTime ¶
func (o *UpdateStrategy) GetMinHealthyTime() int64
GetMinHealthyTime returns the MinHealthyTime field value if set, zero value otherwise.
func (*UpdateStrategy) GetMinHealthyTimeOk ¶
func (o *UpdateStrategy) GetMinHealthyTimeOk() (*int64, bool)
GetMinHealthyTimeOk returns a tuple with the MinHealthyTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetProgressDeadline ¶
func (o *UpdateStrategy) GetProgressDeadline() int64
GetProgressDeadline returns the ProgressDeadline field value if set, zero value otherwise.
func (*UpdateStrategy) GetProgressDeadlineOk ¶
func (o *UpdateStrategy) GetProgressDeadlineOk() (*int64, bool)
GetProgressDeadlineOk returns a tuple with the ProgressDeadline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) GetStagger ¶
func (o *UpdateStrategy) GetStagger() int64
GetStagger returns the Stagger field value if set, zero value otherwise.
func (*UpdateStrategy) GetStaggerOk ¶
func (o *UpdateStrategy) GetStaggerOk() (*int64, bool)
GetStaggerOk returns a tuple with the Stagger field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateStrategy) HasAutoPromote ¶
func (o *UpdateStrategy) HasAutoPromote() bool
HasAutoPromote returns a boolean if a field has been set.
func (*UpdateStrategy) HasAutoRevert ¶
func (o *UpdateStrategy) HasAutoRevert() bool
HasAutoRevert returns a boolean if a field has been set.
func (*UpdateStrategy) HasCanary ¶
func (o *UpdateStrategy) HasCanary() bool
HasCanary returns a boolean if a field has been set.
func (*UpdateStrategy) HasHealthCheck ¶
func (o *UpdateStrategy) HasHealthCheck() bool
HasHealthCheck returns a boolean if a field has been set.
func (*UpdateStrategy) HasHealthyDeadline ¶
func (o *UpdateStrategy) HasHealthyDeadline() bool
HasHealthyDeadline returns a boolean if a field has been set.
func (*UpdateStrategy) HasMaxParallel ¶
func (o *UpdateStrategy) HasMaxParallel() bool
HasMaxParallel returns a boolean if a field has been set.
func (*UpdateStrategy) HasMinHealthyTime ¶
func (o *UpdateStrategy) HasMinHealthyTime() bool
HasMinHealthyTime returns a boolean if a field has been set.
func (*UpdateStrategy) HasProgressDeadline ¶
func (o *UpdateStrategy) HasProgressDeadline() bool
HasProgressDeadline returns a boolean if a field has been set.
func (*UpdateStrategy) HasStagger ¶
func (o *UpdateStrategy) HasStagger() bool
HasStagger returns a boolean if a field has been set.
func (UpdateStrategy) MarshalJSON ¶
func (o UpdateStrategy) MarshalJSON() ([]byte, error)
func (*UpdateStrategy) SetAutoPromote ¶
func (o *UpdateStrategy) SetAutoPromote(v bool)
SetAutoPromote gets a reference to the given bool and assigns it to the AutoPromote field.
func (*UpdateStrategy) SetAutoRevert ¶
func (o *UpdateStrategy) SetAutoRevert(v bool)
SetAutoRevert gets a reference to the given bool and assigns it to the AutoRevert field.
func (*UpdateStrategy) SetCanary ¶
func (o *UpdateStrategy) SetCanary(v int64)
SetCanary gets a reference to the given int64 and assigns it to the Canary field.
func (*UpdateStrategy) SetHealthCheck ¶
func (o *UpdateStrategy) SetHealthCheck(v string)
SetHealthCheck gets a reference to the given string and assigns it to the HealthCheck field.
func (*UpdateStrategy) SetHealthyDeadline ¶
func (o *UpdateStrategy) SetHealthyDeadline(v int64)
SetHealthyDeadline gets a reference to the given int64 and assigns it to the HealthyDeadline field.
func (*UpdateStrategy) SetMaxParallel ¶
func (o *UpdateStrategy) SetMaxParallel(v int64)
SetMaxParallel gets a reference to the given int64 and assigns it to the MaxParallel field.
func (*UpdateStrategy) SetMinHealthyTime ¶
func (o *UpdateStrategy) SetMinHealthyTime(v int64)
SetMinHealthyTime gets a reference to the given int64 and assigns it to the MinHealthyTime field.
func (*UpdateStrategy) SetProgressDeadline ¶
func (o *UpdateStrategy) SetProgressDeadline(v int64)
SetProgressDeadline gets a reference to the given int64 and assigns it to the ProgressDeadline field.
func (*UpdateStrategy) SetStagger ¶
func (o *UpdateStrategy) SetStagger(v int64)
SetStagger gets a reference to the given int64 and assigns it to the Stagger field.
type Vault ¶
type Vault struct { ChangeMode *string `json:"ChangeMode,omitempty"` ChangeSignal *string `json:"ChangeSignal,omitempty"` Env *bool `json:"Env,omitempty"` Namespace *string `json:"Namespace,omitempty"` Policies *[]string `json:"Policies,omitempty"` }
Vault struct for Vault
func NewVault ¶
func NewVault() *Vault
NewVault instantiates a new Vault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVaultWithDefaults ¶
func NewVaultWithDefaults() *Vault
NewVaultWithDefaults instantiates a new Vault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Vault) GetChangeMode ¶
GetChangeMode returns the ChangeMode field value if set, zero value otherwise.
func (*Vault) GetChangeModeOk ¶
GetChangeModeOk returns a tuple with the ChangeMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vault) GetChangeSignal ¶
GetChangeSignal returns the ChangeSignal field value if set, zero value otherwise.
func (*Vault) GetChangeSignalOk ¶
GetChangeSignalOk returns a tuple with the ChangeSignal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vault) GetEnvOk ¶
GetEnvOk returns a tuple with the Env field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vault) GetNamespace ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Vault) GetNamespaceOk ¶
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vault) GetPolicies ¶
GetPolicies returns the Policies field value if set, zero value otherwise.
func (*Vault) GetPoliciesOk ¶
GetPoliciesOk returns a tuple with the Policies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vault) HasChangeMode ¶
HasChangeMode returns a boolean if a field has been set.
func (*Vault) HasChangeSignal ¶
HasChangeSignal returns a boolean if a field has been set.
func (*Vault) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (*Vault) HasPolicies ¶
HasPolicies returns a boolean if a field has been set.
func (Vault) MarshalJSON ¶
func (*Vault) SetChangeMode ¶
SetChangeMode gets a reference to the given string and assigns it to the ChangeMode field.
func (*Vault) SetChangeSignal ¶
SetChangeSignal gets a reference to the given string and assigns it to the ChangeSignal field.
func (*Vault) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*Vault) SetPolicies ¶
SetPolicies gets a reference to the given []string and assigns it to the Policies field.
type Volume ¶
type Volume struct { // Date/Time the volume was created. CreatedAt *string `json:"CreatedAt,omitempty"` // Name of the volume driver used by the volume. Driver string `json:"Driver"` // User-defined key/value metadata. Labels map[string]string `json:"Labels"` // Mount path of the volume on the host. Mountpoint string `json:"Mountpoint"` // Name of the volume. Name string `json:"Name"` // The driver specific options used when creating the volume. Options map[string]string `json:"Options"` // The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level. Scope string `json:"Scope"` // Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: `{\"key\":\"value\",\"key2\":\"value2\"}`. The `Status` field is optional, and is omitted if the volume driver does not support this feature. Status *map[string]map[string]interface{} `json:"Status,omitempty"` UsageData *VolumeUsageData `json:"UsageData,omitempty"` }
Volume Volume volume
func NewVolume ¶
func NewVolume(driver string, labels map[string]string, mountpoint string, name string, options map[string]string, scope string) *Volume
NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Volume) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Volume) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetDriverOk ¶
GetDriverOk returns a tuple with the Driver field value and a boolean to check if the value has been set.
func (*Volume) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*Volume) GetMountpoint ¶
GetMountpoint returns the Mountpoint field value
func (*Volume) GetMountpointOk ¶
GetMountpointOk returns a tuple with the Mountpoint field value and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Volume) GetOptions ¶
GetOptions returns the Options field value
func (*Volume) GetOptionsOk ¶
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (*Volume) GetScopeOk ¶
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*Volume) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetUsageData ¶
func (o *Volume) GetUsageData() VolumeUsageData
GetUsageData returns the UsageData field value if set, zero value otherwise.
func (*Volume) GetUsageDataOk ¶
func (o *Volume) GetUsageDataOk() (*VolumeUsageData, bool)
GetUsageDataOk returns a tuple with the UsageData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Volume) HasUsageData ¶
HasUsageData returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetCreatedAt ¶
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*Volume) SetMountpoint ¶
SetMountpoint sets field value
func (*Volume) SetOptions ¶
SetOptions sets field value
func (*Volume) SetStatus ¶
SetStatus gets a reference to the given map[string]map[string]interface{} and assigns it to the Status field.
func (*Volume) SetUsageData ¶
func (o *Volume) SetUsageData(v VolumeUsageData)
SetUsageData gets a reference to the given VolumeUsageData and assigns it to the UsageData field.
type VolumeMount ¶
type VolumeMount struct { Destination *string `json:"Destination,omitempty"` PropagationMode *string `json:"PropagationMode,omitempty"` ReadOnly *bool `json:"ReadOnly,omitempty"` Volume *string `json:"Volume,omitempty"` }
VolumeMount VolumeMount represents the relationship between a destination path in a task and the task group volume that should be mounted there.
func NewVolumeMount ¶
func NewVolumeMount() *VolumeMount
NewVolumeMount instantiates a new VolumeMount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeMountWithDefaults ¶
func NewVolumeMountWithDefaults() *VolumeMount
NewVolumeMountWithDefaults instantiates a new VolumeMount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeMount) GetDestination ¶
func (o *VolumeMount) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*VolumeMount) GetDestinationOk ¶
func (o *VolumeMount) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMount) GetPropagationMode ¶
func (o *VolumeMount) GetPropagationMode() string
GetPropagationMode returns the PropagationMode field value if set, zero value otherwise.
func (*VolumeMount) GetPropagationModeOk ¶
func (o *VolumeMount) GetPropagationModeOk() (*string, bool)
GetPropagationModeOk returns a tuple with the PropagationMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMount) GetReadOnly ¶
func (o *VolumeMount) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*VolumeMount) GetReadOnlyOk ¶
func (o *VolumeMount) GetReadOnlyOk() (*bool, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMount) GetVolume ¶
func (o *VolumeMount) GetVolume() string
GetVolume returns the Volume field value if set, zero value otherwise.
func (*VolumeMount) GetVolumeOk ¶
func (o *VolumeMount) GetVolumeOk() (*string, bool)
GetVolumeOk returns a tuple with the Volume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeMount) HasDestination ¶
func (o *VolumeMount) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*VolumeMount) HasPropagationMode ¶
func (o *VolumeMount) HasPropagationMode() bool
HasPropagationMode returns a boolean if a field has been set.
func (*VolumeMount) HasReadOnly ¶
func (o *VolumeMount) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*VolumeMount) HasVolume ¶
func (o *VolumeMount) HasVolume() bool
HasVolume returns a boolean if a field has been set.
func (VolumeMount) MarshalJSON ¶
func (o VolumeMount) MarshalJSON() ([]byte, error)
func (*VolumeMount) SetDestination ¶
func (o *VolumeMount) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*VolumeMount) SetPropagationMode ¶
func (o *VolumeMount) SetPropagationMode(v string)
SetPropagationMode gets a reference to the given string and assigns it to the PropagationMode field.
func (*VolumeMount) SetReadOnly ¶
func (o *VolumeMount) SetReadOnly(v bool)
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*VolumeMount) SetVolume ¶
func (o *VolumeMount) SetVolume(v string)
SetVolume gets a reference to the given string and assigns it to the Volume field.
type VolumeRequest ¶
type VolumeRequest struct { AccessMode *string `json:"AccessMode,omitempty"` AttachmentMode *string `json:"AttachmentMode,omitempty"` MountOptions *CSIMountOptions `json:"MountOptions,omitempty"` Name *string `json:"Name,omitempty"` PerAlloc *bool `json:"PerAlloc,omitempty"` ReadOnly *bool `json:"ReadOnly,omitempty"` Source *string `json:"Source,omitempty"` Type *string `json:"Type,omitempty"` }
VolumeRequest struct for VolumeRequest
func NewVolumeRequest ¶
func NewVolumeRequest() *VolumeRequest
NewVolumeRequest instantiates a new VolumeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeRequestWithDefaults ¶
func NewVolumeRequestWithDefaults() *VolumeRequest
NewVolumeRequestWithDefaults instantiates a new VolumeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeRequest) GetAccessMode ¶
func (o *VolumeRequest) GetAccessMode() string
GetAccessMode returns the AccessMode field value if set, zero value otherwise.
func (*VolumeRequest) GetAccessModeOk ¶
func (o *VolumeRequest) GetAccessModeOk() (*string, bool)
GetAccessModeOk returns a tuple with the AccessMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetAttachmentMode ¶
func (o *VolumeRequest) GetAttachmentMode() string
GetAttachmentMode returns the AttachmentMode field value if set, zero value otherwise.
func (*VolumeRequest) GetAttachmentModeOk ¶
func (o *VolumeRequest) GetAttachmentModeOk() (*string, bool)
GetAttachmentModeOk returns a tuple with the AttachmentMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetMountOptions ¶
func (o *VolumeRequest) GetMountOptions() CSIMountOptions
GetMountOptions returns the MountOptions field value if set, zero value otherwise.
func (*VolumeRequest) GetMountOptionsOk ¶
func (o *VolumeRequest) GetMountOptionsOk() (*CSIMountOptions, bool)
GetMountOptionsOk returns a tuple with the MountOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetName ¶
func (o *VolumeRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VolumeRequest) GetNameOk ¶
func (o *VolumeRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetPerAlloc ¶
func (o *VolumeRequest) GetPerAlloc() bool
GetPerAlloc returns the PerAlloc field value if set, zero value otherwise.
func (*VolumeRequest) GetPerAllocOk ¶
func (o *VolumeRequest) GetPerAllocOk() (*bool, bool)
GetPerAllocOk returns a tuple with the PerAlloc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetReadOnly ¶
func (o *VolumeRequest) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*VolumeRequest) GetReadOnlyOk ¶
func (o *VolumeRequest) GetReadOnlyOk() (*bool, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetSource ¶
func (o *VolumeRequest) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*VolumeRequest) GetSourceOk ¶
func (o *VolumeRequest) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) GetType ¶
func (o *VolumeRequest) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*VolumeRequest) GetTypeOk ¶
func (o *VolumeRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VolumeRequest) HasAccessMode ¶
func (o *VolumeRequest) HasAccessMode() bool
HasAccessMode returns a boolean if a field has been set.
func (*VolumeRequest) HasAttachmentMode ¶
func (o *VolumeRequest) HasAttachmentMode() bool
HasAttachmentMode returns a boolean if a field has been set.
func (*VolumeRequest) HasMountOptions ¶
func (o *VolumeRequest) HasMountOptions() bool
HasMountOptions returns a boolean if a field has been set.
func (*VolumeRequest) HasName ¶
func (o *VolumeRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*VolumeRequest) HasPerAlloc ¶
func (o *VolumeRequest) HasPerAlloc() bool
HasPerAlloc returns a boolean if a field has been set.
func (*VolumeRequest) HasReadOnly ¶
func (o *VolumeRequest) HasReadOnly() bool
HasReadOnly returns a boolean if a field has been set.
func (*VolumeRequest) HasSource ¶
func (o *VolumeRequest) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*VolumeRequest) HasType ¶
func (o *VolumeRequest) HasType() bool
HasType returns a boolean if a field has been set.
func (VolumeRequest) MarshalJSON ¶
func (o VolumeRequest) MarshalJSON() ([]byte, error)
func (*VolumeRequest) SetAccessMode ¶
func (o *VolumeRequest) SetAccessMode(v string)
SetAccessMode gets a reference to the given string and assigns it to the AccessMode field.
func (*VolumeRequest) SetAttachmentMode ¶
func (o *VolumeRequest) SetAttachmentMode(v string)
SetAttachmentMode gets a reference to the given string and assigns it to the AttachmentMode field.
func (*VolumeRequest) SetMountOptions ¶
func (o *VolumeRequest) SetMountOptions(v CSIMountOptions)
SetMountOptions gets a reference to the given CSIMountOptions and assigns it to the MountOptions field.
func (*VolumeRequest) SetName ¶
func (o *VolumeRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VolumeRequest) SetPerAlloc ¶
func (o *VolumeRequest) SetPerAlloc(v bool)
SetPerAlloc gets a reference to the given bool and assigns it to the PerAlloc field.
func (*VolumeRequest) SetReadOnly ¶
func (o *VolumeRequest) SetReadOnly(v bool)
SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.
func (*VolumeRequest) SetSource ¶
func (o *VolumeRequest) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*VolumeRequest) SetType ¶
func (o *VolumeRequest) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type VolumeUsageData ¶
type VolumeUsageData struct { // The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. RefCount int64 `json:"RefCount"` // Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") Size int64 `json:"Size"` }
VolumeUsageData VolumeUsageData Usage details about the volume. This information is used by the `GET /system/df` endpoint, and omitted in other endpoints.
func NewVolumeUsageData ¶
func NewVolumeUsageData(refCount int64, size int64) *VolumeUsageData
NewVolumeUsageData instantiates a new VolumeUsageData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeUsageDataWithDefaults ¶
func NewVolumeUsageDataWithDefaults() *VolumeUsageData
NewVolumeUsageDataWithDefaults instantiates a new VolumeUsageData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VolumeUsageData) GetRefCount ¶
func (o *VolumeUsageData) GetRefCount() int64
GetRefCount returns the RefCount field value
func (*VolumeUsageData) GetRefCountOk ¶
func (o *VolumeUsageData) GetRefCountOk() (*int64, bool)
GetRefCountOk returns a tuple with the RefCount field value and a boolean to check if the value has been set.
func (*VolumeUsageData) GetSize ¶
func (o *VolumeUsageData) GetSize() int64
GetSize returns the Size field value
func (*VolumeUsageData) GetSizeOk ¶
func (o *VolumeUsageData) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (VolumeUsageData) MarshalJSON ¶
func (o VolumeUsageData) MarshalJSON() ([]byte, error)
func (*VolumeUsageData) SetRefCount ¶
func (o *VolumeUsageData) SetRefCount(v int64)
SetRefCount sets field value
func (*VolumeUsageData) SetSize ¶
func (o *VolumeUsageData) SetSize(v int64)
SetSize sets field value
type WriteMeta ¶
type WriteMeta struct { // This is the index associated with the write Index *int32 `json:"Index,omitempty"` }
WriteMeta WriteMeta allows a write response to include potentially useful metadata about the write
func NewWriteMeta ¶
func NewWriteMeta() *WriteMeta
NewWriteMeta instantiates a new WriteMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWriteMetaWithDefaults ¶
func NewWriteMetaWithDefaults() *WriteMeta
NewWriteMetaWithDefaults instantiates a new WriteMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WriteMeta) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (WriteMeta) MarshalJSON ¶
type WriteRequest ¶
type WriteRequest struct { // Namespace is the target namespace for this write Namespace *string `json:"Namespace,omitempty"` // The target region for this write Region *string `json:"Region,omitempty"` // SecretID is the secret ID of an ACL token SecretID *string `json:"SecretID,omitempty"` }
WriteRequest WriteRequest is used to scope and authorize a write operation
func NewWriteRequest ¶
func NewWriteRequest() *WriteRequest
NewWriteRequest instantiates a new WriteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWriteRequestWithDefaults ¶
func NewWriteRequestWithDefaults() *WriteRequest
NewWriteRequestWithDefaults instantiates a new WriteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WriteRequest) GetNamespace ¶
func (o *WriteRequest) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*WriteRequest) GetNamespaceOk ¶
func (o *WriteRequest) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) GetRegion ¶
func (o *WriteRequest) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*WriteRequest) GetRegionOk ¶
func (o *WriteRequest) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) GetSecretID ¶
func (o *WriteRequest) GetSecretID() string
GetSecretID returns the SecretID field value if set, zero value otherwise.
func (*WriteRequest) GetSecretIDOk ¶
func (o *WriteRequest) GetSecretIDOk() (*string, bool)
GetSecretIDOk returns a tuple with the SecretID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) HasNamespace ¶
func (o *WriteRequest) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*WriteRequest) HasRegion ¶
func (o *WriteRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*WriteRequest) HasSecretID ¶
func (o *WriteRequest) HasSecretID() bool
HasSecretID returns a boolean if a field has been set.
func (WriteRequest) MarshalJSON ¶
func (o WriteRequest) MarshalJSON() ([]byte, error)
func (*WriteRequest) SetNamespace ¶
func (o *WriteRequest) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*WriteRequest) SetRegion ¶
func (o *WriteRequest) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*WriteRequest) SetSecretID ¶
func (o *WriteRequest) SetSecretID(v string)
SetSecretID gets a reference to the given string and assigns it to the SecretID field.
Source Files ¶
- api_jobs.go
- client.go
- configuration.go
- model_affinity.go
- model_alloc_deployment_status.go
- model_alloc_list_stub.go
- model_allocated_cpu_resources.go
- model_allocated_device_resource.go
- model_allocated_memory_resources.go
- model_allocated_port_mapping.go
- model_allocated_resources.go
- model_allocated_shared_resources.go
- model_allocated_task_resources.go
- model_allocation_list_stub.go
- model_allocation_metric.go
- model_authenticate_ok_body.go
- model_check_restart.go
- model_constraint.go
- model_consul.go
- model_consul_connect.go
- model_consul_expose_config.go
- model_consul_expose_path.go
- model_consul_gateway.go
- model_consul_gateway_bind_address.go
- model_consul_gateway_proxy.go
- model_consul_gateway_tls_config.go
- model_consul_ingress_config_entry.go
- model_consul_ingress_listener.go
- model_consul_ingress_service.go
- model_consul_linked_service.go
- model_consul_proxy.go
- model_consul_sidecar_service.go
- model_consul_terminating_config_entry.go
- model_consul_upstream.go
- model_container_change_response_item.go
- model_container_create_created_body.go
- model_container_top_ok_body.go
- model_container_update_ok_body.go
- model_container_wait_ok_body.go
- model_container_wait_ok_body_error.go
- model_csi_mount_options.go
- model_deregister_options.go
- model_desired_transition.go
- model_desired_updates.go
- model_dispatch_payload_config.go
- model_dns_config.go
- model_ephemeral_disk.go
- model_error_response.go
- model_eval_options.go
- model_evaluation.go
- model_field_diff.go
- model_graph_driver_data.go
- model_id_response.go
- model_image_delete_response_item.go
- model_image_summary.go
- model_job.go
- model_job_children_summary.go
- model_job_deregister_response.go
- model_job_diff.go
- model_job_dispatch_request.go
- model_job_dispatch_response.go
- model_job_evaluate_request.go
- model_job_list_stub.go
- model_job_plan_request.go
- model_job_plan_response.go
- model_job_register_request.go
- model_job_register_response.go
- model_job_revert_request.go
- model_job_stability_request.go
- model_job_stability_response.go
- model_job_summary.go
- model_job_validate_request.go
- model_job_validate_response.go
- model_job_versions_response.go
- model_jobs_parse_request.go
- model_log_config.go
- model_migrate_strategy.go
- model_multiregion.go
- model_multiregion_region.go
- model_multiregion_strategy.go
- model_network_resource.go
- model_node_score_meta.go
- model_object_diff.go
- model_parameterized_job_config.go
- model_periodic_config.go
- model_periodic_force_response.go
- model_plan_annotations.go
- model_plan_options.go
- model_plugin.go
- model_plugin_config.go
- model_plugin_config_args.go
- model_plugin_config_interface.go
- model_plugin_config_linux_.go
- model_plugin_config_network.go
- model_plugin_config_rootfs.go
- model_plugin_config_user.go
- model_plugin_device.go
- model_plugin_env.go
- model_plugin_interface_type.go
- model_plugin_mount.go
- model_plugin_settings.go
- model_port.go
- model_port_mapping.go
- model_query_meta.go
- model_register_options.go
- model_requested_device.go
- model_reschedule_event.go
- model_reschedule_policy.go
- model_reschedule_tracker.go
- model_resources.go
- model_restart_policy.go
- model_scaling_policy.go
- model_service.go
- model_service_check.go
- model_service_update_response.go
- model_sidecar_task.go
- model_spread.go
- model_spread_target.go
- model_task.go
- model_task_artifact.go
- model_task_csi_plugin_config.go
- model_task_diff.go
- model_task_event.go
- model_task_group.go
- model_task_group_diff.go
- model_task_group_summary.go
- model_task_handle.go
- model_task_lifecycle.go
- model_task_lifecycle_config.go
- model_task_state.go
- model_template.go
- model_update_strategy.go
- model_vault.go
- model_volume.go
- model_volume_mount.go
- model_volume_request.go
- model_volume_usage_data.go
- model_write_meta.go
- model_write_request.go
- response.go
- utils.go