v1alphaapi

package
v0.0.0-...-142366f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedApplicationRegistryAuthTypeEnumValues = []ApplicationRegistryAuthType{
	"AUTH_TYPE_NONE",
	"AUTH_TYPE_CREDENTIALS",
	"unknown_default_open_api",
}

All allowed values of ApplicationRegistryAuthType enum

View Source
var AllowedCurrentStatusEnumValues = []CurrentStatus{
	"CURRENT_STATUS_UNSPECIFIED",
	"CURRENT_STATUS_PROGRESSING",
	"CURRENT_STATUS_RUNNING",
	"CURRENT_STATUS_FAILED",
	"CURRENT_STATUS_IDLE",
	"CURRENT_STATUS_NONE",
	"unknown_default_open_api",
}

All allowed values of CurrentStatus enum

View Source
var AllowedEnvVarTypeEnumValues = []EnvVarType{
	"ENV_FROM_SOURCE_TYPE_UNSPECIFIED",
	"ENV_FROM_SOURCE_TYPE_MANUAL",
	"ENV_FROM_SOURCE_TYPE_SECRET",
	"unknown_default_open_api",
}

All allowed values of EnvVarType enum

View Source
var AllowedInstanceStatusEnumValues = []InstanceStatus{
	"INSTANCE_STATUS_PROGRESSING",
	"INSTANCE_STATUS_RUNNING",
	"INSTANCE_STATUS_FAILED",
	"unknown_default_open_api",
}

All allowed values of InstanceStatus enum

View Source
var AllowedRuleTypeEnumValues = []RuleType{
	"RULE_TYPE_UNSPECIFIED",
	"RULE_TYPE_HTTP",
	"RULE_TYPE_CUSTOM",
	"unknown_default_open_api",
}

All allowed values of RuleType enum

View Source
var AllowedScalingTypeEnumValues = []ScalingType{
	"SCALING_TYPE_UNSPECIFIED",
	"SCALING_TYPE_AUTO",
	"SCALING_TYPE_MANUAL",
	"unknown_default_open_api",
}

All allowed values of ScalingType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

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 {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Container Applications (SCA) API v1alpha.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

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() *config.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 APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateApplicationRequest

type ApiCreateApplicationRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateApplicationRequest) CreateApplicationPayload

func (r ApiCreateApplicationRequest) CreateApplicationPayload(createApplicationPayload CreateApplicationPayload) ApiCreateApplicationRequest

Application to create.

func (ApiCreateApplicationRequest) Execute

type ApiCreateEnvironmentRequest

type ApiCreateEnvironmentRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateEnvironmentRequest) CreateEnvironmentPayload

func (r ApiCreateEnvironmentRequest) CreateEnvironmentPayload(createEnvironmentPayload CreateEnvironmentPayload) ApiCreateEnvironmentRequest

Environment to create.

func (ApiCreateEnvironmentRequest) Execute

type ApiDeleteApplicationRequest

type ApiDeleteApplicationRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteApplicationRequest) Execute

type ApiErrorResponse

type ApiErrorResponse struct {
	// The HTTP status code or internal error code.
	Code *int32 `json:"code,omitempty"`
	// A human-readable error message.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApiErrorResponse ApiErrorResponse represents a standard error response from the API.

func NewApiErrorResponse

func NewApiErrorResponse() *ApiErrorResponse

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

func NewApiErrorResponseWithDefaults

func NewApiErrorResponseWithDefaults() *ApiErrorResponse

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

func (*ApiErrorResponse) GetCode

func (o *ApiErrorResponse) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*ApiErrorResponse) GetCodeOk

func (o *ApiErrorResponse) GetCodeOk() (*int32, bool)

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

func (*ApiErrorResponse) GetMessage

func (o *ApiErrorResponse) GetMessage() string

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

func (*ApiErrorResponse) GetMessageOk

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

func (o *ApiErrorResponse) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ApiErrorResponse) HasMessage

func (o *ApiErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ApiErrorResponse) MarshalJSON

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

func (*ApiErrorResponse) SetCode

func (o *ApiErrorResponse) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*ApiErrorResponse) SetMessage

func (o *ApiErrorResponse) SetMessage(v string)

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

func (ApiErrorResponse) ToMap

func (o ApiErrorResponse) ToMap() (map[string]interface{}, error)

func (*ApiErrorResponse) UnmarshalJSON

func (o *ApiErrorResponse) UnmarshalJSON(data []byte) (err error)

type ApiGetApplicationEventsRequest

type ApiGetApplicationEventsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetApplicationEventsRequest) Execute

type ApiGetApplicationLogsRequest

type ApiGetApplicationLogsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetApplicationLogsRequest) Container

Container name to collect logs.

func (ApiGetApplicationLogsRequest) Execute

func (ApiGetApplicationLogsRequest) Instance

Instance name of the application.

func (ApiGetApplicationLogsRequest) Previous

Get previous failed execution of the container.

type ApiGetApplicationRequest

type ApiGetApplicationRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetApplicationRequest) Execute

func (r ApiGetApplicationRequest) Execute() (*Application, error)

type ApiGetEnvironmentRequest

type ApiGetEnvironmentRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetEnvironmentRequest) Execute

func (r ApiGetEnvironmentRequest) Execute() (*Environment, error)

type ApiGetOverviewRequest

type ApiGetOverviewRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetOverviewRequest) Execute

type ApiListApplicationsRequest

type ApiListApplicationsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListApplicationsRequest) Execute

type ApiListEnvironmentsRequest

type ApiListEnvironmentsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListEnvironmentsRequest) Execute

type ApiListProjectApplicationsRequest

type ApiListProjectApplicationsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListProjectApplicationsRequest) Execute

type ApiUpdateApplicationRequest

type ApiUpdateApplicationRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateApplicationRequest) Execute

func (ApiUpdateApplicationRequest) UpdateApplicationPayload

func (r ApiUpdateApplicationRequest) UpdateApplicationPayload(updateApplicationPayload UpdateApplicationPayload) ApiUpdateApplicationRequest

Application to update.

type Application

type Application struct {
	// Containers to deploy for the application.
	Containers []Container `json:"containers"`
	// Human-readable display name.
	DisplayName string `json:"displayName"`
	// Application environment ID.
	EnvironmentId *string `json:"environmentId,omitempty"`
	// Application human-readable display name.
	EnvironmentName *string `json:"environmentName,omitempty"`
	// Application identifier, for example: 00000000-0000-0000-0000-000000000000.
	Id      *string `json:"id,omitempty"`
	Network Network `json:"network"`
	// Image registry configuration for the application.
	Registry      []ApplicationRegistry `json:"registry,omitempty"`
	RuntimeStatus *RuntimeStatus        `json:"runtimeStatus,omitempty"`
	Scaling       Scaling               `json:"scaling"`
	// Secrets associated with the application.
	Secrets []ApplicationSecret `json:"secrets,omitempty"`
	// Indicates if the application resources are stopped.
	Stopped              *bool `json:"stopped,omitempty"`
	AdditionalProperties map[string]interface{}
}

Application Application describes a deployable multi-container workload instance.

func NewApplication

func NewApplication(containers []Container, displayName string, network Network, scaling Scaling) *Application

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

func NewApplicationWithDefaults

func NewApplicationWithDefaults() *Application

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

func (*Application) GetContainers

func (o *Application) GetContainers() []Container

GetContainers returns the Containers field value

func (*Application) GetContainersOk

func (o *Application) GetContainersOk() ([]Container, bool)

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

func (*Application) GetDisplayName

func (o *Application) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Application) GetDisplayNameOk

func (o *Application) GetDisplayNameOk() (*string, bool)

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

func (*Application) GetEnvironmentId

func (o *Application) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*Application) GetEnvironmentIdOk

func (o *Application) GetEnvironmentIdOk() (*string, bool)

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

func (*Application) GetEnvironmentName

func (o *Application) GetEnvironmentName() string

GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise.

func (*Application) GetEnvironmentNameOk

func (o *Application) GetEnvironmentNameOk() (*string, bool)

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

func (*Application) GetId

func (o *Application) GetId() string

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

func (*Application) GetIdOk

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

func (o *Application) GetNetwork() Network

GetNetwork returns the Network field value

func (*Application) GetNetworkOk

func (o *Application) GetNetworkOk() (*Network, bool)

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

func (*Application) GetRegistry

func (o *Application) GetRegistry() []ApplicationRegistry

GetRegistry returns the Registry field value if set, zero value otherwise.

func (*Application) GetRegistryOk

func (o *Application) GetRegistryOk() ([]ApplicationRegistry, bool)

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

func (*Application) GetRuntimeStatus

func (o *Application) GetRuntimeStatus() RuntimeStatus

GetRuntimeStatus returns the RuntimeStatus field value if set, zero value otherwise.

func (*Application) GetRuntimeStatusOk

func (o *Application) GetRuntimeStatusOk() (*RuntimeStatus, bool)

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

func (*Application) GetScaling

func (o *Application) GetScaling() Scaling

GetScaling returns the Scaling field value

func (*Application) GetScalingOk

func (o *Application) GetScalingOk() (*Scaling, bool)

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

func (*Application) GetSecrets

func (o *Application) GetSecrets() []ApplicationSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*Application) GetSecretsOk

func (o *Application) GetSecretsOk() ([]ApplicationSecret, bool)

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

func (*Application) GetStopped

func (o *Application) GetStopped() bool

GetStopped returns the Stopped field value if set, zero value otherwise.

func (*Application) GetStoppedOk

func (o *Application) GetStoppedOk() (*bool, bool)

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

func (*Application) HasEnvironmentId

func (o *Application) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*Application) HasEnvironmentName

func (o *Application) HasEnvironmentName() bool

HasEnvironmentName returns a boolean if a field has been set.

func (*Application) HasId

func (o *Application) HasId() bool

HasId returns a boolean if a field has been set.

func (*Application) HasRegistry

func (o *Application) HasRegistry() bool

HasRegistry returns a boolean if a field has been set.

func (*Application) HasRuntimeStatus

func (o *Application) HasRuntimeStatus() bool

HasRuntimeStatus returns a boolean if a field has been set.

func (*Application) HasSecrets

func (o *Application) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (*Application) HasStopped

func (o *Application) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (Application) MarshalJSON

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

func (*Application) SetContainers

func (o *Application) SetContainers(v []Container)

SetContainers sets field value

func (*Application) SetDisplayName

func (o *Application) SetDisplayName(v string)

SetDisplayName sets field value

func (*Application) SetEnvironmentId

func (o *Application) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*Application) SetEnvironmentName

func (o *Application) SetEnvironmentName(v string)

SetEnvironmentName gets a reference to the given string and assigns it to the EnvironmentName field.

func (*Application) SetId

func (o *Application) SetId(v string)

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

func (*Application) SetNetwork

func (o *Application) SetNetwork(v Network)

SetNetwork sets field value

func (*Application) SetRegistry

func (o *Application) SetRegistry(v []ApplicationRegistry)

SetRegistry gets a reference to the given []ApplicationRegistry and assigns it to the Registry field.

func (*Application) SetRuntimeStatus

func (o *Application) SetRuntimeStatus(v RuntimeStatus)

SetRuntimeStatus gets a reference to the given RuntimeStatus and assigns it to the RuntimeStatus field.

func (*Application) SetScaling

func (o *Application) SetScaling(v Scaling)

SetScaling sets field value

func (*Application) SetSecrets

func (o *Application) SetSecrets(v []ApplicationSecret)

SetSecrets gets a reference to the given []ApplicationSecret and assigns it to the Secrets field.

func (*Application) SetStopped

func (o *Application) SetStopped(v bool)

SetStopped gets a reference to the given bool and assigns it to the Stopped field.

func (Application) ToMap

func (o Application) ToMap() (map[string]interface{}, error)

func (*Application) UnmarshalJSON

func (o *Application) UnmarshalJSON(data []byte) (err error)

type ApplicationRegistry

type ApplicationRegistry struct {
	Credentials          *ApplicationRegistryCredentialsAuth `json:"credentials,omitempty"`
	Type                 ApplicationRegistryAuthType         `json:"type"`
	AdditionalProperties map[string]interface{}
}

ApplicationRegistry struct for ApplicationRegistry

func NewApplicationRegistry

func NewApplicationRegistry(types ApplicationRegistryAuthType) *ApplicationRegistry

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

func NewApplicationRegistryWithDefaults

func NewApplicationRegistryWithDefaults() *ApplicationRegistry

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

func (*ApplicationRegistry) GetCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*ApplicationRegistry) GetCredentialsOk

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

func (*ApplicationRegistry) GetType

GetType returns the Type field value

func (*ApplicationRegistry) GetTypeOk

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

func (*ApplicationRegistry) HasCredentials

func (o *ApplicationRegistry) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (ApplicationRegistry) MarshalJSON

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

func (*ApplicationRegistry) SetCredentials

SetCredentials gets a reference to the given ApplicationRegistryCredentialsAuth and assigns it to the Credentials field.

func (*ApplicationRegistry) SetType

SetType sets field value

func (ApplicationRegistry) ToMap

func (o ApplicationRegistry) ToMap() (map[string]interface{}, error)

func (*ApplicationRegistry) UnmarshalJSON

func (o *ApplicationRegistry) UnmarshalJSON(data []byte) (err error)

type ApplicationRegistryAuthType

type ApplicationRegistryAuthType string

ApplicationRegistryAuthType the model 'ApplicationRegistryAuthType'

const (
	APPLICATIONREGISTRYAUTHTYPE_AUTH_TYPE_NONE           ApplicationRegistryAuthType = "AUTH_TYPE_NONE"
	APPLICATIONREGISTRYAUTHTYPE_AUTH_TYPE_CREDENTIALS    ApplicationRegistryAuthType = "AUTH_TYPE_CREDENTIALS"
	APPLICATIONREGISTRYAUTHTYPE_UNKNOWN_DEFAULT_OPEN_API ApplicationRegistryAuthType = "unknown_default_open_api"
)

List of ApplicationRegistryAuthType

func NewApplicationRegistryAuthTypeFromValue

func NewApplicationRegistryAuthTypeFromValue(v string) (*ApplicationRegistryAuthType, error)

NewApplicationRegistryAuthTypeFromValue returns a pointer to a valid ApplicationRegistryAuthType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ApplicationRegistryAuthType) IsValid

func (v ApplicationRegistryAuthType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ApplicationRegistryAuthType) Ptr

Ptr returns reference to ApplicationRegistryAuthType value

func (*ApplicationRegistryAuthType) UnmarshalJSON

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

type ApplicationRegistryCredentialsAuth

type ApplicationRegistryCredentialsAuth struct {
	// Password to authenticate to the registry. Omit or set to null to indicate deletion in updates.
	Password             *string `json:"password,omitempty"`
	Url                  string  `json:"url"`
	User                 string  `json:"user"`
	AdditionalProperties map[string]interface{}
}

ApplicationRegistryCredentialsAuth struct for ApplicationRegistryCredentialsAuth

func NewApplicationRegistryCredentialsAuth

func NewApplicationRegistryCredentialsAuth(url string, user string) *ApplicationRegistryCredentialsAuth

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

func NewApplicationRegistryCredentialsAuthWithDefaults

func NewApplicationRegistryCredentialsAuthWithDefaults() *ApplicationRegistryCredentialsAuth

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

func (*ApplicationRegistryCredentialsAuth) GetPassword

func (o *ApplicationRegistryCredentialsAuth) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*ApplicationRegistryCredentialsAuth) GetPasswordOk

func (o *ApplicationRegistryCredentialsAuth) GetPasswordOk() (*string, bool)

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

func (*ApplicationRegistryCredentialsAuth) GetUrl

GetUrl returns the Url field value

func (*ApplicationRegistryCredentialsAuth) GetUrlOk

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

func (*ApplicationRegistryCredentialsAuth) GetUser

GetUser returns the User field value

func (*ApplicationRegistryCredentialsAuth) GetUserOk

func (o *ApplicationRegistryCredentialsAuth) GetUserOk() (*string, bool)

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

func (*ApplicationRegistryCredentialsAuth) HasPassword

func (o *ApplicationRegistryCredentialsAuth) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (ApplicationRegistryCredentialsAuth) MarshalJSON

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

func (*ApplicationRegistryCredentialsAuth) SetPassword

func (o *ApplicationRegistryCredentialsAuth) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*ApplicationRegistryCredentialsAuth) SetUrl

SetUrl sets field value

func (*ApplicationRegistryCredentialsAuth) SetUser

SetUser sets field value

func (ApplicationRegistryCredentialsAuth) ToMap

func (o ApplicationRegistryCredentialsAuth) ToMap() (map[string]interface{}, error)

func (*ApplicationRegistryCredentialsAuth) UnmarshalJSON

func (o *ApplicationRegistryCredentialsAuth) UnmarshalJSON(data []byte) (err error)

type ApplicationSecret

type ApplicationSecret struct {
	// Secret key.
	Key string `json:"key"`
	// Secret value. Omit or set to null to keep the existing value unchanged.
	Value                *string `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApplicationSecret ApplicationSecret defines a single secret key-value pair.

func NewApplicationSecret

func NewApplicationSecret(key string) *ApplicationSecret

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

func NewApplicationSecretWithDefaults

func NewApplicationSecretWithDefaults() *ApplicationSecret

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

func (*ApplicationSecret) GetKey

func (o *ApplicationSecret) GetKey() string

GetKey returns the Key field value

func (*ApplicationSecret) GetKeyOk

func (o *ApplicationSecret) GetKeyOk() (*string, bool)

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

func (*ApplicationSecret) GetValue

func (o *ApplicationSecret) GetValue() string

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

func (*ApplicationSecret) GetValueOk

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

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

func (*ApplicationSecret) HasValue

func (o *ApplicationSecret) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ApplicationSecret) MarshalJSON

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

func (*ApplicationSecret) SetKey

func (o *ApplicationSecret) SetKey(v string)

SetKey sets field value

func (*ApplicationSecret) SetValue

func (o *ApplicationSecret) SetValue(v string)

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

func (ApplicationSecret) ToMap

func (o ApplicationSecret) ToMap() (map[string]interface{}, error)

func (*ApplicationSecret) UnmarshalJSON

func (o *ApplicationSecret) UnmarshalJSON(data []byte) (err error)

type ApplicationSummary

type ApplicationSummary struct {
	// Number of containers.
	Containers *int32 `json:"containers,omitempty"`
	// Creation date in RFC3339 format.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Application's human-readable name.
	DisplayName *string `json:"displayName,omitempty"`
	// Environment's identifier.
	EnvironmentId *string `json:"environmentId,omitempty"`
	// Environment's human-readable name.
	EnvironmentName *string `json:"environmentName,omitempty"`
	// Application identifier, for example: 00000000-0000-0000-0000-000000000000.
	Id *string `json:"id,omitempty"`
	// Application's running instances.
	Instances *int32 `json:"instances,omitempty"`
	// Date of the last moment the application got the running status in RFC3339 format.
	LastDeployment *time.Time     `json:"lastDeployment,omitempty"`
	Status         *CurrentStatus `json:"status,omitempty"`
	// Indicates if the application resources are stopped.
	Stopped *bool `json:"stopped,omitempty"`
	// Application's published URL.
	Url                  *string `json:"url,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApplicationSummary ApplicationSummary describes a summary of an application.

func NewApplicationSummary

func NewApplicationSummary() *ApplicationSummary

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

func NewApplicationSummaryWithDefaults

func NewApplicationSummaryWithDefaults() *ApplicationSummary

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

func (*ApplicationSummary) GetContainers

func (o *ApplicationSummary) GetContainers() int32

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

func (*ApplicationSummary) GetContainersOk

func (o *ApplicationSummary) GetContainersOk() (*int32, 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 (*ApplicationSummary) GetCreatedAt

func (o *ApplicationSummary) GetCreatedAt() time.Time

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

func (*ApplicationSummary) GetCreatedAtOk

func (o *ApplicationSummary) GetCreatedAtOk() (*time.Time, bool)

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

func (*ApplicationSummary) GetDisplayName

func (o *ApplicationSummary) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ApplicationSummary) GetDisplayNameOk

func (o *ApplicationSummary) GetDisplayNameOk() (*string, bool)

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

func (*ApplicationSummary) GetEnvironmentId

func (o *ApplicationSummary) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*ApplicationSummary) GetEnvironmentIdOk

func (o *ApplicationSummary) GetEnvironmentIdOk() (*string, bool)

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

func (*ApplicationSummary) GetEnvironmentName

func (o *ApplicationSummary) GetEnvironmentName() string

GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise.

func (*ApplicationSummary) GetEnvironmentNameOk

func (o *ApplicationSummary) GetEnvironmentNameOk() (*string, bool)

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

func (*ApplicationSummary) GetId

func (o *ApplicationSummary) GetId() string

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

func (*ApplicationSummary) GetIdOk

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

func (o *ApplicationSummary) GetInstances() int32

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

func (*ApplicationSummary) GetInstancesOk

func (o *ApplicationSummary) GetInstancesOk() (*int32, 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 (*ApplicationSummary) GetLastDeployment

func (o *ApplicationSummary) GetLastDeployment() time.Time

GetLastDeployment returns the LastDeployment field value if set, zero value otherwise.

func (*ApplicationSummary) GetLastDeploymentOk

func (o *ApplicationSummary) GetLastDeploymentOk() (*time.Time, bool)

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

func (*ApplicationSummary) GetStatus

func (o *ApplicationSummary) GetStatus() CurrentStatus

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

func (*ApplicationSummary) GetStatusOk

func (o *ApplicationSummary) GetStatusOk() (*CurrentStatus, 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 (*ApplicationSummary) GetStopped

func (o *ApplicationSummary) GetStopped() bool

GetStopped returns the Stopped field value if set, zero value otherwise.

func (*ApplicationSummary) GetStoppedOk

func (o *ApplicationSummary) GetStoppedOk() (*bool, bool)

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

func (*ApplicationSummary) GetUrl

func (o *ApplicationSummary) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ApplicationSummary) GetUrlOk

func (o *ApplicationSummary) GetUrlOk() (*string, bool)

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

func (*ApplicationSummary) HasContainers

func (o *ApplicationSummary) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*ApplicationSummary) HasCreatedAt

func (o *ApplicationSummary) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ApplicationSummary) HasDisplayName

func (o *ApplicationSummary) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*ApplicationSummary) HasEnvironmentId

func (o *ApplicationSummary) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*ApplicationSummary) HasEnvironmentName

func (o *ApplicationSummary) HasEnvironmentName() bool

HasEnvironmentName returns a boolean if a field has been set.

func (*ApplicationSummary) HasId

func (o *ApplicationSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*ApplicationSummary) HasInstances

func (o *ApplicationSummary) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*ApplicationSummary) HasLastDeployment

func (o *ApplicationSummary) HasLastDeployment() bool

HasLastDeployment returns a boolean if a field has been set.

func (*ApplicationSummary) HasStatus

func (o *ApplicationSummary) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ApplicationSummary) HasStopped

func (o *ApplicationSummary) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (*ApplicationSummary) HasUrl

func (o *ApplicationSummary) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ApplicationSummary) MarshalJSON

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

func (*ApplicationSummary) SetContainers

func (o *ApplicationSummary) SetContainers(v int32)

SetContainers gets a reference to the given int32 and assigns it to the Containers field.

func (*ApplicationSummary) SetCreatedAt

func (o *ApplicationSummary) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ApplicationSummary) SetDisplayName

func (o *ApplicationSummary) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ApplicationSummary) SetEnvironmentId

func (o *ApplicationSummary) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*ApplicationSummary) SetEnvironmentName

func (o *ApplicationSummary) SetEnvironmentName(v string)

SetEnvironmentName gets a reference to the given string and assigns it to the EnvironmentName field.

func (*ApplicationSummary) SetId

func (o *ApplicationSummary) SetId(v string)

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

func (*ApplicationSummary) SetInstances

func (o *ApplicationSummary) SetInstances(v int32)

SetInstances gets a reference to the given int32 and assigns it to the Instances field.

func (*ApplicationSummary) SetLastDeployment

func (o *ApplicationSummary) SetLastDeployment(v time.Time)

SetLastDeployment gets a reference to the given time.Time and assigns it to the LastDeployment field.

func (*ApplicationSummary) SetStatus

func (o *ApplicationSummary) SetStatus(v CurrentStatus)

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

func (*ApplicationSummary) SetStopped

func (o *ApplicationSummary) SetStopped(v bool)

SetStopped gets a reference to the given bool and assigns it to the Stopped field.

func (*ApplicationSummary) SetUrl

func (o *ApplicationSummary) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (ApplicationSummary) ToMap

func (o ApplicationSummary) ToMap() (map[string]interface{}, error)

func (*ApplicationSummary) UnmarshalJSON

func (o *ApplicationSummary) UnmarshalJSON(data []byte) (err error)

type AutoScaling

type AutoScaling struct {
	// Allow automatically scale to zero.
	AllowScaleToZero *bool `json:"allowScaleToZero,omitempty"`
	// Maximum number of instances.
	MaxInstances int32 `json:"maxInstances"`
	// Minimum number of instances.
	MinInstances int32 `json:"minInstances"`
	// Scaling rules.
	Rules                []ScaleRule `json:"rules"`
	AdditionalProperties map[string]interface{}
}

AutoScaling AutoScaling configuration.

func NewAutoScaling

func NewAutoScaling(maxInstances int32, minInstances int32, rules []ScaleRule) *AutoScaling

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

func NewAutoScalingWithDefaults

func NewAutoScalingWithDefaults() *AutoScaling

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

func (*AutoScaling) GetAllowScaleToZero

func (o *AutoScaling) GetAllowScaleToZero() bool

GetAllowScaleToZero returns the AllowScaleToZero field value if set, zero value otherwise.

func (*AutoScaling) GetAllowScaleToZeroOk

func (o *AutoScaling) GetAllowScaleToZeroOk() (*bool, bool)

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

func (*AutoScaling) GetMaxInstances

func (o *AutoScaling) GetMaxInstances() int32

GetMaxInstances returns the MaxInstances field value

func (*AutoScaling) GetMaxInstancesOk

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

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

func (*AutoScaling) GetMinInstances

func (o *AutoScaling) GetMinInstances() int32

GetMinInstances returns the MinInstances field value

func (*AutoScaling) GetMinInstancesOk

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

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

func (*AutoScaling) GetRules

func (o *AutoScaling) GetRules() []ScaleRule

GetRules returns the Rules field value

func (*AutoScaling) GetRulesOk

func (o *AutoScaling) GetRulesOk() ([]ScaleRule, bool)

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

func (*AutoScaling) HasAllowScaleToZero

func (o *AutoScaling) HasAllowScaleToZero() bool

HasAllowScaleToZero returns a boolean if a field has been set.

func (AutoScaling) MarshalJSON

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

func (*AutoScaling) SetAllowScaleToZero

func (o *AutoScaling) SetAllowScaleToZero(v bool)

SetAllowScaleToZero gets a reference to the given bool and assigns it to the AllowScaleToZero field.

func (*AutoScaling) SetMaxInstances

func (o *AutoScaling) SetMaxInstances(v int32)

SetMaxInstances sets field value

func (*AutoScaling) SetMinInstances

func (o *AutoScaling) SetMinInstances(v int32)

SetMinInstances sets field value

func (*AutoScaling) SetRules

func (o *AutoScaling) SetRules(v []ScaleRule)

SetRules sets field value

func (AutoScaling) ToMap

func (o AutoScaling) ToMap() (map[string]interface{}, error)

func (*AutoScaling) UnmarshalJSON

func (o *AutoScaling) UnmarshalJSON(data []byte) (err error)

type Container

type Container struct {
	// Container argument override.
	Args []string `json:"args,omitempty"`
	// Container command override.
	Command []string `json:"command,omitempty"`
	// CPU limit for the container.
	Cpu *int32 `json:"cpu,omitempty"`
	// Environment variables exposed to the container.
	EnvironmentVariables []EnvVar `json:"environmentVariables,omitempty"`
	// Container image configuration.
	Image string `json:"image"`
	// Memory limit for the container.
	Memory *int32 `json:"memory,omitempty"`
	// Container name.
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

Container Container describes a simplified container configuration for the application.

func NewContainer

func NewContainer(image string, name string) *Container

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

func NewContainerWithDefaults

func NewContainerWithDefaults() *Container

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

func (*Container) GetArgs

func (o *Container) GetArgs() []string

GetArgs returns the Args field value if set, zero value otherwise.

func (*Container) GetArgsOk

func (o *Container) GetArgsOk() ([]string, bool)

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

func (*Container) GetCommand

func (o *Container) GetCommand() []string

GetCommand returns the Command field value if set, zero value otherwise.

func (*Container) GetCommandOk

func (o *Container) GetCommandOk() ([]string, bool)

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

func (*Container) GetCpu

func (o *Container) GetCpu() int32

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

func (*Container) GetCpuOk

func (o *Container) GetCpuOk() (*int32, bool)

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

func (*Container) GetEnvironmentVariables

func (o *Container) GetEnvironmentVariables() []EnvVar

GetEnvironmentVariables returns the EnvironmentVariables field value if set, zero value otherwise.

func (*Container) GetEnvironmentVariablesOk

func (o *Container) GetEnvironmentVariablesOk() ([]EnvVar, bool)

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

func (*Container) GetImage

func (o *Container) GetImage() string

GetImage returns the Image field value

func (*Container) GetImageOk

func (o *Container) GetImageOk() (*string, bool)

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

func (*Container) GetMemory

func (o *Container) GetMemory() int32

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

func (*Container) GetMemoryOk

func (o *Container) GetMemoryOk() (*int32, bool)

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

func (*Container) GetName

func (o *Container) GetName() string

GetName returns the Name field value

func (*Container) GetNameOk

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

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

func (*Container) HasArgs

func (o *Container) HasArgs() bool

HasArgs returns a boolean if a field has been set.

func (*Container) HasCommand

func (o *Container) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*Container) HasCpu

func (o *Container) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*Container) HasEnvironmentVariables

func (o *Container) HasEnvironmentVariables() bool

HasEnvironmentVariables returns a boolean if a field has been set.

func (*Container) HasMemory

func (o *Container) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (Container) MarshalJSON

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

func (*Container) SetArgs

func (o *Container) SetArgs(v []string)

SetArgs gets a reference to the given []string and assigns it to the Args field.

func (*Container) SetCommand

func (o *Container) SetCommand(v []string)

SetCommand gets a reference to the given []string and assigns it to the Command field.

func (*Container) SetCpu

func (o *Container) SetCpu(v int32)

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

func (*Container) SetEnvironmentVariables

func (o *Container) SetEnvironmentVariables(v []EnvVar)

SetEnvironmentVariables gets a reference to the given []EnvVar and assigns it to the EnvironmentVariables field.

func (*Container) SetImage

func (o *Container) SetImage(v string)

SetImage sets field value

func (*Container) SetMemory

func (o *Container) SetMemory(v int32)

SetMemory gets a reference to the given int32 and assigns it to the Memory field.

func (*Container) SetName

func (o *Container) SetName(v string)

SetName sets field value

func (Container) ToMap

func (o Container) ToMap() (map[string]interface{}, error)

func (*Container) UnmarshalJSON

func (o *Container) UnmarshalJSON(data []byte) (err error)

type CreateApplicationPayload

type CreateApplicationPayload struct {
	// Containers to deploy for the application.
	Containers []Container `json:"containers"`
	// Human-readable display name.
	DisplayName string `json:"displayName"`
	// Application environment ID.
	EnvironmentId *string `json:"environmentId,omitempty"`
	// Application human-readable display name.
	EnvironmentName *string `json:"environmentName,omitempty"`
	// Application identifier, for example: 00000000-0000-0000-0000-000000000000.
	Id      *string `json:"id,omitempty"`
	Network Network `json:"network"`
	// Image registry configuration for the application.
	Registry      []ApplicationRegistry `json:"registry,omitempty"`
	RuntimeStatus *RuntimeStatus        `json:"runtimeStatus,omitempty"`
	Scaling       Scaling               `json:"scaling"`
	// Secrets associated with the application.
	Secrets []ApplicationSecret `json:"secrets,omitempty"`
	// Indicates if the application resources are stopped.
	Stopped              *bool `json:"stopped,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateApplicationPayload Application describes a deployable multi-container workload instance.

func NewCreateApplicationPayload

func NewCreateApplicationPayload(containers []Container, displayName string, network Network, scaling Scaling) *CreateApplicationPayload

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

func NewCreateApplicationPayloadWithDefaults

func NewCreateApplicationPayloadWithDefaults() *CreateApplicationPayload

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

func (*CreateApplicationPayload) GetContainers

func (o *CreateApplicationPayload) GetContainers() []Container

GetContainers returns the Containers field value

func (*CreateApplicationPayload) GetContainersOk

func (o *CreateApplicationPayload) GetContainersOk() ([]Container, bool)

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

func (*CreateApplicationPayload) GetDisplayName

func (o *CreateApplicationPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateApplicationPayload) GetDisplayNameOk

func (o *CreateApplicationPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateApplicationPayload) GetEnvironmentId

func (o *CreateApplicationPayload) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetEnvironmentIdOk

func (o *CreateApplicationPayload) GetEnvironmentIdOk() (*string, bool)

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

func (*CreateApplicationPayload) GetEnvironmentName

func (o *CreateApplicationPayload) GetEnvironmentName() string

GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetEnvironmentNameOk

func (o *CreateApplicationPayload) GetEnvironmentNameOk() (*string, bool)

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

func (*CreateApplicationPayload) GetId

func (o *CreateApplicationPayload) GetId() string

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

func (*CreateApplicationPayload) GetIdOk

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

func (o *CreateApplicationPayload) GetNetwork() Network

GetNetwork returns the Network field value

func (*CreateApplicationPayload) GetNetworkOk

func (o *CreateApplicationPayload) GetNetworkOk() (*Network, bool)

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

func (*CreateApplicationPayload) GetRegistry

func (o *CreateApplicationPayload) GetRegistry() []ApplicationRegistry

GetRegistry returns the Registry field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetRegistryOk

func (o *CreateApplicationPayload) GetRegistryOk() ([]ApplicationRegistry, bool)

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

func (*CreateApplicationPayload) GetRuntimeStatus

func (o *CreateApplicationPayload) GetRuntimeStatus() RuntimeStatus

GetRuntimeStatus returns the RuntimeStatus field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetRuntimeStatusOk

func (o *CreateApplicationPayload) GetRuntimeStatusOk() (*RuntimeStatus, bool)

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

func (*CreateApplicationPayload) GetScaling

func (o *CreateApplicationPayload) GetScaling() Scaling

GetScaling returns the Scaling field value

func (*CreateApplicationPayload) GetScalingOk

func (o *CreateApplicationPayload) GetScalingOk() (*Scaling, bool)

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

func (*CreateApplicationPayload) GetSecrets

func (o *CreateApplicationPayload) GetSecrets() []ApplicationSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetSecretsOk

func (o *CreateApplicationPayload) GetSecretsOk() ([]ApplicationSecret, bool)

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

func (*CreateApplicationPayload) GetStopped

func (o *CreateApplicationPayload) GetStopped() bool

GetStopped returns the Stopped field value if set, zero value otherwise.

func (*CreateApplicationPayload) GetStoppedOk

func (o *CreateApplicationPayload) GetStoppedOk() (*bool, bool)

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

func (*CreateApplicationPayload) HasEnvironmentId

func (o *CreateApplicationPayload) HasEnvironmentId() bool

HasEnvironmentId returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasEnvironmentName

func (o *CreateApplicationPayload) HasEnvironmentName() bool

HasEnvironmentName returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasId

func (o *CreateApplicationPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasRegistry

func (o *CreateApplicationPayload) HasRegistry() bool

HasRegistry returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasRuntimeStatus

func (o *CreateApplicationPayload) HasRuntimeStatus() bool

HasRuntimeStatus returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasSecrets

func (o *CreateApplicationPayload) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (*CreateApplicationPayload) HasStopped

func (o *CreateApplicationPayload) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (CreateApplicationPayload) MarshalJSON

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

func (*CreateApplicationPayload) SetContainers

func (o *CreateApplicationPayload) SetContainers(v []Container)

SetContainers sets field value

func (*CreateApplicationPayload) SetDisplayName

func (o *CreateApplicationPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateApplicationPayload) SetEnvironmentId

func (o *CreateApplicationPayload) SetEnvironmentId(v string)

SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.

func (*CreateApplicationPayload) SetEnvironmentName

func (o *CreateApplicationPayload) SetEnvironmentName(v string)

SetEnvironmentName gets a reference to the given string and assigns it to the EnvironmentName field.

func (*CreateApplicationPayload) SetId

func (o *CreateApplicationPayload) SetId(v string)

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

func (*CreateApplicationPayload) SetNetwork

func (o *CreateApplicationPayload) SetNetwork(v Network)

SetNetwork sets field value

func (*CreateApplicationPayload) SetRegistry

func (o *CreateApplicationPayload) SetRegistry(v []ApplicationRegistry)

SetRegistry gets a reference to the given []ApplicationRegistry and assigns it to the Registry field.

func (*CreateApplicationPayload) SetRuntimeStatus

func (o *CreateApplicationPayload) SetRuntimeStatus(v RuntimeStatus)

SetRuntimeStatus gets a reference to the given RuntimeStatus and assigns it to the RuntimeStatus field.

func (*CreateApplicationPayload) SetScaling

func (o *CreateApplicationPayload) SetScaling(v Scaling)

SetScaling sets field value

func (*CreateApplicationPayload) SetSecrets

func (o *CreateApplicationPayload) SetSecrets(v []ApplicationSecret)

SetSecrets gets a reference to the given []ApplicationSecret and assigns it to the Secrets field.

func (*CreateApplicationPayload) SetStopped

func (o *CreateApplicationPayload) SetStopped(v bool)

SetStopped gets a reference to the given bool and assigns it to the Stopped field.

func (CreateApplicationPayload) ToMap

func (o CreateApplicationPayload) ToMap() (map[string]interface{}, error)

func (*CreateApplicationPayload) UnmarshalJSON

func (o *CreateApplicationPayload) UnmarshalJSON(data []byte) (err error)

type CreateEnvironmentPayload

type CreateEnvironmentPayload struct {
	// Creation date in RFC3339 format.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Is the default environmet.
	Default *bool `json:"default,omitempty"`
	// Human-readable display name.
	DisplayName string `json:"displayName"`
	// Environment identifier, for example: default.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateEnvironmentPayload Environment describes an isolated container scope within a project.

func NewCreateEnvironmentPayload

func NewCreateEnvironmentPayload(displayName string) *CreateEnvironmentPayload

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

func NewCreateEnvironmentPayloadWithDefaults

func NewCreateEnvironmentPayloadWithDefaults() *CreateEnvironmentPayload

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

func (*CreateEnvironmentPayload) GetCreatedAt

func (o *CreateEnvironmentPayload) GetCreatedAt() time.Time

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

func (*CreateEnvironmentPayload) GetCreatedAtOk

func (o *CreateEnvironmentPayload) GetCreatedAtOk() (*time.Time, bool)

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

func (*CreateEnvironmentPayload) GetDefault

func (o *CreateEnvironmentPayload) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*CreateEnvironmentPayload) GetDefaultOk

func (o *CreateEnvironmentPayload) GetDefaultOk() (*bool, bool)

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

func (*CreateEnvironmentPayload) GetDisplayName

func (o *CreateEnvironmentPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateEnvironmentPayload) GetDisplayNameOk

func (o *CreateEnvironmentPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateEnvironmentPayload) GetId

func (o *CreateEnvironmentPayload) GetId() string

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

func (*CreateEnvironmentPayload) GetIdOk

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

func (o *CreateEnvironmentPayload) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CreateEnvironmentPayload) HasDefault

func (o *CreateEnvironmentPayload) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*CreateEnvironmentPayload) HasId

func (o *CreateEnvironmentPayload) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateEnvironmentPayload) MarshalJSON

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

func (*CreateEnvironmentPayload) SetCreatedAt

func (o *CreateEnvironmentPayload) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CreateEnvironmentPayload) SetDefault

func (o *CreateEnvironmentPayload) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*CreateEnvironmentPayload) SetDisplayName

func (o *CreateEnvironmentPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateEnvironmentPayload) SetId

func (o *CreateEnvironmentPayload) SetId(v string)

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

func (CreateEnvironmentPayload) ToMap

func (o CreateEnvironmentPayload) ToMap() (map[string]interface{}, error)

func (*CreateEnvironmentPayload) UnmarshalJSON

func (o *CreateEnvironmentPayload) UnmarshalJSON(data []byte) (err error)

type CurrentStatus

type CurrentStatus string

CurrentStatus - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Applications replicas are being created. - CURRENT_STATUS_RUNNING: Application is ready and has the desired replicas running. - CURRENT_STATUS_FAILED: Application is not available and has some error. - CURRENT_STATUS_IDLE: Application is ready but is scaled to 0 replicas. - CURRENT_STATUS_NONE: Application is stopped.

const (
	CURRENTSTATUS_CURRENT_STATUS_UNSPECIFIED CurrentStatus = "CURRENT_STATUS_UNSPECIFIED"
	CURRENTSTATUS_CURRENT_STATUS_PROGRESSING CurrentStatus = "CURRENT_STATUS_PROGRESSING"
	CURRENTSTATUS_CURRENT_STATUS_RUNNING     CurrentStatus = "CURRENT_STATUS_RUNNING"
	CURRENTSTATUS_CURRENT_STATUS_FAILED      CurrentStatus = "CURRENT_STATUS_FAILED"
	CURRENTSTATUS_CURRENT_STATUS_IDLE        CurrentStatus = "CURRENT_STATUS_IDLE"
	CURRENTSTATUS_CURRENT_STATUS_NONE        CurrentStatus = "CURRENT_STATUS_NONE"
	CURRENTSTATUS_UNKNOWN_DEFAULT_OPEN_API   CurrentStatus = "unknown_default_open_api"
)

List of CurrentStatus

func NewCurrentStatusFromValue

func NewCurrentStatusFromValue(v string) (*CurrentStatus, error)

NewCurrentStatusFromValue returns a pointer to a valid CurrentStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CurrentStatus) IsValid

func (v CurrentStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CurrentStatus) Ptr

func (v CurrentStatus) Ptr() *CurrentStatus

Ptr returns reference to CurrentStatus value

func (*CurrentStatus) UnmarshalJSON

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

type CustomRuleParameter

type CustomRuleParameter struct {
	Name                 string `json:"name"`
	Value                string `json:"value"`
	AdditionalProperties map[string]interface{}
}

CustomRuleParameter CustomRuleParameter defines a single scaler parameter.

func NewCustomRuleParameter

func NewCustomRuleParameter(name string, value string) *CustomRuleParameter

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

func NewCustomRuleParameterWithDefaults

func NewCustomRuleParameterWithDefaults() *CustomRuleParameter

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

func (*CustomRuleParameter) GetName

func (o *CustomRuleParameter) GetName() string

GetName returns the Name field value

func (*CustomRuleParameter) GetNameOk

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

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

func (*CustomRuleParameter) GetValue

func (o *CustomRuleParameter) GetValue() string

GetValue returns the Value field value

func (*CustomRuleParameter) GetValueOk

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

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

func (CustomRuleParameter) MarshalJSON

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

func (*CustomRuleParameter) SetName

func (o *CustomRuleParameter) SetName(v string)

SetName sets field value

func (*CustomRuleParameter) SetValue

func (o *CustomRuleParameter) SetValue(v string)

SetValue sets field value

func (CustomRuleParameter) ToMap

func (o CustomRuleParameter) ToMap() (map[string]interface{}, error)

func (*CustomRuleParameter) UnmarshalJSON

func (o *CustomRuleParameter) UnmarshalJSON(data []byte) (err error)

type CustomRuleSecretMapping

type CustomRuleSecretMapping struct {
	// Secret parameter name.
	Parameter string `json:"parameter"`
	// Environment secret name.
	Secret               string `json:"secret"`
	AdditionalProperties map[string]interface{}
}

CustomRuleSecretMapping CustomRuleSecretMapping maps a scaler parameter to an environment secret.

func NewCustomRuleSecretMapping

func NewCustomRuleSecretMapping(parameter string, secret string) *CustomRuleSecretMapping

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

func NewCustomRuleSecretMappingWithDefaults

func NewCustomRuleSecretMappingWithDefaults() *CustomRuleSecretMapping

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

func (*CustomRuleSecretMapping) GetParameter

func (o *CustomRuleSecretMapping) GetParameter() string

GetParameter returns the Parameter field value

func (*CustomRuleSecretMapping) GetParameterOk

func (o *CustomRuleSecretMapping) GetParameterOk() (*string, bool)

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

func (*CustomRuleSecretMapping) GetSecret

func (o *CustomRuleSecretMapping) GetSecret() string

GetSecret returns the Secret field value

func (*CustomRuleSecretMapping) GetSecretOk

func (o *CustomRuleSecretMapping) GetSecretOk() (*string, bool)

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

func (CustomRuleSecretMapping) MarshalJSON

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

func (*CustomRuleSecretMapping) SetParameter

func (o *CustomRuleSecretMapping) SetParameter(v string)

SetParameter sets field value

func (*CustomRuleSecretMapping) SetSecret

func (o *CustomRuleSecretMapping) SetSecret(v string)

SetSecret sets field value

func (CustomRuleSecretMapping) ToMap

func (o CustomRuleSecretMapping) ToMap() (map[string]interface{}, error)

func (*CustomRuleSecretMapping) UnmarshalJSON

func (o *CustomRuleSecretMapping) UnmarshalJSON(data []byte) (err error)

type CustomScaleRule

type CustomScaleRule struct {
	// Scaler parameters.
	Parameters []CustomRuleParameter `json:"parameters,omitempty"`
	// Secret mappings for the scaler.
	SecretsMapping []CustomRuleSecretMapping `json:"secretsMapping,omitempty"`
	// Scaler type.
	Type                 string `json:"type"`
	AdditionalProperties map[string]interface{}
}

CustomScaleRule CustomScaleRule defines parameters for custom scalers (e.g., KEDA).

func NewCustomScaleRule

func NewCustomScaleRule(types string) *CustomScaleRule

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

func NewCustomScaleRuleWithDefaults

func NewCustomScaleRuleWithDefaults() *CustomScaleRule

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

func (*CustomScaleRule) GetParameters

func (o *CustomScaleRule) GetParameters() []CustomRuleParameter

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*CustomScaleRule) GetParametersOk

func (o *CustomScaleRule) GetParametersOk() ([]CustomRuleParameter, bool)

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

func (*CustomScaleRule) GetSecretsMapping

func (o *CustomScaleRule) GetSecretsMapping() []CustomRuleSecretMapping

GetSecretsMapping returns the SecretsMapping field value if set, zero value otherwise.

func (*CustomScaleRule) GetSecretsMappingOk

func (o *CustomScaleRule) GetSecretsMappingOk() ([]CustomRuleSecretMapping, bool)

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

func (*CustomScaleRule) GetType

func (o *CustomScaleRule) GetType() string

GetType returns the Type field value

func (*CustomScaleRule) GetTypeOk

func (o *CustomScaleRule) GetTypeOk() (*string, bool)

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

func (*CustomScaleRule) HasParameters

func (o *CustomScaleRule) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*CustomScaleRule) HasSecretsMapping

func (o *CustomScaleRule) HasSecretsMapping() bool

HasSecretsMapping returns a boolean if a field has been set.

func (CustomScaleRule) MarshalJSON

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

func (*CustomScaleRule) SetParameters

func (o *CustomScaleRule) SetParameters(v []CustomRuleParameter)

SetParameters gets a reference to the given []CustomRuleParameter and assigns it to the Parameters field.

func (*CustomScaleRule) SetSecretsMapping

func (o *CustomScaleRule) SetSecretsMapping(v []CustomRuleSecretMapping)

SetSecretsMapping gets a reference to the given []CustomRuleSecretMapping and assigns it to the SecretsMapping field.

func (*CustomScaleRule) SetType

func (o *CustomScaleRule) SetType(v string)

SetType sets field value

func (CustomScaleRule) ToMap

func (o CustomScaleRule) ToMap() (map[string]interface{}, error)

func (*CustomScaleRule) UnmarshalJSON

func (o *CustomScaleRule) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateApplication Creates a new application within a environment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project  to create the application in.
		@param environmentId environment to create the application in.
		@return ApiCreateApplicationRequest
	*/
	CreateApplication(ctx context.Context, projectId string, environmentId string) ApiCreateApplicationRequest

	// CreateApplicationExecute executes the request
	//  @return Application
	CreateApplicationExecute(r ApiCreateApplicationRequest) (*Application, error)

	/*
		CreateEnvironment Creates a new environment within a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Parent project resource name to create under
		@return ApiCreateEnvironmentRequest
	*/
	CreateEnvironment(ctx context.Context, projectId string) ApiCreateEnvironmentRequest

	// CreateEnvironmentExecute executes the request
	//  @return Environment
	CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Environment, error)

	/*
		DeleteApplication Deletes an application by resource name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to delete the application in.
		@param environmentId environment to delete the application in.
		@param applicationId Application id to delete.
		@return ApiDeleteApplicationRequest
	*/
	DeleteApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiDeleteApplicationRequest

	// DeleteApplicationExecute executes the request
	//  @return Application
	DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*Application, error)

	/*
		GetApplication Retrieves a application by resource name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to fetch the application from.
		@param environmentId environment to fetch the application from.
		@param applicationId Application id to fetch.
		@return ApiGetApplicationRequest
	*/
	GetApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationRequest

	// GetApplicationExecute executes the request
	//  @return Application
	GetApplicationExecute(r ApiGetApplicationRequest) (*Application, error)

	/*
		GetApplicationEvents GetApplicationEvents retrieves events of an application.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to fetch the application from.
		@param environmentId Environment to fetch the application from.
		@param applicationId Application id to fetch.
		@return ApiGetApplicationEventsRequest
	*/
	GetApplicationEvents(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationEventsRequest

	// GetApplicationEventsExecute executes the request
	//  @return GetApplicationEventsResponse
	GetApplicationEventsExecute(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)

	/*
		GetApplicationLogs GetApplicationLogs retrieves logs of an application.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to fetch the application from.
		@param environmentId Environment to fetch the application from.
		@param applicationId Application id to fetch.
		@return ApiGetApplicationLogsRequest
	*/
	GetApplicationLogs(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationLogsRequest

	// GetApplicationLogsExecute executes the request
	//  @return GetApplicationLogsResponse
	GetApplicationLogsExecute(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)

	/*
		GetEnvironment Retrieves an environment by resource name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Parent project resource name to fetch under.
		@param environmentId Environment identifier, for example: default.
		@return ApiGetEnvironmentRequest
	*/
	GetEnvironment(ctx context.Context, projectId string, environmentId string) ApiGetEnvironmentRequest

	// GetEnvironmentExecute executes the request
	//  @return Environment
	GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*Environment, error)

	/*
		GetOverview Method for GetOverview

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Parent project resource name to list under.
		@return ApiGetOverviewRequest
	*/
	GetOverview(ctx context.Context, projectId string) ApiGetOverviewRequest

	// GetOverviewExecute executes the request
	//  @return GetOverviewResponse
	GetOverviewExecute(r ApiGetOverviewRequest) (*GetOverviewResponse, error)

	/*
		ListApplications Lists applications within an environment.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to list the applications in.
		@param environmentId environment to list the applications in.
		@return ApiListApplicationsRequest
	*/
	ListApplications(ctx context.Context, projectId string, environmentId string) ApiListApplicationsRequest

	// ListApplicationsExecute executes the request
	//  @return ListApplicationsResponse
	ListApplicationsExecute(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)

	/*
		ListEnvironments Lists environments within a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Parent project resource name to list under.
		@return ApiListEnvironmentsRequest
	*/
	ListEnvironments(ctx context.Context, projectId string) ApiListEnvironmentsRequest

	// ListEnvironmentsExecute executes the request
	//  @return ListEnvironmentsResponse
	ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)

	/*
		ListProjectApplications Lists applications within a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to list the applications in.
		@return ApiListProjectApplicationsRequest
	*/
	ListProjectApplications(ctx context.Context, projectId string) ApiListProjectApplicationsRequest

	// ListProjectApplicationsExecute executes the request
	//  @return ListApplicationsResponse
	ListProjectApplicationsExecute(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)

	/*
		UpdateApplication Updates an existing application.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Project to update the application in.
		@param environmentId environment to update the application in.
		@param applicationId Application id to update.
		@return ApiUpdateApplicationRequest
	*/
	UpdateApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiUpdateApplicationRequest

	// UpdateApplicationExecute executes the request
	//  @return Application
	UpdateApplicationExecute(r ApiUpdateApplicationRequest) (*Application, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateApplication

func (a *DefaultAPIService) CreateApplication(ctx context.Context, projectId string, environmentId string) ApiCreateApplicationRequest

CreateApplication Creates a new application within a environment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project  to create the application in.
@param environmentId environment to create the application in.
@return ApiCreateApplicationRequest

func (*DefaultAPIService) CreateApplicationExecute

func (a *DefaultAPIService) CreateApplicationExecute(r ApiCreateApplicationRequest) (*Application, error)

Execute executes the request

@return Application

func (*DefaultAPIService) CreateEnvironment

func (a *DefaultAPIService) CreateEnvironment(ctx context.Context, projectId string) ApiCreateEnvironmentRequest

CreateEnvironment Creates a new environment within a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Parent project resource name to create under
@return ApiCreateEnvironmentRequest

func (*DefaultAPIService) CreateEnvironmentExecute

func (a *DefaultAPIService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Environment, error)

Execute executes the request

@return Environment

func (*DefaultAPIService) DeleteApplication

func (a *DefaultAPIService) DeleteApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiDeleteApplicationRequest

DeleteApplication Deletes an application by resource name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to delete the application in.
@param environmentId environment to delete the application in.
@param applicationId Application id to delete.
@return ApiDeleteApplicationRequest

func (*DefaultAPIService) DeleteApplicationExecute

func (a *DefaultAPIService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*Application, error)

Execute executes the request

@return Application

func (*DefaultAPIService) GetApplication

func (a *DefaultAPIService) GetApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationRequest

GetApplication Retrieves a application by resource name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to fetch the application from.
@param environmentId environment to fetch the application from.
@param applicationId Application id to fetch.
@return ApiGetApplicationRequest

func (*DefaultAPIService) GetApplicationEvents

func (a *DefaultAPIService) GetApplicationEvents(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationEventsRequest

GetApplicationEvents GetApplicationEvents retrieves events of an application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to fetch the application from.
@param environmentId Environment to fetch the application from.
@param applicationId Application id to fetch.
@return ApiGetApplicationEventsRequest

func (*DefaultAPIService) GetApplicationEventsExecute

Execute executes the request

@return GetApplicationEventsResponse

func (*DefaultAPIService) GetApplicationExecute

func (a *DefaultAPIService) GetApplicationExecute(r ApiGetApplicationRequest) (*Application, error)

Execute executes the request

@return Application

func (*DefaultAPIService) GetApplicationLogs

func (a *DefaultAPIService) GetApplicationLogs(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationLogsRequest

GetApplicationLogs GetApplicationLogs retrieves logs of an application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to fetch the application from.
@param environmentId Environment to fetch the application from.
@param applicationId Application id to fetch.
@return ApiGetApplicationLogsRequest

func (*DefaultAPIService) GetApplicationLogsExecute

Execute executes the request

@return GetApplicationLogsResponse

func (*DefaultAPIService) GetEnvironment

func (a *DefaultAPIService) GetEnvironment(ctx context.Context, projectId string, environmentId string) ApiGetEnvironmentRequest

GetEnvironment Retrieves an environment by resource name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Parent project resource name to fetch under.
@param environmentId Environment identifier, for example: default.
@return ApiGetEnvironmentRequest

func (*DefaultAPIService) GetEnvironmentExecute

func (a *DefaultAPIService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*Environment, error)

Execute executes the request

@return Environment

func (*DefaultAPIService) GetOverview

func (a *DefaultAPIService) GetOverview(ctx context.Context, projectId string) ApiGetOverviewRequest

GetOverview Method for GetOverview

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Parent project resource name to list under.
@return ApiGetOverviewRequest

func (*DefaultAPIService) GetOverviewExecute

Execute executes the request

@return GetOverviewResponse

func (*DefaultAPIService) ListApplications

func (a *DefaultAPIService) ListApplications(ctx context.Context, projectId string, environmentId string) ApiListApplicationsRequest

ListApplications Lists applications within an environment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to list the applications in.
@param environmentId environment to list the applications in.
@return ApiListApplicationsRequest

func (*DefaultAPIService) ListApplicationsExecute

Execute executes the request

@return ListApplicationsResponse

func (*DefaultAPIService) ListEnvironments

func (a *DefaultAPIService) ListEnvironments(ctx context.Context, projectId string) ApiListEnvironmentsRequest

ListEnvironments Lists environments within a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Parent project resource name to list under.
@return ApiListEnvironmentsRequest

func (*DefaultAPIService) ListEnvironmentsExecute

Execute executes the request

@return ListEnvironmentsResponse

func (*DefaultAPIService) ListProjectApplications

func (a *DefaultAPIService) ListProjectApplications(ctx context.Context, projectId string) ApiListProjectApplicationsRequest

ListProjectApplications Lists applications within a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to list the applications in.
@return ApiListProjectApplicationsRequest

func (*DefaultAPIService) ListProjectApplicationsExecute

func (a *DefaultAPIService) ListProjectApplicationsExecute(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)

Execute executes the request

@return ListApplicationsResponse

func (*DefaultAPIService) UpdateApplication

func (a *DefaultAPIService) UpdateApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiUpdateApplicationRequest

UpdateApplication Updates an existing application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project to update the application in.
@param environmentId environment to update the application in.
@param applicationId Application id to update.
@return ApiUpdateApplicationRequest

func (*DefaultAPIService) UpdateApplicationExecute

func (a *DefaultAPIService) UpdateApplicationExecute(r ApiUpdateApplicationRequest) (*Application, error)

Execute executes the request

@return Application

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateApplicationExecuteMock can be populated to implement the behavior of the CreateApplicationExecute function of this mock
	CreateApplicationExecuteMock *func(r ApiCreateApplicationRequest) (*Application, error)
	// CreateEnvironmentExecuteMock can be populated to implement the behavior of the CreateEnvironmentExecute function of this mock
	CreateEnvironmentExecuteMock *func(r ApiCreateEnvironmentRequest) (*Environment, error)
	// DeleteApplicationExecuteMock can be populated to implement the behavior of the DeleteApplicationExecute function of this mock
	DeleteApplicationExecuteMock *func(r ApiDeleteApplicationRequest) (*Application, error)
	// GetApplicationExecuteMock can be populated to implement the behavior of the GetApplicationExecute function of this mock
	GetApplicationExecuteMock *func(r ApiGetApplicationRequest) (*Application, error)
	// GetApplicationEventsExecuteMock can be populated to implement the behavior of the GetApplicationEventsExecute function of this mock
	GetApplicationEventsExecuteMock *func(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)
	// GetApplicationLogsExecuteMock can be populated to implement the behavior of the GetApplicationLogsExecute function of this mock
	GetApplicationLogsExecuteMock *func(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)
	// GetEnvironmentExecuteMock can be populated to implement the behavior of the GetEnvironmentExecute function of this mock
	GetEnvironmentExecuteMock *func(r ApiGetEnvironmentRequest) (*Environment, error)
	// GetOverviewExecuteMock can be populated to implement the behavior of the GetOverviewExecute function of this mock
	GetOverviewExecuteMock *func(r ApiGetOverviewRequest) (*GetOverviewResponse, error)
	// ListApplicationsExecuteMock can be populated to implement the behavior of the ListApplicationsExecute function of this mock
	ListApplicationsExecuteMock *func(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)
	// ListEnvironmentsExecuteMock can be populated to implement the behavior of the ListEnvironmentsExecute function of this mock
	ListEnvironmentsExecuteMock *func(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
	// ListProjectApplicationsExecuteMock can be populated to implement the behavior of the ListProjectApplicationsExecute function of this mock
	ListProjectApplicationsExecuteMock *func(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)
	// UpdateApplicationExecuteMock can be populated to implement the behavior of the UpdateApplicationExecute function of this mock
	UpdateApplicationExecuteMock *func(r ApiUpdateApplicationRequest) (*Application, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateApplication

func (a DefaultAPIServiceMock) CreateApplication(ctx context.Context, projectId string, environmentId string) ApiCreateApplicationRequest

func (DefaultAPIServiceMock) CreateApplicationExecute

func (a DefaultAPIServiceMock) CreateApplicationExecute(r ApiCreateApplicationRequest) (*Application, error)

CreateApplicationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateApplicationExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateEnvironment

func (a DefaultAPIServiceMock) CreateEnvironment(ctx context.Context, projectId string) ApiCreateEnvironmentRequest

func (DefaultAPIServiceMock) CreateEnvironmentExecute

func (a DefaultAPIServiceMock) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Environment, error)

CreateEnvironmentExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateEnvironmentExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteApplication

func (a DefaultAPIServiceMock) DeleteApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiDeleteApplicationRequest

func (DefaultAPIServiceMock) DeleteApplicationExecute

func (a DefaultAPIServiceMock) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*Application, error)

DeleteApplicationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteApplicationExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetApplication

func (a DefaultAPIServiceMock) GetApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationRequest

func (DefaultAPIServiceMock) GetApplicationEvents

func (a DefaultAPIServiceMock) GetApplicationEvents(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationEventsRequest

func (DefaultAPIServiceMock) GetApplicationEventsExecute

GetApplicationEventsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApplicationEventsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetApplicationExecute

func (a DefaultAPIServiceMock) GetApplicationExecute(r ApiGetApplicationRequest) (*Application, error)

GetApplicationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApplicationExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetApplicationLogs

func (a DefaultAPIServiceMock) GetApplicationLogs(ctx context.Context, projectId string, environmentId string, applicationId string) ApiGetApplicationLogsRequest

func (DefaultAPIServiceMock) GetApplicationLogsExecute

GetApplicationLogsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApplicationLogsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetEnvironment

func (a DefaultAPIServiceMock) GetEnvironment(ctx context.Context, projectId string, environmentId string) ApiGetEnvironmentRequest

func (DefaultAPIServiceMock) GetEnvironmentExecute

func (a DefaultAPIServiceMock) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*Environment, error)

GetEnvironmentExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetEnvironmentExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetOverview

func (a DefaultAPIServiceMock) GetOverview(ctx context.Context, projectId string) ApiGetOverviewRequest

func (DefaultAPIServiceMock) GetOverviewExecute

GetOverviewExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetOverviewExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListApplications

func (a DefaultAPIServiceMock) ListApplications(ctx context.Context, projectId string, environmentId string) ApiListApplicationsRequest

func (DefaultAPIServiceMock) ListApplicationsExecute

ListApplicationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListApplicationsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListEnvironments

func (a DefaultAPIServiceMock) ListEnvironments(ctx context.Context, projectId string) ApiListEnvironmentsRequest

func (DefaultAPIServiceMock) ListEnvironmentsExecute

ListEnvironmentsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListEnvironmentsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListProjectApplications

func (a DefaultAPIServiceMock) ListProjectApplications(ctx context.Context, projectId string) ApiListProjectApplicationsRequest

func (DefaultAPIServiceMock) ListProjectApplicationsExecute

ListProjectApplicationsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProjectApplicationsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateApplication

func (a DefaultAPIServiceMock) UpdateApplication(ctx context.Context, projectId string, environmentId string, applicationId string) ApiUpdateApplicationRequest

func (DefaultAPIServiceMock) UpdateApplicationExecute

func (a DefaultAPIServiceMock) UpdateApplicationExecute(r ApiUpdateApplicationRequest) (*Application, error)

UpdateApplicationExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateApplicationExecuteMock field in the DefaultAPIServiceMock struct.

type EnvVar

type EnvVar struct {
	// Environment variable key.
	Key    string      `json:"key"`
	Origin *EnvVarType `json:"origin,omitempty"`
	// Environment variable value.
	Value                string `json:"value"`
	AdditionalProperties map[string]interface{}
}

EnvVar EnvVar defines a single environment variable.

func NewEnvVar

func NewEnvVar(key string, value string) *EnvVar

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

func NewEnvVarWithDefaults

func NewEnvVarWithDefaults() *EnvVar

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

func (*EnvVar) GetKey

func (o *EnvVar) GetKey() string

GetKey returns the Key field value

func (*EnvVar) GetKeyOk

func (o *EnvVar) GetKeyOk() (*string, bool)

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

func (*EnvVar) GetOrigin

func (o *EnvVar) GetOrigin() EnvVarType

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*EnvVar) GetOriginOk

func (o *EnvVar) GetOriginOk() (*EnvVarType, bool)

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

func (*EnvVar) GetValue

func (o *EnvVar) GetValue() string

GetValue returns the Value field value

func (*EnvVar) GetValueOk

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

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

func (*EnvVar) HasOrigin

func (o *EnvVar) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (EnvVar) MarshalJSON

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

func (*EnvVar) SetKey

func (o *EnvVar) SetKey(v string)

SetKey sets field value

func (*EnvVar) SetOrigin

func (o *EnvVar) SetOrigin(v EnvVarType)

SetOrigin gets a reference to the given EnvVarType and assigns it to the Origin field.

func (*EnvVar) SetValue

func (o *EnvVar) SetValue(v string)

SetValue sets field value

func (EnvVar) ToMap

func (o EnvVar) ToMap() (map[string]interface{}, error)

func (*EnvVar) UnmarshalJSON

func (o *EnvVar) UnmarshalJSON(data []byte) (err error)

type EnvVarType

type EnvVarType string

EnvVarType EnvVarType identifies the origin of an environment variable. - ENV_FROM_SOURCE_TYPE_UNSPECIFIED: Used as zero value. - ENV_FROM_SOURCE_TYPE_MANUAL: Environment source from a literal value. - ENV_FROM_SOURCE_TYPE_SECRET: Environment source from a secret.

const (
	ENVVARTYPE_ENV_FROM_SOURCE_TYPE_UNSPECIFIED EnvVarType = "ENV_FROM_SOURCE_TYPE_UNSPECIFIED"
	ENVVARTYPE_ENV_FROM_SOURCE_TYPE_MANUAL      EnvVarType = "ENV_FROM_SOURCE_TYPE_MANUAL"
	ENVVARTYPE_ENV_FROM_SOURCE_TYPE_SECRET      EnvVarType = "ENV_FROM_SOURCE_TYPE_SECRET"
	ENVVARTYPE_UNKNOWN_DEFAULT_OPEN_API         EnvVarType = "unknown_default_open_api"
)

List of EnvVarType

func NewEnvVarTypeFromValue

func NewEnvVarTypeFromValue(v string) (*EnvVarType, error)

NewEnvVarTypeFromValue returns a pointer to a valid EnvVarType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EnvVarType) IsValid

func (v EnvVarType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EnvVarType) Ptr

func (v EnvVarType) Ptr() *EnvVarType

Ptr returns reference to EnvVarType value

func (*EnvVarType) UnmarshalJSON

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

type Environment

type Environment struct {
	// Creation date in RFC3339 format.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Is the default environmet.
	Default *bool `json:"default,omitempty"`
	// Human-readable display name.
	DisplayName string `json:"displayName"`
	// Environment identifier, for example: default.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

Environment Environment describes an isolated container scope within a project.

func NewEnvironment

func NewEnvironment(displayName string) *Environment

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

func NewEnvironmentWithDefaults

func NewEnvironmentWithDefaults() *Environment

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

func (*Environment) GetCreatedAt

func (o *Environment) GetCreatedAt() time.Time

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

func (*Environment) GetCreatedAtOk

func (o *Environment) GetCreatedAtOk() (*time.Time, bool)

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

func (*Environment) GetDefault

func (o *Environment) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*Environment) GetDefaultOk

func (o *Environment) GetDefaultOk() (*bool, bool)

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

func (*Environment) GetDisplayName

func (o *Environment) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Environment) GetDisplayNameOk

func (o *Environment) GetDisplayNameOk() (*string, bool)

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

func (*Environment) GetId

func (o *Environment) GetId() string

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

func (*Environment) GetIdOk

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

func (o *Environment) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Environment) HasDefault

func (o *Environment) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*Environment) HasId

func (o *Environment) HasId() bool

HasId returns a boolean if a field has been set.

func (Environment) MarshalJSON

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

func (*Environment) SetCreatedAt

func (o *Environment) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Environment) SetDefault

func (o *Environment) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*Environment) SetDisplayName

func (o *Environment) SetDisplayName(v string)

SetDisplayName sets field value

func (*Environment) SetId

func (o *Environment) SetId(v string)

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

func (Environment) ToMap

func (o Environment) ToMap() (map[string]interface{}, error)

func (*Environment) UnmarshalJSON

func (o *Environment) UnmarshalJSON(data []byte) (err error)

type EnvironmentSummary

type EnvironmentSummary struct {
	// Amount of applications in the environment.
	ApplicationsNumber *int32 `json:"applicationsNumber,omitempty"`
	// Creation date in RFC3339 format.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Is the default environmet.
	Default *bool `json:"default,omitempty"`
	// Human-readable display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Environment identifier, for example: default.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnvironmentSummary Environment summary.

func NewEnvironmentSummary

func NewEnvironmentSummary() *EnvironmentSummary

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

func NewEnvironmentSummaryWithDefaults

func NewEnvironmentSummaryWithDefaults() *EnvironmentSummary

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

func (*EnvironmentSummary) GetApplicationsNumber

func (o *EnvironmentSummary) GetApplicationsNumber() int32

GetApplicationsNumber returns the ApplicationsNumber field value if set, zero value otherwise.

func (*EnvironmentSummary) GetApplicationsNumberOk

func (o *EnvironmentSummary) GetApplicationsNumberOk() (*int32, bool)

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

func (*EnvironmentSummary) GetCreatedAt

func (o *EnvironmentSummary) GetCreatedAt() time.Time

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

func (*EnvironmentSummary) GetCreatedAtOk

func (o *EnvironmentSummary) GetCreatedAtOk() (*time.Time, bool)

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

func (*EnvironmentSummary) GetDefault

func (o *EnvironmentSummary) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*EnvironmentSummary) GetDefaultOk

func (o *EnvironmentSummary) GetDefaultOk() (*bool, bool)

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

func (*EnvironmentSummary) GetDisplayName

func (o *EnvironmentSummary) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*EnvironmentSummary) GetDisplayNameOk

func (o *EnvironmentSummary) GetDisplayNameOk() (*string, bool)

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

func (*EnvironmentSummary) GetId

func (o *EnvironmentSummary) GetId() string

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

func (*EnvironmentSummary) GetIdOk

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

func (o *EnvironmentSummary) HasApplicationsNumber() bool

HasApplicationsNumber returns a boolean if a field has been set.

func (*EnvironmentSummary) HasCreatedAt

func (o *EnvironmentSummary) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*EnvironmentSummary) HasDefault

func (o *EnvironmentSummary) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*EnvironmentSummary) HasDisplayName

func (o *EnvironmentSummary) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*EnvironmentSummary) HasId

func (o *EnvironmentSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (EnvironmentSummary) MarshalJSON

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

func (*EnvironmentSummary) SetApplicationsNumber

func (o *EnvironmentSummary) SetApplicationsNumber(v int32)

SetApplicationsNumber gets a reference to the given int32 and assigns it to the ApplicationsNumber field.

func (*EnvironmentSummary) SetCreatedAt

func (o *EnvironmentSummary) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*EnvironmentSummary) SetDefault

func (o *EnvironmentSummary) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*EnvironmentSummary) SetDisplayName

func (o *EnvironmentSummary) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*EnvironmentSummary) SetId

func (o *EnvironmentSummary) SetId(v string)

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

func (EnvironmentSummary) ToMap

func (o EnvironmentSummary) ToMap() (map[string]interface{}, error)

func (*EnvironmentSummary) UnmarshalJSON

func (o *EnvironmentSummary) UnmarshalJSON(data []byte) (err error)

type Event

type Event struct {
	// Event message.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

Event Event defines an event line.

func NewEvent

func NewEvent() *Event

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

func NewEventWithDefaults

func NewEventWithDefaults() *Event

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

func (*Event) GetMessage

func (o *Event) GetMessage() string

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

func (*Event) GetMessageOk

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

func (o *Event) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Event) MarshalJSON

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

func (*Event) SetMessage

func (o *Event) SetMessage(v string)

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

func (Event) ToMap

func (o Event) ToMap() (map[string]interface{}, error)

func (*Event) UnmarshalJSON

func (o *Event) UnmarshalJSON(data []byte) (err error)

type GetApplicationEventsResponse

type GetApplicationEventsResponse struct {
	// Events list.
	Events               []Event `json:"events,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetApplicationEventsResponse GetApplicationEventsResponse contains an application's events list.

func NewGetApplicationEventsResponse

func NewGetApplicationEventsResponse() *GetApplicationEventsResponse

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

func NewGetApplicationEventsResponseWithDefaults

func NewGetApplicationEventsResponseWithDefaults() *GetApplicationEventsResponse

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

func (*GetApplicationEventsResponse) GetEvents

func (o *GetApplicationEventsResponse) GetEvents() []Event

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

func (*GetApplicationEventsResponse) GetEventsOk

func (o *GetApplicationEventsResponse) GetEventsOk() ([]Event, 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 (*GetApplicationEventsResponse) HasEvents

func (o *GetApplicationEventsResponse) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (GetApplicationEventsResponse) MarshalJSON

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

func (*GetApplicationEventsResponse) SetEvents

func (o *GetApplicationEventsResponse) SetEvents(v []Event)

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

func (GetApplicationEventsResponse) ToMap

func (o GetApplicationEventsResponse) ToMap() (map[string]interface{}, error)

func (*GetApplicationEventsResponse) UnmarshalJSON

func (o *GetApplicationEventsResponse) UnmarshalJSON(data []byte) (err error)

type GetApplicationLogsResponse

type GetApplicationLogsResponse struct {
	// Logs list.
	Logs                 []Log `json:"logs,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetApplicationLogsResponse GetApplicationLogsResponse contains an application's logs list.

func NewGetApplicationLogsResponse

func NewGetApplicationLogsResponse() *GetApplicationLogsResponse

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

func NewGetApplicationLogsResponseWithDefaults

func NewGetApplicationLogsResponseWithDefaults() *GetApplicationLogsResponse

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

func (*GetApplicationLogsResponse) GetLogs

func (o *GetApplicationLogsResponse) GetLogs() []Log

GetLogs returns the Logs field value if set, zero value otherwise.

func (*GetApplicationLogsResponse) GetLogsOk

func (o *GetApplicationLogsResponse) GetLogsOk() ([]Log, bool)

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

func (*GetApplicationLogsResponse) HasLogs

func (o *GetApplicationLogsResponse) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (GetApplicationLogsResponse) MarshalJSON

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

func (*GetApplicationLogsResponse) SetLogs

func (o *GetApplicationLogsResponse) SetLogs(v []Log)

SetLogs gets a reference to the given []Log and assigns it to the Logs field.

func (GetApplicationLogsResponse) ToMap

func (o GetApplicationLogsResponse) ToMap() (map[string]interface{}, error)

func (*GetApplicationLogsResponse) UnmarshalJSON

func (o *GetApplicationLogsResponse) UnmarshalJSON(data []byte) (err error)

type GetOverviewResponse

type GetOverviewResponse struct {
	Summary              Summary `json:"summary"`
	AdditionalProperties map[string]interface{}
}

GetOverviewResponse GetOverviewResponse contains a summary of the current state of the project's application.

func NewGetOverviewResponse

func NewGetOverviewResponse(summary Summary) *GetOverviewResponse

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

func NewGetOverviewResponseWithDefaults

func NewGetOverviewResponseWithDefaults() *GetOverviewResponse

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

func (*GetOverviewResponse) GetSummary

func (o *GetOverviewResponse) GetSummary() Summary

GetSummary returns the Summary field value

func (*GetOverviewResponse) GetSummaryOk

func (o *GetOverviewResponse) GetSummaryOk() (*Summary, bool)

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

func (GetOverviewResponse) MarshalJSON

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

func (*GetOverviewResponse) SetSummary

func (o *GetOverviewResponse) SetSummary(v Summary)

SetSummary sets field value

func (GetOverviewResponse) ToMap

func (o GetOverviewResponse) ToMap() (map[string]interface{}, error)

func (*GetOverviewResponse) UnmarshalJSON

func (o *GetOverviewResponse) UnmarshalJSON(data []byte) (err error)

type HttpScaleRule

type HttpScaleRule struct {
	// Target concurrency per instance.
	Concurrency *int32 `json:"concurrency,omitempty"`
	// Target requests per second per instance.
	Rps                  *int32 `json:"rps,omitempty"`
	AdditionalProperties map[string]interface{}
}

HttpScaleRule HttpScaleRule defines parameters for HTTP-based scaling.

func NewHttpScaleRule

func NewHttpScaleRule() *HttpScaleRule

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

func NewHttpScaleRuleWithDefaults

func NewHttpScaleRuleWithDefaults() *HttpScaleRule

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

func (*HttpScaleRule) GetConcurrency

func (o *HttpScaleRule) GetConcurrency() int32

GetConcurrency returns the Concurrency field value if set, zero value otherwise.

func (*HttpScaleRule) GetConcurrencyOk

func (o *HttpScaleRule) GetConcurrencyOk() (*int32, bool)

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

func (*HttpScaleRule) GetRps

func (o *HttpScaleRule) GetRps() int32

GetRps returns the Rps field value if set, zero value otherwise.

func (*HttpScaleRule) GetRpsOk

func (o *HttpScaleRule) GetRpsOk() (*int32, bool)

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

func (*HttpScaleRule) HasConcurrency

func (o *HttpScaleRule) HasConcurrency() bool

HasConcurrency returns a boolean if a field has been set.

func (*HttpScaleRule) HasRps

func (o *HttpScaleRule) HasRps() bool

HasRps returns a boolean if a field has been set.

func (HttpScaleRule) MarshalJSON

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

func (*HttpScaleRule) SetConcurrency

func (o *HttpScaleRule) SetConcurrency(v int32)

SetConcurrency gets a reference to the given int32 and assigns it to the Concurrency field.

func (*HttpScaleRule) SetRps

func (o *HttpScaleRule) SetRps(v int32)

SetRps gets a reference to the given int32 and assigns it to the Rps field.

func (HttpScaleRule) ToMap

func (o HttpScaleRule) ToMap() (map[string]interface{}, error)

func (*HttpScaleRule) UnmarshalJSON

func (o *HttpScaleRule) UnmarshalJSON(data []byte) (err error)

type Instance

type Instance struct {
	// Instance's name.
	Name                 *string         `json:"name,omitempty"`
	Status               *InstanceStatus `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

Instance Application instance summary.

func NewInstance

func NewInstance() *Instance

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

func NewInstanceWithDefaults

func NewInstanceWithDefaults() *Instance

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

func (*Instance) GetName

func (o *Instance) GetName() string

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

func (*Instance) GetNameOk

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

func (o *Instance) GetStatus() InstanceStatus

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

func (*Instance) GetStatusOk

func (o *Instance) GetStatusOk() (*InstanceStatus, 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 (*Instance) HasName

func (o *Instance) HasName() bool

HasName returns a boolean if a field has been set.

func (*Instance) HasStatus

func (o *Instance) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Instance) MarshalJSON

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

func (*Instance) SetName

func (o *Instance) SetName(v string)

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

func (*Instance) SetStatus

func (o *Instance) SetStatus(v InstanceStatus)

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

func (Instance) ToMap

func (o Instance) ToMap() (map[string]interface{}, error)

func (*Instance) UnmarshalJSON

func (o *Instance) UnmarshalJSON(data []byte) (err error)

type InstanceStatus

type InstanceStatus string

InstanceStatus - INSTANCE_STATUS_PROGRESSING: Instance is being created. - INSTANCE_STATUS_RUNNING: Instance is available and running. - INSTANCE_STATUS_FAILED: Instance is not available and has some error.

const (
	INSTANCESTATUS_INSTANCE_STATUS_PROGRESSING InstanceStatus = "INSTANCE_STATUS_PROGRESSING"
	INSTANCESTATUS_INSTANCE_STATUS_RUNNING     InstanceStatus = "INSTANCE_STATUS_RUNNING"
	INSTANCESTATUS_INSTANCE_STATUS_FAILED      InstanceStatus = "INSTANCE_STATUS_FAILED"
	INSTANCESTATUS_UNKNOWN_DEFAULT_OPEN_API    InstanceStatus = "unknown_default_open_api"
)

List of InstanceStatus

func NewInstanceStatusFromValue

func NewInstanceStatusFromValue(v string) (*InstanceStatus, error)

NewInstanceStatusFromValue returns a pointer to a valid InstanceStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InstanceStatus) IsValid

func (v InstanceStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InstanceStatus) Ptr

func (v InstanceStatus) Ptr() *InstanceStatus

Ptr returns reference to InstanceStatus value

func (*InstanceStatus) UnmarshalJSON

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

type ListApplicationsResponse

type ListApplicationsResponse struct {
	// Applications under the requested parent.
	Items                []ApplicationSummary `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListApplicationsResponse ListApplicationsResponse contains applications and pagination metadata.

func NewListApplicationsResponse

func NewListApplicationsResponse() *ListApplicationsResponse

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

func NewListApplicationsResponseWithDefaults

func NewListApplicationsResponseWithDefaults() *ListApplicationsResponse

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

func (*ListApplicationsResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*ListApplicationsResponse) GetItemsOk

func (o *ListApplicationsResponse) GetItemsOk() ([]ApplicationSummary, bool)

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

func (*ListApplicationsResponse) HasItems

func (o *ListApplicationsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListApplicationsResponse) MarshalJSON

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

func (*ListApplicationsResponse) SetItems

SetItems gets a reference to the given []ApplicationSummary and assigns it to the Items field.

func (ListApplicationsResponse) ToMap

func (o ListApplicationsResponse) ToMap() (map[string]interface{}, error)

func (*ListApplicationsResponse) UnmarshalJSON

func (o *ListApplicationsResponse) UnmarshalJSON(data []byte) (err error)

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	// Environments under the requested parent.
	Items                []EnvironmentSummary `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListEnvironmentsResponse ListEnvironmentsResponse contains environments and pagination metadata.

func NewListEnvironmentsResponse

func NewListEnvironmentsResponse() *ListEnvironmentsResponse

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

func NewListEnvironmentsResponseWithDefaults

func NewListEnvironmentsResponseWithDefaults() *ListEnvironmentsResponse

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

func (*ListEnvironmentsResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*ListEnvironmentsResponse) GetItemsOk

func (o *ListEnvironmentsResponse) GetItemsOk() ([]EnvironmentSummary, bool)

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

func (*ListEnvironmentsResponse) HasItems

func (o *ListEnvironmentsResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListEnvironmentsResponse) MarshalJSON

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

func (*ListEnvironmentsResponse) SetItems

SetItems gets a reference to the given []EnvironmentSummary and assigns it to the Items field.

func (ListEnvironmentsResponse) ToMap

func (o ListEnvironmentsResponse) ToMap() (map[string]interface{}, error)

func (*ListEnvironmentsResponse) UnmarshalJSON

func (o *ListEnvironmentsResponse) UnmarshalJSON(data []byte) (err error)

type Log

type Log struct {
	// Log message.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

Log Log defines a log line.

func NewLog

func NewLog() *Log

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

func NewLogWithDefaults

func NewLogWithDefaults() *Log

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

func (*Log) GetMessage

func (o *Log) GetMessage() string

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

func (*Log) GetMessageOk

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

func (o *Log) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Log) MarshalJSON

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

func (*Log) SetMessage

func (o *Log) SetMessage(v string)

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

func (Log) ToMap

func (o Log) ToMap() (map[string]interface{}, error)

func (*Log) UnmarshalJSON

func (o *Log) UnmarshalJSON(data []byte) (err error)

type ManualScaling

type ManualScaling struct {
	// Number of instances to run.
	Instances            int32 `json:"instances"`
	AdditionalProperties map[string]interface{}
}

ManualScaling ManualScaling configuration.

func NewManualScaling

func NewManualScaling(instances int32) *ManualScaling

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

func NewManualScalingWithDefaults

func NewManualScalingWithDefaults() *ManualScaling

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

func (*ManualScaling) GetInstances

func (o *ManualScaling) GetInstances() int32

GetInstances returns the Instances field value

func (*ManualScaling) GetInstancesOk

func (o *ManualScaling) GetInstancesOk() (*int32, bool)

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

func (ManualScaling) MarshalJSON

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

func (*ManualScaling) SetInstances

func (o *ManualScaling) SetInstances(v int32)

SetInstances sets field value

func (ManualScaling) ToMap

func (o ManualScaling) ToMap() (map[string]interface{}, error)

func (*ManualScaling) UnmarshalJSON

func (o *ManualScaling) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Network

type Network struct {
	// Allowed destination CIDRs for Ingress traffic.
	IngressAcl []string `json:"ingressAcl,omitempty"`
	// Port number.
	Port *int32 `json:"port,omitempty"`
	// Whether the application should be accessible from the internet.
	PublicIngress        bool `json:"publicIngress"`
	AdditionalProperties map[string]interface{}
}

Network Network configuration for an application.

func NewNetwork

func NewNetwork(publicIngress bool) *Network

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

func NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

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

func (*Network) GetIngressAcl

func (o *Network) GetIngressAcl() []string

GetIngressAcl returns the IngressAcl field value if set, zero value otherwise.

func (*Network) GetIngressAclOk

func (o *Network) GetIngressAclOk() ([]string, bool)

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

func (*Network) GetPort

func (o *Network) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*Network) GetPortOk

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

func (o *Network) GetPublicIngress() bool

GetPublicIngress returns the PublicIngress field value

func (*Network) GetPublicIngressOk

func (o *Network) GetPublicIngressOk() (*bool, bool)

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

func (*Network) HasIngressAcl

func (o *Network) HasIngressAcl() bool

HasIngressAcl returns a boolean if a field has been set.

func (*Network) HasPort

func (o *Network) HasPort() bool

HasPort returns a boolean if a field has been set.

func (Network) MarshalJSON

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

func (*Network) SetIngressAcl

func (o *Network) SetIngressAcl(v []string)

SetIngressAcl gets a reference to the given []string and assigns it to the IngressAcl field.

func (*Network) SetPort

func (o *Network) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*Network) SetPublicIngress

func (o *Network) SetPublicIngress(v bool)

SetPublicIngress sets field value

func (Network) ToMap

func (o Network) ToMap() (map[string]interface{}, error)

func (*Network) UnmarshalJSON

func (o *Network) UnmarshalJSON(data []byte) (err error)

type NullableApiErrorResponse

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

func NewNullableApiErrorResponse

func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse

func (NullableApiErrorResponse) Get

func (NullableApiErrorResponse) IsSet

func (v NullableApiErrorResponse) IsSet() bool

func (NullableApiErrorResponse) MarshalJSON

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

func (*NullableApiErrorResponse) Set

func (*NullableApiErrorResponse) UnmarshalJSON

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

func (*NullableApiErrorResponse) Unset

func (v *NullableApiErrorResponse) Unset()

type NullableApplication

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

func NewNullableApplication

func NewNullableApplication(val *Application) *NullableApplication

func (NullableApplication) Get

func (NullableApplication) IsSet

func (v NullableApplication) IsSet() bool

func (NullableApplication) MarshalJSON

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

func (*NullableApplication) Set

func (v *NullableApplication) Set(val *Application)

func (*NullableApplication) UnmarshalJSON

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

func (*NullableApplication) Unset

func (v *NullableApplication) Unset()

type NullableApplicationRegistry

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

func NewNullableApplicationRegistry

func NewNullableApplicationRegistry(val *ApplicationRegistry) *NullableApplicationRegistry

func (NullableApplicationRegistry) Get

func (NullableApplicationRegistry) IsSet

func (NullableApplicationRegistry) MarshalJSON

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

func (*NullableApplicationRegistry) Set

func (*NullableApplicationRegistry) UnmarshalJSON

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

func (*NullableApplicationRegistry) Unset

func (v *NullableApplicationRegistry) Unset()

type NullableApplicationRegistryAuthType

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

func (NullableApplicationRegistryAuthType) Get

func (NullableApplicationRegistryAuthType) IsSet

func (NullableApplicationRegistryAuthType) MarshalJSON

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

func (*NullableApplicationRegistryAuthType) Set

func (*NullableApplicationRegistryAuthType) UnmarshalJSON

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

func (*NullableApplicationRegistryAuthType) Unset

type NullableApplicationRegistryCredentialsAuth

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

func (NullableApplicationRegistryCredentialsAuth) Get

func (NullableApplicationRegistryCredentialsAuth) IsSet

func (NullableApplicationRegistryCredentialsAuth) MarshalJSON

func (*NullableApplicationRegistryCredentialsAuth) Set

func (*NullableApplicationRegistryCredentialsAuth) UnmarshalJSON

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

func (*NullableApplicationRegistryCredentialsAuth) Unset

type NullableApplicationSecret

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

func NewNullableApplicationSecret

func NewNullableApplicationSecret(val *ApplicationSecret) *NullableApplicationSecret

func (NullableApplicationSecret) Get

func (NullableApplicationSecret) IsSet

func (v NullableApplicationSecret) IsSet() bool

func (NullableApplicationSecret) MarshalJSON

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

func (*NullableApplicationSecret) Set

func (*NullableApplicationSecret) UnmarshalJSON

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

func (*NullableApplicationSecret) Unset

func (v *NullableApplicationSecret) Unset()

type NullableApplicationSummary

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

func NewNullableApplicationSummary

func NewNullableApplicationSummary(val *ApplicationSummary) *NullableApplicationSummary

func (NullableApplicationSummary) Get

func (NullableApplicationSummary) IsSet

func (v NullableApplicationSummary) IsSet() bool

func (NullableApplicationSummary) MarshalJSON

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

func (*NullableApplicationSummary) Set

func (*NullableApplicationSummary) UnmarshalJSON

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

func (*NullableApplicationSummary) Unset

func (v *NullableApplicationSummary) Unset()

type NullableAutoScaling

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

func NewNullableAutoScaling

func NewNullableAutoScaling(val *AutoScaling) *NullableAutoScaling

func (NullableAutoScaling) Get

func (NullableAutoScaling) IsSet

func (v NullableAutoScaling) IsSet() bool

func (NullableAutoScaling) MarshalJSON

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

func (*NullableAutoScaling) Set

func (v *NullableAutoScaling) Set(val *AutoScaling)

func (*NullableAutoScaling) UnmarshalJSON

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

func (*NullableAutoScaling) Unset

func (v *NullableAutoScaling) 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 NullableContainer

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

func NewNullableContainer

func NewNullableContainer(val *Container) *NullableContainer

func (NullableContainer) Get

func (v NullableContainer) Get() *Container

func (NullableContainer) IsSet

func (v NullableContainer) IsSet() bool

func (NullableContainer) MarshalJSON

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

func (*NullableContainer) Set

func (v *NullableContainer) Set(val *Container)

func (*NullableContainer) UnmarshalJSON

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

func (*NullableContainer) Unset

func (v *NullableContainer) Unset()

type NullableCreateApplicationPayload

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

func (NullableCreateApplicationPayload) Get

func (NullableCreateApplicationPayload) IsSet

func (NullableCreateApplicationPayload) MarshalJSON

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

func (*NullableCreateApplicationPayload) Set

func (*NullableCreateApplicationPayload) UnmarshalJSON

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

func (*NullableCreateApplicationPayload) Unset

type NullableCreateEnvironmentPayload

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

func (NullableCreateEnvironmentPayload) Get

func (NullableCreateEnvironmentPayload) IsSet

func (NullableCreateEnvironmentPayload) MarshalJSON

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

func (*NullableCreateEnvironmentPayload) Set

func (*NullableCreateEnvironmentPayload) UnmarshalJSON

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

func (*NullableCreateEnvironmentPayload) Unset

type NullableCurrentStatus

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

func NewNullableCurrentStatus

func NewNullableCurrentStatus(val *CurrentStatus) *NullableCurrentStatus

func (NullableCurrentStatus) Get

func (NullableCurrentStatus) IsSet

func (v NullableCurrentStatus) IsSet() bool

func (NullableCurrentStatus) MarshalJSON

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

func (*NullableCurrentStatus) Set

func (v *NullableCurrentStatus) Set(val *CurrentStatus)

func (*NullableCurrentStatus) UnmarshalJSON

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

func (*NullableCurrentStatus) Unset

func (v *NullableCurrentStatus) Unset()

type NullableCustomRuleParameter

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

func NewNullableCustomRuleParameter

func NewNullableCustomRuleParameter(val *CustomRuleParameter) *NullableCustomRuleParameter

func (NullableCustomRuleParameter) Get

func (NullableCustomRuleParameter) IsSet

func (NullableCustomRuleParameter) MarshalJSON

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

func (*NullableCustomRuleParameter) Set

func (*NullableCustomRuleParameter) UnmarshalJSON

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

func (*NullableCustomRuleParameter) Unset

func (v *NullableCustomRuleParameter) Unset()

type NullableCustomRuleSecretMapping

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

func (NullableCustomRuleSecretMapping) Get

func (NullableCustomRuleSecretMapping) IsSet

func (NullableCustomRuleSecretMapping) MarshalJSON

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

func (*NullableCustomRuleSecretMapping) Set

func (*NullableCustomRuleSecretMapping) UnmarshalJSON

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

func (*NullableCustomRuleSecretMapping) Unset

type NullableCustomScaleRule

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

func NewNullableCustomScaleRule

func NewNullableCustomScaleRule(val *CustomScaleRule) *NullableCustomScaleRule

func (NullableCustomScaleRule) Get

func (NullableCustomScaleRule) IsSet

func (v NullableCustomScaleRule) IsSet() bool

func (NullableCustomScaleRule) MarshalJSON

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

func (*NullableCustomScaleRule) Set

func (*NullableCustomScaleRule) UnmarshalJSON

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

func (*NullableCustomScaleRule) Unset

func (v *NullableCustomScaleRule) Unset()

type NullableEnvVar

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

func NewNullableEnvVar

func NewNullableEnvVar(val *EnvVar) *NullableEnvVar

func (NullableEnvVar) Get

func (v NullableEnvVar) Get() *EnvVar

func (NullableEnvVar) IsSet

func (v NullableEnvVar) IsSet() bool

func (NullableEnvVar) MarshalJSON

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

func (*NullableEnvVar) Set

func (v *NullableEnvVar) Set(val *EnvVar)

func (*NullableEnvVar) UnmarshalJSON

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

func (*NullableEnvVar) Unset

func (v *NullableEnvVar) Unset()

type NullableEnvVarType

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

func NewNullableEnvVarType

func NewNullableEnvVarType(val *EnvVarType) *NullableEnvVarType

func (NullableEnvVarType) Get

func (v NullableEnvVarType) Get() *EnvVarType

func (NullableEnvVarType) IsSet

func (v NullableEnvVarType) IsSet() bool

func (NullableEnvVarType) MarshalJSON

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

func (*NullableEnvVarType) Set

func (v *NullableEnvVarType) Set(val *EnvVarType)

func (*NullableEnvVarType) UnmarshalJSON

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

func (*NullableEnvVarType) Unset

func (v *NullableEnvVarType) Unset()

type NullableEnvironment

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

func NewNullableEnvironment

func NewNullableEnvironment(val *Environment) *NullableEnvironment

func (NullableEnvironment) Get

func (NullableEnvironment) IsSet

func (v NullableEnvironment) IsSet() bool

func (NullableEnvironment) MarshalJSON

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

func (*NullableEnvironment) Set

func (v *NullableEnvironment) Set(val *Environment)

func (*NullableEnvironment) UnmarshalJSON

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

func (*NullableEnvironment) Unset

func (v *NullableEnvironment) Unset()

type NullableEnvironmentSummary

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

func NewNullableEnvironmentSummary

func NewNullableEnvironmentSummary(val *EnvironmentSummary) *NullableEnvironmentSummary

func (NullableEnvironmentSummary) Get

func (NullableEnvironmentSummary) IsSet

func (v NullableEnvironmentSummary) IsSet() bool

func (NullableEnvironmentSummary) MarshalJSON

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

func (*NullableEnvironmentSummary) Set

func (*NullableEnvironmentSummary) UnmarshalJSON

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

func (*NullableEnvironmentSummary) Unset

func (v *NullableEnvironmentSummary) Unset()

type NullableEvent

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

func NewNullableEvent

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON

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

func (*NullableEvent) Set

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON

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

func (*NullableEvent) Unset

func (v *NullableEvent) 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 NullableGetApplicationEventsResponse

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

func (NullableGetApplicationEventsResponse) Get

func (NullableGetApplicationEventsResponse) IsSet

func (NullableGetApplicationEventsResponse) MarshalJSON

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

func (*NullableGetApplicationEventsResponse) Set

func (*NullableGetApplicationEventsResponse) UnmarshalJSON

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

func (*NullableGetApplicationEventsResponse) Unset

type NullableGetApplicationLogsResponse

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

func (NullableGetApplicationLogsResponse) Get

func (NullableGetApplicationLogsResponse) IsSet

func (NullableGetApplicationLogsResponse) MarshalJSON

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

func (*NullableGetApplicationLogsResponse) Set

func (*NullableGetApplicationLogsResponse) UnmarshalJSON

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

func (*NullableGetApplicationLogsResponse) Unset

type NullableGetOverviewResponse

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

func NewNullableGetOverviewResponse

func NewNullableGetOverviewResponse(val *GetOverviewResponse) *NullableGetOverviewResponse

func (NullableGetOverviewResponse) Get

func (NullableGetOverviewResponse) IsSet

func (NullableGetOverviewResponse) MarshalJSON

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

func (*NullableGetOverviewResponse) Set

func (*NullableGetOverviewResponse) UnmarshalJSON

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

func (*NullableGetOverviewResponse) Unset

func (v *NullableGetOverviewResponse) Unset()

type NullableHttpScaleRule

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

func NewNullableHttpScaleRule

func NewNullableHttpScaleRule(val *HttpScaleRule) *NullableHttpScaleRule

func (NullableHttpScaleRule) Get

func (NullableHttpScaleRule) IsSet

func (v NullableHttpScaleRule) IsSet() bool

func (NullableHttpScaleRule) MarshalJSON

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

func (*NullableHttpScaleRule) Set

func (v *NullableHttpScaleRule) Set(val *HttpScaleRule)

func (*NullableHttpScaleRule) UnmarshalJSON

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

func (*NullableHttpScaleRule) Unset

func (v *NullableHttpScaleRule) Unset()

type NullableInstance

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

func NewNullableInstance

func NewNullableInstance(val *Instance) *NullableInstance

func (NullableInstance) Get

func (v NullableInstance) Get() *Instance

func (NullableInstance) IsSet

func (v NullableInstance) IsSet() bool

func (NullableInstance) MarshalJSON

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

func (*NullableInstance) Set

func (v *NullableInstance) Set(val *Instance)

func (*NullableInstance) UnmarshalJSON

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

func (*NullableInstance) Unset

func (v *NullableInstance) 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 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 NullableListApplicationsResponse

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

func (NullableListApplicationsResponse) Get

func (NullableListApplicationsResponse) IsSet

func (NullableListApplicationsResponse) MarshalJSON

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

func (*NullableListApplicationsResponse) Set

func (*NullableListApplicationsResponse) UnmarshalJSON

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

func (*NullableListApplicationsResponse) Unset

type NullableListEnvironmentsResponse

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

func (NullableListEnvironmentsResponse) Get

func (NullableListEnvironmentsResponse) IsSet

func (NullableListEnvironmentsResponse) MarshalJSON

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

func (*NullableListEnvironmentsResponse) Set

func (*NullableListEnvironmentsResponse) UnmarshalJSON

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

func (*NullableListEnvironmentsResponse) Unset

type NullableLog

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

func NewNullableLog

func NewNullableLog(val *Log) *NullableLog

func (NullableLog) Get

func (v NullableLog) Get() *Log

func (NullableLog) IsSet

func (v NullableLog) IsSet() bool

func (NullableLog) MarshalJSON

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

func (*NullableLog) Set

func (v *NullableLog) Set(val *Log)

func (*NullableLog) UnmarshalJSON

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

func (*NullableLog) Unset

func (v *NullableLog) Unset()

type NullableManualScaling

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

func NewNullableManualScaling

func NewNullableManualScaling(val *ManualScaling) *NullableManualScaling

func (NullableManualScaling) Get

func (NullableManualScaling) IsSet

func (v NullableManualScaling) IsSet() bool

func (NullableManualScaling) MarshalJSON

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

func (*NullableManualScaling) Set

func (v *NullableManualScaling) Set(val *ManualScaling)

func (*NullableManualScaling) UnmarshalJSON

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

func (*NullableManualScaling) Unset

func (v *NullableManualScaling) Unset()

type NullableNetwork

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

func NewNullableNetwork

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON

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

func (*NullableNetwork) Set

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON

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

func (*NullableNetwork) Unset

func (v *NullableNetwork) Unset()

type NullableRuleType

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

func NewNullableRuleType

func NewNullableRuleType(val *RuleType) *NullableRuleType

func (NullableRuleType) Get

func (v NullableRuleType) Get() *RuleType

func (NullableRuleType) IsSet

func (v NullableRuleType) IsSet() bool

func (NullableRuleType) MarshalJSON

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

func (*NullableRuleType) Set

func (v *NullableRuleType) Set(val *RuleType)

func (*NullableRuleType) UnmarshalJSON

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

func (*NullableRuleType) Unset

func (v *NullableRuleType) Unset()

type NullableRuntimeStatus

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

func NewNullableRuntimeStatus

func NewNullableRuntimeStatus(val *RuntimeStatus) *NullableRuntimeStatus

func (NullableRuntimeStatus) Get

func (NullableRuntimeStatus) IsSet

func (v NullableRuntimeStatus) IsSet() bool

func (NullableRuntimeStatus) MarshalJSON

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

func (*NullableRuntimeStatus) Set

func (v *NullableRuntimeStatus) Set(val *RuntimeStatus)

func (*NullableRuntimeStatus) UnmarshalJSON

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

func (*NullableRuntimeStatus) Unset

func (v *NullableRuntimeStatus) Unset()

type NullableScaleRule

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

func NewNullableScaleRule

func NewNullableScaleRule(val *ScaleRule) *NullableScaleRule

func (NullableScaleRule) Get

func (v NullableScaleRule) Get() *ScaleRule

func (NullableScaleRule) IsSet

func (v NullableScaleRule) IsSet() bool

func (NullableScaleRule) MarshalJSON

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

func (*NullableScaleRule) Set

func (v *NullableScaleRule) Set(val *ScaleRule)

func (*NullableScaleRule) UnmarshalJSON

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

func (*NullableScaleRule) Unset

func (v *NullableScaleRule) Unset()

type NullableScaling

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

func NewNullableScaling

func NewNullableScaling(val *Scaling) *NullableScaling

func (NullableScaling) Get

func (v NullableScaling) Get() *Scaling

func (NullableScaling) IsSet

func (v NullableScaling) IsSet() bool

func (NullableScaling) MarshalJSON

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

func (*NullableScaling) Set

func (v *NullableScaling) Set(val *Scaling)

func (*NullableScaling) UnmarshalJSON

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

func (*NullableScaling) Unset

func (v *NullableScaling) Unset()

type NullableScalingType

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

func NewNullableScalingType

func NewNullableScalingType(val *ScalingType) *NullableScalingType

func (NullableScalingType) Get

func (NullableScalingType) IsSet

func (v NullableScalingType) IsSet() bool

func (NullableScalingType) MarshalJSON

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

func (*NullableScalingType) Set

func (v *NullableScalingType) Set(val *ScalingType)

func (*NullableScalingType) UnmarshalJSON

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

func (*NullableScalingType) Unset

func (v *NullableScalingType) 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 NullableSummary

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

func NewNullableSummary

func NewNullableSummary(val *Summary) *NullableSummary

func (NullableSummary) Get

func (v NullableSummary) Get() *Summary

func (NullableSummary) IsSet

func (v NullableSummary) IsSet() bool

func (NullableSummary) MarshalJSON

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

func (*NullableSummary) Set

func (v *NullableSummary) Set(val *Summary)

func (*NullableSummary) UnmarshalJSON

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

func (*NullableSummary) Unset

func (v *NullableSummary) 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 NullableUpdateApplicationPayload

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

func (NullableUpdateApplicationPayload) Get

func (NullableUpdateApplicationPayload) IsSet

func (NullableUpdateApplicationPayload) MarshalJSON

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

func (*NullableUpdateApplicationPayload) Set

func (*NullableUpdateApplicationPayload) UnmarshalJSON

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

func (*NullableUpdateApplicationPayload) Unset

type RuleType

type RuleType string

RuleType - RULE_TYPE_UNSPECIFIED: Used as zero value. - RULE_TYPE_HTTP: HTTP scaling rule. - RULE_TYPE_CUSTOM: Custom scaling rule (e.g. KEDA).

const (
	RULETYPE_RULE_TYPE_UNSPECIFIED    RuleType = "RULE_TYPE_UNSPECIFIED"
	RULETYPE_RULE_TYPE_HTTP           RuleType = "RULE_TYPE_HTTP"
	RULETYPE_RULE_TYPE_CUSTOM         RuleType = "RULE_TYPE_CUSTOM"
	RULETYPE_UNKNOWN_DEFAULT_OPEN_API RuleType = "unknown_default_open_api"
)

List of RuleType

func NewRuleTypeFromValue

func NewRuleTypeFromValue(v string) (*RuleType, error)

NewRuleTypeFromValue returns a pointer to a valid RuleType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RuleType) IsValid

func (v RuleType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RuleType) Ptr

func (v RuleType) Ptr() *RuleType

Ptr returns reference to RuleType value

func (*RuleType) UnmarshalJSON

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

type RuntimeStatus

type RuntimeStatus struct {
	CurrentStatus *CurrentStatus `json:"currentStatus,omitempty"`
	// Failure reasons collected from workload conditions.
	FailureReasons []string   `json:"failureReasons,omitempty"`
	Instances      []Instance `json:"instances,omitempty"`
	// Last time the application was deployed.
	LastDeployment *time.Time `json:"lastDeployment,omitempty"`
	// Known URLs for the running application.
	Urls                 []string `json:"urls,omitempty"`
	AdditionalProperties map[string]interface{}
}

RuntimeStatus struct for RuntimeStatus

func NewRuntimeStatus

func NewRuntimeStatus() *RuntimeStatus

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

func NewRuntimeStatusWithDefaults

func NewRuntimeStatusWithDefaults() *RuntimeStatus

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

func (*RuntimeStatus) GetCurrentStatus

func (o *RuntimeStatus) GetCurrentStatus() CurrentStatus

GetCurrentStatus returns the CurrentStatus field value if set, zero value otherwise.

func (*RuntimeStatus) GetCurrentStatusOk

func (o *RuntimeStatus) GetCurrentStatusOk() (*CurrentStatus, bool)

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

func (*RuntimeStatus) GetFailureReasons

func (o *RuntimeStatus) GetFailureReasons() []string

GetFailureReasons returns the FailureReasons field value if set, zero value otherwise.

func (*RuntimeStatus) GetFailureReasonsOk

func (o *RuntimeStatus) GetFailureReasonsOk() ([]string, bool)

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

func (*RuntimeStatus) GetInstances

func (o *RuntimeStatus) GetInstances() []Instance

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

func (*RuntimeStatus) GetInstancesOk

func (o *RuntimeStatus) GetInstancesOk() ([]Instance, 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 (*RuntimeStatus) GetLastDeployment

func (o *RuntimeStatus) GetLastDeployment() time.Time

GetLastDeployment returns the LastDeployment field value if set, zero value otherwise.

func (*RuntimeStatus) GetLastDeploymentOk

func (o *RuntimeStatus) GetLastDeploymentOk() (*time.Time, bool)

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

func (*RuntimeStatus) GetUrls

func (o *RuntimeStatus) GetUrls() []string

GetUrls returns the Urls field value if set, zero value otherwise.

func (*RuntimeStatus) GetUrlsOk

func (o *RuntimeStatus) GetUrlsOk() ([]string, bool)

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

func (*RuntimeStatus) HasCurrentStatus

func (o *RuntimeStatus) HasCurrentStatus() bool

HasCurrentStatus returns a boolean if a field has been set.

func (*RuntimeStatus) HasFailureReasons

func (o *RuntimeStatus) HasFailureReasons() bool

HasFailureReasons returns a boolean if a field has been set.

func (*RuntimeStatus) HasInstances

func (o *RuntimeStatus) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*RuntimeStatus) HasLastDeployment

func (o *RuntimeStatus) HasLastDeployment() bool

HasLastDeployment returns a boolean if a field has been set.

func (*RuntimeStatus) HasUrls

func (o *RuntimeStatus) HasUrls() bool

HasUrls returns a boolean if a field has been set.

func (RuntimeStatus) MarshalJSON

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

func (*RuntimeStatus) SetCurrentStatus

func (o *RuntimeStatus) SetCurrentStatus(v CurrentStatus)

SetCurrentStatus gets a reference to the given CurrentStatus and assigns it to the CurrentStatus field.

func (*RuntimeStatus) SetFailureReasons

func (o *RuntimeStatus) SetFailureReasons(v []string)

SetFailureReasons gets a reference to the given []string and assigns it to the FailureReasons field.

func (*RuntimeStatus) SetInstances

func (o *RuntimeStatus) SetInstances(v []Instance)

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

func (*RuntimeStatus) SetLastDeployment

func (o *RuntimeStatus) SetLastDeployment(v time.Time)

SetLastDeployment gets a reference to the given time.Time and assigns it to the LastDeployment field.

func (*RuntimeStatus) SetUrls

func (o *RuntimeStatus) SetUrls(v []string)

SetUrls gets a reference to the given []string and assigns it to the Urls field.

func (RuntimeStatus) ToMap

func (o RuntimeStatus) ToMap() (map[string]interface{}, error)

func (*RuntimeStatus) UnmarshalJSON

func (o *RuntimeStatus) UnmarshalJSON(data []byte) (err error)

type ScaleRule

type ScaleRule struct {
	CustomRule *CustomScaleRule `json:"customRule,omitempty"`
	HttpRule   *HttpScaleRule   `json:"httpRule,omitempty"`
	// Rule name.
	Name                 string   `json:"name"`
	Type                 RuleType `json:"type"`
	AdditionalProperties map[string]interface{}
}

ScaleRule ScaleRule defines one autoscaling trigger.

func NewScaleRule

func NewScaleRule(name string, types RuleType) *ScaleRule

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

func NewScaleRuleWithDefaults

func NewScaleRuleWithDefaults() *ScaleRule

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

func (*ScaleRule) GetCustomRule

func (o *ScaleRule) GetCustomRule() CustomScaleRule

GetCustomRule returns the CustomRule field value if set, zero value otherwise.

func (*ScaleRule) GetCustomRuleOk

func (o *ScaleRule) GetCustomRuleOk() (*CustomScaleRule, bool)

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

func (*ScaleRule) GetHttpRule

func (o *ScaleRule) GetHttpRule() HttpScaleRule

GetHttpRule returns the HttpRule field value if set, zero value otherwise.

func (*ScaleRule) GetHttpRuleOk

func (o *ScaleRule) GetHttpRuleOk() (*HttpScaleRule, bool)

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

func (*ScaleRule) GetName

func (o *ScaleRule) GetName() string

GetName returns the Name field value

func (*ScaleRule) GetNameOk

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

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

func (*ScaleRule) GetType

func (o *ScaleRule) GetType() RuleType

GetType returns the Type field value

func (*ScaleRule) GetTypeOk

func (o *ScaleRule) GetTypeOk() (*RuleType, bool)

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

func (*ScaleRule) HasCustomRule

func (o *ScaleRule) HasCustomRule() bool

HasCustomRule returns a boolean if a field has been set.

func (*ScaleRule) HasHttpRule

func (o *ScaleRule) HasHttpRule() bool

HasHttpRule returns a boolean if a field has been set.

func (ScaleRule) MarshalJSON

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

func (*ScaleRule) SetCustomRule

func (o *ScaleRule) SetCustomRule(v CustomScaleRule)

SetCustomRule gets a reference to the given CustomScaleRule and assigns it to the CustomRule field.

func (*ScaleRule) SetHttpRule

func (o *ScaleRule) SetHttpRule(v HttpScaleRule)

SetHttpRule gets a reference to the given HttpScaleRule and assigns it to the HttpRule field.

func (*ScaleRule) SetName

func (o *ScaleRule) SetName(v string)

SetName sets field value

func (*ScaleRule) SetType

func (o *ScaleRule) SetType(v RuleType)

SetType sets field value

func (ScaleRule) ToMap

func (o ScaleRule) ToMap() (map[string]interface{}, error)

func (*ScaleRule) UnmarshalJSON

func (o *ScaleRule) UnmarshalJSON(data []byte) (err error)

type Scaling

type Scaling struct {
	AutoScaling          *AutoScaling   `json:"autoScaling,omitempty"`
	ManualScaling        *ManualScaling `json:"manualScaling,omitempty"`
	Type                 ScalingType    `json:"type"`
	AdditionalProperties map[string]interface{}
}

Scaling Scaling configuration for the application.

func NewScaling

func NewScaling(types ScalingType) *Scaling

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

func NewScalingWithDefaults

func NewScalingWithDefaults() *Scaling

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

func (*Scaling) GetAutoScaling

func (o *Scaling) GetAutoScaling() AutoScaling

GetAutoScaling returns the AutoScaling field value if set, zero value otherwise.

func (*Scaling) GetAutoScalingOk

func (o *Scaling) GetAutoScalingOk() (*AutoScaling, bool)

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

func (*Scaling) GetManualScaling

func (o *Scaling) GetManualScaling() ManualScaling

GetManualScaling returns the ManualScaling field value if set, zero value otherwise.

func (*Scaling) GetManualScalingOk

func (o *Scaling) GetManualScalingOk() (*ManualScaling, bool)

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

func (*Scaling) GetType

func (o *Scaling) GetType() ScalingType

GetType returns the Type field value

func (*Scaling) GetTypeOk

func (o *Scaling) GetTypeOk() (*ScalingType, bool)

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

func (*Scaling) HasAutoScaling

func (o *Scaling) HasAutoScaling() bool

HasAutoScaling returns a boolean if a field has been set.

func (*Scaling) HasManualScaling

func (o *Scaling) HasManualScaling() bool

HasManualScaling returns a boolean if a field has been set.

func (Scaling) MarshalJSON

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

func (*Scaling) SetAutoScaling

func (o *Scaling) SetAutoScaling(v AutoScaling)

SetAutoScaling gets a reference to the given AutoScaling and assigns it to the AutoScaling field.

func (*Scaling) SetManualScaling

func (o *Scaling) SetManualScaling(v ManualScaling)

SetManualScaling gets a reference to the given ManualScaling and assigns it to the ManualScaling field.

func (*Scaling) SetType

func (o *Scaling) SetType(v ScalingType)

SetType sets field value

func (Scaling) ToMap

func (o Scaling) ToMap() (map[string]interface{}, error)

func (*Scaling) UnmarshalJSON

func (o *Scaling) UnmarshalJSON(data []byte) (err error)

type ScalingType

type ScalingType string

ScalingType - SCALING_TYPE_UNSPECIFIED: Used as zero value. - SCALING_TYPE_AUTO: Auto scaling based on rules. - SCALING_TYPE_MANUAL: Manual scaling with fixed number of instances.

const (
	SCALINGTYPE_SCALING_TYPE_UNSPECIFIED ScalingType = "SCALING_TYPE_UNSPECIFIED"
	SCALINGTYPE_SCALING_TYPE_AUTO        ScalingType = "SCALING_TYPE_AUTO"
	SCALINGTYPE_SCALING_TYPE_MANUAL      ScalingType = "SCALING_TYPE_MANUAL"
	SCALINGTYPE_UNKNOWN_DEFAULT_OPEN_API ScalingType = "unknown_default_open_api"
)

List of ScalingType

func NewScalingTypeFromValue

func NewScalingTypeFromValue(v string) (*ScalingType, error)

NewScalingTypeFromValue returns a pointer to a valid ScalingType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ScalingType) IsValid

func (v ScalingType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ScalingType) Ptr

func (v ScalingType) Ptr() *ScalingType

Ptr returns reference to ScalingType value

func (*ScalingType) UnmarshalJSON

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

type Summary

type Summary struct {
	// Number of applications running in a project.
	ApplicationsRunning *int32 `json:"applicationsRunning,omitempty"`
	// Number of applications created in a project.
	ApplicationsTotal    *int32 `json:"applicationsTotal,omitempty"`
	AdditionalProperties map[string]interface{}
}

Summary Summary describes the current status of a project.

func NewSummary

func NewSummary() *Summary

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

func NewSummaryWithDefaults

func NewSummaryWithDefaults() *Summary

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

func (*Summary) GetApplicationsRunning

func (o *Summary) GetApplicationsRunning() int32

GetApplicationsRunning returns the ApplicationsRunning field value if set, zero value otherwise.

func (*Summary) GetApplicationsRunningOk

func (o *Summary) GetApplicationsRunningOk() (*int32, bool)

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

func (*Summary) GetApplicationsTotal

func (o *Summary) GetApplicationsTotal() int32

GetApplicationsTotal returns the ApplicationsTotal field value if set, zero value otherwise.

func (*Summary) GetApplicationsTotalOk

func (o *Summary) GetApplicationsTotalOk() (*int32, bool)

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

func (*Summary) HasApplicationsRunning

func (o *Summary) HasApplicationsRunning() bool

HasApplicationsRunning returns a boolean if a field has been set.

func (*Summary) HasApplicationsTotal

func (o *Summary) HasApplicationsTotal() bool

HasApplicationsTotal returns a boolean if a field has been set.

func (Summary) MarshalJSON

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

func (*Summary) SetApplicationsRunning

func (o *Summary) SetApplicationsRunning(v int32)

SetApplicationsRunning gets a reference to the given int32 and assigns it to the ApplicationsRunning field.

func (*Summary) SetApplicationsTotal

func (o *Summary) SetApplicationsTotal(v int32)

SetApplicationsTotal gets a reference to the given int32 and assigns it to the ApplicationsTotal field.

func (Summary) ToMap

func (o Summary) ToMap() (map[string]interface{}, error)

func (*Summary) UnmarshalJSON

func (o *Summary) UnmarshalJSON(data []byte) (err error)

type UpdateApplicationPayload

type UpdateApplicationPayload struct {
	// Containers to deploy for the application.
	Containers []Container `json:"containers,omitempty"`
	Network    *Network    `json:"network,omitempty"`
	// Image registry configuration for the application.
	Registry []ApplicationRegistry `json:"registry,omitempty"`
	Scaling  *Scaling              `json:"scaling,omitempty"`
	// Secrets associated with the application.
	Secrets []ApplicationSecret `json:"secrets,omitempty"`
	// Indicates if the application resources are stopped.
	Stopped              *bool `json:"stopped,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateApplicationPayload ApplicationPatch describes application patch fields.

func NewUpdateApplicationPayload

func NewUpdateApplicationPayload() *UpdateApplicationPayload

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

func NewUpdateApplicationPayloadWithDefaults

func NewUpdateApplicationPayloadWithDefaults() *UpdateApplicationPayload

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

func (*UpdateApplicationPayload) GetContainers

func (o *UpdateApplicationPayload) GetContainers() []Container

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

func (*UpdateApplicationPayload) GetContainersOk

func (o *UpdateApplicationPayload) GetContainersOk() ([]Container, 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 (*UpdateApplicationPayload) GetNetwork

func (o *UpdateApplicationPayload) GetNetwork() Network

GetNetwork returns the Network field value if set, zero value otherwise.

func (*UpdateApplicationPayload) GetNetworkOk

func (o *UpdateApplicationPayload) GetNetworkOk() (*Network, bool)

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

func (*UpdateApplicationPayload) GetRegistry

func (o *UpdateApplicationPayload) GetRegistry() []ApplicationRegistry

GetRegistry returns the Registry field value if set, zero value otherwise.

func (*UpdateApplicationPayload) GetRegistryOk

func (o *UpdateApplicationPayload) GetRegistryOk() ([]ApplicationRegistry, bool)

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

func (*UpdateApplicationPayload) GetScaling

func (o *UpdateApplicationPayload) GetScaling() Scaling

GetScaling returns the Scaling field value if set, zero value otherwise.

func (*UpdateApplicationPayload) GetScalingOk

func (o *UpdateApplicationPayload) GetScalingOk() (*Scaling, bool)

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

func (*UpdateApplicationPayload) GetSecrets

func (o *UpdateApplicationPayload) GetSecrets() []ApplicationSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*UpdateApplicationPayload) GetSecretsOk

func (o *UpdateApplicationPayload) GetSecretsOk() ([]ApplicationSecret, bool)

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

func (*UpdateApplicationPayload) GetStopped

func (o *UpdateApplicationPayload) GetStopped() bool

GetStopped returns the Stopped field value if set, zero value otherwise.

func (*UpdateApplicationPayload) GetStoppedOk

func (o *UpdateApplicationPayload) GetStoppedOk() (*bool, bool)

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

func (*UpdateApplicationPayload) HasContainers

func (o *UpdateApplicationPayload) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*UpdateApplicationPayload) HasNetwork

func (o *UpdateApplicationPayload) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*UpdateApplicationPayload) HasRegistry

func (o *UpdateApplicationPayload) HasRegistry() bool

HasRegistry returns a boolean if a field has been set.

func (*UpdateApplicationPayload) HasScaling

func (o *UpdateApplicationPayload) HasScaling() bool

HasScaling returns a boolean if a field has been set.

func (*UpdateApplicationPayload) HasSecrets

func (o *UpdateApplicationPayload) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (*UpdateApplicationPayload) HasStopped

func (o *UpdateApplicationPayload) HasStopped() bool

HasStopped returns a boolean if a field has been set.

func (UpdateApplicationPayload) MarshalJSON

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

func (*UpdateApplicationPayload) SetContainers

func (o *UpdateApplicationPayload) SetContainers(v []Container)

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

func (*UpdateApplicationPayload) SetNetwork

func (o *UpdateApplicationPayload) SetNetwork(v Network)

SetNetwork gets a reference to the given Network and assigns it to the Network field.

func (*UpdateApplicationPayload) SetRegistry

func (o *UpdateApplicationPayload) SetRegistry(v []ApplicationRegistry)

SetRegistry gets a reference to the given []ApplicationRegistry and assigns it to the Registry field.

func (*UpdateApplicationPayload) SetScaling

func (o *UpdateApplicationPayload) SetScaling(v Scaling)

SetScaling gets a reference to the given Scaling and assigns it to the Scaling field.

func (*UpdateApplicationPayload) SetSecrets

func (o *UpdateApplicationPayload) SetSecrets(v []ApplicationSecret)

SetSecrets gets a reference to the given []ApplicationSecret and assigns it to the Secrets field.

func (*UpdateApplicationPayload) SetStopped

func (o *UpdateApplicationPayload) SetStopped(v bool)

SetStopped gets a reference to the given bool and assigns it to the Stopped field.

func (UpdateApplicationPayload) ToMap

func (o UpdateApplicationPayload) ToMap() (map[string]interface{}, error)

func (*UpdateApplicationPayload) UnmarshalJSON

func (o *UpdateApplicationPayload) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL