openapi

package module
v0.0.0-...-fc1b629 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 22 Imported by: 0

README

Go API client for openapi

Documentation of the Nomad v1 API.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./openapi"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://127.0.0.1:4646/v1

Class Method HTTP request Description
JobsApi EvaluateJob Put /job/{jobName}/evaluate 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.
JobsApi GetJobAllocations Get /job/{jobName}/allocations Gets information about a single job's allocations. See documentation.
JobsApi GetJobEvaluations Get /job/{jobName}/evaluations Gets information about a single job's evaluations. See documentation.
JobsApi GetJobs Get /jobs List all known jobs registered with Nomad. See https://www.nomadproject.io/api-docs/jobs#list-jobs.
JobsApi ParseJobSpec Put /jobs/parse Parses a HCL jobspec and produce the equivalent JSON encoded job. See https://www.nomadproject.io/api-docs/jobs#parse-job.
JobsApi PutJobForceRequest Put /job/{jobName}/periodic/force 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.

Documentation For Models

Documentation For Authorization

ApiKeyAuth
  • Type: API key
  • API key parameter name: X-Nomad-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Nomad-Token and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@hashicorp.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

func (o *Affinity) GetLTarget() string

GetLTarget returns the LTarget field value if set, zero value otherwise.

func (*Affinity) GetLTargetOk

func (o *Affinity) 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 (*Affinity) GetOperand

func (o *Affinity) GetOperand() string

GetOperand returns the Operand field value if set, zero value otherwise.

func (*Affinity) GetOperandOk

func (o *Affinity) 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 (*Affinity) GetRTarget

func (o *Affinity) GetRTarget() string

GetRTarget returns the RTarget field value if set, zero value otherwise.

func (*Affinity) GetRTargetOk

func (o *Affinity) 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 (*Affinity) GetWeight

func (o *Affinity) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*Affinity) GetWeightOk

func (o *Affinity) GetWeightOk() (*int32, bool)

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

func (o *Affinity) HasLTarget() bool

HasLTarget returns a boolean if a field has been set.

func (*Affinity) HasOperand

func (o *Affinity) HasOperand() bool

HasOperand returns a boolean if a field has been set.

func (*Affinity) HasRTarget

func (o *Affinity) HasRTarget() bool

HasRTarget returns a boolean if a field has been set.

func (*Affinity) HasWeight

func (o *Affinity) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (Affinity) MarshalJSON

func (o Affinity) MarshalJSON() ([]byte, error)

func (*Affinity) SetLTarget

func (o *Affinity) SetLTarget(v string)

SetLTarget gets a reference to the given string and assigns it to the LTarget field.

func (*Affinity) SetOperand

func (o *Affinity) SetOperand(v string)

SetOperand gets a reference to the given string and assigns it to the Operand field.

func (*Affinity) SetRTarget

func (o *Affinity) SetRTarget(v string)

SetRTarget gets a reference to the given string and assigns it to the RTarget field.

func (*Affinity) SetWeight

func (o *Affinity) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight 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 {
	CpuShares     *int64   `json:"CpuShares,omitempty"`
	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 {
	Shared         *AllocatedSharedResources       `json:"Shared,omitempty"`
	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

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

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

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

SetTasks gets a reference to the given map[string]AllocatedTaskResources and assigns it to the Tasks field.

type AllocatedSharedResources

type AllocatedSharedResources struct {
	DiskMB   *int64                  `json:"DiskMB,omitempty"`
	Networks *[]NetworkResource      `json:"Networks,omitempty"`
	Ports    *[]AllocatedPortMapping `json:"Ports,omitempty"`
}

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

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

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

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*AllocatedTaskResources) 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 (*AllocatedTaskResources) GetDevices

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

GetMemory returns the Memory field value if set, zero value otherwise.

func (*AllocatedTaskResources) GetMemoryOk

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

SetCpu gets a reference to the given AllocatedCpuResources and assigns it to the Cpu field.

func (*AllocatedTaskResources) SetDevices

SetDevices gets a reference to the given []AllocatedDeviceResource and assigns it to the Devices field.

func (*AllocatedTaskResources) SetMemory

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 (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 (ApiGetJobAllocationsRequest) Execute

func (ApiGetJobAllocationsRequest) Namespace

func (ApiGetJobAllocationsRequest) NextToken

func (ApiGetJobAllocationsRequest) PerPage

func (ApiGetJobAllocationsRequest) Prefix

func (ApiGetJobAllocationsRequest) Region

func (ApiGetJobAllocationsRequest) Stale

type ApiGetJobEvaluationsRequest

type ApiGetJobEvaluationsRequest struct {
	ApiService *JobsApiService
	// contains filtered or unexported fields
}

func (ApiGetJobEvaluationsRequest) Execute

func (ApiGetJobEvaluationsRequest) Namespace

func (ApiGetJobEvaluationsRequest) NextToken

func (ApiGetJobEvaluationsRequest) PerPage

func (ApiGetJobEvaluationsRequest) Prefix

func (ApiGetJobEvaluationsRequest) Region

func (ApiGetJobEvaluationsRequest) Stale

type ApiGetJobsRequest

type ApiGetJobsRequest struct {
	ApiService *JobsApiService
	// contains filtered or unexported fields
}

func (ApiGetJobsRequest) Execute

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

type ApiParseJobSpecRequest

type ApiParseJobSpecRequest struct {
	ApiService *JobsApiService
	// contains filtered or unexported fields
}

func (ApiParseJobSpecRequest) Execute

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 (ApiPutJobForceRequestRequest) Namespace

func (ApiPutJobForceRequestRequest) Region

func (ApiPutJobForceRequestRequest) XNomadToken

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func (o *Consul) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*Consul) GetNamespaceOk

func (o *Consul) 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 (*Consul) HasNamespace

func (o *Consul) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (Consul) MarshalJSON

func (o Consul) MarshalJSON() ([]byte, error)

func (*Consul) SetNamespace

func (o *Consul) SetNamespace(v string)

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

GetTLS returns the TLS field value if set, zero value otherwise.

func (*ConsulIngressConfigEntry) GetTLSOk

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

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

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

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

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

GetError returns the Error field value

func (*ContainerWaitOKBody) GetErrorOk

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

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

func (o *DNSConfig) GetOptions() []string

GetOptions returns the Options field value if set, zero value otherwise.

func (*DNSConfig) GetOptionsOk

func (o *DNSConfig) GetOptionsOk() (*[]string, bool)

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

func (o *DNSConfig) GetSearches() []string

GetSearches returns the Searches field value if set, zero value otherwise.

func (*DNSConfig) GetSearchesOk

func (o *DNSConfig) GetSearchesOk() (*[]string, bool)

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

func (o *DNSConfig) GetServers() []string

GetServers returns the Servers field value if set, zero value otherwise.

func (*DNSConfig) GetServersOk

func (o *DNSConfig) GetServersOk() (*[]string, bool)

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

func (o *DNSConfig) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*DNSConfig) HasSearches

func (o *DNSConfig) HasSearches() bool

HasSearches returns a boolean if a field has been set.

func (*DNSConfig) HasServers

func (o *DNSConfig) HasServers() bool

HasServers returns a boolean if a field has been set.

func (DNSConfig) MarshalJSON

func (o DNSConfig) MarshalJSON() ([]byte, error)

func (*DNSConfig) SetOptions

func (o *DNSConfig) SetOptions(v []string)

SetOptions gets a reference to the given []string and assigns it to the Options field.

func (*DNSConfig) SetSearches

func (o *DNSConfig) SetSearches(v []string)

SetSearches gets a reference to the given []string and assigns it to the Searches field.

func (*DNSConfig) SetServers

func (o *DNSConfig) SetServers(v []string)

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

func (o *FieldDiff) GetAnnotations() []string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*FieldDiff) GetAnnotationsOk

func (o *FieldDiff) GetAnnotationsOk() (*[]string, 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 (*FieldDiff) GetName

func (o *FieldDiff) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*FieldDiff) GetNameOk

func (o *FieldDiff) 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 (*FieldDiff) GetOld

func (o *FieldDiff) GetOld() string

GetOld returns the Old field value if set, zero value otherwise.

func (*FieldDiff) GetOldOk

func (o *FieldDiff) GetOldOk() (*string, bool)

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) GetType

func (o *FieldDiff) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*FieldDiff) GetTypeOk

func (o *FieldDiff) 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 (*FieldDiff) HasAnnotations

func (o *FieldDiff) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*FieldDiff) HasName

func (o *FieldDiff) HasName() bool

HasName returns a boolean if a field has been set.

func (*FieldDiff) HasOld

func (o *FieldDiff) HasOld() bool

HasOld returns a boolean if a field has been set.

func (*FieldDiff) HasType

func (o *FieldDiff) HasType() bool

HasType returns a boolean if a field has been set.

func (FieldDiff) MarshalJSON

func (o FieldDiff) MarshalJSON() ([]byte, error)

func (*FieldDiff) SetAnnotations

func (o *FieldDiff) SetAnnotations(v []string)

SetAnnotations gets a reference to the given []string and assigns it to the Annotations field.

func (*FieldDiff) SetName

func (o *FieldDiff) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*FieldDiff) SetOld

func (o *FieldDiff) SetOld(v string)

SetOld gets a reference to the given string and assigns it to the Old field.

func (*FieldDiff) SetType

func (o *FieldDiff) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type 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) GetId

func (o *IdResponse) GetId() string

GetId returns the Id field value

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)

func (*IdResponse) SetId

func (o *IdResponse) SetId(v string)

SetId sets field value

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"`
	// shared size
	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) GetId

func (o *ImageSummary) GetId() string

GetId returns the Id field value

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) SetId

func (o *ImageSummary) SetId(v string)

SetId 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) SetSize

func (o *ImageSummary) SetSize(v int64)

SetSize 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

func (o *Job) GetAffinities() []Affinity

GetAffinities returns the Affinities field value if set, zero value otherwise.

func (*Job) GetAffinitiesOk

func (o *Job) 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 (*Job) GetAllAtOnce

func (o *Job) GetAllAtOnce() bool

GetAllAtOnce returns the AllAtOnce field value if set, zero value otherwise.

func (*Job) GetAllAtOnceOk

func (o *Job) GetAllAtOnceOk() (*bool, bool)

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

func (o *Job) GetConsulNamespace() string

GetConsulNamespace returns the ConsulNamespace field value if set, zero value otherwise.

func (*Job) GetConsulNamespaceOk

func (o *Job) GetConsulNamespaceOk() (*string, bool)

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

func (o *Job) GetConsulToken() string

GetConsulToken returns the ConsulToken field value if set, zero value otherwise.

func (*Job) GetConsulTokenOk

func (o *Job) 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 (*Job) GetCreateIndex

func (o *Job) GetCreateIndex() int32

GetCreateIndex returns the CreateIndex field value if set, zero value otherwise.

func (*Job) GetCreateIndexOk

func (o *Job) 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 (*Job) GetDatacenters

func (o *Job) GetDatacenters() []string

GetDatacenters returns the Datacenters field value if set, zero value otherwise.

func (*Job) GetDatacentersOk

func (o *Job) 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 (*Job) GetDispatched

func (o *Job) GetDispatched() bool

GetDispatched returns the Dispatched field value if set, zero value otherwise.

func (*Job) GetDispatchedOk

func (o *Job) GetDispatchedOk() (*bool, bool)

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) GetID

func (o *Job) GetID() string

GetID returns the ID field value if set, zero value otherwise.

func (*Job) GetIDOk

func (o *Job) 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 (*Job) GetJobModifyIndex

func (o *Job) GetJobModifyIndex() int32

GetJobModifyIndex returns the JobModifyIndex field value if set, zero value otherwise.

func (*Job) GetJobModifyIndexOk

func (o *Job) 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 (*Job) GetMeta

func (o *Job) GetMeta() map[string]string

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Job) GetMetaOk

func (o *Job) 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 (*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

func (o *Job) GetModifyIndex() int32

GetModifyIndex returns the ModifyIndex field value if set, zero value otherwise.

func (*Job) GetModifyIndexOk

func (o *Job) 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 (*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) GetName

func (o *Job) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Job) GetNameOk

func (o *Job) 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 (*Job) GetNamespace

func (o *Job) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*Job) GetNamespaceOk

func (o *Job) 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 (*Job) GetNomadTokenID

func (o *Job) GetNomadTokenID() string

GetNomadTokenID returns the NomadTokenID field value if set, zero value otherwise.

func (*Job) GetNomadTokenIDOk

func (o *Job) GetNomadTokenIDOk() (*string, bool)

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

func (o *Job) GetParentID() string

GetParentID returns the ParentID field value if set, zero value otherwise.

func (*Job) GetParentIDOk

func (o *Job) 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 (*Job) GetPayload

func (o *Job) GetPayload() []int32

GetPayload returns the Payload field value if set, zero value otherwise.

func (*Job) GetPayloadOk

func (o *Job) 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 (*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

func (o *Job) GetPriority() int64

GetPriority returns the Priority field value if set, zero value otherwise.

func (*Job) GetPriorityOk

func (o *Job) 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 (*Job) GetRegion

func (o *Job) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*Job) GetRegionOk

func (o *Job) 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 (*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

func (o *Job) GetSpreads() []Spread

GetSpreads returns the Spreads field value if set, zero value otherwise.

func (*Job) GetSpreadsOk

func (o *Job) GetSpreadsOk() (*[]Spread, bool)

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) GetStable

func (o *Job) GetStable() bool

GetStable returns the Stable field value if set, zero value otherwise.

func (*Job) GetStableOk

func (o *Job) 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 (*Job) GetStatus

func (o *Job) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Job) GetStatusDescription

func (o *Job) GetStatusDescription() string

GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.

func (*Job) GetStatusDescriptionOk

func (o *Job) 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 (*Job) GetStatusOk

func (o *Job) 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 (*Job) GetStop

func (o *Job) GetStop() bool

GetStop returns the Stop field value if set, zero value otherwise.

func (*Job) GetStopOk

func (o *Job) 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 (*Job) GetSubmitTime

func (o *Job) GetSubmitTime() int64

GetSubmitTime returns the SubmitTime field value if set, zero value otherwise.

func (*Job) GetSubmitTimeOk

func (o *Job) 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 (*Job) GetTaskGroups

func (o *Job) GetTaskGroups() []TaskGroup

GetTaskGroups returns the TaskGroups field value if set, zero value otherwise.

func (*Job) GetTaskGroupsOk

func (o *Job) GetTaskGroupsOk() (*[]TaskGroup, 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 (*Job) GetType

func (o *Job) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Job) GetTypeOk

func (o *Job) 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 (*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

func (o *Job) GetVaultNamespace() string

GetVaultNamespace returns the VaultNamespace field value if set, zero value otherwise.

func (*Job) GetVaultNamespaceOk

func (o *Job) GetVaultNamespaceOk() (*string, bool)

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

func (o *Job) GetVaultToken() string

GetVaultToken returns the VaultToken field value if set, zero value otherwise.

func (*Job) GetVaultTokenOk

func (o *Job) 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 (*Job) GetVersion

func (o *Job) GetVersion() int32

GetVersion returns the Version field value if set, zero value otherwise.

func (*Job) GetVersionOk

func (o *Job) GetVersionOk() (*int32, 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 (*Job) HasAffinities

func (o *Job) HasAffinities() bool

HasAffinities returns a boolean if a field has been set.

func (*Job) HasAllAtOnce

func (o *Job) HasAllAtOnce() bool

HasAllAtOnce returns a boolean if a field has been set.

func (*Job) HasConstraints

func (o *Job) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*Job) HasConsulNamespace

func (o *Job) HasConsulNamespace() bool

HasConsulNamespace returns a boolean if a field has been set.

func (*Job) HasConsulToken

func (o *Job) HasConsulToken() bool

HasConsulToken returns a boolean if a field has been set.

func (*Job) HasCreateIndex

func (o *Job) HasCreateIndex() bool

HasCreateIndex returns a boolean if a field has been set.

func (*Job) HasDatacenters

func (o *Job) HasDatacenters() bool

HasDatacenters returns a boolean if a field has been set.

func (*Job) HasDispatched

func (o *Job) HasDispatched() bool

HasDispatched returns a boolean if a field has been set.

func (*Job) HasID

func (o *Job) HasID() bool

HasID returns a boolean if a field has been set.

func (*Job) HasJobModifyIndex

func (o *Job) HasJobModifyIndex() bool

HasJobModifyIndex returns a boolean if a field has been set.

func (*Job) HasMeta

func (o *Job) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Job) HasMigrate

func (o *Job) HasMigrate() bool

HasMigrate returns a boolean if a field has been set.

func (*Job) HasModifyIndex

func (o *Job) HasModifyIndex() bool

HasModifyIndex returns a boolean if a field has been set.

func (*Job) HasMultiregion

func (o *Job) HasMultiregion() bool

HasMultiregion returns a boolean if a field has been set.

func (*Job) HasName

func (o *Job) HasName() bool

HasName returns a boolean if a field has been set.

func (*Job) HasNamespace

func (o *Job) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Job) HasNomadTokenID

func (o *Job) HasNomadTokenID() bool

HasNomadTokenID returns a boolean if a field has been set.

func (*Job) HasParameterizedJob

func (o *Job) HasParameterizedJob() bool

HasParameterizedJob returns a boolean if a field has been set.

func (*Job) HasParentID

func (o *Job) HasParentID() bool

HasParentID returns a boolean if a field has been set.

func (*Job) HasPayload

func (o *Job) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*Job) HasPeriodic

func (o *Job) HasPeriodic() bool

HasPeriodic returns a boolean if a field has been set.

func (*Job) HasPriority

func (o *Job) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Job) HasRegion

func (o *Job) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*Job) HasReschedule

func (o *Job) HasReschedule() bool

HasReschedule returns a boolean if a field has been set.

func (*Job) HasSpreads

func (o *Job) HasSpreads() bool

HasSpreads returns a boolean if a field has been set.

func (*Job) HasStable

func (o *Job) HasStable() bool

HasStable returns a boolean if a field has been set.

func (*Job) HasStatus

func (o *Job) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Job) HasStatusDescription

func (o *Job) HasStatusDescription() bool

HasStatusDescription returns a boolean if a field has been set.

func (*Job) HasStop

func (o *Job) HasStop() bool

HasStop returns a boolean if a field has been set.

func (*Job) HasSubmitTime

func (o *Job) HasSubmitTime() bool

HasSubmitTime returns a boolean if a field has been set.

func (*Job) HasTaskGroups

func (o *Job) HasTaskGroups() bool

HasTaskGroups returns a boolean if a field has been set.

func (*Job) HasType

func (o *Job) HasType() bool

HasType returns a boolean if a field has been set.

func (*Job) HasUpdate

func (o *Job) HasUpdate() bool

HasUpdate returns a boolean if a field has been set.

func (*Job) HasVaultNamespace

func (o *Job) HasVaultNamespace() bool

HasVaultNamespace returns a boolean if a field has been set.

func (*Job) HasVaultToken

func (o *Job) HasVaultToken() bool

HasVaultToken returns a boolean if a field has been set.

func (*Job) HasVersion

func (o *Job) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Job) MarshalJSON

func (o Job) MarshalJSON() ([]byte, error)

func (*Job) SetAffinities

func (o *Job) SetAffinities(v []Affinity)

SetAffinities gets a reference to the given []Affinity and assigns it to the Affinities field.

func (*Job) SetAllAtOnce

func (o *Job) SetAllAtOnce(v bool)

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

func (o *Job) SetConsulNamespace(v string)

SetConsulNamespace gets a reference to the given string and assigns it to the ConsulNamespace field.

func (*Job) SetConsulToken

func (o *Job) SetConsulToken(v string)

SetConsulToken gets a reference to the given string and assigns it to the ConsulToken field.

func (*Job) SetCreateIndex

func (o *Job) SetCreateIndex(v int32)

SetCreateIndex gets a reference to the given int32 and assigns it to the CreateIndex field.

func (*Job) SetDatacenters

func (o *Job) SetDatacenters(v []string)

SetDatacenters gets a reference to the given []string and assigns it to the Datacenters field.

func (*Job) SetDispatched

func (o *Job) SetDispatched(v bool)

SetDispatched gets a reference to the given bool and assigns it to the Dispatched field.

func (*Job) SetID

func (o *Job) SetID(v string)

SetID gets a reference to the given string and assigns it to the ID field.

func (*Job) SetJobModifyIndex

func (o *Job) SetJobModifyIndex(v int32)

SetJobModifyIndex gets a reference to the given int32 and assigns it to the JobModifyIndex field.

func (*Job) SetMeta

func (o *Job) SetMeta(v map[string]string)

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

func (o *Job) SetModifyIndex(v int32)

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

func (o *Job) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Job) SetNamespace

func (o *Job) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*Job) SetNomadTokenID

func (o *Job) SetNomadTokenID(v string)

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

func (o *Job) SetParentID(v string)

SetParentID gets a reference to the given string and assigns it to the ParentID field.

func (*Job) SetPayload

func (o *Job) SetPayload(v []int32)

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

func (o *Job) SetPriority(v int64)

SetPriority gets a reference to the given int64 and assigns it to the Priority field.

func (*Job) SetRegion

func (o *Job) SetRegion(v string)

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

func (o *Job) SetSpreads(v []Spread)

SetSpreads gets a reference to the given []Spread and assigns it to the Spreads field.

func (*Job) SetStable

func (o *Job) SetStable(v bool)

SetStable gets a reference to the given bool and assigns it to the Stable field.

func (*Job) SetStatus

func (o *Job) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Job) SetStatusDescription

func (o *Job) SetStatusDescription(v string)

SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.

func (*Job) SetStop

func (o *Job) SetStop(v bool)

SetStop gets a reference to the given bool and assigns it to the Stop field.

func (*Job) SetSubmitTime

func (o *Job) SetSubmitTime(v int64)

SetSubmitTime gets a reference to the given int64 and assigns it to the SubmitTime field.

func (*Job) SetTaskGroups

func (o *Job) SetTaskGroups(v []TaskGroup)

SetTaskGroups gets a reference to the given []TaskGroup and assigns it to the TaskGroups field.

func (*Job) SetType

func (o *Job) SetType(v string)

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

func (o *Job) SetVaultNamespace(v string)

SetVaultNamespace gets a reference to the given string and assigns it to the VaultNamespace field.

func (*Job) SetVaultToken

func (o *Job) SetVaultToken(v string)

SetVaultToken gets a reference to the given string and assigns it to the VaultToken field.

func (*Job) SetVersion

func (o *Job) SetVersion(v int32)

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) GetFields

func (o *JobDiff) GetFields() []FieldDiff

GetFields returns the Fields field value if set, zero value otherwise.

func (*JobDiff) GetFieldsOk

func (o *JobDiff) 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 (*JobDiff) GetID

func (o *JobDiff) GetID() string

GetID returns the ID field value if set, zero value otherwise.

func (*JobDiff) GetIDOk

func (o *JobDiff) 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 (*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) GetType

func (o *JobDiff) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*JobDiff) GetTypeOk

func (o *JobDiff) 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 (*JobDiff) HasFields

func (o *JobDiff) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*JobDiff) HasID

func (o *JobDiff) HasID() bool

HasID returns a boolean if a field has been set.

func (*JobDiff) HasObjects

func (o *JobDiff) HasObjects() bool

HasObjects returns a boolean if a field has been set.

func (*JobDiff) HasTaskGroups

func (o *JobDiff) HasTaskGroups() bool

HasTaskGroups returns a boolean if a field has been set.

func (*JobDiff) HasType

func (o *JobDiff) HasType() bool

HasType returns a boolean if a field has been set.

func (JobDiff) MarshalJSON

func (o JobDiff) MarshalJSON() ([]byte, error)

func (*JobDiff) SetFields

func (o *JobDiff) SetFields(v []FieldDiff)

SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.

func (*JobDiff) SetID

func (o *JobDiff) SetID(v string)

SetID gets a reference to the given string and assigns it to the ID 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.

func (*JobDiff) SetType

func (o *JobDiff) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type 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

* 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

* 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

* 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

* 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

func (o *LogConfig) GetMaxFileSizeMB() int64

GetMaxFileSizeMB returns the MaxFileSizeMB field value if set, zero value otherwise.

func (*LogConfig) GetMaxFileSizeMBOk

func (o *LogConfig) GetMaxFileSizeMBOk() (*int64, bool)

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

func (o *LogConfig) GetMaxFiles() int64

GetMaxFiles returns the MaxFiles field value if set, zero value otherwise.

func (*LogConfig) GetMaxFilesOk

func (o *LogConfig) GetMaxFilesOk() (*int64, bool)

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

func (o *LogConfig) HasMaxFileSizeMB() bool

HasMaxFileSizeMB returns a boolean if a field has been set.

func (*LogConfig) HasMaxFiles

func (o *LogConfig) HasMaxFiles() bool

HasMaxFiles returns a boolean if a field has been set.

func (LogConfig) MarshalJSON

func (o LogConfig) MarshalJSON() ([]byte, error)

func (*LogConfig) SetMaxFileSizeMB

func (o *LogConfig) SetMaxFileSizeMB(v int64)

SetMaxFileSizeMB gets a reference to the given int64 and assigns it to the MaxFileSizeMB field.

func (*LogConfig) SetMaxFiles

func (o *LogConfig) SetMaxFiles(v int64)

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 (NullableAllocDeploymentStatus) Get

func (NullableAllocDeploymentStatus) IsSet

func (NullableAllocDeploymentStatus) MarshalJSON

func (v NullableAllocDeploymentStatus) MarshalJSON() ([]byte, error)

func (*NullableAllocDeploymentStatus) Set

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 (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 (NullableAllocatedCpuResources) Get

func (NullableAllocatedCpuResources) IsSet

func (NullableAllocatedCpuResources) MarshalJSON

func (v NullableAllocatedCpuResources) MarshalJSON() ([]byte, error)

func (*NullableAllocatedCpuResources) Set

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 (NullableAllocatedDeviceResource) Get

func (NullableAllocatedDeviceResource) IsSet

func (NullableAllocatedDeviceResource) MarshalJSON

func (v NullableAllocatedDeviceResource) MarshalJSON() ([]byte, error)

func (*NullableAllocatedDeviceResource) Set

func (*NullableAllocatedDeviceResource) UnmarshalJSON

func (v *NullableAllocatedDeviceResource) UnmarshalJSON(src []byte) error

func (*NullableAllocatedDeviceResource) Unset

type NullableAllocatedMemoryResources

type NullableAllocatedMemoryResources struct {
	// contains filtered or unexported fields
}

func (NullableAllocatedMemoryResources) Get

func (NullableAllocatedMemoryResources) IsSet

func (NullableAllocatedMemoryResources) MarshalJSON

func (v NullableAllocatedMemoryResources) MarshalJSON() ([]byte, error)

func (*NullableAllocatedMemoryResources) Set

func (*NullableAllocatedMemoryResources) UnmarshalJSON

func (v *NullableAllocatedMemoryResources) UnmarshalJSON(src []byte) error

func (*NullableAllocatedMemoryResources) Unset

type NullableAllocatedPortMapping

type NullableAllocatedPortMapping struct {
	// contains filtered or unexported fields
}

func NewNullableAllocatedPortMapping

func NewNullableAllocatedPortMapping(val *AllocatedPortMapping) *NullableAllocatedPortMapping

func (NullableAllocatedPortMapping) Get

func (NullableAllocatedPortMapping) IsSet

func (NullableAllocatedPortMapping) MarshalJSON

func (v NullableAllocatedPortMapping) MarshalJSON() ([]byte, error)

func (*NullableAllocatedPortMapping) Set

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 (NullableAllocatedResources) IsSet

func (v NullableAllocatedResources) IsSet() bool

func (NullableAllocatedResources) MarshalJSON

func (v NullableAllocatedResources) MarshalJSON() ([]byte, error)

func (*NullableAllocatedResources) Set

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 (NullableAllocatedSharedResources) Get

func (NullableAllocatedSharedResources) IsSet

func (NullableAllocatedSharedResources) MarshalJSON

func (v NullableAllocatedSharedResources) MarshalJSON() ([]byte, error)

func (*NullableAllocatedSharedResources) Set

func (*NullableAllocatedSharedResources) UnmarshalJSON

func (v *NullableAllocatedSharedResources) UnmarshalJSON(src []byte) error

func (*NullableAllocatedSharedResources) Unset

type NullableAllocatedTaskResources

type NullableAllocatedTaskResources struct {
	// contains filtered or unexported fields
}

func (NullableAllocatedTaskResources) Get

func (NullableAllocatedTaskResources) IsSet

func (NullableAllocatedTaskResources) MarshalJSON

func (v NullableAllocatedTaskResources) MarshalJSON() ([]byte, error)

func (*NullableAllocatedTaskResources) Set

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 (NullableAllocationListStub) IsSet

func (v NullableAllocationListStub) IsSet() bool

func (NullableAllocationListStub) MarshalJSON

func (v NullableAllocationListStub) MarshalJSON() ([]byte, error)

func (*NullableAllocationListStub) Set

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 (NullableAllocationMetric) IsSet

func (v NullableAllocationMetric) IsSet() bool

func (NullableAllocationMetric) MarshalJSON

func (v NullableAllocationMetric) MarshalJSON() ([]byte, error)

func (*NullableAllocationMetric) Set

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 (NullableAuthenticateOKBody) IsSet

func (v NullableAuthenticateOKBody) IsSet() bool

func (NullableAuthenticateOKBody) MarshalJSON

func (v NullableAuthenticateOKBody) MarshalJSON() ([]byte, error)

func (*NullableAuthenticateOKBody) Set

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 (NullableCSIMountOptions) IsSet

func (v NullableCSIMountOptions) IsSet() bool

func (NullableCSIMountOptions) MarshalJSON

func (v NullableCSIMountOptions) MarshalJSON() ([]byte, error)

func (*NullableCSIMountOptions) Set

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 (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 (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 (NullableConsulExposeConfig) IsSet

func (v NullableConsulExposeConfig) IsSet() bool

func (NullableConsulExposeConfig) MarshalJSON

func (v NullableConsulExposeConfig) MarshalJSON() ([]byte, error)

func (*NullableConsulExposeConfig) Set

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 (NullableConsulExposePath) IsSet

func (v NullableConsulExposePath) IsSet() bool

func (NullableConsulExposePath) MarshalJSON

func (v NullableConsulExposePath) MarshalJSON() ([]byte, error)

func (*NullableConsulExposePath) Set

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 (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 (NullableConsulGatewayBindAddress) Get

func (NullableConsulGatewayBindAddress) IsSet

func (NullableConsulGatewayBindAddress) MarshalJSON

func (v NullableConsulGatewayBindAddress) MarshalJSON() ([]byte, error)

func (*NullableConsulGatewayBindAddress) Set

func (*NullableConsulGatewayBindAddress) UnmarshalJSON

func (v *NullableConsulGatewayBindAddress) UnmarshalJSON(src []byte) error

func (*NullableConsulGatewayBindAddress) Unset

type NullableConsulGatewayProxy

type NullableConsulGatewayProxy struct {
	// contains filtered or unexported fields
}

func NewNullableConsulGatewayProxy

func NewNullableConsulGatewayProxy(val *ConsulGatewayProxy) *NullableConsulGatewayProxy

func (NullableConsulGatewayProxy) Get

func (NullableConsulGatewayProxy) IsSet

func (v NullableConsulGatewayProxy) IsSet() bool

func (NullableConsulGatewayProxy) MarshalJSON

func (v NullableConsulGatewayProxy) MarshalJSON() ([]byte, error)

func (*NullableConsulGatewayProxy) Set

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 (NullableConsulGatewayTLSConfig) Get

func (NullableConsulGatewayTLSConfig) IsSet

func (NullableConsulGatewayTLSConfig) MarshalJSON

func (v NullableConsulGatewayTLSConfig) MarshalJSON() ([]byte, error)

func (*NullableConsulGatewayTLSConfig) Set

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 (NullableConsulIngressConfigEntry) Get

func (NullableConsulIngressConfigEntry) IsSet

func (NullableConsulIngressConfigEntry) MarshalJSON

func (v NullableConsulIngressConfigEntry) MarshalJSON() ([]byte, error)

func (*NullableConsulIngressConfigEntry) Set

func (*NullableConsulIngressConfigEntry) UnmarshalJSON

func (v *NullableConsulIngressConfigEntry) UnmarshalJSON(src []byte) error

func (*NullableConsulIngressConfigEntry) Unset

type NullableConsulIngressListener

type NullableConsulIngressListener struct {
	// contains filtered or unexported fields
}

func (NullableConsulIngressListener) Get

func (NullableConsulIngressListener) IsSet

func (NullableConsulIngressListener) MarshalJSON

func (v NullableConsulIngressListener) MarshalJSON() ([]byte, error)

func (*NullableConsulIngressListener) Set

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 (NullableConsulIngressService) IsSet

func (NullableConsulIngressService) MarshalJSON

func (v NullableConsulIngressService) MarshalJSON() ([]byte, error)

func (*NullableConsulIngressService) Set

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 (NullableConsulLinkedService) IsSet

func (NullableConsulLinkedService) MarshalJSON

func (v NullableConsulLinkedService) MarshalJSON() ([]byte, error)

func (*NullableConsulLinkedService) Set

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 (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 (NullableConsulSidecarService) IsSet

func (NullableConsulSidecarService) MarshalJSON

func (v NullableConsulSidecarService) MarshalJSON() ([]byte, error)

func (*NullableConsulSidecarService) Set

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 (NullableConsulTerminatingConfigEntry) Get

func (NullableConsulTerminatingConfigEntry) IsSet

func (NullableConsulTerminatingConfigEntry) MarshalJSON

func (v NullableConsulTerminatingConfigEntry) MarshalJSON() ([]byte, error)

func (*NullableConsulTerminatingConfigEntry) Set

func (*NullableConsulTerminatingConfigEntry) UnmarshalJSON

func (v *NullableConsulTerminatingConfigEntry) UnmarshalJSON(src []byte) error

func (*NullableConsulTerminatingConfigEntry) Unset

type NullableConsulUpstream

type NullableConsulUpstream struct {
	// contains filtered or unexported fields
}

func NewNullableConsulUpstream

func NewNullableConsulUpstream(val *ConsulUpstream) *NullableConsulUpstream

func (NullableConsulUpstream) Get

func (NullableConsulUpstream) IsSet

func (v NullableConsulUpstream) IsSet() bool

func (NullableConsulUpstream) MarshalJSON

func (v NullableConsulUpstream) MarshalJSON() ([]byte, error)

func (*NullableConsulUpstream) Set

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 (NullableContainerChangeResponseItem) Get

func (NullableContainerChangeResponseItem) IsSet

func (NullableContainerChangeResponseItem) MarshalJSON

func (v NullableContainerChangeResponseItem) MarshalJSON() ([]byte, error)

func (*NullableContainerChangeResponseItem) Set

func (*NullableContainerChangeResponseItem) UnmarshalJSON

func (v *NullableContainerChangeResponseItem) UnmarshalJSON(src []byte) error

func (*NullableContainerChangeResponseItem) Unset

type NullableContainerCreateCreatedBody

type NullableContainerCreateCreatedBody struct {
	// contains filtered or unexported fields
}

func (NullableContainerCreateCreatedBody) Get

func (NullableContainerCreateCreatedBody) IsSet

func (NullableContainerCreateCreatedBody) MarshalJSON

func (v NullableContainerCreateCreatedBody) MarshalJSON() ([]byte, error)

func (*NullableContainerCreateCreatedBody) Set

func (*NullableContainerCreateCreatedBody) UnmarshalJSON

func (v *NullableContainerCreateCreatedBody) UnmarshalJSON(src []byte) error

func (*NullableContainerCreateCreatedBody) Unset

type NullableContainerTopOKBody

type NullableContainerTopOKBody struct {
	// contains filtered or unexported fields
}

func NewNullableContainerTopOKBody

func NewNullableContainerTopOKBody(val *ContainerTopOKBody) *NullableContainerTopOKBody

func (NullableContainerTopOKBody) Get

func (NullableContainerTopOKBody) IsSet

func (v NullableContainerTopOKBody) IsSet() bool

func (NullableContainerTopOKBody) MarshalJSON

func (v NullableContainerTopOKBody) MarshalJSON() ([]byte, error)

func (*NullableContainerTopOKBody) Set

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 (NullableContainerUpdateOKBody) Get

func (NullableContainerUpdateOKBody) IsSet

func (NullableContainerUpdateOKBody) MarshalJSON

func (v NullableContainerUpdateOKBody) MarshalJSON() ([]byte, error)

func (*NullableContainerUpdateOKBody) Set

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 (NullableContainerWaitOKBody) IsSet

func (NullableContainerWaitOKBody) MarshalJSON

func (v NullableContainerWaitOKBody) MarshalJSON() ([]byte, error)

func (*NullableContainerWaitOKBody) Set

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 (NullableContainerWaitOKBodyError) Get

func (NullableContainerWaitOKBodyError) IsSet

func (NullableContainerWaitOKBodyError) MarshalJSON

func (v NullableContainerWaitOKBodyError) MarshalJSON() ([]byte, error)

func (*NullableContainerWaitOKBodyError) Set

func (*NullableContainerWaitOKBodyError) UnmarshalJSON

func (v *NullableContainerWaitOKBodyError) UnmarshalJSON(src []byte) error

func (*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 (NullableDeregisterOptions) IsSet

func (v NullableDeregisterOptions) IsSet() bool

func (NullableDeregisterOptions) MarshalJSON

func (v NullableDeregisterOptions) MarshalJSON() ([]byte, error)

func (*NullableDeregisterOptions) Set

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 (NullableDesiredTransition) IsSet

func (v NullableDesiredTransition) IsSet() bool

func (NullableDesiredTransition) MarshalJSON

func (v NullableDesiredTransition) MarshalJSON() ([]byte, error)

func (*NullableDesiredTransition) Set

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 (NullableDesiredUpdates) IsSet

func (v NullableDesiredUpdates) IsSet() bool

func (NullableDesiredUpdates) MarshalJSON

func (v NullableDesiredUpdates) MarshalJSON() ([]byte, error)

func (*NullableDesiredUpdates) Set

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 (NullableDispatchPayloadConfig) Get

func (NullableDispatchPayloadConfig) IsSet

func (NullableDispatchPayloadConfig) MarshalJSON

func (v NullableDispatchPayloadConfig) MarshalJSON() ([]byte, error)

func (*NullableDispatchPayloadConfig) Set

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 (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 (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 (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 (NullableGraphDriverData) IsSet

func (v NullableGraphDriverData) IsSet() bool

func (NullableGraphDriverData) MarshalJSON

func (v NullableGraphDriverData) MarshalJSON() ([]byte, error)

func (*NullableGraphDriverData) Set

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 (NullableImageDeleteResponseItem) Get

func (NullableImageDeleteResponseItem) IsSet

func (NullableImageDeleteResponseItem) MarshalJSON

func (v NullableImageDeleteResponseItem) MarshalJSON() ([]byte, error)

func (*NullableImageDeleteResponseItem) Set

func (*NullableImageDeleteResponseItem) UnmarshalJSON

func (v *NullableImageDeleteResponseItem) UnmarshalJSON(src []byte) error

func (*NullableImageDeleteResponseItem) Unset

type NullableImageSummary

type NullableImageSummary struct {
	// contains filtered or unexported fields
}

func NewNullableImageSummary

func NewNullableImageSummary(val *ImageSummary) *NullableImageSummary

func (NullableImageSummary) Get

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 (NullableJobChildrenSummary) IsSet

func (v NullableJobChildrenSummary) IsSet() bool

func (NullableJobChildrenSummary) MarshalJSON

func (v NullableJobChildrenSummary) MarshalJSON() ([]byte, error)

func (*NullableJobChildrenSummary) Set

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 (NullableJobDeregisterResponse) Get

func (NullableJobDeregisterResponse) IsSet

func (NullableJobDeregisterResponse) MarshalJSON

func (v NullableJobDeregisterResponse) MarshalJSON() ([]byte, error)

func (*NullableJobDeregisterResponse) Set

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 (NullableJobDispatchRequest) IsSet

func (v NullableJobDispatchRequest) IsSet() bool

func (NullableJobDispatchRequest) MarshalJSON

func (v NullableJobDispatchRequest) MarshalJSON() ([]byte, error)

func (*NullableJobDispatchRequest) Set

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 (NullableJobDispatchResponse) IsSet

func (NullableJobDispatchResponse) MarshalJSON

func (v NullableJobDispatchResponse) MarshalJSON() ([]byte, error)

func (*NullableJobDispatchResponse) Set

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 (NullableJobEvaluateRequest) IsSet

func (v NullableJobEvaluateRequest) IsSet() bool

func (NullableJobEvaluateRequest) MarshalJSON

func (v NullableJobEvaluateRequest) MarshalJSON() ([]byte, error)

func (*NullableJobEvaluateRequest) Set

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 (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 (NullableJobPlanRequest) IsSet

func (v NullableJobPlanRequest) IsSet() bool

func (NullableJobPlanRequest) MarshalJSON

func (v NullableJobPlanRequest) MarshalJSON() ([]byte, error)

func (*NullableJobPlanRequest) Set

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 (NullableJobPlanResponse) IsSet

func (v NullableJobPlanResponse) IsSet() bool

func (NullableJobPlanResponse) MarshalJSON

func (v NullableJobPlanResponse) MarshalJSON() ([]byte, error)

func (*NullableJobPlanResponse) Set

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 (NullableJobRegisterRequest) IsSet

func (v NullableJobRegisterRequest) IsSet() bool

func (NullableJobRegisterRequest) MarshalJSON

func (v NullableJobRegisterRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRegisterRequest) Set

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 (NullableJobRegisterResponse) IsSet

func (NullableJobRegisterResponse) MarshalJSON

func (v NullableJobRegisterResponse) MarshalJSON() ([]byte, error)

func (*NullableJobRegisterResponse) Set

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 (NullableJobRevertRequest) IsSet

func (v NullableJobRevertRequest) IsSet() bool

func (NullableJobRevertRequest) MarshalJSON

func (v NullableJobRevertRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRevertRequest) Set

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 (NullableJobStabilityRequest) IsSet

func (NullableJobStabilityRequest) MarshalJSON

func (v NullableJobStabilityRequest) MarshalJSON() ([]byte, error)

func (*NullableJobStabilityRequest) Set

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 (NullableJobStabilityResponse) IsSet

func (NullableJobStabilityResponse) MarshalJSON

func (v NullableJobStabilityResponse) MarshalJSON() ([]byte, error)

func (*NullableJobStabilityResponse) Set

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 (NullableJobValidateRequest) IsSet

func (v NullableJobValidateRequest) IsSet() bool

func (NullableJobValidateRequest) MarshalJSON

func (v NullableJobValidateRequest) MarshalJSON() ([]byte, error)

func (*NullableJobValidateRequest) Set

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 (NullableJobValidateResponse) IsSet

func (NullableJobValidateResponse) MarshalJSON

func (v NullableJobValidateResponse) MarshalJSON() ([]byte, error)

func (*NullableJobValidateResponse) Set

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 (NullableJobVersionsResponse) IsSet

func (NullableJobVersionsResponse) MarshalJSON

func (v NullableJobVersionsResponse) MarshalJSON() ([]byte, error)

func (*NullableJobVersionsResponse) Set

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 (NullableJobsParseRequest) IsSet

func (v NullableJobsParseRequest) IsSet() bool

func (NullableJobsParseRequest) MarshalJSON

func (v NullableJobsParseRequest) MarshalJSON() ([]byte, error)

func (*NullableJobsParseRequest) Set

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 (NullableMigrateStrategy) IsSet

func (v NullableMigrateStrategy) IsSet() bool

func (NullableMigrateStrategy) MarshalJSON

func (v NullableMigrateStrategy) MarshalJSON() ([]byte, error)

func (*NullableMigrateStrategy) Set

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 (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 (NullableMultiregionRegion) IsSet

func (v NullableMultiregionRegion) IsSet() bool

func (NullableMultiregionRegion) MarshalJSON

func (v NullableMultiregionRegion) MarshalJSON() ([]byte, error)

func (*NullableMultiregionRegion) Set

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 (NullableMultiregionStrategy) IsSet

func (NullableMultiregionStrategy) MarshalJSON

func (v NullableMultiregionStrategy) MarshalJSON() ([]byte, error)

func (*NullableMultiregionStrategy) Set

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 (NullableNetworkResource) IsSet

func (v NullableNetworkResource) IsSet() bool

func (NullableNetworkResource) MarshalJSON

func (v NullableNetworkResource) MarshalJSON() ([]byte, error)

func (*NullableNetworkResource) Set

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 (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 (NullableParameterizedJobConfig) Get

func (NullableParameterizedJobConfig) IsSet

func (NullableParameterizedJobConfig) MarshalJSON

func (v NullableParameterizedJobConfig) MarshalJSON() ([]byte, error)

func (*NullableParameterizedJobConfig) Set

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 (NullablePeriodicConfig) IsSet

func (v NullablePeriodicConfig) IsSet() bool

func (NullablePeriodicConfig) MarshalJSON

func (v NullablePeriodicConfig) MarshalJSON() ([]byte, error)

func (*NullablePeriodicConfig) Set

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 (NullablePeriodicForceResponse) Get

func (NullablePeriodicForceResponse) IsSet

func (NullablePeriodicForceResponse) MarshalJSON

func (v NullablePeriodicForceResponse) MarshalJSON() ([]byte, error)

func (*NullablePeriodicForceResponse) Set

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 (NullablePlanAnnotations) IsSet

func (v NullablePlanAnnotations) IsSet() bool

func (NullablePlanAnnotations) MarshalJSON

func (v NullablePlanAnnotations) MarshalJSON() ([]byte, error)

func (*NullablePlanAnnotations) Set

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 (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 (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 (NullablePluginConfigArgs) IsSet

func (v NullablePluginConfigArgs) IsSet() bool

func (NullablePluginConfigArgs) MarshalJSON

func (v NullablePluginConfigArgs) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigArgs) Set

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 (NullablePluginConfigInterface) Get

func (NullablePluginConfigInterface) IsSet

func (NullablePluginConfigInterface) MarshalJSON

func (v NullablePluginConfigInterface) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigInterface) Set

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 (NullablePluginConfigLinux) IsSet

func (v NullablePluginConfigLinux) IsSet() bool

func (NullablePluginConfigLinux) MarshalJSON

func (v NullablePluginConfigLinux) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigLinux) Set

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 (NullablePluginConfigNetwork) IsSet

func (NullablePluginConfigNetwork) MarshalJSON

func (v NullablePluginConfigNetwork) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigNetwork) Set

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 (NullablePluginConfigRootfs) IsSet

func (v NullablePluginConfigRootfs) IsSet() bool

func (NullablePluginConfigRootfs) MarshalJSON

func (v NullablePluginConfigRootfs) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigRootfs) Set

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 (NullablePluginConfigUser) IsSet

func (v NullablePluginConfigUser) IsSet() bool

func (NullablePluginConfigUser) MarshalJSON

func (v NullablePluginConfigUser) MarshalJSON() ([]byte, error)

func (*NullablePluginConfigUser) Set

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 (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 (NullablePluginInterfaceType) IsSet

func (NullablePluginInterfaceType) MarshalJSON

func (v NullablePluginInterfaceType) MarshalJSON() ([]byte, error)

func (*NullablePluginInterfaceType) Set

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 (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 (NullablePluginSettings) IsSet

func (v NullablePluginSettings) IsSet() bool

func (NullablePluginSettings) MarshalJSON

func (v NullablePluginSettings) MarshalJSON() ([]byte, error)

func (*NullablePluginSettings) Set

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 (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 (NullableRegisterOptions) IsSet

func (v NullableRegisterOptions) IsSet() bool

func (NullableRegisterOptions) MarshalJSON

func (v NullableRegisterOptions) MarshalJSON() ([]byte, error)

func (*NullableRegisterOptions) Set

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 (NullableRequestedDevice) IsSet

func (v NullableRequestedDevice) IsSet() bool

func (NullableRequestedDevice) MarshalJSON

func (v NullableRequestedDevice) MarshalJSON() ([]byte, error)

func (*NullableRequestedDevice) Set

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 (NullableRescheduleEvent) IsSet

func (v NullableRescheduleEvent) IsSet() bool

func (NullableRescheduleEvent) MarshalJSON

func (v NullableRescheduleEvent) MarshalJSON() ([]byte, error)

func (*NullableRescheduleEvent) Set

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 (NullableReschedulePolicy) IsSet

func (v NullableReschedulePolicy) IsSet() bool

func (NullableReschedulePolicy) MarshalJSON

func (v NullableReschedulePolicy) MarshalJSON() ([]byte, error)

func (*NullableReschedulePolicy) Set

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 (NullableRescheduleTracker) IsSet

func (v NullableRescheduleTracker) IsSet() bool

func (NullableRescheduleTracker) MarshalJSON

func (v NullableRescheduleTracker) MarshalJSON() ([]byte, error)

func (*NullableRescheduleTracker) Set

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 (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 (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 (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 (NullableServiceUpdateResponse) Get

func (NullableServiceUpdateResponse) IsSet

func (NullableServiceUpdateResponse) MarshalJSON

func (v NullableServiceUpdateResponse) MarshalJSON() ([]byte, error)

func (*NullableServiceUpdateResponse) Set

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 (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 (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 (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 (NullableTaskCSIPluginConfig) IsSet

func (NullableTaskCSIPluginConfig) MarshalJSON

func (v NullableTaskCSIPluginConfig) MarshalJSON() ([]byte, error)

func (*NullableTaskCSIPluginConfig) Set

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 (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 (NullableTaskGroupSummary) IsSet

func (v NullableTaskGroupSummary) IsSet() bool

func (NullableTaskGroupSummary) MarshalJSON

func (v NullableTaskGroupSummary) MarshalJSON() ([]byte, error)

func (*NullableTaskGroupSummary) Set

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 (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 (NullableTaskLifecycleConfig) IsSet

func (NullableTaskLifecycleConfig) MarshalJSON

func (v NullableTaskLifecycleConfig) MarshalJSON() ([]byte, error)

func (*NullableTaskLifecycleConfig) Set

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 (NullableUpdateStrategy) IsSet

func (v NullableUpdateStrategy) IsSet() bool

func (NullableUpdateStrategy) MarshalJSON

func (v NullableUpdateStrategy) MarshalJSON() ([]byte, error)

func (*NullableUpdateStrategy) Set

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 (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 (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 (NullableVolumeUsageData) IsSet

func (v NullableVolumeUsageData) IsSet() bool

func (NullableVolumeUsageData) MarshalJSON

func (v NullableVolumeUsageData) MarshalJSON() ([]byte, error)

func (*NullableVolumeUsageData) Set

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 (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

func (o *Plugin) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Plugin) GetEnabledOk

func (o *Plugin) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*Plugin) GetId

func (o *Plugin) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Plugin) GetIdOk

func (o *Plugin) 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 (*Plugin) GetName

func (o *Plugin) GetName() string

GetName returns the Name field value

func (*Plugin) GetNameOk

func (o *Plugin) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Plugin) GetPluginReference

func (o *Plugin) GetPluginReference() string

GetPluginReference returns the PluginReference field value if set, zero value otherwise.

func (*Plugin) GetPluginReferenceOk

func (o *Plugin) GetPluginReferenceOk() (*string, bool)

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) HasId

func (o *Plugin) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plugin) HasPluginReference

func (o *Plugin) HasPluginReference() bool

HasPluginReference returns a boolean if a field has been set.

func (Plugin) MarshalJSON

func (o Plugin) MarshalJSON() ([]byte, error)

func (*Plugin) SetConfig

func (o *Plugin) SetConfig(v PluginConfig)

SetConfig sets field value

func (*Plugin) SetEnabled

func (o *Plugin) SetEnabled(v bool)

SetEnabled sets field value

func (*Plugin) SetId

func (o *Plugin) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Plugin) SetName

func (o *Plugin) SetName(v string)

SetName sets field value

func (*Plugin) SetPluginReference

func (o *Plugin) SetPluginReference(v string)

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) SetEnv

func (o *PluginConfig) SetEnv(v []PluginEnv)

SetEnv 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

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) SetName

func (o *PluginDevice) SetName(v string)

SetName sets field value

func (*PluginDevice) SetPath

func (o *PluginDevice) SetPath(v string)

SetPath 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

func NewPluginEnv(description string, name string, settable []string, value string) *PluginEnv

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

func (o *PluginEnv) GetDescription() string

GetDescription returns the Description field value

func (*PluginEnv) GetDescriptionOk

func (o *PluginEnv) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*PluginEnv) GetName

func (o *PluginEnv) GetName() string

GetName returns the Name field value

func (*PluginEnv) GetNameOk

func (o *PluginEnv) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PluginEnv) GetSettable

func (o *PluginEnv) GetSettable() []string

GetSettable returns the Settable field value

func (*PluginEnv) GetSettableOk

func (o *PluginEnv) GetSettableOk() (*[]string, bool)

GetSettableOk returns a tuple with the Settable field value and a boolean to check if the value has been set.

func (*PluginEnv) GetValue

func (o *PluginEnv) GetValue() string

GetValue returns the Value field value

func (*PluginEnv) GetValueOk

func (o *PluginEnv) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (PluginEnv) MarshalJSON

func (o PluginEnv) MarshalJSON() ([]byte, error)

func (*PluginEnv) SetDescription

func (o *PluginEnv) SetDescription(v string)

SetDescription sets field value

func (*PluginEnv) SetName

func (o *PluginEnv) SetName(v string)

SetName sets field value

func (*PluginEnv) SetSettable

func (o *PluginEnv) SetSettable(v []string)

SetSettable sets field value

func (*PluginEnv) SetValue

func (o *PluginEnv) SetValue(v string)

SetValue 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) SetName

func (o *PluginMount) SetName(v string)

SetName 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

func (*PluginMount) SetType

func (o *PluginMount) SetType(v string)

SetType 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) SetEnv

func (o *PluginSettings) SetEnv(v []string)

SetEnv 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

func (o *Port) GetHostNetwork() string

GetHostNetwork returns the HostNetwork field value if set, zero value otherwise.

func (*Port) GetHostNetworkOk

func (o *Port) GetHostNetworkOk() (*string, bool)

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) GetLabel

func (o *Port) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*Port) GetLabelOk

func (o *Port) 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 (*Port) GetTo

func (o *Port) GetTo() int64

GetTo returns the To field value if set, zero value otherwise.

func (*Port) GetToOk

func (o *Port) 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 (*Port) GetValue

func (o *Port) GetValue() int64

GetValue returns the Value field value if set, zero value otherwise.

func (*Port) GetValueOk

func (o *Port) 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 (*Port) HasHostNetwork

func (o *Port) HasHostNetwork() bool

HasHostNetwork returns a boolean if a field has been set.

func (*Port) HasLabel

func (o *Port) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*Port) HasTo

func (o *Port) HasTo() bool

HasTo returns a boolean if a field has been set.

func (*Port) HasValue

func (o *Port) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Port) MarshalJSON

func (o Port) MarshalJSON() ([]byte, error)

func (*Port) SetHostNetwork

func (o *Port) SetHostNetwork(v string)

SetHostNetwork gets a reference to the given string and assigns it to the HostNetwork field.

func (*Port) SetLabel

func (o *Port) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*Port) SetTo

func (o *Port) SetTo(v int64)

SetTo gets a reference to the given int64 and assigns it to the To field.

func (*Port) SetValue

func (o *Port) SetValue(v int64)

SetValue gets a reference to the given int64 and assigns it to the Value 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

func (o *QueryMeta) GetKnownLeader() bool

GetKnownLeader returns the KnownLeader field value if set, zero value otherwise.

func (*QueryMeta) GetKnownLeaderOk

func (o *QueryMeta) 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 (*QueryMeta) GetLastContact

func (o *QueryMeta) GetLastContact() int64

GetLastContact returns the LastContact field value if set, zero value otherwise.

func (*QueryMeta) GetLastContactOk

func (o *QueryMeta) 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 (*QueryMeta) GetLastIndex

func (o *QueryMeta) GetLastIndex() int32

GetLastIndex returns the LastIndex field value if set, zero value otherwise.

func (*QueryMeta) GetLastIndexOk

func (o *QueryMeta) 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 (*QueryMeta) GetRequestTime

func (o *QueryMeta) GetRequestTime() int64

GetRequestTime returns the RequestTime field value if set, zero value otherwise.

func (*QueryMeta) GetRequestTimeOk

func (o *QueryMeta) 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 (*QueryMeta) HasKnownLeader

func (o *QueryMeta) HasKnownLeader() bool

HasKnownLeader returns a boolean if a field has been set.

func (*QueryMeta) HasLastContact

func (o *QueryMeta) HasLastContact() bool

HasLastContact returns a boolean if a field has been set.

func (*QueryMeta) HasLastIndex

func (o *QueryMeta) HasLastIndex() bool

HasLastIndex returns a boolean if a field has been set.

func (*QueryMeta) HasRequestTime

func (o *QueryMeta) HasRequestTime() bool

HasRequestTime returns a boolean if a field has been set.

func (QueryMeta) MarshalJSON

func (o QueryMeta) MarshalJSON() ([]byte, error)

func (*QueryMeta) SetKnownLeader

func (o *QueryMeta) SetKnownLeader(v bool)

SetKnownLeader gets a reference to the given bool and assigns it to the KnownLeader field.

func (*QueryMeta) SetLastContact

func (o *QueryMeta) SetLastContact(v int64)

SetLastContact gets a reference to the given int64 and assigns it to the LastContact field.

func (*QueryMeta) SetLastIndex

func (o *QueryMeta) SetLastIndex(v int32)

SetLastIndex gets a reference to the given int32 and assigns it to the LastIndex field.

func (*QueryMeta) SetRequestTime

func (o *QueryMeta) SetRequestTime(v int64)

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) GetCPU

func (o *Resources) GetCPU() int64

GetCPU returns the CPU field value if set, zero value otherwise.

func (*Resources) GetCPUOk

func (o *Resources) GetCPUOk() (*int64, 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 (*Resources) GetCores

func (o *Resources) GetCores() int64

GetCores returns the Cores field value if set, zero value otherwise.

func (*Resources) GetCoresOk

func (o *Resources) GetCoresOk() (*int64, bool)

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

func (o *Resources) GetDiskMB() int64

GetDiskMB returns the DiskMB field value if set, zero value otherwise.

func (*Resources) GetDiskMBOk

func (o *Resources) 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 (*Resources) GetIOPS

func (o *Resources) GetIOPS() int64

GetIOPS returns the IOPS field value if set, zero value otherwise.

func (*Resources) GetIOPSOk

func (o *Resources) GetIOPSOk() (*int64, bool)

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

func (o *Resources) GetMemoryMB() int64

GetMemoryMB returns the MemoryMB field value if set, zero value otherwise.

func (*Resources) GetMemoryMBOk

func (o *Resources) 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 (*Resources) GetMemoryMaxMB

func (o *Resources) GetMemoryMaxMB() int64

GetMemoryMaxMB returns the MemoryMaxMB field value if set, zero value otherwise.

func (*Resources) GetMemoryMaxMBOk

func (o *Resources) 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 (*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) HasCPU

func (o *Resources) HasCPU() bool

HasCPU returns a boolean if a field has been set.

func (*Resources) HasCores

func (o *Resources) HasCores() bool

HasCores returns a boolean if a field has been set.

func (*Resources) HasDevices

func (o *Resources) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*Resources) HasDiskMB

func (o *Resources) HasDiskMB() bool

HasDiskMB returns a boolean if a field has been set.

func (*Resources) HasIOPS

func (o *Resources) HasIOPS() bool

HasIOPS returns a boolean if a field has been set.

func (*Resources) HasMemoryMB

func (o *Resources) HasMemoryMB() bool

HasMemoryMB returns a boolean if a field has been set.

func (*Resources) HasMemoryMaxMB

func (o *Resources) HasMemoryMaxMB() bool

HasMemoryMaxMB returns a boolean if a field has been set.

func (*Resources) HasNetworks

func (o *Resources) HasNetworks() bool

HasNetworks returns a boolean if a field has been set.

func (Resources) MarshalJSON

func (o Resources) MarshalJSON() ([]byte, error)

func (*Resources) SetCPU

func (o *Resources) SetCPU(v int64)

SetCPU gets a reference to the given int64 and assigns it to the CPU field.

func (*Resources) SetCores

func (o *Resources) SetCores(v int64)

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

func (o *Resources) SetDiskMB(v int64)

SetDiskMB gets a reference to the given int64 and assigns it to the DiskMB field.

func (*Resources) SetIOPS

func (o *Resources) SetIOPS(v int64)

SetIOPS gets a reference to the given int64 and assigns it to the IOPS field.

func (*Resources) SetMemoryMB

func (o *Resources) SetMemoryMB(v int64)

SetMemoryMB gets a reference to the given int64 and assigns it to the MemoryMB field.

func (*Resources) SetMemoryMaxMB

func (o *Resources) SetMemoryMaxMB(v int64)

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

func (o *Service) GetAddressMode() string

GetAddressMode returns the AddressMode field value if set, zero value otherwise.

func (*Service) GetAddressModeOk

func (o *Service) 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 (*Service) GetCanaryMeta

func (o *Service) GetCanaryMeta() map[string]string

GetCanaryMeta returns the CanaryMeta field value if set, zero value otherwise.

func (*Service) GetCanaryMetaOk

func (o *Service) GetCanaryMetaOk() (*map[string]string, bool)

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

func (o *Service) GetCanaryTags() []string

GetCanaryTags returns the CanaryTags field value if set, zero value otherwise.

func (*Service) GetCanaryTagsOk

func (o *Service) GetCanaryTagsOk() (*[]string, bool)

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

func (o *Service) GetEnableTagOverride() bool

GetEnableTagOverride returns the EnableTagOverride field value if set, zero value otherwise.

func (*Service) GetEnableTagOverrideOk

func (o *Service) GetEnableTagOverrideOk() (*bool, bool)

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) GetId

func (o *Service) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Service) GetIdOk

func (o *Service) 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 (*Service) GetMeta

func (o *Service) GetMeta() map[string]string

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Service) GetMetaOk

func (o *Service) 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 (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Service) GetNameOk

func (o *Service) 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 (*Service) GetOnUpdate

func (o *Service) GetOnUpdate() string

GetOnUpdate returns the OnUpdate field value if set, zero value otherwise.

func (*Service) GetOnUpdateOk

func (o *Service) 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 (*Service) GetPortLabel

func (o *Service) GetPortLabel() string

GetPortLabel returns the PortLabel field value if set, zero value otherwise.

func (*Service) GetPortLabelOk

func (o *Service) 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 (*Service) GetTags

func (o *Service) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Service) GetTagsOk

func (o *Service) 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 (*Service) GetTaskName

func (o *Service) GetTaskName() string

GetTaskName returns the TaskName field value if set, zero value otherwise.

func (*Service) GetTaskNameOk

func (o *Service) 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 (*Service) HasAddressMode

func (o *Service) HasAddressMode() bool

HasAddressMode returns a boolean if a field has been set.

func (*Service) HasCanaryMeta

func (o *Service) HasCanaryMeta() bool

HasCanaryMeta returns a boolean if a field has been set.

func (*Service) HasCanaryTags

func (o *Service) HasCanaryTags() bool

HasCanaryTags returns a boolean if a field has been set.

func (*Service) HasCheckRestart

func (o *Service) HasCheckRestart() bool

HasCheckRestart returns a boolean if a field has been set.

func (*Service) HasChecks

func (o *Service) HasChecks() bool

HasChecks returns a boolean if a field has been set.

func (*Service) HasConnect

func (o *Service) HasConnect() bool

HasConnect returns a boolean if a field has been set.

func (*Service) HasEnableTagOverride

func (o *Service) HasEnableTagOverride() bool

HasEnableTagOverride returns a boolean if a field has been set.

func (*Service) HasId

func (o *Service) HasId() bool

HasId returns a boolean if a field has been set.

func (*Service) HasMeta

func (o *Service) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Service) HasName

func (o *Service) HasName() bool

HasName returns a boolean if a field has been set.

func (*Service) HasOnUpdate

func (o *Service) HasOnUpdate() bool

HasOnUpdate returns a boolean if a field has been set.

func (*Service) HasPortLabel

func (o *Service) HasPortLabel() bool

HasPortLabel returns a boolean if a field has been set.

func (*Service) HasTags

func (o *Service) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Service) HasTaskName

func (o *Service) HasTaskName() bool

HasTaskName returns a boolean if a field has been set.

func (Service) MarshalJSON

func (o Service) MarshalJSON() ([]byte, error)

func (*Service) SetAddressMode

func (o *Service) SetAddressMode(v string)

SetAddressMode gets a reference to the given string and assigns it to the AddressMode field.

func (*Service) SetCanaryMeta

func (o *Service) SetCanaryMeta(v map[string]string)

SetCanaryMeta gets a reference to the given map[string]string and assigns it to the CanaryMeta field.

func (*Service) SetCanaryTags

func (o *Service) SetCanaryTags(v []string)

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

func (o *Service) SetEnableTagOverride(v bool)

SetEnableTagOverride gets a reference to the given bool and assigns it to the EnableTagOverride field.

func (*Service) SetId

func (o *Service) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Service) SetMeta

func (o *Service) SetMeta(v map[string]string)

SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.

func (*Service) SetName

func (o *Service) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Service) SetOnUpdate

func (o *Service) SetOnUpdate(v string)

SetOnUpdate gets a reference to the given string and assigns it to the OnUpdate field.

func (*Service) SetPortLabel

func (o *Service) SetPortLabel(v string)

SetPortLabel gets a reference to the given string and assigns it to the PortLabel field.

func (*Service) SetTags

func (o *Service) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Service) SetTaskName

func (o *Service) SetTaskName(v string)

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

func (o *Spread) GetAttribute() string

GetAttribute returns the Attribute field value if set, zero value otherwise.

func (*Spread) GetAttributeOk

func (o *Spread) GetAttributeOk() (*string, bool)

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) GetWeight

func (o *Spread) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*Spread) GetWeightOk

func (o *Spread) GetWeightOk() (*int32, bool)

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

func (o *Spread) HasAttribute() bool

HasAttribute returns a boolean if a field has been set.

func (*Spread) HasSpreadTarget

func (o *Spread) HasSpreadTarget() bool

HasSpreadTarget returns a boolean if a field has been set.

func (*Spread) HasWeight

func (o *Spread) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (Spread) MarshalJSON

func (o Spread) MarshalJSON() ([]byte, error)

func (*Spread) SetAttribute

func (o *Spread) SetAttribute(v string)

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.

func (*Spread) SetWeight

func (o *Spread) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight 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

func (o *Task) GetAffinities() []Affinity

GetAffinities returns the Affinities field value if set, zero value otherwise.

func (*Task) GetAffinitiesOk

func (o *Task) 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 (*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) GetConfig

func (o *Task) GetConfig() map[string]map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*Task) GetConfigOk

func (o *Task) 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 (*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) GetDriver

func (o *Task) GetDriver() string

GetDriver returns the Driver field value if set, zero value otherwise.

func (*Task) GetDriverOk

func (o *Task) 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 (*Task) GetEnv

func (o *Task) GetEnv() map[string]string

GetEnv returns the Env field value if set, zero value otherwise.

func (*Task) GetEnvOk

func (o *Task) 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 (*Task) GetKillSignal

func (o *Task) GetKillSignal() string

GetKillSignal returns the KillSignal field value if set, zero value otherwise.

func (*Task) GetKillSignalOk

func (o *Task) 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 (*Task) GetKillTimeout

func (o *Task) GetKillTimeout() int64

GetKillTimeout returns the KillTimeout field value if set, zero value otherwise.

func (*Task) GetKillTimeoutOk

func (o *Task) 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 (*Task) GetKind

func (o *Task) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Task) GetKindOk

func (o *Task) GetKindOk() (*string, bool)

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) GetLeader

func (o *Task) GetLeader() bool

GetLeader returns the Leader field value if set, zero value otherwise.

func (*Task) GetLeaderOk

func (o *Task) GetLeaderOk() (*bool, bool)

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

func (o *Task) GetLogConfig() LogConfig

GetLogConfig returns the LogConfig field value if set, zero value otherwise.

func (*Task) GetLogConfigOk

func (o *Task) 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 (*Task) GetMeta

func (o *Task) GetMeta() map[string]string

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Task) GetMetaOk

func (o *Task) 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 (*Task) GetName

func (o *Task) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Task) GetNameOk

func (o *Task) 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 (*Task) GetResources

func (o *Task) GetResources() Resources

GetResources returns the Resources field value if set, zero value otherwise.

func (*Task) GetResourcesOk

func (o *Task) 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 (*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

func (o *Task) GetServices() []Service

GetServices returns the Services field value if set, zero value otherwise.

func (*Task) GetServicesOk

func (o *Task) GetServicesOk() (*[]Service, 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 (*Task) GetShutdownDelay

func (o *Task) GetShutdownDelay() int64

GetShutdownDelay returns the ShutdownDelay field value if set, zero value otherwise.

func (*Task) GetShutdownDelayOk

func (o *Task) 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 (*Task) GetTemplates

func (o *Task) GetTemplates() []Template

GetTemplates returns the Templates field value if set, zero value otherwise.

func (*Task) GetTemplatesOk

func (o *Task) GetTemplatesOk() (*[]Template, bool)

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) GetUser

func (o *Task) GetUser() string

GetUser returns the User field value if set, zero value otherwise.

func (*Task) GetUserOk

func (o *Task) 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 (*Task) GetVault

func (o *Task) GetVault() Vault

GetVault returns the Vault field value if set, zero value otherwise.

func (*Task) GetVaultOk

func (o *Task) GetVaultOk() (*Vault, bool)

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

func (o *Task) HasAffinities() bool

HasAffinities returns a boolean if a field has been set.

func (*Task) HasArtifacts

func (o *Task) HasArtifacts() bool

HasArtifacts returns a boolean if a field has been set.

func (*Task) HasCSIPluginConfig

func (o *Task) HasCSIPluginConfig() bool

HasCSIPluginConfig returns a boolean if a field has been set.

func (*Task) HasConfig

func (o *Task) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Task) HasConstraints

func (o *Task) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*Task) HasDispatchPayload

func (o *Task) HasDispatchPayload() bool

HasDispatchPayload returns a boolean if a field has been set.

func (*Task) HasDriver

func (o *Task) HasDriver() bool

HasDriver returns a boolean if a field has been set.

func (*Task) HasEnv

func (o *Task) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*Task) HasKillSignal

func (o *Task) HasKillSignal() bool

HasKillSignal returns a boolean if a field has been set.

func (*Task) HasKillTimeout

func (o *Task) HasKillTimeout() bool

HasKillTimeout returns a boolean if a field has been set.

func (*Task) HasKind

func (o *Task) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Task) HasLeader

func (o *Task) HasLeader() bool

HasLeader returns a boolean if a field has been set.

func (*Task) HasLifecycle

func (o *Task) HasLifecycle() bool

HasLifecycle returns a boolean if a field has been set.

func (*Task) HasLogConfig

func (o *Task) HasLogConfig() bool

HasLogConfig returns a boolean if a field has been set.

func (*Task) HasMeta

func (o *Task) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Task) HasName

func (o *Task) HasName() bool

HasName returns a boolean if a field has been set.

func (*Task) HasResources

func (o *Task) HasResources() bool

HasResources returns a boolean if a field has been set.

func (*Task) HasRestartPolicy

func (o *Task) HasRestartPolicy() bool

HasRestartPolicy returns a boolean if a field has been set.

func (*Task) HasScalingPolicies

func (o *Task) HasScalingPolicies() bool

HasScalingPolicies returns a boolean if a field has been set.

func (*Task) HasServices

func (o *Task) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*Task) HasShutdownDelay

func (o *Task) HasShutdownDelay() bool

HasShutdownDelay returns a boolean if a field has been set.

func (*Task) HasTemplates

func (o *Task) HasTemplates() bool

HasTemplates returns a boolean if a field has been set.

func (*Task) HasUser

func (o *Task) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*Task) HasVault

func (o *Task) HasVault() bool

HasVault returns a boolean if a field has been set.

func (*Task) HasVolumeMounts

func (o *Task) HasVolumeMounts() bool

HasVolumeMounts returns a boolean if a field has been set.

func (Task) MarshalJSON

func (o Task) MarshalJSON() ([]byte, error)

func (*Task) SetAffinities

func (o *Task) SetAffinities(v []Affinity)

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

func (o *Task) 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 (*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

func (o *Task) SetDriver(v string)

SetDriver gets a reference to the given string and assigns it to the Driver field.

func (*Task) SetEnv

func (o *Task) SetEnv(v map[string]string)

SetEnv gets a reference to the given map[string]string and assigns it to the Env field.

func (*Task) SetKillSignal

func (o *Task) SetKillSignal(v string)

SetKillSignal gets a reference to the given string and assigns it to the KillSignal field.

func (*Task) SetKillTimeout

func (o *Task) SetKillTimeout(v int64)

SetKillTimeout gets a reference to the given int64 and assigns it to the KillTimeout field.

func (*Task) SetKind

func (o *Task) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Task) SetLeader

func (o *Task) SetLeader(v bool)

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

func (o *Task) SetLogConfig(v LogConfig)

SetLogConfig gets a reference to the given LogConfig and assigns it to the LogConfig field.

func (*Task) SetMeta

func (o *Task) SetMeta(v map[string]string)

SetMeta gets a reference to the given map[string]string and assigns it to the Meta field.

func (*Task) SetName

func (o *Task) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Task) SetResources

func (o *Task) SetResources(v Resources)

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

func (o *Task) SetServices(v []Service)

SetServices gets a reference to the given []Service and assigns it to the Services field.

func (*Task) SetShutdownDelay

func (o *Task) SetShutdownDelay(v int64)

SetShutdownDelay gets a reference to the given int64 and assigns it to the ShutdownDelay field.

func (*Task) SetTemplates

func (o *Task) SetTemplates(v []Template)

SetTemplates gets a reference to the given []Template and assigns it to the Templates field.

func (*Task) SetUser

func (o *Task) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*Task) SetVault

func (o *Task) SetVault(v Vault)

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

func (o *TaskDiff) GetAnnotations() []string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*TaskDiff) GetAnnotationsOk

func (o *TaskDiff) GetAnnotationsOk() (*[]string, 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 (*TaskDiff) GetFields

func (o *TaskDiff) GetFields() []FieldDiff

GetFields returns the Fields field value if set, zero value otherwise.

func (*TaskDiff) GetFieldsOk

func (o *TaskDiff) 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 (*TaskDiff) GetName

func (o *TaskDiff) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TaskDiff) GetNameOk

func (o *TaskDiff) 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 (*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) GetType

func (o *TaskDiff) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TaskDiff) GetTypeOk

func (o *TaskDiff) 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 (*TaskDiff) HasAnnotations

func (o *TaskDiff) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*TaskDiff) HasFields

func (o *TaskDiff) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*TaskDiff) HasName

func (o *TaskDiff) HasName() bool

HasName returns a boolean if a field has been set.

func (*TaskDiff) HasObjects

func (o *TaskDiff) HasObjects() bool

HasObjects returns a boolean if a field has been set.

func (*TaskDiff) HasType

func (o *TaskDiff) HasType() bool

HasType returns a boolean if a field has been set.

func (TaskDiff) MarshalJSON

func (o TaskDiff) MarshalJSON() ([]byte, error)

func (*TaskDiff) SetAnnotations

func (o *TaskDiff) SetAnnotations(v []string)

SetAnnotations gets a reference to the given []string and assigns it to the Annotations field.

func (*TaskDiff) SetFields

func (o *TaskDiff) SetFields(v []FieldDiff)

SetFields gets a reference to the given []FieldDiff and assigns it to the Fields field.

func (*TaskDiff) SetName

func (o *TaskDiff) SetName(v string)

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.

func (*TaskDiff) SetType

func (o *TaskDiff) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type 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

func (o *TaskEvent) GetDetails() map[string]string

GetDetails returns the Details field value if set, zero value otherwise.

func (*TaskEvent) GetDetailsOk

func (o *TaskEvent) GetDetailsOk() (*map[string]string, bool)

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

func (o *TaskEvent) GetDiskLimit() int64

GetDiskLimit returns the DiskLimit field value if set, zero value otherwise.

func (*TaskEvent) GetDiskLimitOk

func (o *TaskEvent) GetDiskLimitOk() (*int64, bool)

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

func (o *TaskEvent) GetDisplayMessage() string

GetDisplayMessage returns the DisplayMessage field value if set, zero value otherwise.

func (*TaskEvent) GetDisplayMessageOk

func (o *TaskEvent) GetDisplayMessageOk() (*string, bool)

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

func (o *TaskEvent) GetDownloadError() string

GetDownloadError returns the DownloadError field value if set, zero value otherwise.

func (*TaskEvent) GetDownloadErrorOk

func (o *TaskEvent) GetDownloadErrorOk() (*string, bool)

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

func (o *TaskEvent) GetDriverError() string

GetDriverError returns the DriverError field value if set, zero value otherwise.

func (*TaskEvent) GetDriverErrorOk

func (o *TaskEvent) GetDriverErrorOk() (*string, bool)

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

func (o *TaskEvent) GetDriverMessage() string

GetDriverMessage returns the DriverMessage field value if set, zero value otherwise.

func (*TaskEvent) GetDriverMessageOk

func (o *TaskEvent) GetDriverMessageOk() (*string, bool)

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

func (o *TaskEvent) GetExitCode() int64

GetExitCode returns the ExitCode field value if set, zero value otherwise.

func (*TaskEvent) GetExitCodeOk

func (o *TaskEvent) GetExitCodeOk() (*int64, bool)

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

func (o *TaskEvent) GetFailedSibling() string

GetFailedSibling returns the FailedSibling field value if set, zero value otherwise.

func (*TaskEvent) GetFailedSiblingOk

func (o *TaskEvent) GetFailedSiblingOk() (*string, bool)

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

func (o *TaskEvent) GetFailsTask() bool

GetFailsTask returns the FailsTask field value if set, zero value otherwise.

func (*TaskEvent) GetFailsTaskOk

func (o *TaskEvent) GetFailsTaskOk() (*bool, bool)

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

func (o *TaskEvent) GetGenericSource() string

GetGenericSource returns the GenericSource field value if set, zero value otherwise.

func (*TaskEvent) GetGenericSourceOk

func (o *TaskEvent) GetGenericSourceOk() (*string, bool)

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

func (o *TaskEvent) GetKillError() string

GetKillError returns the KillError field value if set, zero value otherwise.

func (*TaskEvent) GetKillErrorOk

func (o *TaskEvent) GetKillErrorOk() (*string, bool)

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

func (o *TaskEvent) GetKillReason() string

GetKillReason returns the KillReason field value if set, zero value otherwise.

func (*TaskEvent) GetKillReasonOk

func (o *TaskEvent) GetKillReasonOk() (*string, bool)

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

func (o *TaskEvent) GetKillTimeout() int64

GetKillTimeout returns the KillTimeout field value if set, zero value otherwise.

func (*TaskEvent) GetKillTimeoutOk

func (o *TaskEvent) 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 (*TaskEvent) GetMessage

func (o *TaskEvent) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*TaskEvent) GetMessageOk

func (o *TaskEvent) 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 (*TaskEvent) GetRestartReason

func (o *TaskEvent) GetRestartReason() string

GetRestartReason returns the RestartReason field value if set, zero value otherwise.

func (*TaskEvent) GetRestartReasonOk

func (o *TaskEvent) GetRestartReasonOk() (*string, bool)

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

func (o *TaskEvent) GetSetupError() string

GetSetupError returns the SetupError field value if set, zero value otherwise.

func (*TaskEvent) GetSetupErrorOk

func (o *TaskEvent) GetSetupErrorOk() (*string, bool)

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

func (o *TaskEvent) GetSignal() int64

GetSignal returns the Signal field value if set, zero value otherwise.

func (*TaskEvent) GetSignalOk

func (o *TaskEvent) GetSignalOk() (*int64, bool)

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

func (o *TaskEvent) GetStartDelay() int64

GetStartDelay returns the StartDelay field value if set, zero value otherwise.

func (*TaskEvent) GetStartDelayOk

func (o *TaskEvent) GetStartDelayOk() (*int64, bool)

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

func (o *TaskEvent) GetTaskSignal() string

GetTaskSignal returns the TaskSignal field value if set, zero value otherwise.

func (*TaskEvent) GetTaskSignalOk

func (o *TaskEvent) GetTaskSignalOk() (*string, bool)

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

func (o *TaskEvent) GetTaskSignalReason() string

GetTaskSignalReason returns the TaskSignalReason field value if set, zero value otherwise.

func (*TaskEvent) GetTaskSignalReasonOk

func (o *TaskEvent) GetTaskSignalReasonOk() (*string, bool)

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) GetTime

func (o *TaskEvent) GetTime() int64

GetTime returns the Time field value if set, zero value otherwise.

func (*TaskEvent) GetTimeOk

func (o *TaskEvent) GetTimeOk() (*int64, bool)

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) GetType

func (o *TaskEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TaskEvent) GetTypeOk

func (o *TaskEvent) 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 (*TaskEvent) GetValidationError

func (o *TaskEvent) GetValidationError() string

GetValidationError returns the ValidationError field value if set, zero value otherwise.

func (*TaskEvent) GetValidationErrorOk

func (o *TaskEvent) GetValidationErrorOk() (*string, bool)

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

func (o *TaskEvent) GetVaultError() string

GetVaultError returns the VaultError field value if set, zero value otherwise.

func (*TaskEvent) GetVaultErrorOk

func (o *TaskEvent) GetVaultErrorOk() (*string, bool)

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

func (o *TaskEvent) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*TaskEvent) HasDiskLimit

func (o *TaskEvent) HasDiskLimit() bool

HasDiskLimit returns a boolean if a field has been set.

func (*TaskEvent) HasDisplayMessage

func (o *TaskEvent) HasDisplayMessage() bool

HasDisplayMessage returns a boolean if a field has been set.

func (*TaskEvent) HasDownloadError

func (o *TaskEvent) HasDownloadError() bool

HasDownloadError returns a boolean if a field has been set.

func (*TaskEvent) HasDriverError

func (o *TaskEvent) HasDriverError() bool

HasDriverError returns a boolean if a field has been set.

func (*TaskEvent) HasDriverMessage

func (o *TaskEvent) HasDriverMessage() bool

HasDriverMessage returns a boolean if a field has been set.

func (*TaskEvent) HasExitCode

func (o *TaskEvent) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

func (*TaskEvent) HasFailedSibling

func (o *TaskEvent) HasFailedSibling() bool

HasFailedSibling returns a boolean if a field has been set.

func (*TaskEvent) HasFailsTask

func (o *TaskEvent) HasFailsTask() bool

HasFailsTask returns a boolean if a field has been set.

func (*TaskEvent) HasGenericSource

func (o *TaskEvent) HasGenericSource() bool

HasGenericSource returns a boolean if a field has been set.

func (*TaskEvent) HasKillError

func (o *TaskEvent) HasKillError() bool

HasKillError returns a boolean if a field has been set.

func (*TaskEvent) HasKillReason

func (o *TaskEvent) HasKillReason() bool

HasKillReason returns a boolean if a field has been set.

func (*TaskEvent) HasKillTimeout

func (o *TaskEvent) HasKillTimeout() bool

HasKillTimeout returns a boolean if a field has been set.

func (*TaskEvent) HasMessage

func (o *TaskEvent) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*TaskEvent) HasRestartReason

func (o *TaskEvent) HasRestartReason() bool

HasRestartReason returns a boolean if a field has been set.

func (*TaskEvent) HasSetupError

func (o *TaskEvent) HasSetupError() bool

HasSetupError returns a boolean if a field has been set.

func (*TaskEvent) HasSignal

func (o *TaskEvent) HasSignal() bool

HasSignal returns a boolean if a field has been set.

func (*TaskEvent) HasStartDelay

func (o *TaskEvent) HasStartDelay() bool

HasStartDelay returns a boolean if a field has been set.

func (*TaskEvent) HasTaskSignal

func (o *TaskEvent) HasTaskSignal() bool

HasTaskSignal returns a boolean if a field has been set.

func (*TaskEvent) HasTaskSignalReason

func (o *TaskEvent) HasTaskSignalReason() bool

HasTaskSignalReason returns a boolean if a field has been set.

func (*TaskEvent) HasTime

func (o *TaskEvent) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*TaskEvent) HasType

func (o *TaskEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (*TaskEvent) HasValidationError

func (o *TaskEvent) HasValidationError() bool

HasValidationError returns a boolean if a field has been set.

func (*TaskEvent) HasVaultError

func (o *TaskEvent) HasVaultError() bool

HasVaultError returns a boolean if a field has been set.

func (TaskEvent) MarshalJSON

func (o TaskEvent) MarshalJSON() ([]byte, error)

func (*TaskEvent) SetDetails

func (o *TaskEvent) SetDetails(v map[string]string)

SetDetails gets a reference to the given map[string]string and assigns it to the Details field.

func (*TaskEvent) SetDiskLimit

func (o *TaskEvent) SetDiskLimit(v int64)

SetDiskLimit gets a reference to the given int64 and assigns it to the DiskLimit field.

func (*TaskEvent) SetDisplayMessage

func (o *TaskEvent) SetDisplayMessage(v string)

SetDisplayMessage gets a reference to the given string and assigns it to the DisplayMessage field.

func (*TaskEvent) SetDownloadError

func (o *TaskEvent) SetDownloadError(v string)

SetDownloadError gets a reference to the given string and assigns it to the DownloadError field.

func (*TaskEvent) SetDriverError

func (o *TaskEvent) SetDriverError(v string)

SetDriverError gets a reference to the given string and assigns it to the DriverError field.

func (*TaskEvent) SetDriverMessage

func (o *TaskEvent) SetDriverMessage(v string)

SetDriverMessage gets a reference to the given string and assigns it to the DriverMessage field.

func (*TaskEvent) SetExitCode

func (o *TaskEvent) SetExitCode(v int64)

SetExitCode gets a reference to the given int64 and assigns it to the ExitCode field.

func (*TaskEvent) SetFailedSibling

func (o *TaskEvent) SetFailedSibling(v string)

SetFailedSibling gets a reference to the given string and assigns it to the FailedSibling field.

func (*TaskEvent) SetFailsTask

func (o *TaskEvent) SetFailsTask(v bool)

SetFailsTask gets a reference to the given bool and assigns it to the FailsTask field.

func (*TaskEvent) SetGenericSource

func (o *TaskEvent) SetGenericSource(v string)

SetGenericSource gets a reference to the given string and assigns it to the GenericSource field.

func (*TaskEvent) SetKillError

func (o *TaskEvent) SetKillError(v string)

SetKillError gets a reference to the given string and assigns it to the KillError field.

func (*TaskEvent) SetKillReason

func (o *TaskEvent) SetKillReason(v string)

SetKillReason gets a reference to the given string and assigns it to the KillReason field.

func (*TaskEvent) SetKillTimeout

func (o *TaskEvent) SetKillTimeout(v int64)

SetKillTimeout gets a reference to the given int64 and assigns it to the KillTimeout field.

func (*TaskEvent) SetMessage

func (o *TaskEvent) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*TaskEvent) SetRestartReason

func (o *TaskEvent) SetRestartReason(v string)

SetRestartReason gets a reference to the given string and assigns it to the RestartReason field.

func (*TaskEvent) SetSetupError

func (o *TaskEvent) SetSetupError(v string)

SetSetupError gets a reference to the given string and assigns it to the SetupError field.

func (*TaskEvent) SetSignal

func (o *TaskEvent) SetSignal(v int64)

SetSignal gets a reference to the given int64 and assigns it to the Signal field.

func (*TaskEvent) SetStartDelay

func (o *TaskEvent) SetStartDelay(v int64)

SetStartDelay gets a reference to the given int64 and assigns it to the StartDelay field.

func (*TaskEvent) SetTaskSignal

func (o *TaskEvent) SetTaskSignal(v string)

SetTaskSignal gets a reference to the given string and assigns it to the TaskSignal field.

func (*TaskEvent) SetTaskSignalReason

func (o *TaskEvent) SetTaskSignalReason(v string)

SetTaskSignalReason gets a reference to the given string and assigns it to the TaskSignalReason field.

func (*TaskEvent) SetTime

func (o *TaskEvent) SetTime(v int64)

SetTime gets a reference to the given int64 and assigns it to the Time field.

func (*TaskEvent) SetType

func (o *TaskEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*TaskEvent) SetValidationError

func (o *TaskEvent) SetValidationError(v string)

SetValidationError gets a reference to the given string and assigns it to the ValidationError field.

func (*TaskEvent) SetVaultError

func (o *TaskEvent) SetVaultError(v string)

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

func (o *TaskGroup) GetAffinities() []Affinity

GetAffinities returns the Affinities field value if set, zero value otherwise.

func (*TaskGroup) GetAffinitiesOk

func (o *TaskGroup) 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 (*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

func (o *TaskGroup) GetConsul() Consul

GetConsul returns the Consul field value if set, zero value otherwise.

func (*TaskGroup) GetConsulOk

func (o *TaskGroup) GetConsulOk() (*Consul, bool)

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) GetCount

func (o *TaskGroup) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*TaskGroup) GetCountOk

func (o *TaskGroup) 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 (*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) GetMeta

func (o *TaskGroup) GetMeta() map[string]string

GetMeta returns the Meta field value if set, zero value otherwise.

func (*TaskGroup) GetMetaOk

func (o *TaskGroup) 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 (*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) GetName

func (o *TaskGroup) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TaskGroup) GetNameOk

func (o *TaskGroup) 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 (*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

func (o *TaskGroup) GetServices() []Service

GetServices returns the Services field value if set, zero value otherwise.

func (*TaskGroup) GetServicesOk

func (o *TaskGroup) GetServicesOk() (*[]Service, 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 (*TaskGroup) GetShutdownDelay

func (o *TaskGroup) GetShutdownDelay() int64

GetShutdownDelay returns the ShutdownDelay field value if set, zero value otherwise.

func (*TaskGroup) GetShutdownDelayOk

func (o *TaskGroup) 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 (*TaskGroup) GetSpreads

func (o *TaskGroup) GetSpreads() []Spread

GetSpreads returns the Spreads field value if set, zero value otherwise.

func (*TaskGroup) GetSpreadsOk

func (o *TaskGroup) GetSpreadsOk() (*[]Spread, bool)

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

func (o *TaskGroup) GetStopAfterClientDisconnect() int64

GetStopAfterClientDisconnect returns the StopAfterClientDisconnect field value if set, zero value otherwise.

func (*TaskGroup) GetStopAfterClientDisconnectOk

func (o *TaskGroup) GetStopAfterClientDisconnectOk() (*int64, bool)

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) GetTasks

func (o *TaskGroup) GetTasks() []Task

GetTasks returns the Tasks field value if set, zero value otherwise.

func (*TaskGroup) GetTasksOk

func (o *TaskGroup) GetTasksOk() (*[]Task, 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 (*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

func (o *TaskGroup) HasAffinities() bool

HasAffinities returns a boolean if a field has been set.

func (*TaskGroup) HasConstraints

func (o *TaskGroup) HasConstraints() bool

HasConstraints returns a boolean if a field has been set.

func (*TaskGroup) HasConsul

func (o *TaskGroup) HasConsul() bool

HasConsul returns a boolean if a field has been set.

func (*TaskGroup) HasCount

func (o *TaskGroup) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*TaskGroup) HasEphemeralDisk

func (o *TaskGroup) HasEphemeralDisk() bool

HasEphemeralDisk returns a boolean if a field has been set.

func (*TaskGroup) HasMeta

func (o *TaskGroup) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*TaskGroup) HasMigrate

func (o *TaskGroup) HasMigrate() bool

HasMigrate returns a boolean if a field has been set.

func (*TaskGroup) HasName

func (o *TaskGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (*TaskGroup) HasNetworks

func (o *TaskGroup) HasNetworks() bool

HasNetworks returns a boolean if a field has been set.

func (*TaskGroup) HasReschedulePolicy

func (o *TaskGroup) HasReschedulePolicy() bool

HasReschedulePolicy returns a boolean if a field has been set.

func (*TaskGroup) HasRestartPolicy

func (o *TaskGroup) HasRestartPolicy() bool

HasRestartPolicy returns a boolean if a field has been set.

func (*TaskGroup) HasScaling

func (o *TaskGroup) HasScaling() bool

HasScaling returns a boolean if a field has been set.

func (*TaskGroup) HasServices

func (o *TaskGroup) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*TaskGroup) HasShutdownDelay

func (o *TaskGroup) HasShutdownDelay() bool

HasShutdownDelay returns a boolean if a field has been set.

func (*TaskGroup) HasSpreads

func (o *TaskGroup) HasSpreads() bool

HasSpreads returns a boolean if a field has been set.

func (*TaskGroup) HasStopAfterClientDisconnect

func (o *TaskGroup) HasStopAfterClientDisconnect() bool

HasStopAfterClientDisconnect returns a boolean if a field has been set.

func (*TaskGroup) HasTasks

func (o *TaskGroup) HasTasks() bool

HasTasks returns a boolean if a field has been set.

func (*TaskGroup) HasUpdate

func (o *TaskGroup) HasUpdate() bool

HasUpdate returns a boolean if a field has been set.

func (*TaskGroup) HasVolumes

func (o *TaskGroup) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (TaskGroup) MarshalJSON

func (o TaskGroup) MarshalJSON() ([]byte, error)

func (*TaskGroup) SetAffinities

func (o *TaskGroup) SetAffinities(v []Affinity)

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

func (o *TaskGroup) SetConsul(v Consul)

SetConsul gets a reference to the given Consul and assigns it to the Consul field.

func (*TaskGroup) SetCount

func (o *TaskGroup) SetCount(v int64)

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

func (o *TaskGroup) SetMeta(v map[string]string)

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

func (o *TaskGroup) SetName(v string)

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

func (o *TaskGroup) SetServices(v []Service)

SetServices gets a reference to the given []Service and assigns it to the Services field.

func (*TaskGroup) SetShutdownDelay

func (o *TaskGroup) SetShutdownDelay(v int64)

SetShutdownDelay gets a reference to the given int64 and assigns it to the ShutdownDelay field.

func (*TaskGroup) SetSpreads

func (o *TaskGroup) SetSpreads(v []Spread)

SetSpreads gets a reference to the given []Spread and assigns it to the Spreads field.

func (*TaskGroup) SetStopAfterClientDisconnect

func (o *TaskGroup) SetStopAfterClientDisconnect(v int64)

SetStopAfterClientDisconnect gets a reference to the given int64 and assigns it to the StopAfterClientDisconnect field.

func (*TaskGroup) SetTasks

func (o *TaskGroup) SetTasks(v []Task)

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

func (o *TaskState) GetEvents() []TaskEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*TaskState) GetEventsOk

func (o *TaskState) GetEventsOk() (*[]TaskEvent, 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 (*TaskState) GetFailed

func (o *TaskState) GetFailed() bool

GetFailed returns the Failed field value if set, zero value otherwise.

func (*TaskState) GetFailedOk

func (o *TaskState) GetFailedOk() (*bool, 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 (*TaskState) GetFinishedAt

func (o *TaskState) GetFinishedAt() time.Time

GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.

func (*TaskState) GetFinishedAtOk

func (o *TaskState) GetFinishedAtOk() (*time.Time, bool)

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

func (o *TaskState) GetLastRestart() time.Time

GetLastRestart returns the LastRestart field value if set, zero value otherwise.

func (*TaskState) GetLastRestartOk

func (o *TaskState) GetLastRestartOk() (*time.Time, bool)

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

func (o *TaskState) GetRestarts() int32

GetRestarts returns the Restarts field value if set, zero value otherwise.

func (*TaskState) GetRestartsOk

func (o *TaskState) GetRestartsOk() (*int32, bool)

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

func (o *TaskState) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value if set, zero value otherwise.

func (*TaskState) GetStartedAtOk

func (o *TaskState) GetStartedAtOk() (*time.Time, bool)

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) GetState

func (o *TaskState) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TaskState) GetStateOk

func (o *TaskState) GetStateOk() (*string, bool)

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) HasEvents

func (o *TaskState) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*TaskState) HasFailed

func (o *TaskState) HasFailed() bool

HasFailed returns a boolean if a field has been set.

func (*TaskState) HasFinishedAt

func (o *TaskState) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*TaskState) HasLastRestart

func (o *TaskState) HasLastRestart() bool

HasLastRestart returns a boolean if a field has been set.

func (*TaskState) HasRestarts

func (o *TaskState) HasRestarts() bool

HasRestarts returns a boolean if a field has been set.

func (*TaskState) HasStartedAt

func (o *TaskState) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

func (*TaskState) HasState

func (o *TaskState) HasState() bool

HasState returns a boolean if a field has been set.

func (*TaskState) HasTaskHandle

func (o *TaskState) HasTaskHandle() bool

HasTaskHandle returns a boolean if a field has been set.

func (TaskState) MarshalJSON

func (o TaskState) MarshalJSON() ([]byte, error)

func (*TaskState) SetEvents

func (o *TaskState) SetEvents(v []TaskEvent)

SetEvents gets a reference to the given []TaskEvent and assigns it to the Events field.

func (*TaskState) SetFailed

func (o *TaskState) SetFailed(v bool)

SetFailed gets a reference to the given bool and assigns it to the Failed field.

func (*TaskState) SetFinishedAt

func (o *TaskState) SetFinishedAt(v time.Time)

SetFinishedAt gets a reference to the given time.Time and assigns it to the FinishedAt field.

func (*TaskState) SetLastRestart

func (o *TaskState) SetLastRestart(v time.Time)

SetLastRestart gets a reference to the given time.Time and assigns it to the LastRestart field.

func (*TaskState) SetRestarts

func (o *TaskState) SetRestarts(v int32)

SetRestarts gets a reference to the given int32 and assigns it to the Restarts field.

func (*TaskState) SetStartedAt

func (o *TaskState) SetStartedAt(v time.Time)

SetStartedAt gets a reference to the given time.Time and assigns it to the StartedAt field.

func (*TaskState) SetState

func (o *TaskState) SetState(v string)

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

func (o *Template) GetChangeMode() string

GetChangeMode returns the ChangeMode field value if set, zero value otherwise.

func (*Template) GetChangeModeOk

func (o *Template) GetChangeModeOk() (*string, bool)

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

func (o *Template) GetChangeSignal() string

GetChangeSignal returns the ChangeSignal field value if set, zero value otherwise.

func (*Template) GetChangeSignalOk

func (o *Template) GetChangeSignalOk() (*string, bool)

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

func (o *Template) GetDestPath() string

GetDestPath returns the DestPath field value if set, zero value otherwise.

func (*Template) GetDestPathOk

func (o *Template) GetDestPathOk() (*string, bool)

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

func (o *Template) GetEmbeddedTmpl() string

GetEmbeddedTmpl returns the EmbeddedTmpl field value if set, zero value otherwise.

func (*Template) GetEmbeddedTmplOk

func (o *Template) GetEmbeddedTmplOk() (*string, bool)

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

func (o *Template) GetEnvvars() bool

GetEnvvars returns the Envvars field value if set, zero value otherwise.

func (*Template) GetEnvvarsOk

func (o *Template) GetEnvvarsOk() (*bool, bool)

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

func (o *Template) GetLeftDelim() string

GetLeftDelim returns the LeftDelim field value if set, zero value otherwise.

func (*Template) GetLeftDelimOk

func (o *Template) GetLeftDelimOk() (*string, bool)

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) GetPerms

func (o *Template) GetPerms() string

GetPerms returns the Perms field value if set, zero value otherwise.

func (*Template) GetPermsOk

func (o *Template) GetPermsOk() (*string, bool)

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

func (o *Template) GetRightDelim() string

GetRightDelim returns the RightDelim field value if set, zero value otherwise.

func (*Template) GetRightDelimOk

func (o *Template) GetRightDelimOk() (*string, bool)

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

func (o *Template) GetSourcePath() string

GetSourcePath returns the SourcePath field value if set, zero value otherwise.

func (*Template) GetSourcePathOk

func (o *Template) GetSourcePathOk() (*string, bool)

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) GetSplay

func (o *Template) GetSplay() int64

GetSplay returns the Splay field value if set, zero value otherwise.

func (*Template) GetSplayOk

func (o *Template) GetSplayOk() (*int64, bool)

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

func (o *Template) GetVaultGrace() int64

GetVaultGrace returns the VaultGrace field value if set, zero value otherwise.

func (*Template) GetVaultGraceOk

func (o *Template) GetVaultGraceOk() (*int64, bool)

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

func (o *Template) HasChangeMode() bool

HasChangeMode returns a boolean if a field has been set.

func (*Template) HasChangeSignal

func (o *Template) HasChangeSignal() bool

HasChangeSignal returns a boolean if a field has been set.

func (*Template) HasDestPath

func (o *Template) HasDestPath() bool

HasDestPath returns a boolean if a field has been set.

func (*Template) HasEmbeddedTmpl

func (o *Template) HasEmbeddedTmpl() bool

HasEmbeddedTmpl returns a boolean if a field has been set.

func (*Template) HasEnvvars

func (o *Template) HasEnvvars() bool

HasEnvvars returns a boolean if a field has been set.

func (*Template) HasLeftDelim

func (o *Template) HasLeftDelim() bool

HasLeftDelim returns a boolean if a field has been set.

func (*Template) HasPerms

func (o *Template) HasPerms() bool

HasPerms returns a boolean if a field has been set.

func (*Template) HasRightDelim

func (o *Template) HasRightDelim() bool

HasRightDelim returns a boolean if a field has been set.

func (*Template) HasSourcePath

func (o *Template) HasSourcePath() bool

HasSourcePath returns a boolean if a field has been set.

func (*Template) HasSplay

func (o *Template) HasSplay() bool

HasSplay returns a boolean if a field has been set.

func (*Template) HasVaultGrace

func (o *Template) HasVaultGrace() bool

HasVaultGrace returns a boolean if a field has been set.

func (Template) MarshalJSON

func (o Template) MarshalJSON() ([]byte, error)

func (*Template) SetChangeMode

func (o *Template) SetChangeMode(v string)

SetChangeMode gets a reference to the given string and assigns it to the ChangeMode field.

func (*Template) SetChangeSignal

func (o *Template) SetChangeSignal(v string)

SetChangeSignal gets a reference to the given string and assigns it to the ChangeSignal field.

func (*Template) SetDestPath

func (o *Template) SetDestPath(v string)

SetDestPath gets a reference to the given string and assigns it to the DestPath field.

func (*Template) SetEmbeddedTmpl

func (o *Template) SetEmbeddedTmpl(v string)

SetEmbeddedTmpl gets a reference to the given string and assigns it to the EmbeddedTmpl field.

func (*Template) SetEnvvars

func (o *Template) SetEnvvars(v bool)

SetEnvvars gets a reference to the given bool and assigns it to the Envvars field.

func (*Template) SetLeftDelim

func (o *Template) SetLeftDelim(v string)

SetLeftDelim gets a reference to the given string and assigns it to the LeftDelim field.

func (*Template) SetPerms

func (o *Template) SetPerms(v string)

SetPerms gets a reference to the given string and assigns it to the Perms field.

func (*Template) SetRightDelim

func (o *Template) SetRightDelim(v string)

SetRightDelim gets a reference to the given string and assigns it to the RightDelim field.

func (*Template) SetSourcePath

func (o *Template) SetSourcePath(v string)

SetSourcePath gets a reference to the given string and assigns it to the SourcePath field.

func (*Template) SetSplay

func (o *Template) SetSplay(v int64)

SetSplay gets a reference to the given int64 and assigns it to the Splay field.

func (*Template) SetVaultGrace

func (o *Template) SetVaultGrace(v int64)

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

func (o *Vault) GetChangeMode() string

GetChangeMode returns the ChangeMode field value if set, zero value otherwise.

func (*Vault) GetChangeModeOk

func (o *Vault) GetChangeModeOk() (*string, bool)

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

func (o *Vault) GetChangeSignal() string

GetChangeSignal returns the ChangeSignal field value if set, zero value otherwise.

func (*Vault) GetChangeSignalOk

func (o *Vault) GetChangeSignalOk() (*string, bool)

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) GetEnv

func (o *Vault) GetEnv() bool

GetEnv returns the Env field value if set, zero value otherwise.

func (*Vault) GetEnvOk

func (o *Vault) GetEnvOk() (*bool, 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 (*Vault) GetNamespace

func (o *Vault) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*Vault) GetNamespaceOk

func (o *Vault) 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 (*Vault) GetPolicies

func (o *Vault) GetPolicies() []string

GetPolicies returns the Policies field value if set, zero value otherwise.

func (*Vault) GetPoliciesOk

func (o *Vault) GetPoliciesOk() (*[]string, bool)

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

func (o *Vault) HasChangeMode() bool

HasChangeMode returns a boolean if a field has been set.

func (*Vault) HasChangeSignal

func (o *Vault) HasChangeSignal() bool

HasChangeSignal returns a boolean if a field has been set.

func (*Vault) HasEnv

func (o *Vault) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*Vault) HasNamespace

func (o *Vault) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Vault) HasPolicies

func (o *Vault) HasPolicies() bool

HasPolicies returns a boolean if a field has been set.

func (Vault) MarshalJSON

func (o Vault) MarshalJSON() ([]byte, error)

func (*Vault) SetChangeMode

func (o *Vault) SetChangeMode(v string)

SetChangeMode gets a reference to the given string and assigns it to the ChangeMode field.

func (*Vault) SetChangeSignal

func (o *Vault) SetChangeSignal(v string)

SetChangeSignal gets a reference to the given string and assigns it to the ChangeSignal field.

func (*Vault) SetEnv

func (o *Vault) SetEnv(v bool)

SetEnv gets a reference to the given bool and assigns it to the Env field.

func (*Vault) SetNamespace

func (o *Vault) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*Vault) SetPolicies

func (o *Vault) SetPolicies(v []string)

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

func (o *Volume) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Volume) GetCreatedAtOk

func (o *Volume) GetCreatedAtOk() (*string, bool)

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) GetDriver

func (o *Volume) GetDriver() string

GetDriver returns the Driver field value

func (*Volume) GetDriverOk

func (o *Volume) GetDriverOk() (*string, bool)

GetDriverOk returns a tuple with the Driver field value and a boolean to check if the value has been set.

func (*Volume) GetLabels

func (o *Volume) GetLabels() map[string]string

GetLabels returns the Labels field value

func (*Volume) GetLabelsOk

func (o *Volume) 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 (*Volume) GetMountpoint

func (o *Volume) GetMountpoint() string

GetMountpoint returns the Mountpoint field value

func (*Volume) GetMountpointOk

func (o *Volume) GetMountpointOk() (*string, bool)

GetMountpointOk returns a tuple with the Mountpoint field value and a boolean to check if the value has been set.

func (*Volume) GetName

func (o *Volume) GetName() string

GetName returns the Name field value

func (*Volume) GetNameOk

func (o *Volume) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Volume) GetOptions

func (o *Volume) GetOptions() map[string]string

GetOptions returns the Options field value

func (*Volume) GetOptionsOk

func (o *Volume) GetOptionsOk() (*map[string]string, bool)

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*Volume) GetScope

func (o *Volume) GetScope() string

GetScope returns the Scope field value

func (*Volume) GetScopeOk

func (o *Volume) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.

func (*Volume) GetStatus

func (o *Volume) GetStatus() map[string]map[string]interface{}

GetStatus returns the Status field value if set, zero value otherwise.

func (*Volume) GetStatusOk

func (o *Volume) GetStatusOk() (*map[string]map[string]interface{}, 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 (*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

func (o *Volume) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Volume) HasStatus

func (o *Volume) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Volume) HasUsageData

func (o *Volume) HasUsageData() bool

HasUsageData returns a boolean if a field has been set.

func (Volume) MarshalJSON

func (o Volume) MarshalJSON() ([]byte, error)

func (*Volume) SetCreatedAt

func (o *Volume) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Volume) SetDriver

func (o *Volume) SetDriver(v string)

SetDriver sets field value

func (*Volume) SetLabels

func (o *Volume) SetLabels(v map[string]string)

SetLabels sets field value

func (*Volume) SetMountpoint

func (o *Volume) SetMountpoint(v string)

SetMountpoint sets field value

func (*Volume) SetName

func (o *Volume) SetName(v string)

SetName sets field value

func (*Volume) SetOptions

func (o *Volume) SetOptions(v map[string]string)

SetOptions sets field value

func (*Volume) SetScope

func (o *Volume) SetScope(v string)

SetScope sets field value

func (*Volume) SetStatus

func (o *Volume) SetStatus(v map[string]map[string]interface{})

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) GetIndex

func (o *WriteMeta) GetIndex() int32

GetIndex returns the Index field value if set, zero value otherwise.

func (*WriteMeta) GetIndexOk

func (o *WriteMeta) GetIndexOk() (*int32, bool)

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) HasIndex

func (o *WriteMeta) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (WriteMeta) MarshalJSON

func (o WriteMeta) MarshalJSON() ([]byte, error)

func (*WriteMeta) SetIndex

func (o *WriteMeta) SetIndex(v int32)

SetIndex gets a reference to the given int32 and assigns it to the Index field.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL