paastaapi

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

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 {
	AutoscalerApi *AutoscalerApiService

	DefaultApi *DefaultApiService

	MarathonDashboardApi *MarathonDashboardApiService

	ResourcesApi *ResourcesApiService

	ServiceApi *ServiceApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Paasta API 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AdhocLaunchHistory

type AdhocLaunchHistory struct {
	// framework id
	FrameworkId *string `json:"framework_id,omitempty"`
	// when the job was launched
	LaunchTime *string `json:"launch_time,omitempty"`
	// id of the single run
	RunId *string `json:"run_id,omitempty"`
}

AdhocLaunchHistory A single run

func NewAdhocLaunchHistory

func NewAdhocLaunchHistory() *AdhocLaunchHistory

NewAdhocLaunchHistory instantiates a new AdhocLaunchHistory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAdhocLaunchHistoryWithDefaults

func NewAdhocLaunchHistoryWithDefaults() *AdhocLaunchHistory

NewAdhocLaunchHistoryWithDefaults instantiates a new AdhocLaunchHistory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AdhocLaunchHistory) GetFrameworkId

func (o *AdhocLaunchHistory) GetFrameworkId() string

GetFrameworkId returns the FrameworkId field value if set, zero value otherwise.

func (*AdhocLaunchHistory) GetFrameworkIdOk

func (o *AdhocLaunchHistory) GetFrameworkIdOk() (*string, bool)

GetFrameworkIdOk returns a tuple with the FrameworkId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdhocLaunchHistory) GetLaunchTime

func (o *AdhocLaunchHistory) GetLaunchTime() string

GetLaunchTime returns the LaunchTime field value if set, zero value otherwise.

func (*AdhocLaunchHistory) GetLaunchTimeOk

func (o *AdhocLaunchHistory) GetLaunchTimeOk() (*string, bool)

GetLaunchTimeOk returns a tuple with the LaunchTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdhocLaunchHistory) GetRunId

func (o *AdhocLaunchHistory) GetRunId() string

GetRunId returns the RunId field value if set, zero value otherwise.

func (*AdhocLaunchHistory) GetRunIdOk

func (o *AdhocLaunchHistory) GetRunIdOk() (*string, bool)

GetRunIdOk returns a tuple with the RunId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdhocLaunchHistory) HasFrameworkId

func (o *AdhocLaunchHistory) HasFrameworkId() bool

HasFrameworkId returns a boolean if a field has been set.

func (*AdhocLaunchHistory) HasLaunchTime

func (o *AdhocLaunchHistory) HasLaunchTime() bool

HasLaunchTime returns a boolean if a field has been set.

func (*AdhocLaunchHistory) HasRunId

func (o *AdhocLaunchHistory) HasRunId() bool

HasRunId returns a boolean if a field has been set.

func (AdhocLaunchHistory) MarshalJSON

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

func (*AdhocLaunchHistory) SetFrameworkId

func (o *AdhocLaunchHistory) SetFrameworkId(v string)

SetFrameworkId gets a reference to the given string and assigns it to the FrameworkId field.

func (*AdhocLaunchHistory) SetLaunchTime

func (o *AdhocLaunchHistory) SetLaunchTime(v string)

SetLaunchTime gets a reference to the given string and assigns it to the LaunchTime field.

func (*AdhocLaunchHistory) SetRunId

func (o *AdhocLaunchHistory) SetRunId(v string)

SetRunId gets a reference to the given string and assigns it to the RunId field.

type ApiDelayInstanceRequest

type ApiDelayInstanceRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiDelayInstanceRequest) Execute

func (r ApiDelayInstanceRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiDeleteServiceAutoscalerPauseRequest

type ApiDeleteServiceAutoscalerPauseRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDeleteServiceAutoscalerPauseRequest) Execute

type ApiDeployQueueRequest

type ApiDeployQueueRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDeployQueueRequest) Execute

type ApiGetAutoscalerCountRequest

type ApiGetAutoscalerCountRequest struct {
	ApiService *AutoscalerApiService
	// contains filtered or unexported fields
}

func (ApiGetAutoscalerCountRequest) Execute

type ApiGetServiceAutoscalerPauseRequest

type ApiGetServiceAutoscalerPauseRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceAutoscalerPauseRequest) Execute

type ApiInstanceSetStateRequest

type ApiInstanceSetStateRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiInstanceSetStateRequest) Execute

type ApiListInstancesRequest

type ApiListInstancesRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiListInstancesRequest) Execute

type ApiListServicesForClusterRequest

type ApiListServicesForClusterRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiListServicesForClusterRequest) Execute

type ApiMarathonDashboardRequest

type ApiMarathonDashboardRequest struct {
	ApiService *MarathonDashboardApiService
	// contains filtered or unexported fields
}

func (ApiMarathonDashboardRequest) Execute

type ApiMetastatusRequest

type ApiMetastatusRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiMetastatusRequest) CmdArgs

func (r ApiMetastatusRequest) CmdArgs(cmdArgs []string) ApiMetastatusRequest

func (ApiMetastatusRequest) Execute

type ApiResourcesRequest

type ApiResourcesRequest struct {
	ApiService *ResourcesApiService
	// contains filtered or unexported fields
}

func (ApiResourcesRequest) Execute

func (ApiResourcesRequest) Filter

func (r ApiResourcesRequest) Filter(filter []string) ApiResourcesRequest

func (ApiResourcesRequest) Groupings

func (r ApiResourcesRequest) Groupings(groupings []string) ApiResourcesRequest

type ApiShowVersionRequest

type ApiShowVersionRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiShowVersionRequest) Execute

type ApiStatusInstanceRequest

type ApiStatusInstanceRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiStatusInstanceRequest) Execute

func (ApiStatusInstanceRequest) IncludeEnvoy

func (r ApiStatusInstanceRequest) IncludeEnvoy(includeEnvoy bool) ApiStatusInstanceRequest

func (ApiStatusInstanceRequest) IncludeMesos

func (r ApiStatusInstanceRequest) IncludeMesos(includeMesos bool) ApiStatusInstanceRequest

func (ApiStatusInstanceRequest) IncludeSmartstack

func (r ApiStatusInstanceRequest) IncludeSmartstack(includeSmartstack bool) ApiStatusInstanceRequest

func (ApiStatusInstanceRequest) Verbose

type ApiTaskInstanceRequest

type ApiTaskInstanceRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiTaskInstanceRequest) Execute

func (r ApiTaskInstanceRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiTaskInstanceRequest) Verbose

type ApiTasksInstanceRequest

type ApiTasksInstanceRequest struct {
	ApiService *ServiceApiService
	// contains filtered or unexported fields
}

func (ApiTasksInstanceRequest) Execute

func (r ApiTasksInstanceRequest) Execute() ([]map[string]interface{}, *_nethttp.Response, error)

func (ApiTasksInstanceRequest) SlaveHostname

func (r ApiTasksInstanceRequest) SlaveHostname(slaveHostname string) ApiTasksInstanceRequest

func (ApiTasksInstanceRequest) Verbose

type ApiUpdateAutoscalerCountRequest

type ApiUpdateAutoscalerCountRequest struct {
	ApiService *AutoscalerApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAutoscalerCountRequest) AutoscalerCountMsg

func (ApiUpdateAutoscalerCountRequest) Execute

type ApiUpdateServiceAutoscalerPauseRequest

type ApiUpdateServiceAutoscalerPauseRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateServiceAutoscalerPauseRequest) Execute

func (ApiUpdateServiceAutoscalerPauseRequest) InlineObject

type AutoscalerApiService

type AutoscalerApiService service

AutoscalerApiService AutoscalerApi service

func (*AutoscalerApiService) GetAutoscalerCount

func (a *AutoscalerApiService) GetAutoscalerCount(ctx _context.Context, service string, instance string) ApiGetAutoscalerCountRequest

* GetAutoscalerCount Get status of service_name.instance_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @return ApiGetAutoscalerCountRequest

func (*AutoscalerApiService) GetAutoscalerCountExecute

* Execute executes the request * @return AutoscalerCountMsg

func (*AutoscalerApiService) UpdateAutoscalerCount

func (a *AutoscalerApiService) UpdateAutoscalerCount(ctx _context.Context, service string, instance string) ApiUpdateAutoscalerCountRequest

* UpdateAutoscalerCount Get status of service_name.instance_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @return ApiUpdateAutoscalerCountRequest

func (*AutoscalerApiService) UpdateAutoscalerCountExecute

* Execute executes the request * @return AutoscalerCountMsg

type AutoscalerCountMsg

type AutoscalerCountMsg struct {
	CalculatedInstances *int32  `json:"calculated_instances,omitempty"`
	DesiredInstances    *int32  `json:"desired_instances,omitempty"`
	Status              *string `json:"status,omitempty"`
}

AutoscalerCountMsg Specification for autoscaler count endpoints

func NewAutoscalerCountMsg

func NewAutoscalerCountMsg() *AutoscalerCountMsg

NewAutoscalerCountMsg instantiates a new AutoscalerCountMsg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAutoscalerCountMsgWithDefaults

func NewAutoscalerCountMsgWithDefaults() *AutoscalerCountMsg

NewAutoscalerCountMsgWithDefaults instantiates a new AutoscalerCountMsg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AutoscalerCountMsg) GetCalculatedInstances

func (o *AutoscalerCountMsg) GetCalculatedInstances() int32

GetCalculatedInstances returns the CalculatedInstances field value if set, zero value otherwise.

func (*AutoscalerCountMsg) GetCalculatedInstancesOk

func (o *AutoscalerCountMsg) GetCalculatedInstancesOk() (*int32, bool)

GetCalculatedInstancesOk returns a tuple with the CalculatedInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AutoscalerCountMsg) GetDesiredInstances

func (o *AutoscalerCountMsg) GetDesiredInstances() int32

GetDesiredInstances returns the DesiredInstances field value if set, zero value otherwise.

func (*AutoscalerCountMsg) GetDesiredInstancesOk

func (o *AutoscalerCountMsg) GetDesiredInstancesOk() (*int32, bool)

GetDesiredInstancesOk returns a tuple with the DesiredInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AutoscalerCountMsg) GetStatus

func (o *AutoscalerCountMsg) GetStatus() string

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

func (*AutoscalerCountMsg) GetStatusOk

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

func (o *AutoscalerCountMsg) HasCalculatedInstances() bool

HasCalculatedInstances returns a boolean if a field has been set.

func (*AutoscalerCountMsg) HasDesiredInstances

func (o *AutoscalerCountMsg) HasDesiredInstances() bool

HasDesiredInstances returns a boolean if a field has been set.

func (*AutoscalerCountMsg) HasStatus

func (o *AutoscalerCountMsg) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (AutoscalerCountMsg) MarshalJSON

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

func (*AutoscalerCountMsg) SetCalculatedInstances

func (o *AutoscalerCountMsg) SetCalculatedInstances(v int32)

SetCalculatedInstances gets a reference to the given int32 and assigns it to the CalculatedInstances field.

func (*AutoscalerCountMsg) SetDesiredInstances

func (o *AutoscalerCountMsg) SetDesiredInstances(v int32)

SetDesiredInstances gets a reference to the given int32 and assigns it to the DesiredInstances field.

func (*AutoscalerCountMsg) SetStatus

func (o *AutoscalerCountMsg) SetStatus(v string)

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

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

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) DeleteServiceAutoscalerPause

func (a *DefaultApiService) DeleteServiceAutoscalerPause(ctx _context.Context) ApiDeleteServiceAutoscalerPauseRequest

* DeleteServiceAutoscalerPause Unpause the autoscaler * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeleteServiceAutoscalerPauseRequest

func (*DefaultApiService) DeleteServiceAutoscalerPauseExecute

func (a *DefaultApiService) DeleteServiceAutoscalerPauseExecute(r ApiDeleteServiceAutoscalerPauseRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DefaultApiService) DeployQueue

* DeployQueue Get deploy queue contents * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeployQueueRequest

func (*DefaultApiService) DeployQueueExecute

* Execute executes the request * @return DeployQueue

func (*DefaultApiService) GetServiceAutoscalerPause

func (a *DefaultApiService) GetServiceAutoscalerPause(ctx _context.Context) ApiGetServiceAutoscalerPauseRequest

* GetServiceAutoscalerPause Get autoscaling pause time * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetServiceAutoscalerPauseRequest

func (*DefaultApiService) GetServiceAutoscalerPauseExecute

func (a *DefaultApiService) GetServiceAutoscalerPauseExecute(r ApiGetServiceAutoscalerPauseRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

func (*DefaultApiService) Metastatus

* Metastatus Get metastatus * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiMetastatusRequest

func (*DefaultApiService) MetastatusExecute

* Execute executes the request * @return MetaStatus

func (*DefaultApiService) ShowVersion

* ShowVersion Version of paasta_tools package * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiShowVersionRequest

func (*DefaultApiService) ShowVersionExecute

func (a *DefaultApiService) ShowVersionExecute(r ApiShowVersionRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

func (*DefaultApiService) UpdateServiceAutoscalerPause

func (a *DefaultApiService) UpdateServiceAutoscalerPause(ctx _context.Context) ApiUpdateServiceAutoscalerPauseRequest

* UpdateServiceAutoscalerPause Method for UpdateServiceAutoscalerPause * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiUpdateServiceAutoscalerPauseRequest

func (*DefaultApiService) UpdateServiceAutoscalerPauseExecute

func (a *DefaultApiService) UpdateServiceAutoscalerPauseExecute(r ApiUpdateServiceAutoscalerPauseRequest) (*_nethttp.Response, error)

* Execute executes the request

type DeployQueue

type DeployQueue struct {
	// Service instances that are ready to be acted on by deployd
	AvailableServiceInstances *[]DeployQueueServiceInstance `json:"available_service_instances,omitempty"`
	// Service instances that deployd is waiting to act on
	UnavailableServiceInstances *[]DeployQueueServiceInstance `json:"unavailable_service_instances,omitempty"`
}

DeployQueue Current state of the deployd queue

func NewDeployQueue

func NewDeployQueue() *DeployQueue

NewDeployQueue instantiates a new DeployQueue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeployQueueWithDefaults

func NewDeployQueueWithDefaults() *DeployQueue

NewDeployQueueWithDefaults instantiates a new DeployQueue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeployQueue) GetAvailableServiceInstances

func (o *DeployQueue) GetAvailableServiceInstances() []DeployQueueServiceInstance

GetAvailableServiceInstances returns the AvailableServiceInstances field value if set, zero value otherwise.

func (*DeployQueue) GetAvailableServiceInstancesOk

func (o *DeployQueue) GetAvailableServiceInstancesOk() (*[]DeployQueueServiceInstance, bool)

GetAvailableServiceInstancesOk returns a tuple with the AvailableServiceInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueue) GetUnavailableServiceInstances

func (o *DeployQueue) GetUnavailableServiceInstances() []DeployQueueServiceInstance

GetUnavailableServiceInstances returns the UnavailableServiceInstances field value if set, zero value otherwise.

func (*DeployQueue) GetUnavailableServiceInstancesOk

func (o *DeployQueue) GetUnavailableServiceInstancesOk() (*[]DeployQueueServiceInstance, bool)

GetUnavailableServiceInstancesOk returns a tuple with the UnavailableServiceInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueue) HasAvailableServiceInstances

func (o *DeployQueue) HasAvailableServiceInstances() bool

HasAvailableServiceInstances returns a boolean if a field has been set.

func (*DeployQueue) HasUnavailableServiceInstances

func (o *DeployQueue) HasUnavailableServiceInstances() bool

HasUnavailableServiceInstances returns a boolean if a field has been set.

func (DeployQueue) MarshalJSON

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

func (*DeployQueue) SetAvailableServiceInstances

func (o *DeployQueue) SetAvailableServiceInstances(v []DeployQueueServiceInstance)

SetAvailableServiceInstances gets a reference to the given []DeployQueueServiceInstance and assigns it to the AvailableServiceInstances field.

func (*DeployQueue) SetUnavailableServiceInstances

func (o *DeployQueue) SetUnavailableServiceInstances(v []DeployQueueServiceInstance)

SetUnavailableServiceInstances gets a reference to the given []DeployQueueServiceInstance and assigns it to the UnavailableServiceInstances field.

type DeployQueueServiceInstance

type DeployQueueServiceInstance struct {
	// Desired timestamp by which the service instance should be bounced
	BounceBy *float32 `json:"bounce_by,omitempty"`
	// Timestamp at which service instance was first added to the queue
	BounceStartTime *float32 `json:"bounce_start_time,omitempty"`
	// Timestamp at which the service instance was last added to the queue
	EnqueueTime *float32 `json:"enqueue_time,omitempty"`
	// Number of times deployment actions have failed on this service instance
	Failures *int32 `json:"failures,omitempty"`
	// Name of the instance of the service
	Instance *string `json:"instance,omitempty"`
	// Number of times any deployment action has been taken on this service instance
	ProcessedCount *int32 `json:"processed_count,omitempty"`
	// Name of the service
	Service *string `json:"service,omitempty"`
	// Timestamp before which no action should be taken on this service instance
	WaitUntil *float32 `json:"wait_until,omitempty"`
	// The process that enqueued the task
	Watcher *string `json:"watcher,omitempty"`
}

DeployQueueServiceInstance An instance of a service in the deploy queue

func NewDeployQueueServiceInstance

func NewDeployQueueServiceInstance() *DeployQueueServiceInstance

NewDeployQueueServiceInstance instantiates a new DeployQueueServiceInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeployQueueServiceInstanceWithDefaults

func NewDeployQueueServiceInstanceWithDefaults() *DeployQueueServiceInstance

NewDeployQueueServiceInstanceWithDefaults instantiates a new DeployQueueServiceInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeployQueueServiceInstance) GetBounceBy

func (o *DeployQueueServiceInstance) GetBounceBy() float32

GetBounceBy returns the BounceBy field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetBounceByOk

func (o *DeployQueueServiceInstance) GetBounceByOk() (*float32, bool)

GetBounceByOk returns a tuple with the BounceBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetBounceStartTime

func (o *DeployQueueServiceInstance) GetBounceStartTime() float32

GetBounceStartTime returns the BounceStartTime field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetBounceStartTimeOk

func (o *DeployQueueServiceInstance) GetBounceStartTimeOk() (*float32, bool)

GetBounceStartTimeOk returns a tuple with the BounceStartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetEnqueueTime

func (o *DeployQueueServiceInstance) GetEnqueueTime() float32

GetEnqueueTime returns the EnqueueTime field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetEnqueueTimeOk

func (o *DeployQueueServiceInstance) GetEnqueueTimeOk() (*float32, bool)

GetEnqueueTimeOk returns a tuple with the EnqueueTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetFailures

func (o *DeployQueueServiceInstance) GetFailures() int32

GetFailures returns the Failures field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetFailuresOk

func (o *DeployQueueServiceInstance) GetFailuresOk() (*int32, bool)

GetFailuresOk returns a tuple with the Failures field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetInstance

func (o *DeployQueueServiceInstance) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetInstanceOk

func (o *DeployQueueServiceInstance) GetInstanceOk() (*string, bool)

GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetProcessedCount

func (o *DeployQueueServiceInstance) GetProcessedCount() int32

GetProcessedCount returns the ProcessedCount field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetProcessedCountOk

func (o *DeployQueueServiceInstance) GetProcessedCountOk() (*int32, bool)

GetProcessedCountOk returns a tuple with the ProcessedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetService

func (o *DeployQueueServiceInstance) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetServiceOk

func (o *DeployQueueServiceInstance) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) GetWaitUntil

func (o *DeployQueueServiceInstance) GetWaitUntil() float32

GetWaitUntil returns the WaitUntil field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetWaitUntilOk

func (o *DeployQueueServiceInstance) GetWaitUntilOk() (*float32, 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 (*DeployQueueServiceInstance) GetWatcher

func (o *DeployQueueServiceInstance) GetWatcher() string

GetWatcher returns the Watcher field value if set, zero value otherwise.

func (*DeployQueueServiceInstance) GetWatcherOk

func (o *DeployQueueServiceInstance) GetWatcherOk() (*string, bool)

GetWatcherOk returns a tuple with the Watcher field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployQueueServiceInstance) HasBounceBy

func (o *DeployQueueServiceInstance) HasBounceBy() bool

HasBounceBy returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasBounceStartTime

func (o *DeployQueueServiceInstance) HasBounceStartTime() bool

HasBounceStartTime returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasEnqueueTime

func (o *DeployQueueServiceInstance) HasEnqueueTime() bool

HasEnqueueTime returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasFailures

func (o *DeployQueueServiceInstance) HasFailures() bool

HasFailures returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasInstance

func (o *DeployQueueServiceInstance) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasProcessedCount

func (o *DeployQueueServiceInstance) HasProcessedCount() bool

HasProcessedCount returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasService

func (o *DeployQueueServiceInstance) HasService() bool

HasService returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasWaitUntil

func (o *DeployQueueServiceInstance) HasWaitUntil() bool

HasWaitUntil returns a boolean if a field has been set.

func (*DeployQueueServiceInstance) HasWatcher

func (o *DeployQueueServiceInstance) HasWatcher() bool

HasWatcher returns a boolean if a field has been set.

func (DeployQueueServiceInstance) MarshalJSON

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

func (*DeployQueueServiceInstance) SetBounceBy

func (o *DeployQueueServiceInstance) SetBounceBy(v float32)

SetBounceBy gets a reference to the given float32 and assigns it to the BounceBy field.

func (*DeployQueueServiceInstance) SetBounceStartTime

func (o *DeployQueueServiceInstance) SetBounceStartTime(v float32)

SetBounceStartTime gets a reference to the given float32 and assigns it to the BounceStartTime field.

func (*DeployQueueServiceInstance) SetEnqueueTime

func (o *DeployQueueServiceInstance) SetEnqueueTime(v float32)

SetEnqueueTime gets a reference to the given float32 and assigns it to the EnqueueTime field.

func (*DeployQueueServiceInstance) SetFailures

func (o *DeployQueueServiceInstance) SetFailures(v int32)

SetFailures gets a reference to the given int32 and assigns it to the Failures field.

func (*DeployQueueServiceInstance) SetInstance

func (o *DeployQueueServiceInstance) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*DeployQueueServiceInstance) SetProcessedCount

func (o *DeployQueueServiceInstance) SetProcessedCount(v int32)

SetProcessedCount gets a reference to the given int32 and assigns it to the ProcessedCount field.

func (*DeployQueueServiceInstance) SetService

func (o *DeployQueueServiceInstance) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*DeployQueueServiceInstance) SetWaitUntil

func (o *DeployQueueServiceInstance) SetWaitUntil(v float32)

SetWaitUntil gets a reference to the given float32 and assigns it to the WaitUntil field.

func (*DeployQueueServiceInstance) SetWatcher

func (o *DeployQueueServiceInstance) SetWatcher(v string)

SetWatcher gets a reference to the given string and assigns it to the Watcher field.

type EnvoyBackend

type EnvoyBackend struct {
	// Address of the host on which the backend is running
	Address *string `json:"address,omitempty"`
	// Status of the backend in Envoy as reported by the EDS
	EdsHealthStatus *string `json:"eds_health_status,omitempty"`
	// Whether this backend has an associated task running
	HasAssociatedTask *bool `json:"has_associated_task,omitempty"`
	// Name of the host on which the backend is running
	Hostname *string `json:"hostname,omitempty"`
	// Port number on which the backend responds
	PortValue *int32 `json:"port_value,omitempty"`
	// The weight of this backend in the cluster
	Weight *int32 `json:"weight,omitempty"`
}

EnvoyBackend struct for EnvoyBackend

func NewEnvoyBackend

func NewEnvoyBackend() *EnvoyBackend

NewEnvoyBackend instantiates a new EnvoyBackend object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvoyBackendWithDefaults

func NewEnvoyBackendWithDefaults() *EnvoyBackend

NewEnvoyBackendWithDefaults instantiates a new EnvoyBackend object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvoyBackend) GetAddress

func (o *EnvoyBackend) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*EnvoyBackend) GetAddressOk

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

func (o *EnvoyBackend) GetEdsHealthStatus() string

GetEdsHealthStatus returns the EdsHealthStatus field value if set, zero value otherwise.

func (*EnvoyBackend) GetEdsHealthStatusOk

func (o *EnvoyBackend) GetEdsHealthStatusOk() (*string, bool)

GetEdsHealthStatusOk returns a tuple with the EdsHealthStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyBackend) GetHasAssociatedTask

func (o *EnvoyBackend) GetHasAssociatedTask() bool

GetHasAssociatedTask returns the HasAssociatedTask field value if set, zero value otherwise.

func (*EnvoyBackend) GetHasAssociatedTaskOk

func (o *EnvoyBackend) GetHasAssociatedTaskOk() (*bool, bool)

GetHasAssociatedTaskOk returns a tuple with the HasAssociatedTask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyBackend) GetHostname

func (o *EnvoyBackend) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*EnvoyBackend) GetHostnameOk

func (o *EnvoyBackend) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyBackend) GetPortValue

func (o *EnvoyBackend) GetPortValue() int32

GetPortValue returns the PortValue field value if set, zero value otherwise.

func (*EnvoyBackend) GetPortValueOk

func (o *EnvoyBackend) GetPortValueOk() (*int32, bool)

GetPortValueOk returns a tuple with the PortValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyBackend) GetWeight

func (o *EnvoyBackend) GetWeight() int32

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

func (*EnvoyBackend) GetWeightOk

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

func (o *EnvoyBackend) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*EnvoyBackend) HasEdsHealthStatus

func (o *EnvoyBackend) HasEdsHealthStatus() bool

HasEdsHealthStatus returns a boolean if a field has been set.

func (*EnvoyBackend) HasHasAssociatedTask

func (o *EnvoyBackend) HasHasAssociatedTask() bool

HasHasAssociatedTask returns a boolean if a field has been set.

func (*EnvoyBackend) HasHostname

func (o *EnvoyBackend) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*EnvoyBackend) HasPortValue

func (o *EnvoyBackend) HasPortValue() bool

HasPortValue returns a boolean if a field has been set.

func (*EnvoyBackend) HasWeight

func (o *EnvoyBackend) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (EnvoyBackend) MarshalJSON

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

func (*EnvoyBackend) SetAddress

func (o *EnvoyBackend) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*EnvoyBackend) SetEdsHealthStatus

func (o *EnvoyBackend) SetEdsHealthStatus(v string)

SetEdsHealthStatus gets a reference to the given string and assigns it to the EdsHealthStatus field.

func (*EnvoyBackend) SetHasAssociatedTask

func (o *EnvoyBackend) SetHasAssociatedTask(v bool)

SetHasAssociatedTask gets a reference to the given bool and assigns it to the HasAssociatedTask field.

func (*EnvoyBackend) SetHostname

func (o *EnvoyBackend) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*EnvoyBackend) SetPortValue

func (o *EnvoyBackend) SetPortValue(v int32)

SetPortValue gets a reference to the given int32 and assigns it to the PortValue field.

func (*EnvoyBackend) SetWeight

func (o *EnvoyBackend) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight field.

type EnvoyLocation

type EnvoyLocation struct {
	// Envoy backends running in this location
	Backends *[]EnvoyBackend `json:"backends,omitempty"`
	// Whether this backend is proxied through Casper
	IsProxiedThroughCasper *bool `json:"is_proxied_through_casper,omitempty"`
	// Name of the location
	Name *string `json:"name,omitempty"`
	// Number of running backends for the service in this location
	RunningBackendsCount *int32 `json:"running_backends_count,omitempty"`
}

EnvoyLocation struct for EnvoyLocation

func NewEnvoyLocation

func NewEnvoyLocation() *EnvoyLocation

NewEnvoyLocation instantiates a new EnvoyLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvoyLocationWithDefaults

func NewEnvoyLocationWithDefaults() *EnvoyLocation

NewEnvoyLocationWithDefaults instantiates a new EnvoyLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvoyLocation) GetBackends

func (o *EnvoyLocation) GetBackends() []EnvoyBackend

GetBackends returns the Backends field value if set, zero value otherwise.

func (*EnvoyLocation) GetBackendsOk

func (o *EnvoyLocation) GetBackendsOk() (*[]EnvoyBackend, bool)

GetBackendsOk returns a tuple with the Backends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyLocation) GetIsProxiedThroughCasper

func (o *EnvoyLocation) GetIsProxiedThroughCasper() bool

GetIsProxiedThroughCasper returns the IsProxiedThroughCasper field value if set, zero value otherwise.

func (*EnvoyLocation) GetIsProxiedThroughCasperOk

func (o *EnvoyLocation) GetIsProxiedThroughCasperOk() (*bool, bool)

GetIsProxiedThroughCasperOk returns a tuple with the IsProxiedThroughCasper field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyLocation) GetName

func (o *EnvoyLocation) GetName() string

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

func (*EnvoyLocation) GetNameOk

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

func (o *EnvoyLocation) GetRunningBackendsCount() int32

GetRunningBackendsCount returns the RunningBackendsCount field value if set, zero value otherwise.

func (*EnvoyLocation) GetRunningBackendsCountOk

func (o *EnvoyLocation) GetRunningBackendsCountOk() (*int32, bool)

GetRunningBackendsCountOk returns a tuple with the RunningBackendsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyLocation) HasBackends

func (o *EnvoyLocation) HasBackends() bool

HasBackends returns a boolean if a field has been set.

func (*EnvoyLocation) HasIsProxiedThroughCasper

func (o *EnvoyLocation) HasIsProxiedThroughCasper() bool

HasIsProxiedThroughCasper returns a boolean if a field has been set.

func (*EnvoyLocation) HasName

func (o *EnvoyLocation) HasName() bool

HasName returns a boolean if a field has been set.

func (*EnvoyLocation) HasRunningBackendsCount

func (o *EnvoyLocation) HasRunningBackendsCount() bool

HasRunningBackendsCount returns a boolean if a field has been set.

func (EnvoyLocation) MarshalJSON

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

func (*EnvoyLocation) SetBackends

func (o *EnvoyLocation) SetBackends(v []EnvoyBackend)

SetBackends gets a reference to the given []EnvoyBackend and assigns it to the Backends field.

func (*EnvoyLocation) SetIsProxiedThroughCasper

func (o *EnvoyLocation) SetIsProxiedThroughCasper(v bool)

SetIsProxiedThroughCasper gets a reference to the given bool and assigns it to the IsProxiedThroughCasper field.

func (*EnvoyLocation) SetName

func (o *EnvoyLocation) SetName(v string)

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

func (*EnvoyLocation) SetRunningBackendsCount

func (o *EnvoyLocation) SetRunningBackendsCount(v int32)

SetRunningBackendsCount gets a reference to the given int32 and assigns it to the RunningBackendsCount field.

type EnvoyStatus

type EnvoyStatus struct {
	// Number of backends expected to be present in each location
	ExpectedBackendsPerLocation *int32 `json:"expected_backends_per_location,omitempty"`
	// Locations the service is deployed
	Locations *[]EnvoyLocation `json:"locations,omitempty"`
	// Registration name of the service in Smartstack
	Registration *string `json:"registration,omitempty"`
}

EnvoyStatus struct for EnvoyStatus

func NewEnvoyStatus

func NewEnvoyStatus() *EnvoyStatus

NewEnvoyStatus instantiates a new EnvoyStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEnvoyStatusWithDefaults

func NewEnvoyStatusWithDefaults() *EnvoyStatus

NewEnvoyStatusWithDefaults instantiates a new EnvoyStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EnvoyStatus) GetExpectedBackendsPerLocation

func (o *EnvoyStatus) GetExpectedBackendsPerLocation() int32

GetExpectedBackendsPerLocation returns the ExpectedBackendsPerLocation field value if set, zero value otherwise.

func (*EnvoyStatus) GetExpectedBackendsPerLocationOk

func (o *EnvoyStatus) GetExpectedBackendsPerLocationOk() (*int32, bool)

GetExpectedBackendsPerLocationOk returns a tuple with the ExpectedBackendsPerLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyStatus) GetLocations

func (o *EnvoyStatus) GetLocations() []EnvoyLocation

GetLocations returns the Locations field value if set, zero value otherwise.

func (*EnvoyStatus) GetLocationsOk

func (o *EnvoyStatus) GetLocationsOk() (*[]EnvoyLocation, bool)

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyStatus) GetRegistration

func (o *EnvoyStatus) GetRegistration() string

GetRegistration returns the Registration field value if set, zero value otherwise.

func (*EnvoyStatus) GetRegistrationOk

func (o *EnvoyStatus) GetRegistrationOk() (*string, bool)

GetRegistrationOk returns a tuple with the Registration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EnvoyStatus) HasExpectedBackendsPerLocation

func (o *EnvoyStatus) HasExpectedBackendsPerLocation() bool

HasExpectedBackendsPerLocation returns a boolean if a field has been set.

func (*EnvoyStatus) HasLocations

func (o *EnvoyStatus) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*EnvoyStatus) HasRegistration

func (o *EnvoyStatus) HasRegistration() bool

HasRegistration returns a boolean if a field has been set.

func (EnvoyStatus) MarshalJSON

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

func (*EnvoyStatus) SetExpectedBackendsPerLocation

func (o *EnvoyStatus) SetExpectedBackendsPerLocation(v int32)

SetExpectedBackendsPerLocation gets a reference to the given int32 and assigns it to the ExpectedBackendsPerLocation field.

func (*EnvoyStatus) SetLocations

func (o *EnvoyStatus) SetLocations(v []EnvoyLocation)

SetLocations gets a reference to the given []EnvoyLocation and assigns it to the Locations field.

func (*EnvoyStatus) SetRegistration

func (o *EnvoyStatus) SetRegistration(v string)

SetRegistration gets a reference to the given string and assigns it to the Registration field.

type FloatAndError

type FloatAndError struct {
	ErrorMessage *string  `json:"error_message,omitempty"`
	Value        *float32 `json:"value,omitempty"`
}

FloatAndError struct for FloatAndError

func NewFloatAndError

func NewFloatAndError() *FloatAndError

NewFloatAndError instantiates a new FloatAndError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFloatAndErrorWithDefaults

func NewFloatAndErrorWithDefaults() *FloatAndError

NewFloatAndErrorWithDefaults instantiates a new FloatAndError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FloatAndError) GetErrorMessage

func (o *FloatAndError) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*FloatAndError) GetErrorMessageOk

func (o *FloatAndError) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FloatAndError) GetValue

func (o *FloatAndError) GetValue() float32

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

func (*FloatAndError) GetValueOk

func (o *FloatAndError) GetValueOk() (*float32, 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 (*FloatAndError) HasErrorMessage

func (o *FloatAndError) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*FloatAndError) HasValue

func (o *FloatAndError) HasValue() bool

HasValue returns a boolean if a field has been set.

func (FloatAndError) MarshalJSON

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

func (*FloatAndError) SetErrorMessage

func (o *FloatAndError) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*FloatAndError) SetValue

func (o *FloatAndError) SetValue(v float32)

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

type HPAMetric struct {
	// setpoint/target_value as specified in yelpsoa_configs
	CurrentValue *string `json:"current_value,omitempty"`
	// name of the metric
	Name *string `json:"name,omitempty"`
	// setpoint/target_value as specified in yelpsoa_configs
	TargetValue *string `json:"target_value,omitempty"`
}

HPAMetric struct for HPAMetric

func NewHPAMetric

func NewHPAMetric() *HPAMetric

NewHPAMetric instantiates a new HPAMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHPAMetricWithDefaults

func NewHPAMetricWithDefaults() *HPAMetric

NewHPAMetricWithDefaults instantiates a new HPAMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HPAMetric) GetCurrentValue

func (o *HPAMetric) GetCurrentValue() string

GetCurrentValue returns the CurrentValue field value if set, zero value otherwise.

func (*HPAMetric) GetCurrentValueOk

func (o *HPAMetric) GetCurrentValueOk() (*string, bool)

GetCurrentValueOk returns a tuple with the CurrentValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HPAMetric) GetName

func (o *HPAMetric) GetName() string

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

func (*HPAMetric) GetNameOk

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

func (o *HPAMetric) GetTargetValue() string

GetTargetValue returns the TargetValue field value if set, zero value otherwise.

func (*HPAMetric) GetTargetValueOk

func (o *HPAMetric) GetTargetValueOk() (*string, bool)

GetTargetValueOk returns a tuple with the TargetValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HPAMetric) HasCurrentValue

func (o *HPAMetric) HasCurrentValue() bool

HasCurrentValue returns a boolean if a field has been set.

func (*HPAMetric) HasName

func (o *HPAMetric) HasName() bool

HasName returns a boolean if a field has been set.

func (*HPAMetric) HasTargetValue

func (o *HPAMetric) HasTargetValue() bool

HasTargetValue returns a boolean if a field has been set.

func (HPAMetric) MarshalJSON

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

func (*HPAMetric) SetCurrentValue

func (o *HPAMetric) SetCurrentValue(v string)

SetCurrentValue gets a reference to the given string and assigns it to the CurrentValue field.

func (*HPAMetric) SetName

func (o *HPAMetric) SetName(v string)

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

func (*HPAMetric) SetTargetValue

func (o *HPAMetric) SetTargetValue(v string)

SetTargetValue gets a reference to the given string and assigns it to the TargetValue field.

type InlineObject

type InlineObject struct {
	Minutes *int32 `json:"minutes,omitempty"`
}

InlineObject struct for InlineObject

func NewInlineObject

func NewInlineObject() *InlineObject

NewInlineObject instantiates a new InlineObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInlineObjectWithDefaults

func NewInlineObjectWithDefaults() *InlineObject

NewInlineObjectWithDefaults instantiates a new InlineObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InlineObject) GetMinutes

func (o *InlineObject) GetMinutes() int32

GetMinutes returns the Minutes field value if set, zero value otherwise.

func (*InlineObject) GetMinutesOk

func (o *InlineObject) GetMinutesOk() (*int32, bool)

GetMinutesOk returns a tuple with the Minutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InlineObject) HasMinutes

func (o *InlineObject) HasMinutes() bool

HasMinutes returns a boolean if a field has been set.

func (InlineObject) MarshalJSON

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

func (*InlineObject) SetMinutes

func (o *InlineObject) SetMinutes(v int32)

SetMinutes gets a reference to the given int32 and assigns it to the Minutes field.

type InlineResponse200

type InlineResponse200 struct {
	Services *[][]interface{} `json:"services,omitempty"`
}

InlineResponse200 struct for InlineResponse200

func NewInlineResponse200

func NewInlineResponse200() *InlineResponse200

NewInlineResponse200 instantiates a new InlineResponse200 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInlineResponse200WithDefaults

func NewInlineResponse200WithDefaults() *InlineResponse200

NewInlineResponse200WithDefaults instantiates a new InlineResponse200 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InlineResponse200) GetServices

func (o *InlineResponse200) GetServices() [][]interface{}

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

func (*InlineResponse200) GetServicesOk

func (o *InlineResponse200) GetServicesOk() (*[][]interface{}, 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 (*InlineResponse200) HasServices

func (o *InlineResponse200) HasServices() bool

HasServices returns a boolean if a field has been set.

func (InlineResponse200) MarshalJSON

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

func (*InlineResponse200) SetServices

func (o *InlineResponse200) SetServices(v [][]interface{})

SetServices gets a reference to the given [][]interface{} and assigns it to the Services field.

type InlineResponse2001

type InlineResponse2001 struct {
	Instances *[]string `json:"instances,omitempty"`
}

InlineResponse2001 struct for InlineResponse2001

func NewInlineResponse2001

func NewInlineResponse2001() *InlineResponse2001

NewInlineResponse2001 instantiates a new InlineResponse2001 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInlineResponse2001WithDefaults

func NewInlineResponse2001WithDefaults() *InlineResponse2001

NewInlineResponse2001WithDefaults instantiates a new InlineResponse2001 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InlineResponse2001) GetInstances

func (o *InlineResponse2001) GetInstances() []string

GetInstances returns the Instances field value if set, zero value otherwise.

func (*InlineResponse2001) GetInstancesOk

func (o *InlineResponse2001) GetInstancesOk() (*[]string, bool)

GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InlineResponse2001) HasInstances

func (o *InlineResponse2001) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (InlineResponse2001) MarshalJSON

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

func (*InlineResponse2001) SetInstances

func (o *InlineResponse2001) SetInstances(v []string)

SetInstances gets a reference to the given []string and assigns it to the Instances field.

type InstanceStatus

type InstanceStatus struct {
	// List of runs associated with job
	Adhoc *[]AdhocLaunchHistory `json:"adhoc,omitempty"`
	Flink *InstanceStatusFlink  `json:"flink,omitempty"`
	// Git sha of a service
	GitSha *string `json:"git_sha,omitempty"`
	// Instance name
	Instance     *string                     `json:"instance,omitempty"`
	Kafkacluster *InstanceStatusKafkacluster `json:"kafkacluster,omitempty"`
	Kubernetes   *InstanceStatusKubernetes   `json:"kubernetes,omitempty"`
	Marathon     *InstanceStatusMarathon     `json:"marathon,omitempty"`
	// Service name
	Service *string             `json:"service,omitempty"`
	Tron    *InstanceStatusTron `json:"tron,omitempty"`
}

InstanceStatus struct for InstanceStatus

func NewInstanceStatus

func NewInstanceStatus() *InstanceStatus

NewInstanceStatus instantiates a new InstanceStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusWithDefaults

func NewInstanceStatusWithDefaults() *InstanceStatus

NewInstanceStatusWithDefaults instantiates a new InstanceStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatus) GetAdhoc

func (o *InstanceStatus) GetAdhoc() []AdhocLaunchHistory

GetAdhoc returns the Adhoc field value if set, zero value otherwise.

func (*InstanceStatus) GetAdhocOk

func (o *InstanceStatus) GetAdhocOk() (*[]AdhocLaunchHistory, bool)

GetAdhocOk returns a tuple with the Adhoc field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *InstanceStatus) GetFlink() InstanceStatusFlink

GetFlink returns the Flink field value if set, zero value otherwise.

func (*InstanceStatus) GetFlinkOk

func (o *InstanceStatus) GetFlinkOk() (*InstanceStatusFlink, bool)

GetFlinkOk returns a tuple with the Flink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetGitSha

func (o *InstanceStatus) GetGitSha() string

GetGitSha returns the GitSha field value if set, zero value otherwise.

func (*InstanceStatus) GetGitShaOk

func (o *InstanceStatus) GetGitShaOk() (*string, bool)

GetGitShaOk returns a tuple with the GitSha field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetInstance

func (o *InstanceStatus) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*InstanceStatus) GetInstanceOk

func (o *InstanceStatus) GetInstanceOk() (*string, bool)

GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetKafkacluster

func (o *InstanceStatus) GetKafkacluster() InstanceStatusKafkacluster

GetKafkacluster returns the Kafkacluster field value if set, zero value otherwise.

func (*InstanceStatus) GetKafkaclusterOk

func (o *InstanceStatus) GetKafkaclusterOk() (*InstanceStatusKafkacluster, bool)

GetKafkaclusterOk returns a tuple with the Kafkacluster field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetKubernetes

func (o *InstanceStatus) GetKubernetes() InstanceStatusKubernetes

GetKubernetes returns the Kubernetes field value if set, zero value otherwise.

func (*InstanceStatus) GetKubernetesOk

func (o *InstanceStatus) GetKubernetesOk() (*InstanceStatusKubernetes, bool)

GetKubernetesOk returns a tuple with the Kubernetes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetMarathon

func (o *InstanceStatus) GetMarathon() InstanceStatusMarathon

GetMarathon returns the Marathon field value if set, zero value otherwise.

func (*InstanceStatus) GetMarathonOk

func (o *InstanceStatus) GetMarathonOk() (*InstanceStatusMarathon, bool)

GetMarathonOk returns a tuple with the Marathon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetService

func (o *InstanceStatus) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*InstanceStatus) GetServiceOk

func (o *InstanceStatus) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) GetTron

func (o *InstanceStatus) GetTron() InstanceStatusTron

GetTron returns the Tron field value if set, zero value otherwise.

func (*InstanceStatus) GetTronOk

func (o *InstanceStatus) GetTronOk() (*InstanceStatusTron, bool)

GetTronOk returns a tuple with the Tron field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatus) HasAdhoc

func (o *InstanceStatus) HasAdhoc() bool

HasAdhoc returns a boolean if a field has been set.

func (o *InstanceStatus) HasFlink() bool

HasFlink returns a boolean if a field has been set.

func (*InstanceStatus) HasGitSha

func (o *InstanceStatus) HasGitSha() bool

HasGitSha returns a boolean if a field has been set.

func (*InstanceStatus) HasInstance

func (o *InstanceStatus) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*InstanceStatus) HasKafkacluster

func (o *InstanceStatus) HasKafkacluster() bool

HasKafkacluster returns a boolean if a field has been set.

func (*InstanceStatus) HasKubernetes

func (o *InstanceStatus) HasKubernetes() bool

HasKubernetes returns a boolean if a field has been set.

func (*InstanceStatus) HasMarathon

func (o *InstanceStatus) HasMarathon() bool

HasMarathon returns a boolean if a field has been set.

func (*InstanceStatus) HasService

func (o *InstanceStatus) HasService() bool

HasService returns a boolean if a field has been set.

func (*InstanceStatus) HasTron

func (o *InstanceStatus) HasTron() bool

HasTron returns a boolean if a field has been set.

func (InstanceStatus) MarshalJSON

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

func (*InstanceStatus) SetAdhoc

func (o *InstanceStatus) SetAdhoc(v []AdhocLaunchHistory)

SetAdhoc gets a reference to the given []AdhocLaunchHistory and assigns it to the Adhoc field.

func (o *InstanceStatus) SetFlink(v InstanceStatusFlink)

SetFlink gets a reference to the given InstanceStatusFlink and assigns it to the Flink field.

func (*InstanceStatus) SetGitSha

func (o *InstanceStatus) SetGitSha(v string)

SetGitSha gets a reference to the given string and assigns it to the GitSha field.

func (*InstanceStatus) SetInstance

func (o *InstanceStatus) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*InstanceStatus) SetKafkacluster

func (o *InstanceStatus) SetKafkacluster(v InstanceStatusKafkacluster)

SetKafkacluster gets a reference to the given InstanceStatusKafkacluster and assigns it to the Kafkacluster field.

func (*InstanceStatus) SetKubernetes

func (o *InstanceStatus) SetKubernetes(v InstanceStatusKubernetes)

SetKubernetes gets a reference to the given InstanceStatusKubernetes and assigns it to the Kubernetes field.

func (*InstanceStatus) SetMarathon

func (o *InstanceStatus) SetMarathon(v InstanceStatusMarathon)

SetMarathon gets a reference to the given InstanceStatusMarathon and assigns it to the Marathon field.

func (*InstanceStatus) SetService

func (o *InstanceStatus) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*InstanceStatus) SetTron

func (o *InstanceStatus) SetTron(v InstanceStatusTron)

SetTron gets a reference to the given InstanceStatusTron and assigns it to the Tron field.

type InstanceStatusFlink struct {
	// Flink instance metadata
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	// Flink instance status
	Status *map[string]interface{} `json:"status,omitempty"`
}

InstanceStatusFlink Nullable Flink instance status and metadata

func NewInstanceStatusFlink() *InstanceStatusFlink

NewInstanceStatusFlink instantiates a new InstanceStatusFlink object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusFlinkWithDefaults

func NewInstanceStatusFlinkWithDefaults() *InstanceStatusFlink

NewInstanceStatusFlinkWithDefaults instantiates a new InstanceStatusFlink object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusFlink) GetMetadata

func (o *InstanceStatusFlink) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*InstanceStatusFlink) GetMetadataOk

func (o *InstanceStatusFlink) GetMetadataOk() (*map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusFlink) GetStatus

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

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

func (*InstanceStatusFlink) GetStatusOk

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

func (o *InstanceStatusFlink) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*InstanceStatusFlink) HasStatus

func (o *InstanceStatusFlink) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (InstanceStatusFlink) MarshalJSON

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

func (*InstanceStatusFlink) SetMetadata

func (o *InstanceStatusFlink) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*InstanceStatusFlink) SetStatus

func (o *InstanceStatusFlink) SetStatus(v map[string]interface{})

SetStatus gets a reference to the given map[string]interface{} and assigns it to the Status field.

type InstanceStatusKafkacluster

type InstanceStatusKafkacluster struct {
	// Kafka instance metadata
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	// Kafka instance status
	Status *map[string]interface{} `json:"status,omitempty"`
}

InstanceStatusKafkacluster Nullable KafkaCluster instance status and metadata

func NewInstanceStatusKafkacluster

func NewInstanceStatusKafkacluster() *InstanceStatusKafkacluster

NewInstanceStatusKafkacluster instantiates a new InstanceStatusKafkacluster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusKafkaclusterWithDefaults

func NewInstanceStatusKafkaclusterWithDefaults() *InstanceStatusKafkacluster

NewInstanceStatusKafkaclusterWithDefaults instantiates a new InstanceStatusKafkacluster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusKafkacluster) GetMetadata

func (o *InstanceStatusKafkacluster) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*InstanceStatusKafkacluster) GetMetadataOk

func (o *InstanceStatusKafkacluster) GetMetadataOk() (*map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKafkacluster) GetStatus

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

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

func (*InstanceStatusKafkacluster) GetStatusOk

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

func (o *InstanceStatusKafkacluster) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*InstanceStatusKafkacluster) HasStatus

func (o *InstanceStatusKafkacluster) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (InstanceStatusKafkacluster) MarshalJSON

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

func (*InstanceStatusKafkacluster) SetMetadata

func (o *InstanceStatusKafkacluster) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*InstanceStatusKafkacluster) SetStatus

func (o *InstanceStatusKafkacluster) SetStatus(v map[string]interface{})

SetStatus gets a reference to the given map[string]interface{} and assigns it to the Status field.

type InstanceStatusKubernetes

type InstanceStatusKubernetes struct {
	// List of git/config SHAs running.
	ActiveShas *[][]string `json:"active_shas,omitempty"`
	// The number of different running versions of the same service (0 for stopped, 1 for running and 1+ for bouncing)
	AppCount int32 `json:"app_count"`
	// ID of the desired version of a service instance
	AppId             *string                                    `json:"app_id,omitempty"`
	AutoscalingStatus *InstanceStatusKubernetesAutoscalingStatus `json:"autoscaling_status,omitempty"`
	// backoff in seconds before launching the next task
	BackoffSeconds *int32 `json:"backoff_seconds,omitempty"`
	// Method to transit between new and old versions of a service
	BounceMethod string `json:"bounce_method"`
	// Unix timestamp when this app was created
	CreateTimestamp *float32 `json:"create_timestamp,omitempty"`
	// Deploy status of a Kubernetes service
	DeployStatus *string `json:"deploy_status,omitempty"`
	// Reason for the deploy status
	DeployStatusMessage *string `json:"deploy_status_message,omitempty"`
	// Desired state of a service, for Kubernetes
	DesiredState string `json:"desired_state"`
	// Error message when a kubernetes object (Deployment/Statefulset) cannot be found
	ErrorMessage *string `json:"error_message,omitempty"`
	// The number of desired instances of the service
	ExpectedInstanceCount *int32 `json:"expected_instance_count,omitempty"`
	// The namespace this app is running
	Namespace *string `json:"namespace,omitempty"`
	// Pods associated to this app
	Pods *[]KubernetesPod `json:"pods,omitempty"`
	// ReplicaSets associated to this app
	Replicasets *[]KubernetesReplicaSet `json:"replicasets,omitempty"`
	// The number of actual running instances of the service
	RunningInstanceCount *int32            `json:"running_instance_count,omitempty"`
	Smartstack           *SmartstackStatus `json:"smartstack,omitempty"`
	Envoy                *EnvoyStatus      `json:"envoy,omitempty"`
	// Number of pods with status reason \"Evicted\"
	EvictedCount *int32 `json:"evicted_count,omitempty"`
}

InstanceStatusKubernetes struct for InstanceStatusKubernetes

func NewInstanceStatusKubernetes

func NewInstanceStatusKubernetes(appCount int32, bounceMethod string, desiredState string) *InstanceStatusKubernetes

NewInstanceStatusKubernetes instantiates a new InstanceStatusKubernetes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusKubernetesWithDefaults

func NewInstanceStatusKubernetesWithDefaults() *InstanceStatusKubernetes

NewInstanceStatusKubernetesWithDefaults instantiates a new InstanceStatusKubernetes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusKubernetes) GetActiveShas

func (o *InstanceStatusKubernetes) GetActiveShas() [][]string

GetActiveShas returns the ActiveShas field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetActiveShasOk

func (o *InstanceStatusKubernetes) GetActiveShasOk() (*[][]string, bool)

GetActiveShasOk returns a tuple with the ActiveShas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetAppCount

func (o *InstanceStatusKubernetes) GetAppCount() int32

GetAppCount returns the AppCount field value

func (*InstanceStatusKubernetes) GetAppCountOk

func (o *InstanceStatusKubernetes) GetAppCountOk() (*int32, bool)

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

func (*InstanceStatusKubernetes) GetAppId

func (o *InstanceStatusKubernetes) GetAppId() string

GetAppId returns the AppId field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetAppIdOk

func (o *InstanceStatusKubernetes) GetAppIdOk() (*string, bool)

GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetAutoscalingStatus

GetAutoscalingStatus returns the AutoscalingStatus field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetAutoscalingStatusOk

GetAutoscalingStatusOk returns a tuple with the AutoscalingStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetBackoffSeconds

func (o *InstanceStatusKubernetes) GetBackoffSeconds() int32

GetBackoffSeconds returns the BackoffSeconds field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetBackoffSecondsOk

func (o *InstanceStatusKubernetes) GetBackoffSecondsOk() (*int32, bool)

GetBackoffSecondsOk returns a tuple with the BackoffSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetBounceMethod

func (o *InstanceStatusKubernetes) GetBounceMethod() string

GetBounceMethod returns the BounceMethod field value

func (*InstanceStatusKubernetes) GetBounceMethodOk

func (o *InstanceStatusKubernetes) GetBounceMethodOk() (*string, bool)

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

func (*InstanceStatusKubernetes) GetCreateTimestamp

func (o *InstanceStatusKubernetes) GetCreateTimestamp() float32

GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetCreateTimestampOk

func (o *InstanceStatusKubernetes) GetCreateTimestampOk() (*float32, bool)

GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetDeployStatus

func (o *InstanceStatusKubernetes) GetDeployStatus() string

GetDeployStatus returns the DeployStatus field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetDeployStatusMessage

func (o *InstanceStatusKubernetes) GetDeployStatusMessage() string

GetDeployStatusMessage returns the DeployStatusMessage field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetDeployStatusMessageOk

func (o *InstanceStatusKubernetes) GetDeployStatusMessageOk() (*string, bool)

GetDeployStatusMessageOk returns a tuple with the DeployStatusMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetDeployStatusOk

func (o *InstanceStatusKubernetes) GetDeployStatusOk() (*string, bool)

GetDeployStatusOk returns a tuple with the DeployStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetDesiredState

func (o *InstanceStatusKubernetes) GetDesiredState() string

GetDesiredState returns the DesiredState field value

func (*InstanceStatusKubernetes) GetDesiredStateOk

func (o *InstanceStatusKubernetes) GetDesiredStateOk() (*string, bool)

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

func (*InstanceStatusKubernetes) GetEnvoy

func (o *InstanceStatusKubernetes) GetEnvoy() EnvoyStatus

GetEnvoy returns the Envoy field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetEnvoyOk

func (o *InstanceStatusKubernetes) GetEnvoyOk() (*EnvoyStatus, bool)

GetEnvoyOk returns a tuple with the Envoy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetErrorMessage

func (o *InstanceStatusKubernetes) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetErrorMessageOk

func (o *InstanceStatusKubernetes) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetEvictedCount

func (o *InstanceStatusKubernetes) GetEvictedCount() int32

GetEvictedCount returns the EvictedCount field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetEvictedCountOk

func (o *InstanceStatusKubernetes) GetEvictedCountOk() (*int32, bool)

GetEvictedCountOk returns a tuple with the EvictedCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetExpectedInstanceCount

func (o *InstanceStatusKubernetes) GetExpectedInstanceCount() int32

GetExpectedInstanceCount returns the ExpectedInstanceCount field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetExpectedInstanceCountOk

func (o *InstanceStatusKubernetes) GetExpectedInstanceCountOk() (*int32, bool)

GetExpectedInstanceCountOk returns a tuple with the ExpectedInstanceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetNamespace

func (o *InstanceStatusKubernetes) GetNamespace() string

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

func (*InstanceStatusKubernetes) GetNamespaceOk

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

func (o *InstanceStatusKubernetes) GetPods() []KubernetesPod

GetPods returns the Pods field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetPodsOk

func (o *InstanceStatusKubernetes) GetPodsOk() (*[]KubernetesPod, bool)

GetPodsOk returns a tuple with the Pods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetReplicasets

func (o *InstanceStatusKubernetes) GetReplicasets() []KubernetesReplicaSet

GetReplicasets returns the Replicasets field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetReplicasetsOk

func (o *InstanceStatusKubernetes) GetReplicasetsOk() (*[]KubernetesReplicaSet, bool)

GetReplicasetsOk returns a tuple with the Replicasets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetRunningInstanceCount

func (o *InstanceStatusKubernetes) GetRunningInstanceCount() int32

GetRunningInstanceCount returns the RunningInstanceCount field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetRunningInstanceCountOk

func (o *InstanceStatusKubernetes) GetRunningInstanceCountOk() (*int32, bool)

GetRunningInstanceCountOk returns a tuple with the RunningInstanceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) GetSmartstack

func (o *InstanceStatusKubernetes) GetSmartstack() SmartstackStatus

GetSmartstack returns the Smartstack field value if set, zero value otherwise.

func (*InstanceStatusKubernetes) GetSmartstackOk

func (o *InstanceStatusKubernetes) GetSmartstackOk() (*SmartstackStatus, bool)

GetSmartstackOk returns a tuple with the Smartstack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetes) HasActiveShas

func (o *InstanceStatusKubernetes) HasActiveShas() bool

HasActiveShas returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasAppId

func (o *InstanceStatusKubernetes) HasAppId() bool

HasAppId returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasAutoscalingStatus

func (o *InstanceStatusKubernetes) HasAutoscalingStatus() bool

HasAutoscalingStatus returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasBackoffSeconds

func (o *InstanceStatusKubernetes) HasBackoffSeconds() bool

HasBackoffSeconds returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasCreateTimestamp

func (o *InstanceStatusKubernetes) HasCreateTimestamp() bool

HasCreateTimestamp returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasDeployStatus

func (o *InstanceStatusKubernetes) HasDeployStatus() bool

HasDeployStatus returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasDeployStatusMessage

func (o *InstanceStatusKubernetes) HasDeployStatusMessage() bool

HasDeployStatusMessage returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasEnvoy

func (o *InstanceStatusKubernetes) HasEnvoy() bool

HasEnvoy returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasErrorMessage

func (o *InstanceStatusKubernetes) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasEvictedCount

func (o *InstanceStatusKubernetes) HasEvictedCount() bool

HasEvictedCount returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasExpectedInstanceCount

func (o *InstanceStatusKubernetes) HasExpectedInstanceCount() bool

HasExpectedInstanceCount returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasNamespace

func (o *InstanceStatusKubernetes) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasPods

func (o *InstanceStatusKubernetes) HasPods() bool

HasPods returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasReplicasets

func (o *InstanceStatusKubernetes) HasReplicasets() bool

HasReplicasets returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasRunningInstanceCount

func (o *InstanceStatusKubernetes) HasRunningInstanceCount() bool

HasRunningInstanceCount returns a boolean if a field has been set.

func (*InstanceStatusKubernetes) HasSmartstack

func (o *InstanceStatusKubernetes) HasSmartstack() bool

HasSmartstack returns a boolean if a field has been set.

func (InstanceStatusKubernetes) MarshalJSON

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

func (*InstanceStatusKubernetes) SetActiveShas

func (o *InstanceStatusKubernetes) SetActiveShas(v [][]string)

SetActiveShas gets a reference to the given [][]string and assigns it to the ActiveShas field.

func (*InstanceStatusKubernetes) SetAppCount

func (o *InstanceStatusKubernetes) SetAppCount(v int32)

SetAppCount sets field value

func (*InstanceStatusKubernetes) SetAppId

func (o *InstanceStatusKubernetes) SetAppId(v string)

SetAppId gets a reference to the given string and assigns it to the AppId field.

func (*InstanceStatusKubernetes) SetAutoscalingStatus

SetAutoscalingStatus gets a reference to the given InstanceStatusKubernetesAutoscalingStatus and assigns it to the AutoscalingStatus field.

func (*InstanceStatusKubernetes) SetBackoffSeconds

func (o *InstanceStatusKubernetes) SetBackoffSeconds(v int32)

SetBackoffSeconds gets a reference to the given int32 and assigns it to the BackoffSeconds field.

func (*InstanceStatusKubernetes) SetBounceMethod

func (o *InstanceStatusKubernetes) SetBounceMethod(v string)

SetBounceMethod sets field value

func (*InstanceStatusKubernetes) SetCreateTimestamp

func (o *InstanceStatusKubernetes) SetCreateTimestamp(v float32)

SetCreateTimestamp gets a reference to the given float32 and assigns it to the CreateTimestamp field.

func (*InstanceStatusKubernetes) SetDeployStatus

func (o *InstanceStatusKubernetes) SetDeployStatus(v string)

SetDeployStatus gets a reference to the given string and assigns it to the DeployStatus field.

func (*InstanceStatusKubernetes) SetDeployStatusMessage

func (o *InstanceStatusKubernetes) SetDeployStatusMessage(v string)

SetDeployStatusMessage gets a reference to the given string and assigns it to the DeployStatusMessage field.

func (*InstanceStatusKubernetes) SetDesiredState

func (o *InstanceStatusKubernetes) SetDesiredState(v string)

SetDesiredState sets field value

func (*InstanceStatusKubernetes) SetEnvoy

func (o *InstanceStatusKubernetes) SetEnvoy(v EnvoyStatus)

SetEnvoy gets a reference to the given EnvoyStatus and assigns it to the Envoy field.

func (*InstanceStatusKubernetes) SetErrorMessage

func (o *InstanceStatusKubernetes) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*InstanceStatusKubernetes) SetEvictedCount

func (o *InstanceStatusKubernetes) SetEvictedCount(v int32)

SetEvictedCount gets a reference to the given int32 and assigns it to the EvictedCount field.

func (*InstanceStatusKubernetes) SetExpectedInstanceCount

func (o *InstanceStatusKubernetes) SetExpectedInstanceCount(v int32)

SetExpectedInstanceCount gets a reference to the given int32 and assigns it to the ExpectedInstanceCount field.

func (*InstanceStatusKubernetes) SetNamespace

func (o *InstanceStatusKubernetes) SetNamespace(v string)

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

func (*InstanceStatusKubernetes) SetPods

func (o *InstanceStatusKubernetes) SetPods(v []KubernetesPod)

SetPods gets a reference to the given []KubernetesPod and assigns it to the Pods field.

func (*InstanceStatusKubernetes) SetReplicasets

func (o *InstanceStatusKubernetes) SetReplicasets(v []KubernetesReplicaSet)

SetReplicasets gets a reference to the given []KubernetesReplicaSet and assigns it to the Replicasets field.

func (*InstanceStatusKubernetes) SetRunningInstanceCount

func (o *InstanceStatusKubernetes) SetRunningInstanceCount(v int32)

SetRunningInstanceCount gets a reference to the given int32 and assigns it to the RunningInstanceCount field.

func (*InstanceStatusKubernetes) SetSmartstack

func (o *InstanceStatusKubernetes) SetSmartstack(v SmartstackStatus)

SetSmartstack gets a reference to the given SmartstackStatus and assigns it to the Smartstack field.

type InstanceStatusKubernetesAutoscalingStatus

type InstanceStatusKubernetesAutoscalingStatus struct {
	// desired number of _instances as calculated by HPA
	DesiredReplicas *int32 `json:"desired_replicas,omitempty"`
	// timestamp of last autoscale
	LastScaleTime *string `json:"last_scale_time,omitempty"`
	// min_instances as specified in yelpsoa_configs
	MaxInstances *int32 `json:"max_instances,omitempty"`
	// Current metrics
	Metrics *[]HPAMetric `json:"metrics,omitempty"`
	// min_instances as specified in yelpsoa_configs
	MinInstances *int32 `json:"min_instances,omitempty"`
}

InstanceStatusKubernetesAutoscalingStatus HPA associated to this app

func NewInstanceStatusKubernetesAutoscalingStatus

func NewInstanceStatusKubernetesAutoscalingStatus() *InstanceStatusKubernetesAutoscalingStatus

NewInstanceStatusKubernetesAutoscalingStatus instantiates a new InstanceStatusKubernetesAutoscalingStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusKubernetesAutoscalingStatusWithDefaults

func NewInstanceStatusKubernetesAutoscalingStatusWithDefaults() *InstanceStatusKubernetesAutoscalingStatus

NewInstanceStatusKubernetesAutoscalingStatusWithDefaults instantiates a new InstanceStatusKubernetesAutoscalingStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusKubernetesAutoscalingStatus) GetDesiredReplicas

func (o *InstanceStatusKubernetesAutoscalingStatus) GetDesiredReplicas() int32

GetDesiredReplicas returns the DesiredReplicas field value if set, zero value otherwise.

func (*InstanceStatusKubernetesAutoscalingStatus) GetDesiredReplicasOk

func (o *InstanceStatusKubernetesAutoscalingStatus) GetDesiredReplicasOk() (*int32, bool)

GetDesiredReplicasOk returns a tuple with the DesiredReplicas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) GetLastScaleTime

func (o *InstanceStatusKubernetesAutoscalingStatus) GetLastScaleTime() string

GetLastScaleTime returns the LastScaleTime field value if set, zero value otherwise.

func (*InstanceStatusKubernetesAutoscalingStatus) GetLastScaleTimeOk

func (o *InstanceStatusKubernetesAutoscalingStatus) GetLastScaleTimeOk() (*string, bool)

GetLastScaleTimeOk returns a tuple with the LastScaleTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMaxInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) GetMaxInstances() int32

GetMaxInstances returns the MaxInstances field value if set, zero value otherwise.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMaxInstancesOk

func (o *InstanceStatusKubernetesAutoscalingStatus) GetMaxInstancesOk() (*int32, bool)

GetMaxInstancesOk returns a tuple with the MaxInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMetrics

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMetricsOk

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMinInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) GetMinInstances() int32

GetMinInstances returns the MinInstances field value if set, zero value otherwise.

func (*InstanceStatusKubernetesAutoscalingStatus) GetMinInstancesOk

func (o *InstanceStatusKubernetesAutoscalingStatus) GetMinInstancesOk() (*int32, bool)

GetMinInstancesOk returns a tuple with the MinInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) HasDesiredReplicas

func (o *InstanceStatusKubernetesAutoscalingStatus) HasDesiredReplicas() bool

HasDesiredReplicas returns a boolean if a field has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) HasLastScaleTime

func (o *InstanceStatusKubernetesAutoscalingStatus) HasLastScaleTime() bool

HasLastScaleTime returns a boolean if a field has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) HasMaxInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) HasMaxInstances() bool

HasMaxInstances returns a boolean if a field has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) HasMetrics

HasMetrics returns a boolean if a field has been set.

func (*InstanceStatusKubernetesAutoscalingStatus) HasMinInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) HasMinInstances() bool

HasMinInstances returns a boolean if a field has been set.

func (InstanceStatusKubernetesAutoscalingStatus) MarshalJSON

func (*InstanceStatusKubernetesAutoscalingStatus) SetDesiredReplicas

func (o *InstanceStatusKubernetesAutoscalingStatus) SetDesiredReplicas(v int32)

SetDesiredReplicas gets a reference to the given int32 and assigns it to the DesiredReplicas field.

func (*InstanceStatusKubernetesAutoscalingStatus) SetLastScaleTime

func (o *InstanceStatusKubernetesAutoscalingStatus) SetLastScaleTime(v string)

SetLastScaleTime gets a reference to the given string and assigns it to the LastScaleTime field.

func (*InstanceStatusKubernetesAutoscalingStatus) SetMaxInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) SetMaxInstances(v int32)

SetMaxInstances gets a reference to the given int32 and assigns it to the MaxInstances field.

func (*InstanceStatusKubernetesAutoscalingStatus) SetMetrics

SetMetrics gets a reference to the given []HPAMetric and assigns it to the Metrics field.

func (*InstanceStatusKubernetesAutoscalingStatus) SetMinInstances

func (o *InstanceStatusKubernetesAutoscalingStatus) SetMinInstances(v int32)

SetMinInstances gets a reference to the given int32 and assigns it to the MinInstances field.

type InstanceStatusMarathon

type InstanceStatusMarathon struct {
	// List of git/config SHAs running.
	ActiveShas *[][]string `json:"active_shas,omitempty"`
	// The number of different running versions of the same service (0 for stopped, 1 for running and 1+ for bouncing)
	AppCount int32 `json:"app_count"`
	// Statuses of each app of the service
	AppStatuses     *[]MarathonAppStatus     `json:"app_statuses,omitempty"`
	AutoscalingInfo *MarathonAutoscalingInfo `json:"autoscaling_info,omitempty"`
	// backoff in seconds before launching the next task
	BackoffSeconds *int32 `json:"backoff_seconds,omitempty"`
	// Method to transit between new and old versions of a service
	BounceMethod string `json:"bounce_method"`
	// Deploy status of a marathon service
	DeployStatus *string `json:"deploy_status,omitempty"`
	// ID of the desired version of a service instance
	DesiredAppId *string `json:"desired_app_id,omitempty"`
	// ID of the current version of a service instance
	AppId *string `json:"app_id,omitempty"`
	// Desired state of a service, for Marathon
	DesiredState string       `json:"desired_state"`
	Envoy        *EnvoyStatus `json:"envoy,omitempty"`
	// Error message when a marathon job ID cannot be found
	ErrorMessage *string `json:"error_message,omitempty"`
	// The number of desired instances of the service
	ExpectedInstanceCount *int32               `json:"expected_instance_count,omitempty"`
	Mesos                 *MarathonMesosStatus `json:"mesos,omitempty"`
	// The number of actual running instances of the service
	RunningInstanceCount *int32            `json:"running_instance_count,omitempty"`
	Smartstack           *SmartstackStatus `json:"smartstack,omitempty"`
}

InstanceStatusMarathon struct for InstanceStatusMarathon

func NewInstanceStatusMarathon

func NewInstanceStatusMarathon(appCount int32, bounceMethod string, desiredState string) *InstanceStatusMarathon

NewInstanceStatusMarathon instantiates a new InstanceStatusMarathon object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusMarathonWithDefaults

func NewInstanceStatusMarathonWithDefaults() *InstanceStatusMarathon

NewInstanceStatusMarathonWithDefaults instantiates a new InstanceStatusMarathon object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusMarathon) GetActiveShas

func (o *InstanceStatusMarathon) GetActiveShas() [][]string

GetActiveShas returns the ActiveShas field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetActiveShasOk

func (o *InstanceStatusMarathon) GetActiveShasOk() (*[][]string, bool)

GetActiveShasOk returns a tuple with the ActiveShas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetAppCount

func (o *InstanceStatusMarathon) GetAppCount() int32

GetAppCount returns the AppCount field value

func (*InstanceStatusMarathon) GetAppCountOk

func (o *InstanceStatusMarathon) GetAppCountOk() (*int32, bool)

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

func (*InstanceStatusMarathon) GetAppId

func (o *InstanceStatusMarathon) GetAppId() string

GetAppId returns the AppId field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetAppIdOk

func (o *InstanceStatusMarathon) GetAppIdOk() (*string, bool)

GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetAppStatuses

func (o *InstanceStatusMarathon) GetAppStatuses() []MarathonAppStatus

GetAppStatuses returns the AppStatuses field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetAppStatusesOk

func (o *InstanceStatusMarathon) GetAppStatusesOk() (*[]MarathonAppStatus, bool)

GetAppStatusesOk returns a tuple with the AppStatuses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetAutoscalingInfo

func (o *InstanceStatusMarathon) GetAutoscalingInfo() MarathonAutoscalingInfo

GetAutoscalingInfo returns the AutoscalingInfo field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetAutoscalingInfoOk

func (o *InstanceStatusMarathon) GetAutoscalingInfoOk() (*MarathonAutoscalingInfo, bool)

GetAutoscalingInfoOk returns a tuple with the AutoscalingInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetBackoffSeconds

func (o *InstanceStatusMarathon) GetBackoffSeconds() int32

GetBackoffSeconds returns the BackoffSeconds field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetBackoffSecondsOk

func (o *InstanceStatusMarathon) GetBackoffSecondsOk() (*int32, bool)

GetBackoffSecondsOk returns a tuple with the BackoffSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetBounceMethod

func (o *InstanceStatusMarathon) GetBounceMethod() string

GetBounceMethod returns the BounceMethod field value

func (*InstanceStatusMarathon) GetBounceMethodOk

func (o *InstanceStatusMarathon) GetBounceMethodOk() (*string, bool)

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

func (*InstanceStatusMarathon) GetDeployStatus

func (o *InstanceStatusMarathon) GetDeployStatus() string

GetDeployStatus returns the DeployStatus field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetDeployStatusOk

func (o *InstanceStatusMarathon) GetDeployStatusOk() (*string, bool)

GetDeployStatusOk returns a tuple with the DeployStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetDesiredAppId

func (o *InstanceStatusMarathon) GetDesiredAppId() string

GetDesiredAppId returns the DesiredAppId field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetDesiredAppIdOk

func (o *InstanceStatusMarathon) GetDesiredAppIdOk() (*string, bool)

GetDesiredAppIdOk returns a tuple with the DesiredAppId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetDesiredState

func (o *InstanceStatusMarathon) GetDesiredState() string

GetDesiredState returns the DesiredState field value

func (*InstanceStatusMarathon) GetDesiredStateOk

func (o *InstanceStatusMarathon) GetDesiredStateOk() (*string, bool)

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

func (*InstanceStatusMarathon) GetEnvoy

func (o *InstanceStatusMarathon) GetEnvoy() EnvoyStatus

GetEnvoy returns the Envoy field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetEnvoyOk

func (o *InstanceStatusMarathon) GetEnvoyOk() (*EnvoyStatus, bool)

GetEnvoyOk returns a tuple with the Envoy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetErrorMessage

func (o *InstanceStatusMarathon) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetErrorMessageOk

func (o *InstanceStatusMarathon) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetExpectedInstanceCount

func (o *InstanceStatusMarathon) GetExpectedInstanceCount() int32

GetExpectedInstanceCount returns the ExpectedInstanceCount field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetExpectedInstanceCountOk

func (o *InstanceStatusMarathon) GetExpectedInstanceCountOk() (*int32, bool)

GetExpectedInstanceCountOk returns a tuple with the ExpectedInstanceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetMesos

GetMesos returns the Mesos field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetMesosOk

func (o *InstanceStatusMarathon) GetMesosOk() (*MarathonMesosStatus, bool)

GetMesosOk returns a tuple with the Mesos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetRunningInstanceCount

func (o *InstanceStatusMarathon) GetRunningInstanceCount() int32

GetRunningInstanceCount returns the RunningInstanceCount field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetRunningInstanceCountOk

func (o *InstanceStatusMarathon) GetRunningInstanceCountOk() (*int32, bool)

GetRunningInstanceCountOk returns a tuple with the RunningInstanceCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) GetSmartstack

func (o *InstanceStatusMarathon) GetSmartstack() SmartstackStatus

GetSmartstack returns the Smartstack field value if set, zero value otherwise.

func (*InstanceStatusMarathon) GetSmartstackOk

func (o *InstanceStatusMarathon) GetSmartstackOk() (*SmartstackStatus, bool)

GetSmartstackOk returns a tuple with the Smartstack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusMarathon) HasActiveShas

func (o *InstanceStatusMarathon) HasActiveShas() bool

HasActiveShas returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasAppId

func (o *InstanceStatusMarathon) HasAppId() bool

HasAppId returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasAppStatuses

func (o *InstanceStatusMarathon) HasAppStatuses() bool

HasAppStatuses returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasAutoscalingInfo

func (o *InstanceStatusMarathon) HasAutoscalingInfo() bool

HasAutoscalingInfo returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasBackoffSeconds

func (o *InstanceStatusMarathon) HasBackoffSeconds() bool

HasBackoffSeconds returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasDeployStatus

func (o *InstanceStatusMarathon) HasDeployStatus() bool

HasDeployStatus returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasDesiredAppId

func (o *InstanceStatusMarathon) HasDesiredAppId() bool

HasDesiredAppId returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasEnvoy

func (o *InstanceStatusMarathon) HasEnvoy() bool

HasEnvoy returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasErrorMessage

func (o *InstanceStatusMarathon) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasExpectedInstanceCount

func (o *InstanceStatusMarathon) HasExpectedInstanceCount() bool

HasExpectedInstanceCount returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasMesos

func (o *InstanceStatusMarathon) HasMesos() bool

HasMesos returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasRunningInstanceCount

func (o *InstanceStatusMarathon) HasRunningInstanceCount() bool

HasRunningInstanceCount returns a boolean if a field has been set.

func (*InstanceStatusMarathon) HasSmartstack

func (o *InstanceStatusMarathon) HasSmartstack() bool

HasSmartstack returns a boolean if a field has been set.

func (InstanceStatusMarathon) MarshalJSON

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

func (*InstanceStatusMarathon) SetActiveShas

func (o *InstanceStatusMarathon) SetActiveShas(v [][]string)

SetActiveShas gets a reference to the given [][]string and assigns it to the ActiveShas field.

func (*InstanceStatusMarathon) SetAppCount

func (o *InstanceStatusMarathon) SetAppCount(v int32)

SetAppCount sets field value

func (*InstanceStatusMarathon) SetAppId

func (o *InstanceStatusMarathon) SetAppId(v string)

SetAppId gets a reference to the given string and assigns it to the AppId field.

func (*InstanceStatusMarathon) SetAppStatuses

func (o *InstanceStatusMarathon) SetAppStatuses(v []MarathonAppStatus)

SetAppStatuses gets a reference to the given []MarathonAppStatus and assigns it to the AppStatuses field.

func (*InstanceStatusMarathon) SetAutoscalingInfo

func (o *InstanceStatusMarathon) SetAutoscalingInfo(v MarathonAutoscalingInfo)

SetAutoscalingInfo gets a reference to the given MarathonAutoscalingInfo and assigns it to the AutoscalingInfo field.

func (*InstanceStatusMarathon) SetBackoffSeconds

func (o *InstanceStatusMarathon) SetBackoffSeconds(v int32)

SetBackoffSeconds gets a reference to the given int32 and assigns it to the BackoffSeconds field.

func (*InstanceStatusMarathon) SetBounceMethod

func (o *InstanceStatusMarathon) SetBounceMethod(v string)

SetBounceMethod sets field value

func (*InstanceStatusMarathon) SetDeployStatus

func (o *InstanceStatusMarathon) SetDeployStatus(v string)

SetDeployStatus gets a reference to the given string and assigns it to the DeployStatus field.

func (*InstanceStatusMarathon) SetDesiredAppId

func (o *InstanceStatusMarathon) SetDesiredAppId(v string)

SetDesiredAppId gets a reference to the given string and assigns it to the DesiredAppId field.

func (*InstanceStatusMarathon) SetDesiredState

func (o *InstanceStatusMarathon) SetDesiredState(v string)

SetDesiredState sets field value

func (*InstanceStatusMarathon) SetEnvoy

func (o *InstanceStatusMarathon) SetEnvoy(v EnvoyStatus)

SetEnvoy gets a reference to the given EnvoyStatus and assigns it to the Envoy field.

func (*InstanceStatusMarathon) SetErrorMessage

func (o *InstanceStatusMarathon) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*InstanceStatusMarathon) SetExpectedInstanceCount

func (o *InstanceStatusMarathon) SetExpectedInstanceCount(v int32)

SetExpectedInstanceCount gets a reference to the given int32 and assigns it to the ExpectedInstanceCount field.

func (*InstanceStatusMarathon) SetMesos

SetMesos gets a reference to the given MarathonMesosStatus and assigns it to the Mesos field.

func (*InstanceStatusMarathon) SetRunningInstanceCount

func (o *InstanceStatusMarathon) SetRunningInstanceCount(v int32)

SetRunningInstanceCount gets a reference to the given int32 and assigns it to the RunningInstanceCount field.

func (*InstanceStatusMarathon) SetSmartstack

func (o *InstanceStatusMarathon) SetSmartstack(v SmartstackStatus)

SetSmartstack gets a reference to the given SmartstackStatus and assigns it to the Smartstack field.

type InstanceStatusTron

type InstanceStatusTron struct {
	// The command of the action
	ActionCommand *string `json:"action_command,omitempty"`
	// The name of the action
	ActionName *string `json:"action_name,omitempty"`
	// The raw command of the action
	ActionRawCommand *string `json:"action_raw_command,omitempty"`
	// The start time of the action
	ActionStartTime *string `json:"action_start_time,omitempty"`
	// The state of the action
	ActionState *string `json:"action_state,omitempty"`
	// The stderr command of the action
	ActionStderr *string `json:"action_stderr,omitempty"`
	// The stdout command of the action
	ActionStdout *string `json:"action_stdout,omitempty"`
	// The name of this job
	JobName string `json:"job_name"`
	// The job schedule of the job
	JobSchedule *string `json:"job_schedule,omitempty"`
	// The status of the job
	JobStatus *string `json:"job_status,omitempty"`
	// The dashboard url of the job
	JobUrl string `json:"job_url"`
}

InstanceStatusTron struct for InstanceStatusTron

func NewInstanceStatusTron

func NewInstanceStatusTron(jobName string, jobUrl string) *InstanceStatusTron

NewInstanceStatusTron instantiates a new InstanceStatusTron object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstanceStatusTronWithDefaults

func NewInstanceStatusTronWithDefaults() *InstanceStatusTron

NewInstanceStatusTronWithDefaults instantiates a new InstanceStatusTron object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstanceStatusTron) GetActionCommand

func (o *InstanceStatusTron) GetActionCommand() string

GetActionCommand returns the ActionCommand field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionCommandOk

func (o *InstanceStatusTron) GetActionCommandOk() (*string, bool)

GetActionCommandOk returns a tuple with the ActionCommand field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionName

func (o *InstanceStatusTron) GetActionName() string

GetActionName returns the ActionName field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionNameOk

func (o *InstanceStatusTron) GetActionNameOk() (*string, bool)

GetActionNameOk returns a tuple with the ActionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionRawCommand

func (o *InstanceStatusTron) GetActionRawCommand() string

GetActionRawCommand returns the ActionRawCommand field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionRawCommandOk

func (o *InstanceStatusTron) GetActionRawCommandOk() (*string, bool)

GetActionRawCommandOk returns a tuple with the ActionRawCommand field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionStartTime

func (o *InstanceStatusTron) GetActionStartTime() string

GetActionStartTime returns the ActionStartTime field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionStartTimeOk

func (o *InstanceStatusTron) GetActionStartTimeOk() (*string, bool)

GetActionStartTimeOk returns a tuple with the ActionStartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionState

func (o *InstanceStatusTron) GetActionState() string

GetActionState returns the ActionState field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionStateOk

func (o *InstanceStatusTron) GetActionStateOk() (*string, bool)

GetActionStateOk returns a tuple with the ActionState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionStderr

func (o *InstanceStatusTron) GetActionStderr() string

GetActionStderr returns the ActionStderr field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionStderrOk

func (o *InstanceStatusTron) GetActionStderrOk() (*string, bool)

GetActionStderrOk returns a tuple with the ActionStderr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetActionStdout

func (o *InstanceStatusTron) GetActionStdout() string

GetActionStdout returns the ActionStdout field value if set, zero value otherwise.

func (*InstanceStatusTron) GetActionStdoutOk

func (o *InstanceStatusTron) GetActionStdoutOk() (*string, bool)

GetActionStdoutOk returns a tuple with the ActionStdout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetJobName

func (o *InstanceStatusTron) GetJobName() string

GetJobName returns the JobName field value

func (*InstanceStatusTron) GetJobNameOk

func (o *InstanceStatusTron) GetJobNameOk() (*string, bool)

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

func (*InstanceStatusTron) GetJobSchedule

func (o *InstanceStatusTron) GetJobSchedule() string

GetJobSchedule returns the JobSchedule field value if set, zero value otherwise.

func (*InstanceStatusTron) GetJobScheduleOk

func (o *InstanceStatusTron) GetJobScheduleOk() (*string, bool)

GetJobScheduleOk returns a tuple with the JobSchedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetJobStatus

func (o *InstanceStatusTron) GetJobStatus() string

GetJobStatus returns the JobStatus field value if set, zero value otherwise.

func (*InstanceStatusTron) GetJobStatusOk

func (o *InstanceStatusTron) GetJobStatusOk() (*string, bool)

GetJobStatusOk returns a tuple with the JobStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstanceStatusTron) GetJobUrl

func (o *InstanceStatusTron) GetJobUrl() string

GetJobUrl returns the JobUrl field value

func (*InstanceStatusTron) GetJobUrlOk

func (o *InstanceStatusTron) GetJobUrlOk() (*string, bool)

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

func (*InstanceStatusTron) HasActionCommand

func (o *InstanceStatusTron) HasActionCommand() bool

HasActionCommand returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionName

func (o *InstanceStatusTron) HasActionName() bool

HasActionName returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionRawCommand

func (o *InstanceStatusTron) HasActionRawCommand() bool

HasActionRawCommand returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionStartTime

func (o *InstanceStatusTron) HasActionStartTime() bool

HasActionStartTime returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionState

func (o *InstanceStatusTron) HasActionState() bool

HasActionState returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionStderr

func (o *InstanceStatusTron) HasActionStderr() bool

HasActionStderr returns a boolean if a field has been set.

func (*InstanceStatusTron) HasActionStdout

func (o *InstanceStatusTron) HasActionStdout() bool

HasActionStdout returns a boolean if a field has been set.

func (*InstanceStatusTron) HasJobSchedule

func (o *InstanceStatusTron) HasJobSchedule() bool

HasJobSchedule returns a boolean if a field has been set.

func (*InstanceStatusTron) HasJobStatus

func (o *InstanceStatusTron) HasJobStatus() bool

HasJobStatus returns a boolean if a field has been set.

func (InstanceStatusTron) MarshalJSON

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

func (*InstanceStatusTron) SetActionCommand

func (o *InstanceStatusTron) SetActionCommand(v string)

SetActionCommand gets a reference to the given string and assigns it to the ActionCommand field.

func (*InstanceStatusTron) SetActionName

func (o *InstanceStatusTron) SetActionName(v string)

SetActionName gets a reference to the given string and assigns it to the ActionName field.

func (*InstanceStatusTron) SetActionRawCommand

func (o *InstanceStatusTron) SetActionRawCommand(v string)

SetActionRawCommand gets a reference to the given string and assigns it to the ActionRawCommand field.

func (*InstanceStatusTron) SetActionStartTime

func (o *InstanceStatusTron) SetActionStartTime(v string)

SetActionStartTime gets a reference to the given string and assigns it to the ActionStartTime field.

func (*InstanceStatusTron) SetActionState

func (o *InstanceStatusTron) SetActionState(v string)

SetActionState gets a reference to the given string and assigns it to the ActionState field.

func (*InstanceStatusTron) SetActionStderr

func (o *InstanceStatusTron) SetActionStderr(v string)

SetActionStderr gets a reference to the given string and assigns it to the ActionStderr field.

func (*InstanceStatusTron) SetActionStdout

func (o *InstanceStatusTron) SetActionStdout(v string)

SetActionStdout gets a reference to the given string and assigns it to the ActionStdout field.

func (*InstanceStatusTron) SetJobName

func (o *InstanceStatusTron) SetJobName(v string)

SetJobName sets field value

func (*InstanceStatusTron) SetJobSchedule

func (o *InstanceStatusTron) SetJobSchedule(v string)

SetJobSchedule gets a reference to the given string and assigns it to the JobSchedule field.

func (*InstanceStatusTron) SetJobStatus

func (o *InstanceStatusTron) SetJobStatus(v string)

SetJobStatus gets a reference to the given string and assigns it to the JobStatus field.

func (*InstanceStatusTron) SetJobUrl

func (o *InstanceStatusTron) SetJobUrl(v string)

SetJobUrl sets field value

type IntegerAndError

type IntegerAndError struct {
	ErrorMessage *string `json:"error_message,omitempty"`
	Value        *int32  `json:"value,omitempty"`
}

IntegerAndError struct for IntegerAndError

func NewIntegerAndError

func NewIntegerAndError() *IntegerAndError

NewIntegerAndError instantiates a new IntegerAndError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIntegerAndErrorWithDefaults

func NewIntegerAndErrorWithDefaults() *IntegerAndError

NewIntegerAndErrorWithDefaults instantiates a new IntegerAndError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IntegerAndError) GetErrorMessage

func (o *IntegerAndError) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*IntegerAndError) GetErrorMessageOk

func (o *IntegerAndError) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IntegerAndError) GetValue

func (o *IntegerAndError) GetValue() int32

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

func (*IntegerAndError) GetValueOk

func (o *IntegerAndError) GetValueOk() (*int32, 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 (*IntegerAndError) HasErrorMessage

func (o *IntegerAndError) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*IntegerAndError) HasValue

func (o *IntegerAndError) HasValue() bool

HasValue returns a boolean if a field has been set.

func (IntegerAndError) MarshalJSON

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

func (*IntegerAndError) SetErrorMessage

func (o *IntegerAndError) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*IntegerAndError) SetValue

func (o *IntegerAndError) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

type KubernetesContainer

type KubernetesContainer struct {
	// Name of the container
	Name      *string        `json:"name,omitempty"`
	TailLines *TaskTailLines `json:"tail_lines,omitempty"`
}

KubernetesContainer struct for KubernetesContainer

func NewKubernetesContainer

func NewKubernetesContainer() *KubernetesContainer

NewKubernetesContainer instantiates a new KubernetesContainer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesContainerWithDefaults

func NewKubernetesContainerWithDefaults() *KubernetesContainer

NewKubernetesContainerWithDefaults instantiates a new KubernetesContainer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesContainer) GetName

func (o *KubernetesContainer) GetName() string

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

func (*KubernetesContainer) GetNameOk

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

func (o *KubernetesContainer) GetTailLines() TaskTailLines

GetTailLines returns the TailLines field value if set, zero value otherwise.

func (*KubernetesContainer) GetTailLinesOk

func (o *KubernetesContainer) GetTailLinesOk() (*TaskTailLines, bool)

GetTailLinesOk returns a tuple with the TailLines field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesContainer) HasName

func (o *KubernetesContainer) HasName() bool

HasName returns a boolean if a field has been set.

func (*KubernetesContainer) HasTailLines

func (o *KubernetesContainer) HasTailLines() bool

HasTailLines returns a boolean if a field has been set.

func (KubernetesContainer) MarshalJSON

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

func (*KubernetesContainer) SetName

func (o *KubernetesContainer) SetName(v string)

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

func (*KubernetesContainer) SetTailLines

func (o *KubernetesContainer) SetTailLines(v TaskTailLines)

SetTailLines gets a reference to the given TaskTailLines and assigns it to the TailLines field.

type KubernetesPod

type KubernetesPod struct {
	Containers *[]KubernetesContainer `json:"containers,omitempty"`
	// Time at which the pod was deployed
	DeployedTimestamp *float32 `json:"deployed_timestamp,omitempty"`
	// name of the pod's host
	Host NullableString `json:"host,omitempty"`
	// long message explaining the pod's state
	Message NullableString `json:"message,omitempty"`
	// name of the pod in Kubernetes
	Name *string `json:"name,omitempty"`
	// The status of the pod
	Phase NullableString `json:"phase,omitempty"`
	// Whether or not the pod is ready (i.e. all containers up)
	Ready *bool `json:"ready,omitempty"`
	// short message explaining the pod's state
	Reason NullableString `json:"reason,omitempty"`
	// Kubernetes pod events
	Events *[]KubernetesPodEvent `json:"events,omitempty"`
}

KubernetesPod struct for KubernetesPod

func NewKubernetesPod

func NewKubernetesPod() *KubernetesPod

NewKubernetesPod instantiates a new KubernetesPod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesPodWithDefaults

func NewKubernetesPodWithDefaults() *KubernetesPod

NewKubernetesPodWithDefaults instantiates a new KubernetesPod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesPod) GetContainers

func (o *KubernetesPod) GetContainers() []KubernetesContainer

GetContainers returns the Containers field value if set, zero value otherwise.

func (*KubernetesPod) GetContainersOk

func (o *KubernetesPod) GetContainersOk() (*[]KubernetesContainer, bool)

GetContainersOk returns a tuple with the Containers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesPod) GetDeployedTimestamp

func (o *KubernetesPod) GetDeployedTimestamp() float32

GetDeployedTimestamp returns the DeployedTimestamp field value if set, zero value otherwise.

func (*KubernetesPod) GetDeployedTimestampOk

func (o *KubernetesPod) GetDeployedTimestampOk() (*float32, bool)

GetDeployedTimestampOk returns a tuple with the DeployedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesPod) GetEvents

func (o *KubernetesPod) GetEvents() []KubernetesPodEvent

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

func (*KubernetesPod) GetEventsOk

func (o *KubernetesPod) GetEventsOk() (*[]KubernetesPodEvent, 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 (*KubernetesPod) GetHost

func (o *KubernetesPod) GetHost() string

GetHost returns the Host field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesPod) GetHostOk

func (o *KubernetesPod) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesPod) GetMessage

func (o *KubernetesPod) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesPod) GetMessageOk

func (o *KubernetesPod) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesPod) GetName

func (o *KubernetesPod) GetName() string

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

func (*KubernetesPod) GetNameOk

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

func (o *KubernetesPod) GetPhase() string

GetPhase returns the Phase field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesPod) GetPhaseOk

func (o *KubernetesPod) GetPhaseOk() (*string, bool)

GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesPod) GetReady

func (o *KubernetesPod) GetReady() bool

GetReady returns the Ready field value if set, zero value otherwise.

func (*KubernetesPod) GetReadyOk

func (o *KubernetesPod) GetReadyOk() (*bool, bool)

GetReadyOk returns a tuple with the Ready field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesPod) GetReason

func (o *KubernetesPod) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesPod) GetReasonOk

func (o *KubernetesPod) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesPod) HasContainers

func (o *KubernetesPod) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*KubernetesPod) HasDeployedTimestamp

func (o *KubernetesPod) HasDeployedTimestamp() bool

HasDeployedTimestamp returns a boolean if a field has been set.

func (*KubernetesPod) HasEvents

func (o *KubernetesPod) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*KubernetesPod) HasHost

func (o *KubernetesPod) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*KubernetesPod) HasMessage

func (o *KubernetesPod) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*KubernetesPod) HasName

func (o *KubernetesPod) HasName() bool

HasName returns a boolean if a field has been set.

func (*KubernetesPod) HasPhase

func (o *KubernetesPod) HasPhase() bool

HasPhase returns a boolean if a field has been set.

func (*KubernetesPod) HasReady

func (o *KubernetesPod) HasReady() bool

HasReady returns a boolean if a field has been set.

func (*KubernetesPod) HasReason

func (o *KubernetesPod) HasReason() bool

HasReason returns a boolean if a field has been set.

func (KubernetesPod) MarshalJSON

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

func (*KubernetesPod) SetContainers

func (o *KubernetesPod) SetContainers(v []KubernetesContainer)

SetContainers gets a reference to the given []KubernetesContainer and assigns it to the Containers field.

func (*KubernetesPod) SetDeployedTimestamp

func (o *KubernetesPod) SetDeployedTimestamp(v float32)

SetDeployedTimestamp gets a reference to the given float32 and assigns it to the DeployedTimestamp field.

func (*KubernetesPod) SetEvents

func (o *KubernetesPod) SetEvents(v []KubernetesPodEvent)

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

func (*KubernetesPod) SetHost

func (o *KubernetesPod) SetHost(v string)

SetHost gets a reference to the given NullableString and assigns it to the Host field.

func (*KubernetesPod) SetHostNil

func (o *KubernetesPod) SetHostNil()

SetHostNil sets the value for Host to be an explicit nil

func (*KubernetesPod) SetMessage

func (o *KubernetesPod) SetMessage(v string)

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

func (*KubernetesPod) SetMessageNil

func (o *KubernetesPod) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*KubernetesPod) SetName

func (o *KubernetesPod) SetName(v string)

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

func (*KubernetesPod) SetPhase

func (o *KubernetesPod) SetPhase(v string)

SetPhase gets a reference to the given NullableString and assigns it to the Phase field.

func (*KubernetesPod) SetPhaseNil

func (o *KubernetesPod) SetPhaseNil()

SetPhaseNil sets the value for Phase to be an explicit nil

func (*KubernetesPod) SetReady

func (o *KubernetesPod) SetReady(v bool)

SetReady gets a reference to the given bool and assigns it to the Ready field.

func (*KubernetesPod) SetReason

func (o *KubernetesPod) SetReason(v string)

SetReason gets a reference to the given NullableString and assigns it to the Reason field.

func (*KubernetesPod) SetReasonNil

func (o *KubernetesPod) SetReasonNil()

SetReasonNil sets the value for Reason to be an explicit nil

func (*KubernetesPod) UnsetHost

func (o *KubernetesPod) UnsetHost()

UnsetHost ensures that no value is present for Host, not even an explicit nil

func (*KubernetesPod) UnsetMessage

func (o *KubernetesPod) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

func (*KubernetesPod) UnsetPhase

func (o *KubernetesPod) UnsetPhase()

UnsetPhase ensures that no value is present for Phase, not even an explicit nil

func (*KubernetesPod) UnsetReason

func (o *KubernetesPod) UnsetReason()

UnsetReason ensures that no value is present for Reason, not even an explicit nil

type KubernetesPodEvent

type KubernetesPodEvent struct {
	Message   *string `json:"message,omitempty"`
	TimeStamp *string `json:"timeStamp,omitempty"`
}

KubernetesPodEvent struct for KubernetesPodEvent

func NewKubernetesPodEvent

func NewKubernetesPodEvent() *KubernetesPodEvent

NewKubernetesPodEvent instantiates a new KubernetesPodEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesPodEventWithDefaults

func NewKubernetesPodEventWithDefaults() *KubernetesPodEvent

NewKubernetesPodEventWithDefaults instantiates a new KubernetesPodEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesPodEvent) GetMessage

func (o *KubernetesPodEvent) GetMessage() string

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

func (*KubernetesPodEvent) GetMessageOk

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

func (o *KubernetesPodEvent) GetTimeStamp() string

GetTimeStamp returns the TimeStamp field value if set, zero value otherwise.

func (*KubernetesPodEvent) GetTimeStampOk

func (o *KubernetesPodEvent) GetTimeStampOk() (*string, 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 (*KubernetesPodEvent) HasMessage

func (o *KubernetesPodEvent) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*KubernetesPodEvent) HasTimeStamp

func (o *KubernetesPodEvent) HasTimeStamp() bool

HasTimeStamp returns a boolean if a field has been set.

func (KubernetesPodEvent) MarshalJSON

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

func (*KubernetesPodEvent) SetMessage

func (o *KubernetesPodEvent) SetMessage(v string)

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

func (*KubernetesPodEvent) SetTimeStamp

func (o *KubernetesPodEvent) SetTimeStamp(v string)

SetTimeStamp gets a reference to the given string and assigns it to the TimeStamp field.

type KubernetesReplicaSet

type KubernetesReplicaSet struct {
	// Time at which the replicaset was created
	CreateTimestamp *float32 `json:"create_timestamp,omitempty"`
	// name of the replicaset in Kubernetes
	Name *string `json:"name,omitempty"`
	// number of ready replicas for the replicaset
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`
	// number of desired replicas for the replicaset
	Replicas *int32 `json:"replicas,omitempty"`
	// Git sha of a service
	GitSha NullableString `json:"git_sha,omitempty"`
	// Hash of configuration of this replicaset
	ConfigSha NullableString `json:"config_sha,omitempty"`
}

KubernetesReplicaSet struct for KubernetesReplicaSet

func NewKubernetesReplicaSet

func NewKubernetesReplicaSet() *KubernetesReplicaSet

NewKubernetesReplicaSet instantiates a new KubernetesReplicaSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewKubernetesReplicaSetWithDefaults

func NewKubernetesReplicaSetWithDefaults() *KubernetesReplicaSet

NewKubernetesReplicaSetWithDefaults instantiates a new KubernetesReplicaSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*KubernetesReplicaSet) GetConfigSha

func (o *KubernetesReplicaSet) GetConfigSha() string

GetConfigSha returns the ConfigSha field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesReplicaSet) GetConfigShaOk

func (o *KubernetesReplicaSet) GetConfigShaOk() (*string, bool)

GetConfigShaOk returns a tuple with the ConfigSha field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesReplicaSet) GetCreateTimestamp

func (o *KubernetesReplicaSet) GetCreateTimestamp() float32

GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.

func (*KubernetesReplicaSet) GetCreateTimestampOk

func (o *KubernetesReplicaSet) GetCreateTimestampOk() (*float32, bool)

GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesReplicaSet) GetGitSha

func (o *KubernetesReplicaSet) GetGitSha() string

GetGitSha returns the GitSha field value if set, zero value otherwise (both if not set or set to explicit null).

func (*KubernetesReplicaSet) GetGitShaOk

func (o *KubernetesReplicaSet) GetGitShaOk() (*string, bool)

GetGitShaOk returns a tuple with the GitSha field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*KubernetesReplicaSet) GetName

func (o *KubernetesReplicaSet) GetName() string

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

func (*KubernetesReplicaSet) GetNameOk

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

func (o *KubernetesReplicaSet) GetReadyReplicas() int32

GetReadyReplicas returns the ReadyReplicas field value if set, zero value otherwise.

func (*KubernetesReplicaSet) GetReadyReplicasOk

func (o *KubernetesReplicaSet) GetReadyReplicasOk() (*int32, bool)

GetReadyReplicasOk returns a tuple with the ReadyReplicas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesReplicaSet) GetReplicas

func (o *KubernetesReplicaSet) GetReplicas() int32

GetReplicas returns the Replicas field value if set, zero value otherwise.

func (*KubernetesReplicaSet) GetReplicasOk

func (o *KubernetesReplicaSet) GetReplicasOk() (*int32, bool)

GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*KubernetesReplicaSet) HasConfigSha

func (o *KubernetesReplicaSet) HasConfigSha() bool

HasConfigSha returns a boolean if a field has been set.

func (*KubernetesReplicaSet) HasCreateTimestamp

func (o *KubernetesReplicaSet) HasCreateTimestamp() bool

HasCreateTimestamp returns a boolean if a field has been set.

func (*KubernetesReplicaSet) HasGitSha

func (o *KubernetesReplicaSet) HasGitSha() bool

HasGitSha returns a boolean if a field has been set.

func (*KubernetesReplicaSet) HasName

func (o *KubernetesReplicaSet) HasName() bool

HasName returns a boolean if a field has been set.

func (*KubernetesReplicaSet) HasReadyReplicas

func (o *KubernetesReplicaSet) HasReadyReplicas() bool

HasReadyReplicas returns a boolean if a field has been set.

func (*KubernetesReplicaSet) HasReplicas

func (o *KubernetesReplicaSet) HasReplicas() bool

HasReplicas returns a boolean if a field has been set.

func (KubernetesReplicaSet) MarshalJSON

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

func (*KubernetesReplicaSet) SetConfigSha

func (o *KubernetesReplicaSet) SetConfigSha(v string)

SetConfigSha gets a reference to the given NullableString and assigns it to the ConfigSha field.

func (*KubernetesReplicaSet) SetConfigShaNil

func (o *KubernetesReplicaSet) SetConfigShaNil()

SetConfigShaNil sets the value for ConfigSha to be an explicit nil

func (*KubernetesReplicaSet) SetCreateTimestamp

func (o *KubernetesReplicaSet) SetCreateTimestamp(v float32)

SetCreateTimestamp gets a reference to the given float32 and assigns it to the CreateTimestamp field.

func (*KubernetesReplicaSet) SetGitSha

func (o *KubernetesReplicaSet) SetGitSha(v string)

SetGitSha gets a reference to the given NullableString and assigns it to the GitSha field.

func (*KubernetesReplicaSet) SetGitShaNil

func (o *KubernetesReplicaSet) SetGitShaNil()

SetGitShaNil sets the value for GitSha to be an explicit nil

func (*KubernetesReplicaSet) SetName

func (o *KubernetesReplicaSet) SetName(v string)

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

func (*KubernetesReplicaSet) SetReadyReplicas

func (o *KubernetesReplicaSet) SetReadyReplicas(v int32)

SetReadyReplicas gets a reference to the given int32 and assigns it to the ReadyReplicas field.

func (*KubernetesReplicaSet) SetReplicas

func (o *KubernetesReplicaSet) SetReplicas(v int32)

SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.

func (*KubernetesReplicaSet) UnsetConfigSha

func (o *KubernetesReplicaSet) UnsetConfigSha()

UnsetConfigSha ensures that no value is present for ConfigSha, not even an explicit nil

func (*KubernetesReplicaSet) UnsetGitSha

func (o *KubernetesReplicaSet) UnsetGitSha()

UnsetGitSha ensures that no value is present for GitSha, not even an explicit nil

type MarathonAppStatus

type MarathonAppStatus struct {
	// Backoff in seconds before launching next task
	BackoffSeconds *int32 `json:"backoff_seconds,omitempty"`
	// Unix timestamp when this app was created
	CreateTimestamp *float32 `json:"create_timestamp,omitempty"`
	// Marathon dashboard URL for this app
	DashboardUrl *string `json:"dashboard_url,omitempty"`
	// Deploy status of this app
	DeployStatus *string `json:"deploy_status,omitempty"`
	// Tasks associated to this app
	Tasks *[]MarathonTask `json:"tasks,omitempty"`
	// Number of healthy tasks for this app
	TasksHealthy *int32 `json:"tasks_healthy,omitempty"`
	// Number running tasks for this app
	TasksRunning *int32 `json:"tasks_running,omitempty"`
	// Number of staged tasks for this app
	TasksStaged *int32 `json:"tasks_staged,omitempty"`
	// Total number of tasks for this app
	TasksTotal *int32 `json:"tasks_total,omitempty"`
	// Mapping of reason offer was refused to the number of times that type of refusal was seen
	UnusedOfferReasonCounts *map[string]interface{} `json:"unused_offer_reason_counts,omitempty"`
	UnusedOffers            *map[string]interface{} `json:"unused_offers,omitempty"`
}

MarathonAppStatus struct for MarathonAppStatus

func NewMarathonAppStatus

func NewMarathonAppStatus() *MarathonAppStatus

NewMarathonAppStatus instantiates a new MarathonAppStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonAppStatusWithDefaults

func NewMarathonAppStatusWithDefaults() *MarathonAppStatus

NewMarathonAppStatusWithDefaults instantiates a new MarathonAppStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonAppStatus) GetBackoffSeconds

func (o *MarathonAppStatus) GetBackoffSeconds() int32

GetBackoffSeconds returns the BackoffSeconds field value if set, zero value otherwise.

func (*MarathonAppStatus) GetBackoffSecondsOk

func (o *MarathonAppStatus) GetBackoffSecondsOk() (*int32, bool)

GetBackoffSecondsOk returns a tuple with the BackoffSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetCreateTimestamp

func (o *MarathonAppStatus) GetCreateTimestamp() float32

GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.

func (*MarathonAppStatus) GetCreateTimestampOk

func (o *MarathonAppStatus) GetCreateTimestampOk() (*float32, bool)

GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetDashboardUrl

func (o *MarathonAppStatus) GetDashboardUrl() string

GetDashboardUrl returns the DashboardUrl field value if set, zero value otherwise.

func (*MarathonAppStatus) GetDashboardUrlOk

func (o *MarathonAppStatus) GetDashboardUrlOk() (*string, bool)

GetDashboardUrlOk returns a tuple with the DashboardUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetDeployStatus

func (o *MarathonAppStatus) GetDeployStatus() string

GetDeployStatus returns the DeployStatus field value if set, zero value otherwise.

func (*MarathonAppStatus) GetDeployStatusOk

func (o *MarathonAppStatus) GetDeployStatusOk() (*string, bool)

GetDeployStatusOk returns a tuple with the DeployStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetTasks

func (o *MarathonAppStatus) GetTasks() []MarathonTask

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

func (*MarathonAppStatus) GetTasksHealthy

func (o *MarathonAppStatus) GetTasksHealthy() int32

GetTasksHealthy returns the TasksHealthy field value if set, zero value otherwise.

func (*MarathonAppStatus) GetTasksHealthyOk

func (o *MarathonAppStatus) GetTasksHealthyOk() (*int32, bool)

GetTasksHealthyOk returns a tuple with the TasksHealthy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetTasksOk

func (o *MarathonAppStatus) GetTasksOk() (*[]MarathonTask, 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 (*MarathonAppStatus) GetTasksRunning

func (o *MarathonAppStatus) GetTasksRunning() int32

GetTasksRunning returns the TasksRunning field value if set, zero value otherwise.

func (*MarathonAppStatus) GetTasksRunningOk

func (o *MarathonAppStatus) GetTasksRunningOk() (*int32, bool)

GetTasksRunningOk returns a tuple with the TasksRunning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetTasksStaged

func (o *MarathonAppStatus) GetTasksStaged() int32

GetTasksStaged returns the TasksStaged field value if set, zero value otherwise.

func (*MarathonAppStatus) GetTasksStagedOk

func (o *MarathonAppStatus) GetTasksStagedOk() (*int32, bool)

GetTasksStagedOk returns a tuple with the TasksStaged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetTasksTotal

func (o *MarathonAppStatus) GetTasksTotal() int32

GetTasksTotal returns the TasksTotal field value if set, zero value otherwise.

func (*MarathonAppStatus) GetTasksTotalOk

func (o *MarathonAppStatus) GetTasksTotalOk() (*int32, bool)

GetTasksTotalOk returns a tuple with the TasksTotal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetUnusedOfferReasonCounts

func (o *MarathonAppStatus) GetUnusedOfferReasonCounts() map[string]interface{}

GetUnusedOfferReasonCounts returns the UnusedOfferReasonCounts field value if set, zero value otherwise.

func (*MarathonAppStatus) GetUnusedOfferReasonCountsOk

func (o *MarathonAppStatus) GetUnusedOfferReasonCountsOk() (*map[string]interface{}, bool)

GetUnusedOfferReasonCountsOk returns a tuple with the UnusedOfferReasonCounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) GetUnusedOffers

func (o *MarathonAppStatus) GetUnusedOffers() map[string]interface{}

GetUnusedOffers returns the UnusedOffers field value if set, zero value otherwise.

func (*MarathonAppStatus) GetUnusedOffersOk

func (o *MarathonAppStatus) GetUnusedOffersOk() (*map[string]interface{}, bool)

GetUnusedOffersOk returns a tuple with the UnusedOffers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAppStatus) HasBackoffSeconds

func (o *MarathonAppStatus) HasBackoffSeconds() bool

HasBackoffSeconds returns a boolean if a field has been set.

func (*MarathonAppStatus) HasCreateTimestamp

func (o *MarathonAppStatus) HasCreateTimestamp() bool

HasCreateTimestamp returns a boolean if a field has been set.

func (*MarathonAppStatus) HasDashboardUrl

func (o *MarathonAppStatus) HasDashboardUrl() bool

HasDashboardUrl returns a boolean if a field has been set.

func (*MarathonAppStatus) HasDeployStatus

func (o *MarathonAppStatus) HasDeployStatus() bool

HasDeployStatus returns a boolean if a field has been set.

func (*MarathonAppStatus) HasTasks

func (o *MarathonAppStatus) HasTasks() bool

HasTasks returns a boolean if a field has been set.

func (*MarathonAppStatus) HasTasksHealthy

func (o *MarathonAppStatus) HasTasksHealthy() bool

HasTasksHealthy returns a boolean if a field has been set.

func (*MarathonAppStatus) HasTasksRunning

func (o *MarathonAppStatus) HasTasksRunning() bool

HasTasksRunning returns a boolean if a field has been set.

func (*MarathonAppStatus) HasTasksStaged

func (o *MarathonAppStatus) HasTasksStaged() bool

HasTasksStaged returns a boolean if a field has been set.

func (*MarathonAppStatus) HasTasksTotal

func (o *MarathonAppStatus) HasTasksTotal() bool

HasTasksTotal returns a boolean if a field has been set.

func (*MarathonAppStatus) HasUnusedOfferReasonCounts

func (o *MarathonAppStatus) HasUnusedOfferReasonCounts() bool

HasUnusedOfferReasonCounts returns a boolean if a field has been set.

func (*MarathonAppStatus) HasUnusedOffers

func (o *MarathonAppStatus) HasUnusedOffers() bool

HasUnusedOffers returns a boolean if a field has been set.

func (MarathonAppStatus) MarshalJSON

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

func (*MarathonAppStatus) SetBackoffSeconds

func (o *MarathonAppStatus) SetBackoffSeconds(v int32)

SetBackoffSeconds gets a reference to the given int32 and assigns it to the BackoffSeconds field.

func (*MarathonAppStatus) SetCreateTimestamp

func (o *MarathonAppStatus) SetCreateTimestamp(v float32)

SetCreateTimestamp gets a reference to the given float32 and assigns it to the CreateTimestamp field.

func (*MarathonAppStatus) SetDashboardUrl

func (o *MarathonAppStatus) SetDashboardUrl(v string)

SetDashboardUrl gets a reference to the given string and assigns it to the DashboardUrl field.

func (*MarathonAppStatus) SetDeployStatus

func (o *MarathonAppStatus) SetDeployStatus(v string)

SetDeployStatus gets a reference to the given string and assigns it to the DeployStatus field.

func (*MarathonAppStatus) SetTasks

func (o *MarathonAppStatus) SetTasks(v []MarathonTask)

SetTasks gets a reference to the given []MarathonTask and assigns it to the Tasks field.

func (*MarathonAppStatus) SetTasksHealthy

func (o *MarathonAppStatus) SetTasksHealthy(v int32)

SetTasksHealthy gets a reference to the given int32 and assigns it to the TasksHealthy field.

func (*MarathonAppStatus) SetTasksRunning

func (o *MarathonAppStatus) SetTasksRunning(v int32)

SetTasksRunning gets a reference to the given int32 and assigns it to the TasksRunning field.

func (*MarathonAppStatus) SetTasksStaged

func (o *MarathonAppStatus) SetTasksStaged(v int32)

SetTasksStaged gets a reference to the given int32 and assigns it to the TasksStaged field.

func (*MarathonAppStatus) SetTasksTotal

func (o *MarathonAppStatus) SetTasksTotal(v int32)

SetTasksTotal gets a reference to the given int32 and assigns it to the TasksTotal field.

func (*MarathonAppStatus) SetUnusedOfferReasonCounts

func (o *MarathonAppStatus) SetUnusedOfferReasonCounts(v map[string]interface{})

SetUnusedOfferReasonCounts gets a reference to the given map[string]interface{} and assigns it to the UnusedOfferReasonCounts field.

func (*MarathonAppStatus) SetUnusedOffers

func (o *MarathonAppStatus) SetUnusedOffers(v map[string]interface{})

SetUnusedOffers gets a reference to the given map[string]interface{} and assigns it to the UnusedOffers field.

type MarathonAutoscalingInfo

type MarathonAutoscalingInfo struct {
	// The number of instances of the service currently running
	CurrentInstances *int32 `json:"current_instances,omitempty"`
	// The current utilization of the instances' allocated resources
	CurrentUtilization NullableFloat32 `json:"current_utilization,omitempty"`
	// The maximum number of instances that the autoscaler will scale to
	MaxInstances *int32 `json:"max_instances,omitempty"`
	// The minimum number of instances that the autoscaler will scale to
	MinInstances *int32 `json:"min_instances,omitempty"`
	// The autoscaler's current target number of instances of this service to run
	TargetInstances NullableInt32 `json:"target_instances,omitempty"`
}

MarathonAutoscalingInfo struct for MarathonAutoscalingInfo

func NewMarathonAutoscalingInfo

func NewMarathonAutoscalingInfo() *MarathonAutoscalingInfo

NewMarathonAutoscalingInfo instantiates a new MarathonAutoscalingInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonAutoscalingInfoWithDefaults

func NewMarathonAutoscalingInfoWithDefaults() *MarathonAutoscalingInfo

NewMarathonAutoscalingInfoWithDefaults instantiates a new MarathonAutoscalingInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonAutoscalingInfo) GetCurrentInstances

func (o *MarathonAutoscalingInfo) GetCurrentInstances() int32

GetCurrentInstances returns the CurrentInstances field value if set, zero value otherwise.

func (*MarathonAutoscalingInfo) GetCurrentInstancesOk

func (o *MarathonAutoscalingInfo) GetCurrentInstancesOk() (*int32, bool)

GetCurrentInstancesOk returns a tuple with the CurrentInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAutoscalingInfo) GetCurrentUtilization

func (o *MarathonAutoscalingInfo) GetCurrentUtilization() float32

GetCurrentUtilization returns the CurrentUtilization field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MarathonAutoscalingInfo) GetCurrentUtilizationOk

func (o *MarathonAutoscalingInfo) GetCurrentUtilizationOk() (*float32, bool)

GetCurrentUtilizationOk returns a tuple with the CurrentUtilization field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MarathonAutoscalingInfo) GetMaxInstances

func (o *MarathonAutoscalingInfo) GetMaxInstances() int32

GetMaxInstances returns the MaxInstances field value if set, zero value otherwise.

func (*MarathonAutoscalingInfo) GetMaxInstancesOk

func (o *MarathonAutoscalingInfo) GetMaxInstancesOk() (*int32, bool)

GetMaxInstancesOk returns a tuple with the MaxInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAutoscalingInfo) GetMinInstances

func (o *MarathonAutoscalingInfo) GetMinInstances() int32

GetMinInstances returns the MinInstances field value if set, zero value otherwise.

func (*MarathonAutoscalingInfo) GetMinInstancesOk

func (o *MarathonAutoscalingInfo) GetMinInstancesOk() (*int32, bool)

GetMinInstancesOk returns a tuple with the MinInstances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonAutoscalingInfo) GetTargetInstances

func (o *MarathonAutoscalingInfo) GetTargetInstances() int32

GetTargetInstances returns the TargetInstances field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MarathonAutoscalingInfo) GetTargetInstancesOk

func (o *MarathonAutoscalingInfo) GetTargetInstancesOk() (*int32, bool)

GetTargetInstancesOk returns a tuple with the TargetInstances field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MarathonAutoscalingInfo) HasCurrentInstances

func (o *MarathonAutoscalingInfo) HasCurrentInstances() bool

HasCurrentInstances returns a boolean if a field has been set.

func (*MarathonAutoscalingInfo) HasCurrentUtilization

func (o *MarathonAutoscalingInfo) HasCurrentUtilization() bool

HasCurrentUtilization returns a boolean if a field has been set.

func (*MarathonAutoscalingInfo) HasMaxInstances

func (o *MarathonAutoscalingInfo) HasMaxInstances() bool

HasMaxInstances returns a boolean if a field has been set.

func (*MarathonAutoscalingInfo) HasMinInstances

func (o *MarathonAutoscalingInfo) HasMinInstances() bool

HasMinInstances returns a boolean if a field has been set.

func (*MarathonAutoscalingInfo) HasTargetInstances

func (o *MarathonAutoscalingInfo) HasTargetInstances() bool

HasTargetInstances returns a boolean if a field has been set.

func (MarathonAutoscalingInfo) MarshalJSON

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

func (*MarathonAutoscalingInfo) SetCurrentInstances

func (o *MarathonAutoscalingInfo) SetCurrentInstances(v int32)

SetCurrentInstances gets a reference to the given int32 and assigns it to the CurrentInstances field.

func (*MarathonAutoscalingInfo) SetCurrentUtilization

func (o *MarathonAutoscalingInfo) SetCurrentUtilization(v float32)

SetCurrentUtilization gets a reference to the given NullableFloat32 and assigns it to the CurrentUtilization field.

func (*MarathonAutoscalingInfo) SetCurrentUtilizationNil

func (o *MarathonAutoscalingInfo) SetCurrentUtilizationNil()

SetCurrentUtilizationNil sets the value for CurrentUtilization to be an explicit nil

func (*MarathonAutoscalingInfo) SetMaxInstances

func (o *MarathonAutoscalingInfo) SetMaxInstances(v int32)

SetMaxInstances gets a reference to the given int32 and assigns it to the MaxInstances field.

func (*MarathonAutoscalingInfo) SetMinInstances

func (o *MarathonAutoscalingInfo) SetMinInstances(v int32)

SetMinInstances gets a reference to the given int32 and assigns it to the MinInstances field.

func (*MarathonAutoscalingInfo) SetTargetInstances

func (o *MarathonAutoscalingInfo) SetTargetInstances(v int32)

SetTargetInstances gets a reference to the given NullableInt32 and assigns it to the TargetInstances field.

func (*MarathonAutoscalingInfo) SetTargetInstancesNil

func (o *MarathonAutoscalingInfo) SetTargetInstancesNil()

SetTargetInstancesNil sets the value for TargetInstances to be an explicit nil

func (*MarathonAutoscalingInfo) UnsetCurrentUtilization

func (o *MarathonAutoscalingInfo) UnsetCurrentUtilization()

UnsetCurrentUtilization ensures that no value is present for CurrentUtilization, not even an explicit nil

func (*MarathonAutoscalingInfo) UnsetTargetInstances

func (o *MarathonAutoscalingInfo) UnsetTargetInstances()

UnsetTargetInstances ensures that no value is present for TargetInstances, not even an explicit nil

type MarathonDashboardApiService

type MarathonDashboardApiService service

MarathonDashboardApiService MarathonDashboardApi service

func (*MarathonDashboardApiService) MarathonDashboard

* MarathonDashboard Get marathon service instances and their shards * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiMarathonDashboardRequest

func (*MarathonDashboardApiService) MarathonDashboardExecute

* Execute executes the request * @return map[string][]MarathonDashboardItem

type MarathonDashboardItem

type MarathonDashboardItem struct {
	// Instance name
	Instance *string `json:"instance,omitempty"`
	// Service name
	Service *string `json:"service,omitempty"`
	// Marathon Shard URL
	ShardUrl *string `json:"shard_url,omitempty"`
}

MarathonDashboardItem Marathon service, instance, and shard url

func NewMarathonDashboardItem

func NewMarathonDashboardItem() *MarathonDashboardItem

NewMarathonDashboardItem instantiates a new MarathonDashboardItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonDashboardItemWithDefaults

func NewMarathonDashboardItemWithDefaults() *MarathonDashboardItem

NewMarathonDashboardItemWithDefaults instantiates a new MarathonDashboardItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonDashboardItem) GetInstance

func (o *MarathonDashboardItem) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*MarathonDashboardItem) GetInstanceOk

func (o *MarathonDashboardItem) GetInstanceOk() (*string, bool)

GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonDashboardItem) GetService

func (o *MarathonDashboardItem) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*MarathonDashboardItem) GetServiceOk

func (o *MarathonDashboardItem) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonDashboardItem) GetShardUrl

func (o *MarathonDashboardItem) GetShardUrl() string

GetShardUrl returns the ShardUrl field value if set, zero value otherwise.

func (*MarathonDashboardItem) GetShardUrlOk

func (o *MarathonDashboardItem) GetShardUrlOk() (*string, bool)

GetShardUrlOk returns a tuple with the ShardUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonDashboardItem) HasInstance

func (o *MarathonDashboardItem) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*MarathonDashboardItem) HasService

func (o *MarathonDashboardItem) HasService() bool

HasService returns a boolean if a field has been set.

func (*MarathonDashboardItem) HasShardUrl

func (o *MarathonDashboardItem) HasShardUrl() bool

HasShardUrl returns a boolean if a field has been set.

func (MarathonDashboardItem) MarshalJSON

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

func (*MarathonDashboardItem) SetInstance

func (o *MarathonDashboardItem) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*MarathonDashboardItem) SetService

func (o *MarathonDashboardItem) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*MarathonDashboardItem) SetShardUrl

func (o *MarathonDashboardItem) SetShardUrl(v string)

SetShardUrl gets a reference to the given string and assigns it to the ShardUrl field.

type MarathonMesosNonrunningTask

type MarathonMesosNonrunningTask struct {
	// The unix timestamp at which the task was deployed
	DeployedTimestamp *float32 `json:"deployed_timestamp,omitempty"`
	// Name of the Mesos agent on which this task is running
	Hostname *string `json:"hostname,omitempty"`
	// The ID of the task in Mesos
	Id *string `json:"id,omitempty"`
	// The current state of the task
	State     *string        `json:"state,omitempty"`
	TailLines *TaskTailLines `json:"tail_lines,omitempty"`
}

MarathonMesosNonrunningTask struct for MarathonMesosNonrunningTask

func NewMarathonMesosNonrunningTask

func NewMarathonMesosNonrunningTask() *MarathonMesosNonrunningTask

NewMarathonMesosNonrunningTask instantiates a new MarathonMesosNonrunningTask object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonMesosNonrunningTaskWithDefaults

func NewMarathonMesosNonrunningTaskWithDefaults() *MarathonMesosNonrunningTask

NewMarathonMesosNonrunningTaskWithDefaults instantiates a new MarathonMesosNonrunningTask object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonMesosNonrunningTask) GetDeployedTimestamp

func (o *MarathonMesosNonrunningTask) GetDeployedTimestamp() float32

GetDeployedTimestamp returns the DeployedTimestamp field value if set, zero value otherwise.

func (*MarathonMesosNonrunningTask) GetDeployedTimestampOk

func (o *MarathonMesosNonrunningTask) GetDeployedTimestampOk() (*float32, bool)

GetDeployedTimestampOk returns a tuple with the DeployedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosNonrunningTask) GetHostname

func (o *MarathonMesosNonrunningTask) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*MarathonMesosNonrunningTask) GetHostnameOk

func (o *MarathonMesosNonrunningTask) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosNonrunningTask) GetId

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

func (*MarathonMesosNonrunningTask) GetIdOk

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

func (o *MarathonMesosNonrunningTask) GetState() string

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

func (*MarathonMesosNonrunningTask) GetStateOk

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

func (o *MarathonMesosNonrunningTask) GetTailLines() TaskTailLines

GetTailLines returns the TailLines field value if set, zero value otherwise.

func (*MarathonMesosNonrunningTask) GetTailLinesOk

func (o *MarathonMesosNonrunningTask) GetTailLinesOk() (*TaskTailLines, bool)

GetTailLinesOk returns a tuple with the TailLines field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosNonrunningTask) HasDeployedTimestamp

func (o *MarathonMesosNonrunningTask) HasDeployedTimestamp() bool

HasDeployedTimestamp returns a boolean if a field has been set.

func (*MarathonMesosNonrunningTask) HasHostname

func (o *MarathonMesosNonrunningTask) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*MarathonMesosNonrunningTask) HasId

func (o *MarathonMesosNonrunningTask) HasId() bool

HasId returns a boolean if a field has been set.

func (*MarathonMesosNonrunningTask) HasState

func (o *MarathonMesosNonrunningTask) HasState() bool

HasState returns a boolean if a field has been set.

func (*MarathonMesosNonrunningTask) HasTailLines

func (o *MarathonMesosNonrunningTask) HasTailLines() bool

HasTailLines returns a boolean if a field has been set.

func (MarathonMesosNonrunningTask) MarshalJSON

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

func (*MarathonMesosNonrunningTask) SetDeployedTimestamp

func (o *MarathonMesosNonrunningTask) SetDeployedTimestamp(v float32)

SetDeployedTimestamp gets a reference to the given float32 and assigns it to the DeployedTimestamp field.

func (*MarathonMesosNonrunningTask) SetHostname

func (o *MarathonMesosNonrunningTask) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*MarathonMesosNonrunningTask) SetId

func (o *MarathonMesosNonrunningTask) SetId(v string)

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

func (*MarathonMesosNonrunningTask) SetState

func (o *MarathonMesosNonrunningTask) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*MarathonMesosNonrunningTask) SetTailLines

func (o *MarathonMesosNonrunningTask) SetTailLines(v TaskTailLines)

SetTailLines gets a reference to the given TaskTailLines and assigns it to the TailLines field.

type MarathonMesosRunningTask

type MarathonMesosRunningTask struct {
	CpuShares      *FloatAndError `json:"cpu_shares,omitempty"`
	CpuUsedSeconds *FloatAndError `json:"cpu_used_seconds,omitempty"`
	// The unix timestamp at which the task was deployed
	DeployedTimestamp *float32 `json:"deployed_timestamp,omitempty"`
	// The duration over which the task has been running in seconds
	DurationSeconds *int32 `json:"duration_seconds,omitempty"`
	// Name of the Mesos agent on which this task is running
	Hostname *string `json:"hostname,omitempty"`
	// The ID of the task in Mesos
	Id        *string          `json:"id,omitempty"`
	MemLimit  *IntegerAndError `json:"mem_limit,omitempty"`
	Rss       *IntegerAndError `json:"rss,omitempty"`
	TailLines *TaskTailLines   `json:"tail_lines,omitempty"`
}

MarathonMesosRunningTask struct for MarathonMesosRunningTask

func NewMarathonMesosRunningTask

func NewMarathonMesosRunningTask() *MarathonMesosRunningTask

NewMarathonMesosRunningTask instantiates a new MarathonMesosRunningTask object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonMesosRunningTaskWithDefaults

func NewMarathonMesosRunningTaskWithDefaults() *MarathonMesosRunningTask

NewMarathonMesosRunningTaskWithDefaults instantiates a new MarathonMesosRunningTask object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonMesosRunningTask) GetCpuShares

func (o *MarathonMesosRunningTask) GetCpuShares() FloatAndError

GetCpuShares returns the CpuShares field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetCpuSharesOk

func (o *MarathonMesosRunningTask) GetCpuSharesOk() (*FloatAndError, 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 (*MarathonMesosRunningTask) GetCpuUsedSeconds

func (o *MarathonMesosRunningTask) GetCpuUsedSeconds() FloatAndError

GetCpuUsedSeconds returns the CpuUsedSeconds field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetCpuUsedSecondsOk

func (o *MarathonMesosRunningTask) GetCpuUsedSecondsOk() (*FloatAndError, bool)

GetCpuUsedSecondsOk returns a tuple with the CpuUsedSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetDeployedTimestamp

func (o *MarathonMesosRunningTask) GetDeployedTimestamp() float32

GetDeployedTimestamp returns the DeployedTimestamp field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetDeployedTimestampOk

func (o *MarathonMesosRunningTask) GetDeployedTimestampOk() (*float32, bool)

GetDeployedTimestampOk returns a tuple with the DeployedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetDurationSeconds

func (o *MarathonMesosRunningTask) GetDurationSeconds() int32

GetDurationSeconds returns the DurationSeconds field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetDurationSecondsOk

func (o *MarathonMesosRunningTask) GetDurationSecondsOk() (*int32, bool)

GetDurationSecondsOk returns a tuple with the DurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetHostname

func (o *MarathonMesosRunningTask) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetHostnameOk

func (o *MarathonMesosRunningTask) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetId

func (o *MarathonMesosRunningTask) GetId() string

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

func (*MarathonMesosRunningTask) GetIdOk

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

func (o *MarathonMesosRunningTask) GetMemLimit() IntegerAndError

GetMemLimit returns the MemLimit field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetMemLimitOk

func (o *MarathonMesosRunningTask) GetMemLimitOk() (*IntegerAndError, bool)

GetMemLimitOk returns a tuple with the MemLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetRss

GetRss returns the Rss field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetRssOk

func (o *MarathonMesosRunningTask) GetRssOk() (*IntegerAndError, bool)

GetRssOk returns a tuple with the Rss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) GetTailLines

func (o *MarathonMesosRunningTask) GetTailLines() TaskTailLines

GetTailLines returns the TailLines field value if set, zero value otherwise.

func (*MarathonMesosRunningTask) GetTailLinesOk

func (o *MarathonMesosRunningTask) GetTailLinesOk() (*TaskTailLines, bool)

GetTailLinesOk returns a tuple with the TailLines field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosRunningTask) HasCpuShares

func (o *MarathonMesosRunningTask) HasCpuShares() bool

HasCpuShares returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasCpuUsedSeconds

func (o *MarathonMesosRunningTask) HasCpuUsedSeconds() bool

HasCpuUsedSeconds returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasDeployedTimestamp

func (o *MarathonMesosRunningTask) HasDeployedTimestamp() bool

HasDeployedTimestamp returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasDurationSeconds

func (o *MarathonMesosRunningTask) HasDurationSeconds() bool

HasDurationSeconds returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasHostname

func (o *MarathonMesosRunningTask) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasId

func (o *MarathonMesosRunningTask) HasId() bool

HasId returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasMemLimit

func (o *MarathonMesosRunningTask) HasMemLimit() bool

HasMemLimit returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasRss

func (o *MarathonMesosRunningTask) HasRss() bool

HasRss returns a boolean if a field has been set.

func (*MarathonMesosRunningTask) HasTailLines

func (o *MarathonMesosRunningTask) HasTailLines() bool

HasTailLines returns a boolean if a field has been set.

func (MarathonMesosRunningTask) MarshalJSON

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

func (*MarathonMesosRunningTask) SetCpuShares

func (o *MarathonMesosRunningTask) SetCpuShares(v FloatAndError)

SetCpuShares gets a reference to the given FloatAndError and assigns it to the CpuShares field.

func (*MarathonMesosRunningTask) SetCpuUsedSeconds

func (o *MarathonMesosRunningTask) SetCpuUsedSeconds(v FloatAndError)

SetCpuUsedSeconds gets a reference to the given FloatAndError and assigns it to the CpuUsedSeconds field.

func (*MarathonMesosRunningTask) SetDeployedTimestamp

func (o *MarathonMesosRunningTask) SetDeployedTimestamp(v float32)

SetDeployedTimestamp gets a reference to the given float32 and assigns it to the DeployedTimestamp field.

func (*MarathonMesosRunningTask) SetDurationSeconds

func (o *MarathonMesosRunningTask) SetDurationSeconds(v int32)

SetDurationSeconds gets a reference to the given int32 and assigns it to the DurationSeconds field.

func (*MarathonMesosRunningTask) SetHostname

func (o *MarathonMesosRunningTask) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*MarathonMesosRunningTask) SetId

func (o *MarathonMesosRunningTask) SetId(v string)

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

func (*MarathonMesosRunningTask) SetMemLimit

func (o *MarathonMesosRunningTask) SetMemLimit(v IntegerAndError)

SetMemLimit gets a reference to the given IntegerAndError and assigns it to the MemLimit field.

func (*MarathonMesosRunningTask) SetRss

SetRss gets a reference to the given IntegerAndError and assigns it to the Rss field.

func (*MarathonMesosRunningTask) SetTailLines

func (o *MarathonMesosRunningTask) SetTailLines(v TaskTailLines)

SetTailLines gets a reference to the given TaskTailLines and assigns it to the TailLines field.

type MarathonMesosStatus

type MarathonMesosStatus struct {
	// Error message when Mesos tasks cannot be queried
	ErrorMessage *string `json:"error_message,omitempty"`
	// Non-running tasks associated to this service
	NonRunningTasks *[]MarathonMesosNonrunningTask `json:"non_running_tasks,omitempty"`
	// The number of running Mesos tasks associated to this service
	RunningTaskCount *int32 `json:"running_task_count,omitempty"`
	// Currently running tasks associated to this service
	RunningTasks *[]MarathonMesosRunningTask `json:"running_tasks,omitempty"`
}

MarathonMesosStatus struct for MarathonMesosStatus

func NewMarathonMesosStatus

func NewMarathonMesosStatus() *MarathonMesosStatus

NewMarathonMesosStatus instantiates a new MarathonMesosStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonMesosStatusWithDefaults

func NewMarathonMesosStatusWithDefaults() *MarathonMesosStatus

NewMarathonMesosStatusWithDefaults instantiates a new MarathonMesosStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonMesosStatus) GetErrorMessage

func (o *MarathonMesosStatus) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*MarathonMesosStatus) GetErrorMessageOk

func (o *MarathonMesosStatus) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosStatus) GetNonRunningTasks

func (o *MarathonMesosStatus) GetNonRunningTasks() []MarathonMesosNonrunningTask

GetNonRunningTasks returns the NonRunningTasks field value if set, zero value otherwise.

func (*MarathonMesosStatus) GetNonRunningTasksOk

func (o *MarathonMesosStatus) GetNonRunningTasksOk() (*[]MarathonMesosNonrunningTask, bool)

GetNonRunningTasksOk returns a tuple with the NonRunningTasks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosStatus) GetRunningTaskCount

func (o *MarathonMesosStatus) GetRunningTaskCount() int32

GetRunningTaskCount returns the RunningTaskCount field value if set, zero value otherwise.

func (*MarathonMesosStatus) GetRunningTaskCountOk

func (o *MarathonMesosStatus) GetRunningTaskCountOk() (*int32, bool)

GetRunningTaskCountOk returns a tuple with the RunningTaskCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosStatus) GetRunningTasks

func (o *MarathonMesosStatus) GetRunningTasks() []MarathonMesosRunningTask

GetRunningTasks returns the RunningTasks field value if set, zero value otherwise.

func (*MarathonMesosStatus) GetRunningTasksOk

func (o *MarathonMesosStatus) GetRunningTasksOk() (*[]MarathonMesosRunningTask, bool)

GetRunningTasksOk returns a tuple with the RunningTasks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonMesosStatus) HasErrorMessage

func (o *MarathonMesosStatus) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*MarathonMesosStatus) HasNonRunningTasks

func (o *MarathonMesosStatus) HasNonRunningTasks() bool

HasNonRunningTasks returns a boolean if a field has been set.

func (*MarathonMesosStatus) HasRunningTaskCount

func (o *MarathonMesosStatus) HasRunningTaskCount() bool

HasRunningTaskCount returns a boolean if a field has been set.

func (*MarathonMesosStatus) HasRunningTasks

func (o *MarathonMesosStatus) HasRunningTasks() bool

HasRunningTasks returns a boolean if a field has been set.

func (MarathonMesosStatus) MarshalJSON

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

func (*MarathonMesosStatus) SetErrorMessage

func (o *MarathonMesosStatus) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*MarathonMesosStatus) SetNonRunningTasks

func (o *MarathonMesosStatus) SetNonRunningTasks(v []MarathonMesosNonrunningTask)

SetNonRunningTasks gets a reference to the given []MarathonMesosNonrunningTask and assigns it to the NonRunningTasks field.

func (*MarathonMesosStatus) SetRunningTaskCount

func (o *MarathonMesosStatus) SetRunningTaskCount(v int32)

SetRunningTaskCount gets a reference to the given int32 and assigns it to the RunningTaskCount field.

func (*MarathonMesosStatus) SetRunningTasks

func (o *MarathonMesosStatus) SetRunningTasks(v []MarathonMesosRunningTask)

SetRunningTasks gets a reference to the given []MarathonMesosRunningTask and assigns it to the RunningTasks field.

type MarathonTask

type MarathonTask struct {
	// Time at which the task was deployed
	DeployedTimestamp *float32 `json:"deployed_timestamp,omitempty"`
	// Name of the host on which the task is running
	Host NullableString `json:"host,omitempty"`
	// ID of the task in Mesos
	Id *string `json:"id,omitempty"`
	// Whether Marathon thinks the task is healthy
	IsHealthy NullableBool `json:"is_healthy,omitempty"`
	// Port on which the task is listening
	Port *int32 `json:"port,omitempty"`
}

MarathonTask struct for MarathonTask

func NewMarathonTask

func NewMarathonTask() *MarathonTask

NewMarathonTask instantiates a new MarathonTask object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMarathonTaskWithDefaults

func NewMarathonTaskWithDefaults() *MarathonTask

NewMarathonTaskWithDefaults instantiates a new MarathonTask object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MarathonTask) GetDeployedTimestamp

func (o *MarathonTask) GetDeployedTimestamp() float32

GetDeployedTimestamp returns the DeployedTimestamp field value if set, zero value otherwise.

func (*MarathonTask) GetDeployedTimestampOk

func (o *MarathonTask) GetDeployedTimestampOk() (*float32, bool)

GetDeployedTimestampOk returns a tuple with the DeployedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MarathonTask) GetHost

func (o *MarathonTask) GetHost() string

GetHost returns the Host field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MarathonTask) GetHostOk

func (o *MarathonTask) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MarathonTask) GetId

func (o *MarathonTask) GetId() string

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

func (*MarathonTask) GetIdOk

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

func (o *MarathonTask) GetIsHealthy() bool

GetIsHealthy returns the IsHealthy field value if set, zero value otherwise (both if not set or set to explicit null).

func (*MarathonTask) GetIsHealthyOk

func (o *MarathonTask) GetIsHealthyOk() (*bool, bool)

GetIsHealthyOk returns a tuple with the IsHealthy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MarathonTask) GetPort

func (o *MarathonTask) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*MarathonTask) GetPortOk

func (o *MarathonTask) GetPortOk() (*int32, 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 (*MarathonTask) HasDeployedTimestamp

func (o *MarathonTask) HasDeployedTimestamp() bool

HasDeployedTimestamp returns a boolean if a field has been set.

func (*MarathonTask) HasHost

func (o *MarathonTask) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*MarathonTask) HasId

func (o *MarathonTask) HasId() bool

HasId returns a boolean if a field has been set.

func (*MarathonTask) HasIsHealthy

func (o *MarathonTask) HasIsHealthy() bool

HasIsHealthy returns a boolean if a field has been set.

func (*MarathonTask) HasPort

func (o *MarathonTask) HasPort() bool

HasPort returns a boolean if a field has been set.

func (MarathonTask) MarshalJSON

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

func (*MarathonTask) SetDeployedTimestamp

func (o *MarathonTask) SetDeployedTimestamp(v float32)

SetDeployedTimestamp gets a reference to the given float32 and assigns it to the DeployedTimestamp field.

func (*MarathonTask) SetHost

func (o *MarathonTask) SetHost(v string)

SetHost gets a reference to the given NullableString and assigns it to the Host field.

func (*MarathonTask) SetHostNil

func (o *MarathonTask) SetHostNil()

SetHostNil sets the value for Host to be an explicit nil

func (*MarathonTask) SetId

func (o *MarathonTask) SetId(v string)

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

func (*MarathonTask) SetIsHealthy

func (o *MarathonTask) SetIsHealthy(v bool)

SetIsHealthy gets a reference to the given NullableBool and assigns it to the IsHealthy field.

func (*MarathonTask) SetIsHealthyNil

func (o *MarathonTask) SetIsHealthyNil()

SetIsHealthyNil sets the value for IsHealthy to be an explicit nil

func (*MarathonTask) SetPort

func (o *MarathonTask) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*MarathonTask) UnsetHost

func (o *MarathonTask) UnsetHost()

UnsetHost ensures that no value is present for Host, not even an explicit nil

func (*MarathonTask) UnsetIsHealthy

func (o *MarathonTask) UnsetIsHealthy()

UnsetIsHealthy ensures that no value is present for IsHealthy, not even an explicit nil

type MetaStatus

type MetaStatus struct {
	// Exit code from `paasta metastatus` command
	ExitCode *int32 `json:"exit_code,omitempty"`
	// Output from `paasta metastatus` command
	Output *string `json:"output,omitempty"`
}

MetaStatus Result of `paasta metastatus` command

func NewMetaStatus

func NewMetaStatus() *MetaStatus

NewMetaStatus instantiates a new MetaStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetaStatusWithDefaults

func NewMetaStatusWithDefaults() *MetaStatus

NewMetaStatusWithDefaults instantiates a new MetaStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetaStatus) GetExitCode

func (o *MetaStatus) GetExitCode() int32

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

func (*MetaStatus) GetExitCodeOk

func (o *MetaStatus) GetExitCodeOk() (*int32, 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 (*MetaStatus) GetOutput

func (o *MetaStatus) GetOutput() string

GetOutput returns the Output field value if set, zero value otherwise.

func (*MetaStatus) GetOutputOk

func (o *MetaStatus) GetOutputOk() (*string, bool)

GetOutputOk returns a tuple with the Output field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetaStatus) HasExitCode

func (o *MetaStatus) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

func (*MetaStatus) HasOutput

func (o *MetaStatus) HasOutput() bool

HasOutput returns a boolean if a field has been set.

func (MetaStatus) MarshalJSON

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

func (*MetaStatus) SetExitCode

func (o *MetaStatus) SetExitCode(v int32)

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

func (*MetaStatus) SetOutput

func (o *MetaStatus) SetOutput(v string)

SetOutput gets a reference to the given string and assigns it to the Output field.

type NullableAdhocLaunchHistory

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

func NewNullableAdhocLaunchHistory

func NewNullableAdhocLaunchHistory(val *AdhocLaunchHistory) *NullableAdhocLaunchHistory

func (NullableAdhocLaunchHistory) Get

func (NullableAdhocLaunchHistory) IsSet

func (v NullableAdhocLaunchHistory) IsSet() bool

func (NullableAdhocLaunchHistory) MarshalJSON

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

func (*NullableAdhocLaunchHistory) Set

func (*NullableAdhocLaunchHistory) UnmarshalJSON

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

func (*NullableAdhocLaunchHistory) Unset

func (v *NullableAdhocLaunchHistory) Unset()

type NullableAutoscalerCountMsg

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

func NewNullableAutoscalerCountMsg

func NewNullableAutoscalerCountMsg(val *AutoscalerCountMsg) *NullableAutoscalerCountMsg

func (NullableAutoscalerCountMsg) Get

func (NullableAutoscalerCountMsg) IsSet

func (v NullableAutoscalerCountMsg) IsSet() bool

func (NullableAutoscalerCountMsg) MarshalJSON

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

func (*NullableAutoscalerCountMsg) Set

func (*NullableAutoscalerCountMsg) UnmarshalJSON

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

func (*NullableAutoscalerCountMsg) Unset

func (v *NullableAutoscalerCountMsg) 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 NullableDeployQueue

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

func NewNullableDeployQueue

func NewNullableDeployQueue(val *DeployQueue) *NullableDeployQueue

func (NullableDeployQueue) Get

func (NullableDeployQueue) IsSet

func (v NullableDeployQueue) IsSet() bool

func (NullableDeployQueue) MarshalJSON

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

func (*NullableDeployQueue) Set

func (v *NullableDeployQueue) Set(val *DeployQueue)

func (*NullableDeployQueue) UnmarshalJSON

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

func (*NullableDeployQueue) Unset

func (v *NullableDeployQueue) Unset()

type NullableDeployQueueServiceInstance

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

func (NullableDeployQueueServiceInstance) Get

func (NullableDeployQueueServiceInstance) IsSet

func (NullableDeployQueueServiceInstance) MarshalJSON

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

func (*NullableDeployQueueServiceInstance) Set

func (*NullableDeployQueueServiceInstance) UnmarshalJSON

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

func (*NullableDeployQueueServiceInstance) Unset

type NullableEnvoyBackend

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

func NewNullableEnvoyBackend

func NewNullableEnvoyBackend(val *EnvoyBackend) *NullableEnvoyBackend

func (NullableEnvoyBackend) Get

func (NullableEnvoyBackend) IsSet

func (v NullableEnvoyBackend) IsSet() bool

func (NullableEnvoyBackend) MarshalJSON

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

func (*NullableEnvoyBackend) Set

func (v *NullableEnvoyBackend) Set(val *EnvoyBackend)

func (*NullableEnvoyBackend) UnmarshalJSON

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

func (*NullableEnvoyBackend) Unset

func (v *NullableEnvoyBackend) Unset()

type NullableEnvoyLocation

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

func NewNullableEnvoyLocation

func NewNullableEnvoyLocation(val *EnvoyLocation) *NullableEnvoyLocation

func (NullableEnvoyLocation) Get

func (NullableEnvoyLocation) IsSet

func (v NullableEnvoyLocation) IsSet() bool

func (NullableEnvoyLocation) MarshalJSON

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

func (*NullableEnvoyLocation) Set

func (v *NullableEnvoyLocation) Set(val *EnvoyLocation)

func (*NullableEnvoyLocation) UnmarshalJSON

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

func (*NullableEnvoyLocation) Unset

func (v *NullableEnvoyLocation) Unset()

type NullableEnvoyStatus

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

func NewNullableEnvoyStatus

func NewNullableEnvoyStatus(val *EnvoyStatus) *NullableEnvoyStatus

func (NullableEnvoyStatus) Get

func (NullableEnvoyStatus) IsSet

func (v NullableEnvoyStatus) IsSet() bool

func (NullableEnvoyStatus) MarshalJSON

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

func (*NullableEnvoyStatus) Set

func (v *NullableEnvoyStatus) Set(val *EnvoyStatus)

func (*NullableEnvoyStatus) UnmarshalJSON

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

func (*NullableEnvoyStatus) Unset

func (v *NullableEnvoyStatus) 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 NullableFloatAndError

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

func NewNullableFloatAndError

func NewNullableFloatAndError(val *FloatAndError) *NullableFloatAndError

func (NullableFloatAndError) Get

func (NullableFloatAndError) IsSet

func (v NullableFloatAndError) IsSet() bool

func (NullableFloatAndError) MarshalJSON

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

func (*NullableFloatAndError) Set

func (v *NullableFloatAndError) Set(val *FloatAndError)

func (*NullableFloatAndError) UnmarshalJSON

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

func (*NullableFloatAndError) Unset

func (v *NullableFloatAndError) Unset()

type NullableHPAMetric

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

func NewNullableHPAMetric

func NewNullableHPAMetric(val *HPAMetric) *NullableHPAMetric

func (NullableHPAMetric) Get

func (v NullableHPAMetric) Get() *HPAMetric

func (NullableHPAMetric) IsSet

func (v NullableHPAMetric) IsSet() bool

func (NullableHPAMetric) MarshalJSON

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

func (*NullableHPAMetric) Set

func (v *NullableHPAMetric) Set(val *HPAMetric)

func (*NullableHPAMetric) UnmarshalJSON

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

func (*NullableHPAMetric) Unset

func (v *NullableHPAMetric) Unset()

type NullableInlineObject

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

func NewNullableInlineObject

func NewNullableInlineObject(val *InlineObject) *NullableInlineObject

func (NullableInlineObject) Get

func (NullableInlineObject) IsSet

func (v NullableInlineObject) IsSet() bool

func (NullableInlineObject) MarshalJSON

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

func (*NullableInlineObject) Set

func (v *NullableInlineObject) Set(val *InlineObject)

func (*NullableInlineObject) UnmarshalJSON

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

func (*NullableInlineObject) Unset

func (v *NullableInlineObject) Unset()

type NullableInlineResponse200

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

func NewNullableInlineResponse200

func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200

func (NullableInlineResponse200) Get

func (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

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

func (*NullableInlineResponse200) Set

func (*NullableInlineResponse200) UnmarshalJSON

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

func (*NullableInlineResponse200) Unset

func (v *NullableInlineResponse200) Unset()

type NullableInlineResponse2001

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

func NewNullableInlineResponse2001

func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001

func (NullableInlineResponse2001) Get

func (NullableInlineResponse2001) IsSet

func (v NullableInlineResponse2001) IsSet() bool

func (NullableInlineResponse2001) MarshalJSON

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

func (*NullableInlineResponse2001) Set

func (*NullableInlineResponse2001) UnmarshalJSON

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

func (*NullableInlineResponse2001) Unset

func (v *NullableInlineResponse2001) Unset()

type NullableInstanceStatus

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

func NewNullableInstanceStatus

func NewNullableInstanceStatus(val *InstanceStatus) *NullableInstanceStatus

func (NullableInstanceStatus) Get

func (NullableInstanceStatus) IsSet

func (v NullableInstanceStatus) IsSet() bool

func (NullableInstanceStatus) MarshalJSON

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

func (*NullableInstanceStatus) Set

func (*NullableInstanceStatus) UnmarshalJSON

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

func (*NullableInstanceStatus) Unset

func (v *NullableInstanceStatus) Unset()
type NullableInstanceStatusFlink struct {
	// contains filtered or unexported fields
}
func NewNullableInstanceStatusFlink(val *InstanceStatusFlink) *NullableInstanceStatusFlink

func (NullableInstanceStatusFlink) Get

func (NullableInstanceStatusFlink) IsSet

func (NullableInstanceStatusFlink) MarshalJSON

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

func (*NullableInstanceStatusFlink) Set

func (*NullableInstanceStatusFlink) UnmarshalJSON

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

func (*NullableInstanceStatusFlink) Unset

func (v *NullableInstanceStatusFlink) Unset()

type NullableInstanceStatusKafkacluster

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

func (NullableInstanceStatusKafkacluster) Get

func (NullableInstanceStatusKafkacluster) IsSet

func (NullableInstanceStatusKafkacluster) MarshalJSON

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

func (*NullableInstanceStatusKafkacluster) Set

func (*NullableInstanceStatusKafkacluster) UnmarshalJSON

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

func (*NullableInstanceStatusKafkacluster) Unset

type NullableInstanceStatusKubernetes

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

func (NullableInstanceStatusKubernetes) Get

func (NullableInstanceStatusKubernetes) IsSet

func (NullableInstanceStatusKubernetes) MarshalJSON

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

func (*NullableInstanceStatusKubernetes) Set

func (*NullableInstanceStatusKubernetes) UnmarshalJSON

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

func (*NullableInstanceStatusKubernetes) Unset

type NullableInstanceStatusKubernetesAutoscalingStatus

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

func (NullableInstanceStatusKubernetesAutoscalingStatus) Get

func (NullableInstanceStatusKubernetesAutoscalingStatus) IsSet

func (NullableInstanceStatusKubernetesAutoscalingStatus) MarshalJSON

func (*NullableInstanceStatusKubernetesAutoscalingStatus) Set

func (*NullableInstanceStatusKubernetesAutoscalingStatus) UnmarshalJSON

func (*NullableInstanceStatusKubernetesAutoscalingStatus) Unset

type NullableInstanceStatusMarathon

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

func (NullableInstanceStatusMarathon) Get

func (NullableInstanceStatusMarathon) IsSet

func (NullableInstanceStatusMarathon) MarshalJSON

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

func (*NullableInstanceStatusMarathon) Set

func (*NullableInstanceStatusMarathon) UnmarshalJSON

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

func (*NullableInstanceStatusMarathon) Unset

func (v *NullableInstanceStatusMarathon) Unset()

type NullableInstanceStatusTron

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

func NewNullableInstanceStatusTron

func NewNullableInstanceStatusTron(val *InstanceStatusTron) *NullableInstanceStatusTron

func (NullableInstanceStatusTron) Get

func (NullableInstanceStatusTron) IsSet

func (v NullableInstanceStatusTron) IsSet() bool

func (NullableInstanceStatusTron) MarshalJSON

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

func (*NullableInstanceStatusTron) Set

func (*NullableInstanceStatusTron) UnmarshalJSON

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

func (*NullableInstanceStatusTron) Unset

func (v *NullableInstanceStatusTron) 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 NullableIntegerAndError

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

func NewNullableIntegerAndError

func NewNullableIntegerAndError(val *IntegerAndError) *NullableIntegerAndError

func (NullableIntegerAndError) Get

func (NullableIntegerAndError) IsSet

func (v NullableIntegerAndError) IsSet() bool

func (NullableIntegerAndError) MarshalJSON

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

func (*NullableIntegerAndError) Set

func (*NullableIntegerAndError) UnmarshalJSON

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

func (*NullableIntegerAndError) Unset

func (v *NullableIntegerAndError) Unset()

type NullableKubernetesContainer

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

func NewNullableKubernetesContainer

func NewNullableKubernetesContainer(val *KubernetesContainer) *NullableKubernetesContainer

func (NullableKubernetesContainer) Get

func (NullableKubernetesContainer) IsSet

func (NullableKubernetesContainer) MarshalJSON

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

func (*NullableKubernetesContainer) Set

func (*NullableKubernetesContainer) UnmarshalJSON

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

func (*NullableKubernetesContainer) Unset

func (v *NullableKubernetesContainer) Unset()

type NullableKubernetesPod

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

func NewNullableKubernetesPod

func NewNullableKubernetesPod(val *KubernetesPod) *NullableKubernetesPod

func (NullableKubernetesPod) Get

func (NullableKubernetesPod) IsSet

func (v NullableKubernetesPod) IsSet() bool

func (NullableKubernetesPod) MarshalJSON

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

func (*NullableKubernetesPod) Set

func (v *NullableKubernetesPod) Set(val *KubernetesPod)

func (*NullableKubernetesPod) UnmarshalJSON

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

func (*NullableKubernetesPod) Unset

func (v *NullableKubernetesPod) Unset()

type NullableKubernetesPodEvent

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

func NewNullableKubernetesPodEvent

func NewNullableKubernetesPodEvent(val *KubernetesPodEvent) *NullableKubernetesPodEvent

func (NullableKubernetesPodEvent) Get

func (NullableKubernetesPodEvent) IsSet

func (v NullableKubernetesPodEvent) IsSet() bool

func (NullableKubernetesPodEvent) MarshalJSON

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

func (*NullableKubernetesPodEvent) Set

func (*NullableKubernetesPodEvent) UnmarshalJSON

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

func (*NullableKubernetesPodEvent) Unset

func (v *NullableKubernetesPodEvent) Unset()

type NullableKubernetesReplicaSet

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

func NewNullableKubernetesReplicaSet

func NewNullableKubernetesReplicaSet(val *KubernetesReplicaSet) *NullableKubernetesReplicaSet

func (NullableKubernetesReplicaSet) Get

func (NullableKubernetesReplicaSet) IsSet

func (NullableKubernetesReplicaSet) MarshalJSON

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

func (*NullableKubernetesReplicaSet) Set

func (*NullableKubernetesReplicaSet) UnmarshalJSON

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

func (*NullableKubernetesReplicaSet) Unset

func (v *NullableKubernetesReplicaSet) Unset()

type NullableMarathonAppStatus

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

func NewNullableMarathonAppStatus

func NewNullableMarathonAppStatus(val *MarathonAppStatus) *NullableMarathonAppStatus

func (NullableMarathonAppStatus) Get

func (NullableMarathonAppStatus) IsSet

func (v NullableMarathonAppStatus) IsSet() bool

func (NullableMarathonAppStatus) MarshalJSON

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

func (*NullableMarathonAppStatus) Set

func (*NullableMarathonAppStatus) UnmarshalJSON

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

func (*NullableMarathonAppStatus) Unset

func (v *NullableMarathonAppStatus) Unset()

type NullableMarathonAutoscalingInfo

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

func (NullableMarathonAutoscalingInfo) Get

func (NullableMarathonAutoscalingInfo) IsSet

func (NullableMarathonAutoscalingInfo) MarshalJSON

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

func (*NullableMarathonAutoscalingInfo) Set

func (*NullableMarathonAutoscalingInfo) UnmarshalJSON

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

func (*NullableMarathonAutoscalingInfo) Unset

type NullableMarathonDashboardItem

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

func (NullableMarathonDashboardItem) Get

func (NullableMarathonDashboardItem) IsSet

func (NullableMarathonDashboardItem) MarshalJSON

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

func (*NullableMarathonDashboardItem) Set

func (*NullableMarathonDashboardItem) UnmarshalJSON

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

func (*NullableMarathonDashboardItem) Unset

func (v *NullableMarathonDashboardItem) Unset()

type NullableMarathonMesosNonrunningTask

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

func (NullableMarathonMesosNonrunningTask) Get

func (NullableMarathonMesosNonrunningTask) IsSet

func (NullableMarathonMesosNonrunningTask) MarshalJSON

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

func (*NullableMarathonMesosNonrunningTask) Set

func (*NullableMarathonMesosNonrunningTask) UnmarshalJSON

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

func (*NullableMarathonMesosNonrunningTask) Unset

type NullableMarathonMesosRunningTask

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

func (NullableMarathonMesosRunningTask) Get

func (NullableMarathonMesosRunningTask) IsSet

func (NullableMarathonMesosRunningTask) MarshalJSON

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

func (*NullableMarathonMesosRunningTask) Set

func (*NullableMarathonMesosRunningTask) UnmarshalJSON

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

func (*NullableMarathonMesosRunningTask) Unset

type NullableMarathonMesosStatus

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

func NewNullableMarathonMesosStatus

func NewNullableMarathonMesosStatus(val *MarathonMesosStatus) *NullableMarathonMesosStatus

func (NullableMarathonMesosStatus) Get

func (NullableMarathonMesosStatus) IsSet

func (NullableMarathonMesosStatus) MarshalJSON

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

func (*NullableMarathonMesosStatus) Set

func (*NullableMarathonMesosStatus) UnmarshalJSON

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

func (*NullableMarathonMesosStatus) Unset

func (v *NullableMarathonMesosStatus) Unset()

type NullableMarathonTask

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

func NewNullableMarathonTask

func NewNullableMarathonTask(val *MarathonTask) *NullableMarathonTask

func (NullableMarathonTask) Get

func (NullableMarathonTask) IsSet

func (v NullableMarathonTask) IsSet() bool

func (NullableMarathonTask) MarshalJSON

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

func (*NullableMarathonTask) Set

func (v *NullableMarathonTask) Set(val *MarathonTask)

func (*NullableMarathonTask) UnmarshalJSON

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

func (*NullableMarathonTask) Unset

func (v *NullableMarathonTask) Unset()

type NullableMetaStatus

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

func NewNullableMetaStatus

func NewNullableMetaStatus(val *MetaStatus) *NullableMetaStatus

func (NullableMetaStatus) Get

func (v NullableMetaStatus) Get() *MetaStatus

func (NullableMetaStatus) IsSet

func (v NullableMetaStatus) IsSet() bool

func (NullableMetaStatus) MarshalJSON

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

func (*NullableMetaStatus) Set

func (v *NullableMetaStatus) Set(val *MetaStatus)

func (*NullableMetaStatus) UnmarshalJSON

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

func (*NullableMetaStatus) Unset

func (v *NullableMetaStatus) Unset()

type NullableResourceItem

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

func NewNullableResourceItem

func NewNullableResourceItem(val *ResourceItem) *NullableResourceItem

func (NullableResourceItem) Get

func (NullableResourceItem) IsSet

func (v NullableResourceItem) IsSet() bool

func (NullableResourceItem) MarshalJSON

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

func (*NullableResourceItem) Set

func (v *NullableResourceItem) Set(val *ResourceItem)

func (*NullableResourceItem) UnmarshalJSON

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

func (*NullableResourceItem) Unset

func (v *NullableResourceItem) Unset()

type NullableResourceValue

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

func NewNullableResourceValue

func NewNullableResourceValue(val *ResourceValue) *NullableResourceValue

func (NullableResourceValue) Get

func (NullableResourceValue) IsSet

func (v NullableResourceValue) IsSet() bool

func (NullableResourceValue) MarshalJSON

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

func (*NullableResourceValue) Set

func (v *NullableResourceValue) Set(val *ResourceValue)

func (*NullableResourceValue) UnmarshalJSON

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

func (*NullableResourceValue) Unset

func (v *NullableResourceValue) Unset()

type NullableSmartstackBackend

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

func NewNullableSmartstackBackend

func NewNullableSmartstackBackend(val *SmartstackBackend) *NullableSmartstackBackend

func (NullableSmartstackBackend) Get

func (NullableSmartstackBackend) IsSet

func (v NullableSmartstackBackend) IsSet() bool

func (NullableSmartstackBackend) MarshalJSON

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

func (*NullableSmartstackBackend) Set

func (*NullableSmartstackBackend) UnmarshalJSON

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

func (*NullableSmartstackBackend) Unset

func (v *NullableSmartstackBackend) Unset()

type NullableSmartstackLocation

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

func NewNullableSmartstackLocation

func NewNullableSmartstackLocation(val *SmartstackLocation) *NullableSmartstackLocation

func (NullableSmartstackLocation) Get

func (NullableSmartstackLocation) IsSet

func (v NullableSmartstackLocation) IsSet() bool

func (NullableSmartstackLocation) MarshalJSON

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

func (*NullableSmartstackLocation) Set

func (*NullableSmartstackLocation) UnmarshalJSON

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

func (*NullableSmartstackLocation) Unset

func (v *NullableSmartstackLocation) Unset()

type NullableSmartstackStatus

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

func NewNullableSmartstackStatus

func NewNullableSmartstackStatus(val *SmartstackStatus) *NullableSmartstackStatus

func (NullableSmartstackStatus) Get

func (NullableSmartstackStatus) IsSet

func (v NullableSmartstackStatus) IsSet() bool

func (NullableSmartstackStatus) MarshalJSON

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

func (*NullableSmartstackStatus) Set

func (*NullableSmartstackStatus) UnmarshalJSON

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

func (*NullableSmartstackStatus) Unset

func (v *NullableSmartstackStatus) 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 NullableTaskTailLines

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

func NewNullableTaskTailLines

func NewNullableTaskTailLines(val *TaskTailLines) *NullableTaskTailLines

func (NullableTaskTailLines) Get

func (NullableTaskTailLines) IsSet

func (v NullableTaskTailLines) IsSet() bool

func (NullableTaskTailLines) MarshalJSON

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

func (*NullableTaskTailLines) Set

func (v *NullableTaskTailLines) Set(val *TaskTailLines)

func (*NullableTaskTailLines) UnmarshalJSON

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

func (*NullableTaskTailLines) Unset

func (v *NullableTaskTailLines) 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 ResourceItem

type ResourceItem struct {
	Cpus      *ResourceValue          `json:"cpus,omitempty"`
	Disk      *ResourceValue          `json:"disk,omitempty"`
	Groupings *map[string]interface{} `json:"groupings,omitempty"`
	Mem       *ResourceValue          `json:"mem,omitempty"`
	Gpus      *ResourceValue          `json:"gpus,omitempty"`
}

ResourceItem struct for ResourceItem

func NewResourceItem

func NewResourceItem() *ResourceItem

NewResourceItem instantiates a new ResourceItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceItemWithDefaults

func NewResourceItemWithDefaults() *ResourceItem

NewResourceItemWithDefaults instantiates a new ResourceItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceItem) GetCpus

func (o *ResourceItem) GetCpus() ResourceValue

GetCpus returns the Cpus field value if set, zero value otherwise.

func (*ResourceItem) GetCpusOk

func (o *ResourceItem) GetCpusOk() (*ResourceValue, bool)

GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceItem) GetDisk

func (o *ResourceItem) GetDisk() ResourceValue

GetDisk returns the Disk field value if set, zero value otherwise.

func (*ResourceItem) GetDiskOk

func (o *ResourceItem) GetDiskOk() (*ResourceValue, bool)

GetDiskOk returns a tuple with the Disk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceItem) GetGpus

func (o *ResourceItem) GetGpus() ResourceValue

GetGpus returns the Gpus field value if set, zero value otherwise.

func (*ResourceItem) GetGpusOk

func (o *ResourceItem) GetGpusOk() (*ResourceValue, bool)

GetGpusOk returns a tuple with the Gpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceItem) GetGroupings

func (o *ResourceItem) GetGroupings() map[string]interface{}

GetGroupings returns the Groupings field value if set, zero value otherwise.

func (*ResourceItem) GetGroupingsOk

func (o *ResourceItem) GetGroupingsOk() (*map[string]interface{}, bool)

GetGroupingsOk returns a tuple with the Groupings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceItem) GetMem

func (o *ResourceItem) GetMem() ResourceValue

GetMem returns the Mem field value if set, zero value otherwise.

func (*ResourceItem) GetMemOk

func (o *ResourceItem) GetMemOk() (*ResourceValue, bool)

GetMemOk returns a tuple with the Mem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceItem) HasCpus

func (o *ResourceItem) HasCpus() bool

HasCpus returns a boolean if a field has been set.

func (*ResourceItem) HasDisk

func (o *ResourceItem) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*ResourceItem) HasGpus

func (o *ResourceItem) HasGpus() bool

HasGpus returns a boolean if a field has been set.

func (*ResourceItem) HasGroupings

func (o *ResourceItem) HasGroupings() bool

HasGroupings returns a boolean if a field has been set.

func (*ResourceItem) HasMem

func (o *ResourceItem) HasMem() bool

HasMem returns a boolean if a field has been set.

func (ResourceItem) MarshalJSON

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

func (*ResourceItem) SetCpus

func (o *ResourceItem) SetCpus(v ResourceValue)

SetCpus gets a reference to the given ResourceValue and assigns it to the Cpus field.

func (*ResourceItem) SetDisk

func (o *ResourceItem) SetDisk(v ResourceValue)

SetDisk gets a reference to the given ResourceValue and assigns it to the Disk field.

func (*ResourceItem) SetGpus

func (o *ResourceItem) SetGpus(v ResourceValue)

SetGpus gets a reference to the given ResourceValue and assigns it to the Gpus field.

func (*ResourceItem) SetGroupings

func (o *ResourceItem) SetGroupings(v map[string]interface{})

SetGroupings gets a reference to the given map[string]interface{} and assigns it to the Groupings field.

func (*ResourceItem) SetMem

func (o *ResourceItem) SetMem(v ResourceValue)

SetMem gets a reference to the given ResourceValue and assigns it to the Mem field.

type ResourceValue

type ResourceValue struct {
	Free  *float32 `json:"free,omitempty"`
	Total *float32 `json:"total,omitempty"`
	Used  *float32 `json:"used,omitempty"`
}

ResourceValue struct for ResourceValue

func NewResourceValue

func NewResourceValue() *ResourceValue

NewResourceValue instantiates a new ResourceValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResourceValueWithDefaults

func NewResourceValueWithDefaults() *ResourceValue

NewResourceValueWithDefaults instantiates a new ResourceValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResourceValue) GetFree

func (o *ResourceValue) GetFree() float32

GetFree returns the Free field value if set, zero value otherwise.

func (*ResourceValue) GetFreeOk

func (o *ResourceValue) GetFreeOk() (*float32, bool)

GetFreeOk returns a tuple with the Free field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceValue) GetTotal

func (o *ResourceValue) GetTotal() float32

GetTotal returns the Total field value if set, zero value otherwise.

func (*ResourceValue) GetTotalOk

func (o *ResourceValue) GetTotalOk() (*float32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceValue) GetUsed

func (o *ResourceValue) GetUsed() float32

GetUsed returns the Used field value if set, zero value otherwise.

func (*ResourceValue) GetUsedOk

func (o *ResourceValue) GetUsedOk() (*float32, bool)

GetUsedOk returns a tuple with the Used field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResourceValue) HasFree

func (o *ResourceValue) HasFree() bool

HasFree returns a boolean if a field has been set.

func (*ResourceValue) HasTotal

func (o *ResourceValue) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*ResourceValue) HasUsed

func (o *ResourceValue) HasUsed() bool

HasUsed returns a boolean if a field has been set.

func (ResourceValue) MarshalJSON

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

func (*ResourceValue) SetFree

func (o *ResourceValue) SetFree(v float32)

SetFree gets a reference to the given float32 and assigns it to the Free field.

func (*ResourceValue) SetTotal

func (o *ResourceValue) SetTotal(v float32)

SetTotal gets a reference to the given float32 and assigns it to the Total field.

func (*ResourceValue) SetUsed

func (o *ResourceValue) SetUsed(v float32)

SetUsed gets a reference to the given float32 and assigns it to the Used field.

type ResourcesApiService

type ResourcesApiService service

ResourcesApiService ResourcesApi service

func (*ResourcesApiService) Resources

* Resources Get resources in the cluster * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiResourcesRequest

func (*ResourcesApiService) ResourcesExecute

* Execute executes the request * @return []ResourceItem

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 ServiceApiService

type ServiceApiService service

ServiceApiService ServiceApi service

func (*ServiceApiService) DelayInstance

func (a *ServiceApiService) DelayInstance(ctx _context.Context, service string, instance string) ApiDelayInstanceRequest

* DelayInstance Get the possible reasons for a deployment delay for a marathon service.instance * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @return ApiDelayInstanceRequest

func (*ServiceApiService) DelayInstanceExecute

func (a *ServiceApiService) DelayInstanceExecute(r ApiDelayInstanceRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*ServiceApiService) InstanceSetState

func (a *ServiceApiService) InstanceSetState(ctx _context.Context, service string, instance string, desiredState string) ApiInstanceSetStateRequest

* InstanceSetState Change state of service_name.instance_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @param desiredState Desired state * @return ApiInstanceSetStateRequest

func (*ServiceApiService) InstanceSetStateExecute

func (a *ServiceApiService) InstanceSetStateExecute(r ApiInstanceSetStateRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*ServiceApiService) ListInstances

func (a *ServiceApiService) ListInstances(ctx _context.Context, service string) ApiListInstancesRequest

* ListInstances List instances of service_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @return ApiListInstancesRequest

func (*ServiceApiService) ListInstancesExecute

* Execute executes the request * @return InlineResponse2001

func (*ServiceApiService) ListServicesForCluster

func (a *ServiceApiService) ListServicesForCluster(ctx _context.Context) ApiListServicesForClusterRequest

* ListServicesForCluster List service names and service instance names on the current cluster * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListServicesForClusterRequest

func (*ServiceApiService) ListServicesForClusterExecute

* Execute executes the request * @return InlineResponse200

func (*ServiceApiService) StatusInstance

func (a *ServiceApiService) StatusInstance(ctx _context.Context, service string, instance string) ApiStatusInstanceRequest

* StatusInstance Get status of service_name.instance_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @return ApiStatusInstanceRequest

func (*ServiceApiService) StatusInstanceExecute

* Execute executes the request * @return InstanceStatus

func (*ServiceApiService) TaskInstance

func (a *ServiceApiService) TaskInstance(ctx _context.Context, service string, instance string, taskId string) ApiTaskInstanceRequest

* TaskInstance Get mesos task of service_name.instance_name by task_id * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @param taskId mesos task id * @return ApiTaskInstanceRequest

func (*ServiceApiService) TaskInstanceExecute

func (a *ServiceApiService) TaskInstanceExecute(r ApiTaskInstanceRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*ServiceApiService) TasksInstance

func (a *ServiceApiService) TasksInstance(ctx _context.Context, service string, instance string) ApiTasksInstanceRequest

* TasksInstance Get mesos tasks of service_name.instance_name * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param service Service name * @param instance Instance name * @return ApiTasksInstanceRequest

func (*ServiceApiService) TasksInstanceExecute

func (a *ServiceApiService) TasksInstanceExecute(r ApiTasksInstanceRequest) ([]map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return []map[string]interface{}

type SmartstackBackend

type SmartstackBackend struct {
	// Check code reported by HAProxy
	CheckCode *string `json:"check_code,omitempty"`
	// Duration in ms of the last health check performed by HAProxy
	CheckDuration *int32 `json:"check_duration,omitempty"`
	// Status of last health check of the backend
	CheckStatus *string `json:"check_status,omitempty"`
	// Whether this backend has an associated task running
	HasAssociatedTask *bool `json:"has_associated_task,omitempty"`
	// Name of the host on which the backend is running
	Hostname *string `json:"hostname,omitempty"`
	// Seconds since last change in backend status
	LastChange *int32 `json:"last_change,omitempty"`
	// Port number on which the backend responds
	Port *int32 `json:"port,omitempty"`
	// Status of the backend in HAProxy
	Status *string `json:"status,omitempty"`
}

SmartstackBackend struct for SmartstackBackend

func NewSmartstackBackend

func NewSmartstackBackend() *SmartstackBackend

NewSmartstackBackend instantiates a new SmartstackBackend object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSmartstackBackendWithDefaults

func NewSmartstackBackendWithDefaults() *SmartstackBackend

NewSmartstackBackendWithDefaults instantiates a new SmartstackBackend object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SmartstackBackend) GetCheckCode

func (o *SmartstackBackend) GetCheckCode() string

GetCheckCode returns the CheckCode field value if set, zero value otherwise.

func (*SmartstackBackend) GetCheckCodeOk

func (o *SmartstackBackend) GetCheckCodeOk() (*string, bool)

GetCheckCodeOk returns a tuple with the CheckCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetCheckDuration

func (o *SmartstackBackend) GetCheckDuration() int32

GetCheckDuration returns the CheckDuration field value if set, zero value otherwise.

func (*SmartstackBackend) GetCheckDurationOk

func (o *SmartstackBackend) GetCheckDurationOk() (*int32, bool)

GetCheckDurationOk returns a tuple with the CheckDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetCheckStatus

func (o *SmartstackBackend) GetCheckStatus() string

GetCheckStatus returns the CheckStatus field value if set, zero value otherwise.

func (*SmartstackBackend) GetCheckStatusOk

func (o *SmartstackBackend) GetCheckStatusOk() (*string, bool)

GetCheckStatusOk returns a tuple with the CheckStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetHasAssociatedTask

func (o *SmartstackBackend) GetHasAssociatedTask() bool

GetHasAssociatedTask returns the HasAssociatedTask field value if set, zero value otherwise.

func (*SmartstackBackend) GetHasAssociatedTaskOk

func (o *SmartstackBackend) GetHasAssociatedTaskOk() (*bool, bool)

GetHasAssociatedTaskOk returns a tuple with the HasAssociatedTask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetHostname

func (o *SmartstackBackend) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SmartstackBackend) GetHostnameOk

func (o *SmartstackBackend) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetLastChange

func (o *SmartstackBackend) GetLastChange() int32

GetLastChange returns the LastChange field value if set, zero value otherwise.

func (*SmartstackBackend) GetLastChangeOk

func (o *SmartstackBackend) GetLastChangeOk() (*int32, bool)

GetLastChangeOk returns a tuple with the LastChange field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackBackend) GetPort

func (o *SmartstackBackend) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*SmartstackBackend) GetPortOk

func (o *SmartstackBackend) GetPortOk() (*int32, 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 (*SmartstackBackend) GetStatus

func (o *SmartstackBackend) GetStatus() string

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

func (*SmartstackBackend) GetStatusOk

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

func (o *SmartstackBackend) HasCheckCode() bool

HasCheckCode returns a boolean if a field has been set.

func (*SmartstackBackend) HasCheckDuration

func (o *SmartstackBackend) HasCheckDuration() bool

HasCheckDuration returns a boolean if a field has been set.

func (*SmartstackBackend) HasCheckStatus

func (o *SmartstackBackend) HasCheckStatus() bool

HasCheckStatus returns a boolean if a field has been set.

func (*SmartstackBackend) HasHasAssociatedTask

func (o *SmartstackBackend) HasHasAssociatedTask() bool

HasHasAssociatedTask returns a boolean if a field has been set.

func (*SmartstackBackend) HasHostname

func (o *SmartstackBackend) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*SmartstackBackend) HasLastChange

func (o *SmartstackBackend) HasLastChange() bool

HasLastChange returns a boolean if a field has been set.

func (*SmartstackBackend) HasPort

func (o *SmartstackBackend) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SmartstackBackend) HasStatus

func (o *SmartstackBackend) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (SmartstackBackend) MarshalJSON

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

func (*SmartstackBackend) SetCheckCode

func (o *SmartstackBackend) SetCheckCode(v string)

SetCheckCode gets a reference to the given string and assigns it to the CheckCode field.

func (*SmartstackBackend) SetCheckDuration

func (o *SmartstackBackend) SetCheckDuration(v int32)

SetCheckDuration gets a reference to the given int32 and assigns it to the CheckDuration field.

func (*SmartstackBackend) SetCheckStatus

func (o *SmartstackBackend) SetCheckStatus(v string)

SetCheckStatus gets a reference to the given string and assigns it to the CheckStatus field.

func (*SmartstackBackend) SetHasAssociatedTask

func (o *SmartstackBackend) SetHasAssociatedTask(v bool)

SetHasAssociatedTask gets a reference to the given bool and assigns it to the HasAssociatedTask field.

func (*SmartstackBackend) SetHostname

func (o *SmartstackBackend) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SmartstackBackend) SetLastChange

func (o *SmartstackBackend) SetLastChange(v int32)

SetLastChange gets a reference to the given int32 and assigns it to the LastChange field.

func (*SmartstackBackend) SetPort

func (o *SmartstackBackend) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*SmartstackBackend) SetStatus

func (o *SmartstackBackend) SetStatus(v string)

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

type SmartstackLocation

type SmartstackLocation struct {
	// Smartstack backends running in this location
	Backends *[]SmartstackBackend `json:"backends,omitempty"`
	// Name of the location
	Name *string `json:"name,omitempty"`
	// Number of running backends for the service in this location
	RunningBackendsCount *int32 `json:"running_backends_count,omitempty"`
}

SmartstackLocation struct for SmartstackLocation

func NewSmartstackLocation

func NewSmartstackLocation() *SmartstackLocation

NewSmartstackLocation instantiates a new SmartstackLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSmartstackLocationWithDefaults

func NewSmartstackLocationWithDefaults() *SmartstackLocation

NewSmartstackLocationWithDefaults instantiates a new SmartstackLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SmartstackLocation) GetBackends

func (o *SmartstackLocation) GetBackends() []SmartstackBackend

GetBackends returns the Backends field value if set, zero value otherwise.

func (*SmartstackLocation) GetBackendsOk

func (o *SmartstackLocation) GetBackendsOk() (*[]SmartstackBackend, bool)

GetBackendsOk returns a tuple with the Backends field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackLocation) GetName

func (o *SmartstackLocation) GetName() string

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

func (*SmartstackLocation) GetNameOk

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

func (o *SmartstackLocation) GetRunningBackendsCount() int32

GetRunningBackendsCount returns the RunningBackendsCount field value if set, zero value otherwise.

func (*SmartstackLocation) GetRunningBackendsCountOk

func (o *SmartstackLocation) GetRunningBackendsCountOk() (*int32, bool)

GetRunningBackendsCountOk returns a tuple with the RunningBackendsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackLocation) HasBackends

func (o *SmartstackLocation) HasBackends() bool

HasBackends returns a boolean if a field has been set.

func (*SmartstackLocation) HasName

func (o *SmartstackLocation) HasName() bool

HasName returns a boolean if a field has been set.

func (*SmartstackLocation) HasRunningBackendsCount

func (o *SmartstackLocation) HasRunningBackendsCount() bool

HasRunningBackendsCount returns a boolean if a field has been set.

func (SmartstackLocation) MarshalJSON

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

func (*SmartstackLocation) SetBackends

func (o *SmartstackLocation) SetBackends(v []SmartstackBackend)

SetBackends gets a reference to the given []SmartstackBackend and assigns it to the Backends field.

func (*SmartstackLocation) SetName

func (o *SmartstackLocation) SetName(v string)

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

func (*SmartstackLocation) SetRunningBackendsCount

func (o *SmartstackLocation) SetRunningBackendsCount(v int32)

SetRunningBackendsCount gets a reference to the given int32 and assigns it to the RunningBackendsCount field.

type SmartstackStatus

type SmartstackStatus struct {
	// Number of backends expected to be present in each location
	ExpectedBackendsPerLocation *int32 `json:"expected_backends_per_location,omitempty"`
	// Locations the service is deployed
	Locations *[]SmartstackLocation `json:"locations,omitempty"`
	// Registration name of the service in Smartstack
	Registration *string `json:"registration,omitempty"`
}

SmartstackStatus struct for SmartstackStatus

func NewSmartstackStatus

func NewSmartstackStatus() *SmartstackStatus

NewSmartstackStatus instantiates a new SmartstackStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSmartstackStatusWithDefaults

func NewSmartstackStatusWithDefaults() *SmartstackStatus

NewSmartstackStatusWithDefaults instantiates a new SmartstackStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SmartstackStatus) GetExpectedBackendsPerLocation

func (o *SmartstackStatus) GetExpectedBackendsPerLocation() int32

GetExpectedBackendsPerLocation returns the ExpectedBackendsPerLocation field value if set, zero value otherwise.

func (*SmartstackStatus) GetExpectedBackendsPerLocationOk

func (o *SmartstackStatus) GetExpectedBackendsPerLocationOk() (*int32, bool)

GetExpectedBackendsPerLocationOk returns a tuple with the ExpectedBackendsPerLocation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackStatus) GetLocations

func (o *SmartstackStatus) GetLocations() []SmartstackLocation

GetLocations returns the Locations field value if set, zero value otherwise.

func (*SmartstackStatus) GetLocationsOk

func (o *SmartstackStatus) GetLocationsOk() (*[]SmartstackLocation, bool)

GetLocationsOk returns a tuple with the Locations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackStatus) GetRegistration

func (o *SmartstackStatus) GetRegistration() string

GetRegistration returns the Registration field value if set, zero value otherwise.

func (*SmartstackStatus) GetRegistrationOk

func (o *SmartstackStatus) GetRegistrationOk() (*string, bool)

GetRegistrationOk returns a tuple with the Registration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SmartstackStatus) HasExpectedBackendsPerLocation

func (o *SmartstackStatus) HasExpectedBackendsPerLocation() bool

HasExpectedBackendsPerLocation returns a boolean if a field has been set.

func (*SmartstackStatus) HasLocations

func (o *SmartstackStatus) HasLocations() bool

HasLocations returns a boolean if a field has been set.

func (*SmartstackStatus) HasRegistration

func (o *SmartstackStatus) HasRegistration() bool

HasRegistration returns a boolean if a field has been set.

func (SmartstackStatus) MarshalJSON

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

func (*SmartstackStatus) SetExpectedBackendsPerLocation

func (o *SmartstackStatus) SetExpectedBackendsPerLocation(v int32)

SetExpectedBackendsPerLocation gets a reference to the given int32 and assigns it to the ExpectedBackendsPerLocation field.

func (*SmartstackStatus) SetLocations

func (o *SmartstackStatus) SetLocations(v []SmartstackLocation)

SetLocations gets a reference to the given []SmartstackLocation and assigns it to the Locations field.

func (*SmartstackStatus) SetRegistration

func (o *SmartstackStatus) SetRegistration(v string)

SetRegistration gets a reference to the given string and assigns it to the Registration field.

type TaskTailLines

type TaskTailLines struct {
	// Error message when fetching tail lines fails
	ErrorMessage *string `json:"error_message,omitempty"`
	// The requested number of lines from the task's stderr
	Stderr *[]string `json:"stderr,omitempty"`
	// The requested number of lines from the task's stdout
	Stdout *[]string `json:"stdout,omitempty"`
}

TaskTailLines struct for TaskTailLines

func NewTaskTailLines

func NewTaskTailLines() *TaskTailLines

NewTaskTailLines instantiates a new TaskTailLines object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaskTailLinesWithDefaults

func NewTaskTailLinesWithDefaults() *TaskTailLines

NewTaskTailLinesWithDefaults instantiates a new TaskTailLines object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaskTailLines) GetErrorMessage

func (o *TaskTailLines) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*TaskTailLines) GetErrorMessageOk

func (o *TaskTailLines) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskTailLines) GetStderr

func (o *TaskTailLines) GetStderr() []string

GetStderr returns the Stderr field value if set, zero value otherwise.

func (*TaskTailLines) GetStderrOk

func (o *TaskTailLines) GetStderrOk() (*[]string, bool)

GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskTailLines) GetStdout

func (o *TaskTailLines) GetStdout() []string

GetStdout returns the Stdout field value if set, zero value otherwise.

func (*TaskTailLines) GetStdoutOk

func (o *TaskTailLines) GetStdoutOk() (*[]string, bool)

GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskTailLines) HasErrorMessage

func (o *TaskTailLines) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*TaskTailLines) HasStderr

func (o *TaskTailLines) HasStderr() bool

HasStderr returns a boolean if a field has been set.

func (*TaskTailLines) HasStdout

func (o *TaskTailLines) HasStdout() bool

HasStdout returns a boolean if a field has been set.

func (TaskTailLines) MarshalJSON

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

func (*TaskTailLines) SetErrorMessage

func (o *TaskTailLines) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*TaskTailLines) SetStderr

func (o *TaskTailLines) SetStderr(v []string)

SetStderr gets a reference to the given []string and assigns it to the Stderr field.

func (*TaskTailLines) SetStdout

func (o *TaskTailLines) SetStdout(v []string)

SetStdout gets a reference to the given []string and assigns it to the Stdout field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL