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 ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateApplicationRequest
- type ApiCreateEnvironmentRequest
- type ApiDeleteApplicationRequest
- type ApiErrorResponse
- func (o *ApiErrorResponse) GetCode() int32
- func (o *ApiErrorResponse) GetCodeOk() (*int32, bool)
- func (o *ApiErrorResponse) GetMessage() string
- func (o *ApiErrorResponse) GetMessageOk() (*string, bool)
- func (o *ApiErrorResponse) HasCode() bool
- func (o *ApiErrorResponse) HasMessage() bool
- func (o ApiErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ApiErrorResponse) SetCode(v int32)
- func (o *ApiErrorResponse) SetMessage(v string)
- func (o ApiErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ApiGetApplicationEventsRequest
- type ApiGetApplicationLogsRequest
- func (r ApiGetApplicationLogsRequest) Container(container string) ApiGetApplicationLogsRequest
- func (r ApiGetApplicationLogsRequest) Execute() (*GetApplicationLogsResponse, error)
- func (r ApiGetApplicationLogsRequest) Instance(instance string) ApiGetApplicationLogsRequest
- func (r ApiGetApplicationLogsRequest) Previous(previous bool) ApiGetApplicationLogsRequest
- type ApiGetApplicationRequest
- type ApiGetEnvironmentRequest
- type ApiGetOverviewRequest
- type ApiListApplicationsRequest
- type ApiListEnvironmentsRequest
- type ApiListProjectApplicationsRequest
- type ApiUpdateApplicationRequest
- type Application
- func (o *Application) GetContainers() []Container
- func (o *Application) GetContainersOk() ([]Container, bool)
- func (o *Application) GetDisplayName() string
- func (o *Application) GetDisplayNameOk() (*string, bool)
- func (o *Application) GetEnvironmentId() string
- func (o *Application) GetEnvironmentIdOk() (*string, bool)
- func (o *Application) GetEnvironmentName() string
- func (o *Application) GetEnvironmentNameOk() (*string, bool)
- func (o *Application) GetId() string
- func (o *Application) GetIdOk() (*string, bool)
- func (o *Application) GetNetwork() Network
- func (o *Application) GetNetworkOk() (*Network, bool)
- func (o *Application) GetRegistry() []ApplicationRegistry
- func (o *Application) GetRegistryOk() ([]ApplicationRegistry, bool)
- func (o *Application) GetRuntimeStatus() RuntimeStatus
- func (o *Application) GetRuntimeStatusOk() (*RuntimeStatus, bool)
- func (o *Application) GetScaling() Scaling
- func (o *Application) GetScalingOk() (*Scaling, bool)
- func (o *Application) GetSecrets() []ApplicationSecret
- func (o *Application) GetSecretsOk() ([]ApplicationSecret, bool)
- func (o *Application) GetStopped() bool
- func (o *Application) GetStoppedOk() (*bool, bool)
- func (o *Application) HasEnvironmentId() bool
- func (o *Application) HasEnvironmentName() bool
- func (o *Application) HasId() bool
- func (o *Application) HasRegistry() bool
- func (o *Application) HasRuntimeStatus() bool
- func (o *Application) HasSecrets() bool
- func (o *Application) HasStopped() bool
- func (o Application) MarshalJSON() ([]byte, error)
- func (o *Application) SetContainers(v []Container)
- func (o *Application) SetDisplayName(v string)
- func (o *Application) SetEnvironmentId(v string)
- func (o *Application) SetEnvironmentName(v string)
- func (o *Application) SetId(v string)
- func (o *Application) SetNetwork(v Network)
- func (o *Application) SetRegistry(v []ApplicationRegistry)
- func (o *Application) SetRuntimeStatus(v RuntimeStatus)
- func (o *Application) SetScaling(v Scaling)
- func (o *Application) SetSecrets(v []ApplicationSecret)
- func (o *Application) SetStopped(v bool)
- func (o Application) ToMap() (map[string]interface{}, error)
- func (o *Application) UnmarshalJSON(data []byte) (err error)
- type ApplicationRegistry
- func (o *ApplicationRegistry) GetCredentials() ApplicationRegistryCredentialsAuth
- func (o *ApplicationRegistry) GetCredentialsOk() (*ApplicationRegistryCredentialsAuth, bool)
- func (o *ApplicationRegistry) GetType() ApplicationRegistryAuthType
- func (o *ApplicationRegistry) GetTypeOk() (*ApplicationRegistryAuthType, bool)
- func (o *ApplicationRegistry) HasCredentials() bool
- func (o ApplicationRegistry) MarshalJSON() ([]byte, error)
- func (o *ApplicationRegistry) SetCredentials(v ApplicationRegistryCredentialsAuth)
- func (o *ApplicationRegistry) SetType(v ApplicationRegistryAuthType)
- func (o ApplicationRegistry) ToMap() (map[string]interface{}, error)
- func (o *ApplicationRegistry) UnmarshalJSON(data []byte) (err error)
- type ApplicationRegistryAuthType
- type ApplicationRegistryCredentialsAuth
- func (o *ApplicationRegistryCredentialsAuth) GetPassword() string
- func (o *ApplicationRegistryCredentialsAuth) GetPasswordOk() (*string, bool)
- func (o *ApplicationRegistryCredentialsAuth) GetUrl() string
- func (o *ApplicationRegistryCredentialsAuth) GetUrlOk() (*string, bool)
- func (o *ApplicationRegistryCredentialsAuth) GetUser() string
- func (o *ApplicationRegistryCredentialsAuth) GetUserOk() (*string, bool)
- func (o *ApplicationRegistryCredentialsAuth) HasPassword() bool
- func (o ApplicationRegistryCredentialsAuth) MarshalJSON() ([]byte, error)
- func (o *ApplicationRegistryCredentialsAuth) SetPassword(v string)
- func (o *ApplicationRegistryCredentialsAuth) SetUrl(v string)
- func (o *ApplicationRegistryCredentialsAuth) SetUser(v string)
- func (o ApplicationRegistryCredentialsAuth) ToMap() (map[string]interface{}, error)
- func (o *ApplicationRegistryCredentialsAuth) UnmarshalJSON(data []byte) (err error)
- type ApplicationSecret
- func (o *ApplicationSecret) GetKey() string
- func (o *ApplicationSecret) GetKeyOk() (*string, bool)
- func (o *ApplicationSecret) GetValue() string
- func (o *ApplicationSecret) GetValueOk() (*string, bool)
- func (o *ApplicationSecret) HasValue() bool
- func (o ApplicationSecret) MarshalJSON() ([]byte, error)
- func (o *ApplicationSecret) SetKey(v string)
- func (o *ApplicationSecret) SetValue(v string)
- func (o ApplicationSecret) ToMap() (map[string]interface{}, error)
- func (o *ApplicationSecret) UnmarshalJSON(data []byte) (err error)
- type ApplicationSummary
- func (o *ApplicationSummary) GetContainers() int32
- func (o *ApplicationSummary) GetContainersOk() (*int32, bool)
- func (o *ApplicationSummary) GetCreatedAt() time.Time
- func (o *ApplicationSummary) GetCreatedAtOk() (*time.Time, bool)
- func (o *ApplicationSummary) GetDisplayName() string
- func (o *ApplicationSummary) GetDisplayNameOk() (*string, bool)
- func (o *ApplicationSummary) GetEnvironmentId() string
- func (o *ApplicationSummary) GetEnvironmentIdOk() (*string, bool)
- func (o *ApplicationSummary) GetEnvironmentName() string
- func (o *ApplicationSummary) GetEnvironmentNameOk() (*string, bool)
- func (o *ApplicationSummary) GetId() string
- func (o *ApplicationSummary) GetIdOk() (*string, bool)
- func (o *ApplicationSummary) GetInstances() int32
- func (o *ApplicationSummary) GetInstancesOk() (*int32, bool)
- func (o *ApplicationSummary) GetLastDeployment() time.Time
- func (o *ApplicationSummary) GetLastDeploymentOk() (*time.Time, bool)
- func (o *ApplicationSummary) GetStatus() CurrentStatus
- func (o *ApplicationSummary) GetStatusOk() (*CurrentStatus, bool)
- func (o *ApplicationSummary) GetStopped() bool
- func (o *ApplicationSummary) GetStoppedOk() (*bool, bool)
- func (o *ApplicationSummary) GetUrl() string
- func (o *ApplicationSummary) GetUrlOk() (*string, bool)
- func (o *ApplicationSummary) HasContainers() bool
- func (o *ApplicationSummary) HasCreatedAt() bool
- func (o *ApplicationSummary) HasDisplayName() bool
- func (o *ApplicationSummary) HasEnvironmentId() bool
- func (o *ApplicationSummary) HasEnvironmentName() bool
- func (o *ApplicationSummary) HasId() bool
- func (o *ApplicationSummary) HasInstances() bool
- func (o *ApplicationSummary) HasLastDeployment() bool
- func (o *ApplicationSummary) HasStatus() bool
- func (o *ApplicationSummary) HasStopped() bool
- func (o *ApplicationSummary) HasUrl() bool
- func (o ApplicationSummary) MarshalJSON() ([]byte, error)
- func (o *ApplicationSummary) SetContainers(v int32)
- func (o *ApplicationSummary) SetCreatedAt(v time.Time)
- func (o *ApplicationSummary) SetDisplayName(v string)
- func (o *ApplicationSummary) SetEnvironmentId(v string)
- func (o *ApplicationSummary) SetEnvironmentName(v string)
- func (o *ApplicationSummary) SetId(v string)
- func (o *ApplicationSummary) SetInstances(v int32)
- func (o *ApplicationSummary) SetLastDeployment(v time.Time)
- func (o *ApplicationSummary) SetStatus(v CurrentStatus)
- func (o *ApplicationSummary) SetStopped(v bool)
- func (o *ApplicationSummary) SetUrl(v string)
- func (o ApplicationSummary) ToMap() (map[string]interface{}, error)
- func (o *ApplicationSummary) UnmarshalJSON(data []byte) (err error)
- type AutoScaling
- func (o *AutoScaling) GetAllowScaleToZero() bool
- func (o *AutoScaling) GetAllowScaleToZeroOk() (*bool, bool)
- func (o *AutoScaling) GetMaxInstances() int32
- func (o *AutoScaling) GetMaxInstancesOk() (*int32, bool)
- func (o *AutoScaling) GetMinInstances() int32
- func (o *AutoScaling) GetMinInstancesOk() (*int32, bool)
- func (o *AutoScaling) GetRules() []ScaleRule
- func (o *AutoScaling) GetRulesOk() ([]ScaleRule, bool)
- func (o *AutoScaling) HasAllowScaleToZero() bool
- func (o AutoScaling) MarshalJSON() ([]byte, error)
- func (o *AutoScaling) SetAllowScaleToZero(v bool)
- func (o *AutoScaling) SetMaxInstances(v int32)
- func (o *AutoScaling) SetMinInstances(v int32)
- func (o *AutoScaling) SetRules(v []ScaleRule)
- func (o AutoScaling) ToMap() (map[string]interface{}, error)
- func (o *AutoScaling) UnmarshalJSON(data []byte) (err error)
- type Container
- func (o *Container) GetArgs() []string
- func (o *Container) GetArgsOk() ([]string, bool)
- func (o *Container) GetCommand() []string
- func (o *Container) GetCommandOk() ([]string, bool)
- func (o *Container) GetCpu() int32
- func (o *Container) GetCpuOk() (*int32, bool)
- func (o *Container) GetEnvironmentVariables() []EnvVar
- func (o *Container) GetEnvironmentVariablesOk() ([]EnvVar, bool)
- func (o *Container) GetImage() string
- func (o *Container) GetImageOk() (*string, bool)
- func (o *Container) GetMemory() int32
- func (o *Container) GetMemoryOk() (*int32, bool)
- func (o *Container) GetName() string
- func (o *Container) GetNameOk() (*string, bool)
- func (o *Container) HasArgs() bool
- func (o *Container) HasCommand() bool
- func (o *Container) HasCpu() bool
- func (o *Container) HasEnvironmentVariables() bool
- func (o *Container) HasMemory() bool
- func (o Container) MarshalJSON() ([]byte, error)
- func (o *Container) SetArgs(v []string)
- func (o *Container) SetCommand(v []string)
- func (o *Container) SetCpu(v int32)
- func (o *Container) SetEnvironmentVariables(v []EnvVar)
- func (o *Container) SetImage(v string)
- func (o *Container) SetMemory(v int32)
- func (o *Container) SetName(v string)
- func (o Container) ToMap() (map[string]interface{}, error)
- func (o *Container) UnmarshalJSON(data []byte) (err error)
- type CreateApplicationPayload
- func (o *CreateApplicationPayload) GetContainers() []Container
- func (o *CreateApplicationPayload) GetContainersOk() ([]Container, bool)
- func (o *CreateApplicationPayload) GetDisplayName() string
- func (o *CreateApplicationPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateApplicationPayload) GetEnvironmentId() string
- func (o *CreateApplicationPayload) GetEnvironmentIdOk() (*string, bool)
- func (o *CreateApplicationPayload) GetEnvironmentName() string
- func (o *CreateApplicationPayload) GetEnvironmentNameOk() (*string, bool)
- func (o *CreateApplicationPayload) GetId() string
- func (o *CreateApplicationPayload) GetIdOk() (*string, bool)
- func (o *CreateApplicationPayload) GetNetwork() Network
- func (o *CreateApplicationPayload) GetNetworkOk() (*Network, bool)
- func (o *CreateApplicationPayload) GetRegistry() []ApplicationRegistry
- func (o *CreateApplicationPayload) GetRegistryOk() ([]ApplicationRegistry, bool)
- func (o *CreateApplicationPayload) GetRuntimeStatus() RuntimeStatus
- func (o *CreateApplicationPayload) GetRuntimeStatusOk() (*RuntimeStatus, bool)
- func (o *CreateApplicationPayload) GetScaling() Scaling
- func (o *CreateApplicationPayload) GetScalingOk() (*Scaling, bool)
- func (o *CreateApplicationPayload) GetSecrets() []ApplicationSecret
- func (o *CreateApplicationPayload) GetSecretsOk() ([]ApplicationSecret, bool)
- func (o *CreateApplicationPayload) GetStopped() bool
- func (o *CreateApplicationPayload) GetStoppedOk() (*bool, bool)
- func (o *CreateApplicationPayload) HasEnvironmentId() bool
- func (o *CreateApplicationPayload) HasEnvironmentName() bool
- func (o *CreateApplicationPayload) HasId() bool
- func (o *CreateApplicationPayload) HasRegistry() bool
- func (o *CreateApplicationPayload) HasRuntimeStatus() bool
- func (o *CreateApplicationPayload) HasSecrets() bool
- func (o *CreateApplicationPayload) HasStopped() bool
- func (o CreateApplicationPayload) MarshalJSON() ([]byte, error)
- func (o *CreateApplicationPayload) SetContainers(v []Container)
- func (o *CreateApplicationPayload) SetDisplayName(v string)
- func (o *CreateApplicationPayload) SetEnvironmentId(v string)
- func (o *CreateApplicationPayload) SetEnvironmentName(v string)
- func (o *CreateApplicationPayload) SetId(v string)
- func (o *CreateApplicationPayload) SetNetwork(v Network)
- func (o *CreateApplicationPayload) SetRegistry(v []ApplicationRegistry)
- func (o *CreateApplicationPayload) SetRuntimeStatus(v RuntimeStatus)
- func (o *CreateApplicationPayload) SetScaling(v Scaling)
- func (o *CreateApplicationPayload) SetSecrets(v []ApplicationSecret)
- func (o *CreateApplicationPayload) SetStopped(v bool)
- func (o CreateApplicationPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateApplicationPayload) UnmarshalJSON(data []byte) (err error)
- type CreateEnvironmentPayload
- func (o *CreateEnvironmentPayload) GetCreatedAt() time.Time
- func (o *CreateEnvironmentPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateEnvironmentPayload) GetDefault() bool
- func (o *CreateEnvironmentPayload) GetDefaultOk() (*bool, bool)
- func (o *CreateEnvironmentPayload) GetDisplayName() string
- func (o *CreateEnvironmentPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateEnvironmentPayload) GetId() string
- func (o *CreateEnvironmentPayload) GetIdOk() (*string, bool)
- func (o *CreateEnvironmentPayload) HasCreatedAt() bool
- func (o *CreateEnvironmentPayload) HasDefault() bool
- func (o *CreateEnvironmentPayload) HasId() bool
- func (o CreateEnvironmentPayload) MarshalJSON() ([]byte, error)
- func (o *CreateEnvironmentPayload) SetCreatedAt(v time.Time)
- func (o *CreateEnvironmentPayload) SetDefault(v bool)
- func (o *CreateEnvironmentPayload) SetDisplayName(v string)
- func (o *CreateEnvironmentPayload) SetId(v string)
- func (o CreateEnvironmentPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateEnvironmentPayload) UnmarshalJSON(data []byte) (err error)
- type CurrentStatus
- type CustomRuleParameter
- func (o *CustomRuleParameter) GetName() string
- func (o *CustomRuleParameter) GetNameOk() (*string, bool)
- func (o *CustomRuleParameter) GetValue() string
- func (o *CustomRuleParameter) GetValueOk() (*string, bool)
- func (o CustomRuleParameter) MarshalJSON() ([]byte, error)
- func (o *CustomRuleParameter) SetName(v string)
- func (o *CustomRuleParameter) SetValue(v string)
- func (o CustomRuleParameter) ToMap() (map[string]interface{}, error)
- func (o *CustomRuleParameter) UnmarshalJSON(data []byte) (err error)
- type CustomRuleSecretMapping
- func (o *CustomRuleSecretMapping) GetParameter() string
- func (o *CustomRuleSecretMapping) GetParameterOk() (*string, bool)
- func (o *CustomRuleSecretMapping) GetSecret() string
- func (o *CustomRuleSecretMapping) GetSecretOk() (*string, bool)
- func (o CustomRuleSecretMapping) MarshalJSON() ([]byte, error)
- func (o *CustomRuleSecretMapping) SetParameter(v string)
- func (o *CustomRuleSecretMapping) SetSecret(v string)
- func (o CustomRuleSecretMapping) ToMap() (map[string]interface{}, error)
- func (o *CustomRuleSecretMapping) UnmarshalJSON(data []byte) (err error)
- type CustomScaleRule
- func (o *CustomScaleRule) GetParameters() []CustomRuleParameter
- func (o *CustomScaleRule) GetParametersOk() ([]CustomRuleParameter, bool)
- func (o *CustomScaleRule) GetSecretsMapping() []CustomRuleSecretMapping
- func (o *CustomScaleRule) GetSecretsMappingOk() ([]CustomRuleSecretMapping, bool)
- func (o *CustomScaleRule) GetType() string
- func (o *CustomScaleRule) GetTypeOk() (*string, bool)
- func (o *CustomScaleRule) HasParameters() bool
- func (o *CustomScaleRule) HasSecretsMapping() bool
- func (o CustomScaleRule) MarshalJSON() ([]byte, error)
- func (o *CustomScaleRule) SetParameters(v []CustomRuleParameter)
- func (o *CustomScaleRule) SetSecretsMapping(v []CustomRuleSecretMapping)
- func (o *CustomScaleRule) SetType(v string)
- func (o CustomScaleRule) ToMap() (map[string]interface{}, error)
- func (o *CustomScaleRule) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateApplication(ctx context.Context, projectId string, environmentId string) ApiCreateApplicationRequest
- func (a *DefaultAPIService) CreateApplicationExecute(r ApiCreateApplicationRequest) (*Application, error)
- func (a *DefaultAPIService) CreateEnvironment(ctx context.Context, projectId string) ApiCreateEnvironmentRequest
- func (a *DefaultAPIService) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Environment, error)
- func (a *DefaultAPIService) DeleteApplication(ctx context.Context, projectId string, environmentId string, ...) ApiDeleteApplicationRequest
- func (a *DefaultAPIService) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*Application, error)
- func (a *DefaultAPIService) GetApplication(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationRequest
- func (a *DefaultAPIService) GetApplicationEvents(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationEventsRequest
- func (a *DefaultAPIService) GetApplicationEventsExecute(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)
- func (a *DefaultAPIService) GetApplicationExecute(r ApiGetApplicationRequest) (*Application, error)
- func (a *DefaultAPIService) GetApplicationLogs(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationLogsRequest
- func (a *DefaultAPIService) GetApplicationLogsExecute(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)
- func (a *DefaultAPIService) GetEnvironment(ctx context.Context, projectId string, environmentId string) ApiGetEnvironmentRequest
- func (a *DefaultAPIService) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*Environment, error)
- func (a *DefaultAPIService) GetOverview(ctx context.Context, projectId string) ApiGetOverviewRequest
- func (a *DefaultAPIService) GetOverviewExecute(r ApiGetOverviewRequest) (*GetOverviewResponse, error)
- func (a *DefaultAPIService) ListApplications(ctx context.Context, projectId string, environmentId string) ApiListApplicationsRequest
- func (a *DefaultAPIService) ListApplicationsExecute(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)
- func (a *DefaultAPIService) ListEnvironments(ctx context.Context, projectId string) ApiListEnvironmentsRequest
- func (a *DefaultAPIService) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
- func (a *DefaultAPIService) ListProjectApplications(ctx context.Context, projectId string) ApiListProjectApplicationsRequest
- func (a *DefaultAPIService) ListProjectApplicationsExecute(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)
- func (a *DefaultAPIService) UpdateApplication(ctx context.Context, projectId string, environmentId string, ...) ApiUpdateApplicationRequest
- func (a *DefaultAPIService) UpdateApplicationExecute(r ApiUpdateApplicationRequest) (*Application, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateApplication(ctx context.Context, projectId string, environmentId string) ApiCreateApplicationRequest
- func (a DefaultAPIServiceMock) CreateApplicationExecute(r ApiCreateApplicationRequest) (*Application, error)
- func (a DefaultAPIServiceMock) CreateEnvironment(ctx context.Context, projectId string) ApiCreateEnvironmentRequest
- func (a DefaultAPIServiceMock) CreateEnvironmentExecute(r ApiCreateEnvironmentRequest) (*Environment, error)
- func (a DefaultAPIServiceMock) DeleteApplication(ctx context.Context, projectId string, environmentId string, ...) ApiDeleteApplicationRequest
- func (a DefaultAPIServiceMock) DeleteApplicationExecute(r ApiDeleteApplicationRequest) (*Application, error)
- func (a DefaultAPIServiceMock) GetApplication(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationRequest
- func (a DefaultAPIServiceMock) GetApplicationEvents(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationEventsRequest
- func (a DefaultAPIServiceMock) GetApplicationEventsExecute(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)
- func (a DefaultAPIServiceMock) GetApplicationExecute(r ApiGetApplicationRequest) (*Application, error)
- func (a DefaultAPIServiceMock) GetApplicationLogs(ctx context.Context, projectId string, environmentId string, ...) ApiGetApplicationLogsRequest
- func (a DefaultAPIServiceMock) GetApplicationLogsExecute(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)
- func (a DefaultAPIServiceMock) GetEnvironment(ctx context.Context, projectId string, environmentId string) ApiGetEnvironmentRequest
- func (a DefaultAPIServiceMock) GetEnvironmentExecute(r ApiGetEnvironmentRequest) (*Environment, error)
- func (a DefaultAPIServiceMock) GetOverview(ctx context.Context, projectId string) ApiGetOverviewRequest
- func (a DefaultAPIServiceMock) GetOverviewExecute(r ApiGetOverviewRequest) (*GetOverviewResponse, error)
- func (a DefaultAPIServiceMock) ListApplications(ctx context.Context, projectId string, environmentId string) ApiListApplicationsRequest
- func (a DefaultAPIServiceMock) ListApplicationsExecute(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)
- func (a DefaultAPIServiceMock) ListEnvironments(ctx context.Context, projectId string) ApiListEnvironmentsRequest
- func (a DefaultAPIServiceMock) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
- func (a DefaultAPIServiceMock) ListProjectApplications(ctx context.Context, projectId string) ApiListProjectApplicationsRequest
- func (a DefaultAPIServiceMock) ListProjectApplicationsExecute(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)
- func (a DefaultAPIServiceMock) UpdateApplication(ctx context.Context, projectId string, environmentId string, ...) ApiUpdateApplicationRequest
- func (a DefaultAPIServiceMock) UpdateApplicationExecute(r ApiUpdateApplicationRequest) (*Application, error)
- type EnvVar
- func (o *EnvVar) GetKey() string
- func (o *EnvVar) GetKeyOk() (*string, bool)
- func (o *EnvVar) GetOrigin() EnvVarType
- func (o *EnvVar) GetOriginOk() (*EnvVarType, bool)
- func (o *EnvVar) GetValue() string
- func (o *EnvVar) GetValueOk() (*string, bool)
- func (o *EnvVar) HasOrigin() bool
- func (o EnvVar) MarshalJSON() ([]byte, error)
- func (o *EnvVar) SetKey(v string)
- func (o *EnvVar) SetOrigin(v EnvVarType)
- func (o *EnvVar) SetValue(v string)
- func (o EnvVar) ToMap() (map[string]interface{}, error)
- func (o *EnvVar) UnmarshalJSON(data []byte) (err error)
- type EnvVarType
- type Environment
- func (o *Environment) GetCreatedAt() time.Time
- func (o *Environment) GetCreatedAtOk() (*time.Time, bool)
- func (o *Environment) GetDefault() bool
- func (o *Environment) GetDefaultOk() (*bool, bool)
- func (o *Environment) GetDisplayName() string
- func (o *Environment) GetDisplayNameOk() (*string, bool)
- func (o *Environment) GetId() string
- func (o *Environment) GetIdOk() (*string, bool)
- func (o *Environment) HasCreatedAt() bool
- func (o *Environment) HasDefault() bool
- func (o *Environment) HasId() bool
- func (o Environment) MarshalJSON() ([]byte, error)
- func (o *Environment) SetCreatedAt(v time.Time)
- func (o *Environment) SetDefault(v bool)
- func (o *Environment) SetDisplayName(v string)
- func (o *Environment) SetId(v string)
- func (o Environment) ToMap() (map[string]interface{}, error)
- func (o *Environment) UnmarshalJSON(data []byte) (err error)
- type EnvironmentSummary
- func (o *EnvironmentSummary) GetApplicationsNumber() int32
- func (o *EnvironmentSummary) GetApplicationsNumberOk() (*int32, bool)
- func (o *EnvironmentSummary) GetCreatedAt() time.Time
- func (o *EnvironmentSummary) GetCreatedAtOk() (*time.Time, bool)
- func (o *EnvironmentSummary) GetDefault() bool
- func (o *EnvironmentSummary) GetDefaultOk() (*bool, bool)
- func (o *EnvironmentSummary) GetDisplayName() string
- func (o *EnvironmentSummary) GetDisplayNameOk() (*string, bool)
- func (o *EnvironmentSummary) GetId() string
- func (o *EnvironmentSummary) GetIdOk() (*string, bool)
- func (o *EnvironmentSummary) HasApplicationsNumber() bool
- func (o *EnvironmentSummary) HasCreatedAt() bool
- func (o *EnvironmentSummary) HasDefault() bool
- func (o *EnvironmentSummary) HasDisplayName() bool
- func (o *EnvironmentSummary) HasId() bool
- func (o EnvironmentSummary) MarshalJSON() ([]byte, error)
- func (o *EnvironmentSummary) SetApplicationsNumber(v int32)
- func (o *EnvironmentSummary) SetCreatedAt(v time.Time)
- func (o *EnvironmentSummary) SetDefault(v bool)
- func (o *EnvironmentSummary) SetDisplayName(v string)
- func (o *EnvironmentSummary) SetId(v string)
- func (o EnvironmentSummary) ToMap() (map[string]interface{}, error)
- func (o *EnvironmentSummary) UnmarshalJSON(data []byte) (err error)
- type Event
- func (o *Event) GetMessage() string
- func (o *Event) GetMessageOk() (*string, bool)
- func (o *Event) HasMessage() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetMessage(v string)
- func (o Event) ToMap() (map[string]interface{}, error)
- func (o *Event) UnmarshalJSON(data []byte) (err error)
- type GetApplicationEventsResponse
- func (o *GetApplicationEventsResponse) GetEvents() []Event
- func (o *GetApplicationEventsResponse) GetEventsOk() ([]Event, bool)
- func (o *GetApplicationEventsResponse) HasEvents() bool
- func (o GetApplicationEventsResponse) MarshalJSON() ([]byte, error)
- func (o *GetApplicationEventsResponse) SetEvents(v []Event)
- func (o GetApplicationEventsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetApplicationEventsResponse) UnmarshalJSON(data []byte) (err error)
- type GetApplicationLogsResponse
- func (o *GetApplicationLogsResponse) GetLogs() []Log
- func (o *GetApplicationLogsResponse) GetLogsOk() ([]Log, bool)
- func (o *GetApplicationLogsResponse) HasLogs() bool
- func (o GetApplicationLogsResponse) MarshalJSON() ([]byte, error)
- func (o *GetApplicationLogsResponse) SetLogs(v []Log)
- func (o GetApplicationLogsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetApplicationLogsResponse) UnmarshalJSON(data []byte) (err error)
- type GetOverviewResponse
- func (o *GetOverviewResponse) GetSummary() Summary
- func (o *GetOverviewResponse) GetSummaryOk() (*Summary, bool)
- func (o GetOverviewResponse) MarshalJSON() ([]byte, error)
- func (o *GetOverviewResponse) SetSummary(v Summary)
- func (o GetOverviewResponse) ToMap() (map[string]interface{}, error)
- func (o *GetOverviewResponse) UnmarshalJSON(data []byte) (err error)
- type HttpScaleRule
- func (o *HttpScaleRule) GetConcurrency() int32
- func (o *HttpScaleRule) GetConcurrencyOk() (*int32, bool)
- func (o *HttpScaleRule) GetRps() int32
- func (o *HttpScaleRule) GetRpsOk() (*int32, bool)
- func (o *HttpScaleRule) HasConcurrency() bool
- func (o *HttpScaleRule) HasRps() bool
- func (o HttpScaleRule) MarshalJSON() ([]byte, error)
- func (o *HttpScaleRule) SetConcurrency(v int32)
- func (o *HttpScaleRule) SetRps(v int32)
- func (o HttpScaleRule) ToMap() (map[string]interface{}, error)
- func (o *HttpScaleRule) UnmarshalJSON(data []byte) (err error)
- type Instance
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetStatus() InstanceStatus
- func (o *Instance) GetStatusOk() (*InstanceStatus, bool)
- func (o *Instance) HasName() bool
- func (o *Instance) HasStatus() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetStatus(v InstanceStatus)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type InstanceStatus
- type ListApplicationsResponse
- func (o *ListApplicationsResponse) GetItems() []ApplicationSummary
- func (o *ListApplicationsResponse) GetItemsOk() ([]ApplicationSummary, bool)
- func (o *ListApplicationsResponse) HasItems() bool
- func (o ListApplicationsResponse) MarshalJSON() ([]byte, error)
- func (o *ListApplicationsResponse) SetItems(v []ApplicationSummary)
- func (o ListApplicationsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListApplicationsResponse) UnmarshalJSON(data []byte) (err error)
- type ListEnvironmentsResponse
- func (o *ListEnvironmentsResponse) GetItems() []EnvironmentSummary
- func (o *ListEnvironmentsResponse) GetItemsOk() ([]EnvironmentSummary, bool)
- func (o *ListEnvironmentsResponse) HasItems() bool
- func (o ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
- func (o *ListEnvironmentsResponse) SetItems(v []EnvironmentSummary)
- func (o ListEnvironmentsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListEnvironmentsResponse) UnmarshalJSON(data []byte) (err error)
- type Log
- type ManualScaling
- func (o *ManualScaling) GetInstances() int32
- func (o *ManualScaling) GetInstancesOk() (*int32, bool)
- func (o ManualScaling) MarshalJSON() ([]byte, error)
- func (o *ManualScaling) SetInstances(v int32)
- func (o ManualScaling) ToMap() (map[string]interface{}, error)
- func (o *ManualScaling) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type Network
- func (o *Network) GetIngressAcl() []string
- func (o *Network) GetIngressAclOk() ([]string, bool)
- func (o *Network) GetPort() int32
- func (o *Network) GetPortOk() (*int32, bool)
- func (o *Network) GetPublicIngress() bool
- func (o *Network) GetPublicIngressOk() (*bool, bool)
- func (o *Network) HasIngressAcl() bool
- func (o *Network) HasPort() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetIngressAcl(v []string)
- func (o *Network) SetPort(v int32)
- func (o *Network) SetPublicIngress(v bool)
- func (o Network) ToMap() (map[string]interface{}, error)
- func (o *Network) UnmarshalJSON(data []byte) (err error)
- type NullableApiErrorResponse
- func (v NullableApiErrorResponse) Get() *ApiErrorResponse
- func (v NullableApiErrorResponse) IsSet() bool
- func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
- func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorResponse) Unset()
- type NullableApplication
- func (v NullableApplication) Get() *Application
- func (v NullableApplication) IsSet() bool
- func (v NullableApplication) MarshalJSON() ([]byte, error)
- func (v *NullableApplication) Set(val *Application)
- func (v *NullableApplication) UnmarshalJSON(src []byte) error
- func (v *NullableApplication) Unset()
- type NullableApplicationRegistry
- func (v NullableApplicationRegistry) Get() *ApplicationRegistry
- func (v NullableApplicationRegistry) IsSet() bool
- func (v NullableApplicationRegistry) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationRegistry) Set(val *ApplicationRegistry)
- func (v *NullableApplicationRegistry) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationRegistry) Unset()
- type NullableApplicationRegistryAuthType
- func (v NullableApplicationRegistryAuthType) Get() *ApplicationRegistryAuthType
- func (v NullableApplicationRegistryAuthType) IsSet() bool
- func (v NullableApplicationRegistryAuthType) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationRegistryAuthType) Set(val *ApplicationRegistryAuthType)
- func (v *NullableApplicationRegistryAuthType) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationRegistryAuthType) Unset()
- type NullableApplicationRegistryCredentialsAuth
- func (v NullableApplicationRegistryCredentialsAuth) Get() *ApplicationRegistryCredentialsAuth
- func (v NullableApplicationRegistryCredentialsAuth) IsSet() bool
- func (v NullableApplicationRegistryCredentialsAuth) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationRegistryCredentialsAuth) Set(val *ApplicationRegistryCredentialsAuth)
- func (v *NullableApplicationRegistryCredentialsAuth) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationRegistryCredentialsAuth) Unset()
- type NullableApplicationSecret
- func (v NullableApplicationSecret) Get() *ApplicationSecret
- func (v NullableApplicationSecret) IsSet() bool
- func (v NullableApplicationSecret) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationSecret) Set(val *ApplicationSecret)
- func (v *NullableApplicationSecret) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationSecret) Unset()
- type NullableApplicationSummary
- func (v NullableApplicationSummary) Get() *ApplicationSummary
- func (v NullableApplicationSummary) IsSet() bool
- func (v NullableApplicationSummary) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationSummary) Set(val *ApplicationSummary)
- func (v *NullableApplicationSummary) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationSummary) Unset()
- type NullableAutoScaling
- func (v NullableAutoScaling) Get() *AutoScaling
- func (v NullableAutoScaling) IsSet() bool
- func (v NullableAutoScaling) MarshalJSON() ([]byte, error)
- func (v *NullableAutoScaling) Set(val *AutoScaling)
- func (v *NullableAutoScaling) UnmarshalJSON(src []byte) error
- func (v *NullableAutoScaling) Unset()
- type NullableBool
- type NullableContainer
- type NullableCreateApplicationPayload
- func (v NullableCreateApplicationPayload) Get() *CreateApplicationPayload
- func (v NullableCreateApplicationPayload) IsSet() bool
- func (v NullableCreateApplicationPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateApplicationPayload) Set(val *CreateApplicationPayload)
- func (v *NullableCreateApplicationPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateApplicationPayload) Unset()
- type NullableCreateEnvironmentPayload
- func (v NullableCreateEnvironmentPayload) Get() *CreateEnvironmentPayload
- func (v NullableCreateEnvironmentPayload) IsSet() bool
- func (v NullableCreateEnvironmentPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateEnvironmentPayload) Set(val *CreateEnvironmentPayload)
- func (v *NullableCreateEnvironmentPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateEnvironmentPayload) Unset()
- type NullableCurrentStatus
- func (v NullableCurrentStatus) Get() *CurrentStatus
- func (v NullableCurrentStatus) IsSet() bool
- func (v NullableCurrentStatus) MarshalJSON() ([]byte, error)
- func (v *NullableCurrentStatus) Set(val *CurrentStatus)
- func (v *NullableCurrentStatus) UnmarshalJSON(src []byte) error
- func (v *NullableCurrentStatus) Unset()
- type NullableCustomRuleParameter
- func (v NullableCustomRuleParameter) Get() *CustomRuleParameter
- func (v NullableCustomRuleParameter) IsSet() bool
- func (v NullableCustomRuleParameter) MarshalJSON() ([]byte, error)
- func (v *NullableCustomRuleParameter) Set(val *CustomRuleParameter)
- func (v *NullableCustomRuleParameter) UnmarshalJSON(src []byte) error
- func (v *NullableCustomRuleParameter) Unset()
- type NullableCustomRuleSecretMapping
- func (v NullableCustomRuleSecretMapping) Get() *CustomRuleSecretMapping
- func (v NullableCustomRuleSecretMapping) IsSet() bool
- func (v NullableCustomRuleSecretMapping) MarshalJSON() ([]byte, error)
- func (v *NullableCustomRuleSecretMapping) Set(val *CustomRuleSecretMapping)
- func (v *NullableCustomRuleSecretMapping) UnmarshalJSON(src []byte) error
- func (v *NullableCustomRuleSecretMapping) Unset()
- type NullableCustomScaleRule
- func (v NullableCustomScaleRule) Get() *CustomScaleRule
- func (v NullableCustomScaleRule) IsSet() bool
- func (v NullableCustomScaleRule) MarshalJSON() ([]byte, error)
- func (v *NullableCustomScaleRule) Set(val *CustomScaleRule)
- func (v *NullableCustomScaleRule) UnmarshalJSON(src []byte) error
- func (v *NullableCustomScaleRule) Unset()
- type NullableEnvVar
- type NullableEnvVarType
- type NullableEnvironment
- func (v NullableEnvironment) Get() *Environment
- func (v NullableEnvironment) IsSet() bool
- func (v NullableEnvironment) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironment) Set(val *Environment)
- func (v *NullableEnvironment) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironment) Unset()
- type NullableEnvironmentSummary
- func (v NullableEnvironmentSummary) Get() *EnvironmentSummary
- func (v NullableEnvironmentSummary) IsSet() bool
- func (v NullableEnvironmentSummary) MarshalJSON() ([]byte, error)
- func (v *NullableEnvironmentSummary) Set(val *EnvironmentSummary)
- func (v *NullableEnvironmentSummary) UnmarshalJSON(src []byte) error
- func (v *NullableEnvironmentSummary) Unset()
- type NullableEvent
- type NullableFloat32
- type NullableFloat64
- type NullableGetApplicationEventsResponse
- func (v NullableGetApplicationEventsResponse) Get() *GetApplicationEventsResponse
- func (v NullableGetApplicationEventsResponse) IsSet() bool
- func (v NullableGetApplicationEventsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetApplicationEventsResponse) Set(val *GetApplicationEventsResponse)
- func (v *NullableGetApplicationEventsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetApplicationEventsResponse) Unset()
- type NullableGetApplicationLogsResponse
- func (v NullableGetApplicationLogsResponse) Get() *GetApplicationLogsResponse
- func (v NullableGetApplicationLogsResponse) IsSet() bool
- func (v NullableGetApplicationLogsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetApplicationLogsResponse) Set(val *GetApplicationLogsResponse)
- func (v *NullableGetApplicationLogsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetApplicationLogsResponse) Unset()
- type NullableGetOverviewResponse
- func (v NullableGetOverviewResponse) Get() *GetOverviewResponse
- func (v NullableGetOverviewResponse) IsSet() bool
- func (v NullableGetOverviewResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetOverviewResponse) Set(val *GetOverviewResponse)
- func (v *NullableGetOverviewResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetOverviewResponse) Unset()
- type NullableHttpScaleRule
- func (v NullableHttpScaleRule) Get() *HttpScaleRule
- func (v NullableHttpScaleRule) IsSet() bool
- func (v NullableHttpScaleRule) MarshalJSON() ([]byte, error)
- func (v *NullableHttpScaleRule) Set(val *HttpScaleRule)
- func (v *NullableHttpScaleRule) UnmarshalJSON(src []byte) error
- func (v *NullableHttpScaleRule) Unset()
- type NullableInstance
- type NullableInstanceStatus
- func (v NullableInstanceStatus) Get() *InstanceStatus
- func (v NullableInstanceStatus) IsSet() bool
- func (v NullableInstanceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceStatus) Set(val *InstanceStatus)
- func (v *NullableInstanceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceStatus) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListApplicationsResponse
- func (v NullableListApplicationsResponse) Get() *ListApplicationsResponse
- func (v NullableListApplicationsResponse) IsSet() bool
- func (v NullableListApplicationsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListApplicationsResponse) Set(val *ListApplicationsResponse)
- func (v *NullableListApplicationsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListApplicationsResponse) Unset()
- type NullableListEnvironmentsResponse
- func (v NullableListEnvironmentsResponse) Get() *ListEnvironmentsResponse
- func (v NullableListEnvironmentsResponse) IsSet() bool
- func (v NullableListEnvironmentsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListEnvironmentsResponse) Set(val *ListEnvironmentsResponse)
- func (v *NullableListEnvironmentsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListEnvironmentsResponse) Unset()
- type NullableLog
- type NullableManualScaling
- func (v NullableManualScaling) Get() *ManualScaling
- func (v NullableManualScaling) IsSet() bool
- func (v NullableManualScaling) MarshalJSON() ([]byte, error)
- func (v *NullableManualScaling) Set(val *ManualScaling)
- func (v *NullableManualScaling) UnmarshalJSON(src []byte) error
- func (v *NullableManualScaling) Unset()
- type NullableNetwork
- type NullableRuleType
- type NullableRuntimeStatus
- func (v NullableRuntimeStatus) Get() *RuntimeStatus
- func (v NullableRuntimeStatus) IsSet() bool
- func (v NullableRuntimeStatus) MarshalJSON() ([]byte, error)
- func (v *NullableRuntimeStatus) Set(val *RuntimeStatus)
- func (v *NullableRuntimeStatus) UnmarshalJSON(src []byte) error
- func (v *NullableRuntimeStatus) Unset()
- type NullableScaleRule
- type NullableScaling
- type NullableScalingType
- func (v NullableScalingType) Get() *ScalingType
- func (v NullableScalingType) IsSet() bool
- func (v NullableScalingType) MarshalJSON() ([]byte, error)
- func (v *NullableScalingType) Set(val *ScalingType)
- func (v *NullableScalingType) UnmarshalJSON(src []byte) error
- func (v *NullableScalingType) Unset()
- type NullableString
- type NullableSummary
- type NullableTime
- type NullableUpdateApplicationPayload
- func (v NullableUpdateApplicationPayload) Get() *UpdateApplicationPayload
- func (v NullableUpdateApplicationPayload) IsSet() bool
- func (v NullableUpdateApplicationPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateApplicationPayload) Set(val *UpdateApplicationPayload)
- func (v *NullableUpdateApplicationPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateApplicationPayload) Unset()
- type RuleType
- type RuntimeStatus
- func (o *RuntimeStatus) GetCurrentStatus() CurrentStatus
- func (o *RuntimeStatus) GetCurrentStatusOk() (*CurrentStatus, bool)
- func (o *RuntimeStatus) GetFailureReasons() []string
- func (o *RuntimeStatus) GetFailureReasonsOk() ([]string, bool)
- func (o *RuntimeStatus) GetInstances() []Instance
- func (o *RuntimeStatus) GetInstancesOk() ([]Instance, bool)
- func (o *RuntimeStatus) GetLastDeployment() time.Time
- func (o *RuntimeStatus) GetLastDeploymentOk() (*time.Time, bool)
- func (o *RuntimeStatus) GetUrls() []string
- func (o *RuntimeStatus) GetUrlsOk() ([]string, bool)
- func (o *RuntimeStatus) HasCurrentStatus() bool
- func (o *RuntimeStatus) HasFailureReasons() bool
- func (o *RuntimeStatus) HasInstances() bool
- func (o *RuntimeStatus) HasLastDeployment() bool
- func (o *RuntimeStatus) HasUrls() bool
- func (o RuntimeStatus) MarshalJSON() ([]byte, error)
- func (o *RuntimeStatus) SetCurrentStatus(v CurrentStatus)
- func (o *RuntimeStatus) SetFailureReasons(v []string)
- func (o *RuntimeStatus) SetInstances(v []Instance)
- func (o *RuntimeStatus) SetLastDeployment(v time.Time)
- func (o *RuntimeStatus) SetUrls(v []string)
- func (o RuntimeStatus) ToMap() (map[string]interface{}, error)
- func (o *RuntimeStatus) UnmarshalJSON(data []byte) (err error)
- type ScaleRule
- func (o *ScaleRule) GetCustomRule() CustomScaleRule
- func (o *ScaleRule) GetCustomRuleOk() (*CustomScaleRule, bool)
- func (o *ScaleRule) GetHttpRule() HttpScaleRule
- func (o *ScaleRule) GetHttpRuleOk() (*HttpScaleRule, bool)
- func (o *ScaleRule) GetName() string
- func (o *ScaleRule) GetNameOk() (*string, bool)
- func (o *ScaleRule) GetType() RuleType
- func (o *ScaleRule) GetTypeOk() (*RuleType, bool)
- func (o *ScaleRule) HasCustomRule() bool
- func (o *ScaleRule) HasHttpRule() bool
- func (o ScaleRule) MarshalJSON() ([]byte, error)
- func (o *ScaleRule) SetCustomRule(v CustomScaleRule)
- func (o *ScaleRule) SetHttpRule(v HttpScaleRule)
- func (o *ScaleRule) SetName(v string)
- func (o *ScaleRule) SetType(v RuleType)
- func (o ScaleRule) ToMap() (map[string]interface{}, error)
- func (o *ScaleRule) UnmarshalJSON(data []byte) (err error)
- type Scaling
- func (o *Scaling) GetAutoScaling() AutoScaling
- func (o *Scaling) GetAutoScalingOk() (*AutoScaling, bool)
- func (o *Scaling) GetManualScaling() ManualScaling
- func (o *Scaling) GetManualScalingOk() (*ManualScaling, bool)
- func (o *Scaling) GetType() ScalingType
- func (o *Scaling) GetTypeOk() (*ScalingType, bool)
- func (o *Scaling) HasAutoScaling() bool
- func (o *Scaling) HasManualScaling() bool
- func (o Scaling) MarshalJSON() ([]byte, error)
- func (o *Scaling) SetAutoScaling(v AutoScaling)
- func (o *Scaling) SetManualScaling(v ManualScaling)
- func (o *Scaling) SetType(v ScalingType)
- func (o Scaling) ToMap() (map[string]interface{}, error)
- func (o *Scaling) UnmarshalJSON(data []byte) (err error)
- type ScalingType
- type Summary
- func (o *Summary) GetApplicationsRunning() int32
- func (o *Summary) GetApplicationsRunningOk() (*int32, bool)
- func (o *Summary) GetApplicationsTotal() int32
- func (o *Summary) GetApplicationsTotalOk() (*int32, bool)
- func (o *Summary) HasApplicationsRunning() bool
- func (o *Summary) HasApplicationsTotal() bool
- func (o Summary) MarshalJSON() ([]byte, error)
- func (o *Summary) SetApplicationsRunning(v int32)
- func (o *Summary) SetApplicationsTotal(v int32)
- func (o Summary) ToMap() (map[string]interface{}, error)
- func (o *Summary) UnmarshalJSON(data []byte) (err error)
- type UpdateApplicationPayload
- func (o *UpdateApplicationPayload) GetContainers() []Container
- func (o *UpdateApplicationPayload) GetContainersOk() ([]Container, bool)
- func (o *UpdateApplicationPayload) GetNetwork() Network
- func (o *UpdateApplicationPayload) GetNetworkOk() (*Network, bool)
- func (o *UpdateApplicationPayload) GetRegistry() []ApplicationRegistry
- func (o *UpdateApplicationPayload) GetRegistryOk() ([]ApplicationRegistry, bool)
- func (o *UpdateApplicationPayload) GetScaling() Scaling
- func (o *UpdateApplicationPayload) GetScalingOk() (*Scaling, bool)
- func (o *UpdateApplicationPayload) GetSecrets() []ApplicationSecret
- func (o *UpdateApplicationPayload) GetSecretsOk() ([]ApplicationSecret, bool)
- func (o *UpdateApplicationPayload) GetStopped() bool
- func (o *UpdateApplicationPayload) GetStoppedOk() (*bool, bool)
- func (o *UpdateApplicationPayload) HasContainers() bool
- func (o *UpdateApplicationPayload) HasNetwork() bool
- func (o *UpdateApplicationPayload) HasRegistry() bool
- func (o *UpdateApplicationPayload) HasScaling() bool
- func (o *UpdateApplicationPayload) HasSecrets() bool
- func (o *UpdateApplicationPayload) HasStopped() bool
- func (o UpdateApplicationPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateApplicationPayload) SetContainers(v []Container)
- func (o *UpdateApplicationPayload) SetNetwork(v Network)
- func (o *UpdateApplicationPayload) SetRegistry(v []ApplicationRegistry)
- func (o *UpdateApplicationPayload) SetScaling(v Scaling)
- func (o *UpdateApplicationPayload) SetSecrets(v []ApplicationSecret)
- func (o *UpdateApplicationPayload) SetStopped(v bool)
- func (o UpdateApplicationPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateApplicationPayload) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedApplicationRegistryAuthTypeEnumValues = []ApplicationRegistryAuthType{
"AUTH_TYPE_NONE",
"AUTH_TYPE_CREDENTIALS",
"unknown_default_open_api",
}
All allowed values of ApplicationRegistryAuthType enum
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
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
var AllowedInstanceStatusEnumValues = []InstanceStatus{
"INSTANCE_STATUS_PROGRESSING",
"INSTANCE_STATUS_RUNNING",
"INSTANCE_STATUS_FAILED",
"unknown_default_open_api",
}
All allowed values of InstanceStatus enum
var AllowedRuleTypeEnumValues = []RuleType{
"RULE_TYPE_UNSPECIFIED",
"RULE_TYPE_HTTP",
"RULE_TYPE_CUSTOM",
"unknown_default_open_api",
}
All allowed values of RuleType enum
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
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 ¶
func (r ApiCreateApplicationRequest) Execute() (*Application, error)
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 ¶
func (r ApiCreateEnvironmentRequest) Execute() (*Environment, error)
type ApiDeleteApplicationRequest ¶
type ApiDeleteApplicationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteApplicationRequest) Execute ¶
func (r ApiDeleteApplicationRequest) Execute() (*Application, error)
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 ¶
func (r ApiGetApplicationEventsRequest) Execute() (*GetApplicationEventsResponse, error)
type ApiGetApplicationLogsRequest ¶
type ApiGetApplicationLogsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetApplicationLogsRequest) Container ¶
func (r ApiGetApplicationLogsRequest) Container(container string) ApiGetApplicationLogsRequest
Container name to collect logs.
func (ApiGetApplicationLogsRequest) Execute ¶
func (r ApiGetApplicationLogsRequest) Execute() (*GetApplicationLogsResponse, error)
func (ApiGetApplicationLogsRequest) Instance ¶
func (r ApiGetApplicationLogsRequest) Instance(instance string) ApiGetApplicationLogsRequest
Instance name of the application.
func (ApiGetApplicationLogsRequest) Previous ¶
func (r ApiGetApplicationLogsRequest) Previous(previous bool) ApiGetApplicationLogsRequest
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 ¶
func (r ApiGetOverviewRequest) Execute() (*GetOverviewResponse, error)
type ApiListApplicationsRequest ¶
type ApiListApplicationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListApplicationsRequest) Execute ¶
func (r ApiListApplicationsRequest) Execute() (*ListApplicationsResponse, error)
type ApiListEnvironmentsRequest ¶
type ApiListEnvironmentsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListEnvironmentsRequest) Execute ¶
func (r ApiListEnvironmentsRequest) Execute() (*ListEnvironmentsResponse, error)
type ApiListProjectApplicationsRequest ¶
type ApiListProjectApplicationsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListProjectApplicationsRequest) Execute ¶
func (r ApiListProjectApplicationsRequest) Execute() (*ListApplicationsResponse, error)
type ApiUpdateApplicationRequest ¶
type ApiUpdateApplicationRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateApplicationRequest) Execute ¶
func (r ApiUpdateApplicationRequest) Execute() (*Application, error)
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 ¶
func (o *ApplicationRegistry) GetCredentials() ApplicationRegistryCredentialsAuth
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*ApplicationRegistry) GetCredentialsOk ¶
func (o *ApplicationRegistry) GetCredentialsOk() (*ApplicationRegistryCredentialsAuth, bool)
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 ¶
func (o *ApplicationRegistry) GetType() ApplicationRegistryAuthType
GetType returns the Type field value
func (*ApplicationRegistry) GetTypeOk ¶
func (o *ApplicationRegistry) GetTypeOk() (*ApplicationRegistryAuthType, bool)
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 ¶
func (o *ApplicationRegistry) SetCredentials(v ApplicationRegistryCredentialsAuth)
SetCredentials gets a reference to the given ApplicationRegistryCredentialsAuth and assigns it to the Credentials field.
func (*ApplicationRegistry) SetType ¶
func (o *ApplicationRegistry) SetType(v ApplicationRegistryAuthType)
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 ¶
func (v ApplicationRegistryAuthType) Ptr() *ApplicationRegistryAuthType
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 ¶
func (o *ApplicationRegistryCredentialsAuth) GetUrl() string
GetUrl returns the Url field value
func (*ApplicationRegistryCredentialsAuth) GetUrlOk ¶
func (o *ApplicationRegistryCredentialsAuth) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*ApplicationRegistryCredentialsAuth) GetUser ¶
func (o *ApplicationRegistryCredentialsAuth) GetUser() string
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 ¶
func (o *ApplicationRegistryCredentialsAuth) SetUrl(v string)
SetUrl sets field value
func (*ApplicationRegistryCredentialsAuth) SetUser ¶
func (o *ApplicationRegistryCredentialsAuth) SetUser(v string)
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 ¶
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) GetArgsOk ¶
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 ¶
GetCommand returns the Command field value if set, zero value otherwise.
func (*Container) GetCommandOk ¶
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) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Container) GetEnvironmentVariables ¶
GetEnvironmentVariables returns the EnvironmentVariables field value if set, zero value otherwise.
func (*Container) GetEnvironmentVariablesOk ¶
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) GetImageOk ¶
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*Container) GetMemory ¶
GetMemory returns the Memory field value if set, zero value otherwise.
func (*Container) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Container) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Container) HasCommand ¶
HasCommand returns a boolean if a field has been set.
func (*Container) HasEnvironmentVariables ¶
HasEnvironmentVariables returns a boolean if a field has been set.
func (Container) MarshalJSON ¶
func (*Container) SetArgs ¶
SetArgs gets a reference to the given []string and assigns it to the Args field.
func (*Container) SetCommand ¶
SetCommand gets a reference to the given []string and assigns it to the Command field.
func (*Container) SetCpu ¶
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*Container) SetEnvironmentVariables ¶
SetEnvironmentVariables gets a reference to the given []EnvVar and assigns it to the EnvironmentVariables field.
func (*Container) SetMemory ¶
SetMemory gets a reference to the given int32 and assigns it to the Memory field.
func (*Container) UnmarshalJSON ¶
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 ¶
func (a *DefaultAPIService) GetApplicationEventsExecute(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)
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 ¶
func (a *DefaultAPIService) GetApplicationLogsExecute(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)
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 ¶
func (a *DefaultAPIService) GetOverviewExecute(r ApiGetOverviewRequest) (*GetOverviewResponse, error)
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 ¶
func (a *DefaultAPIService) ListApplicationsExecute(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)
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 ¶
func (a *DefaultAPIService) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetApplicationEventsExecute(r ApiGetApplicationEventsRequest) (*GetApplicationEventsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetApplicationLogsExecute(r ApiGetApplicationLogsRequest) (*GetApplicationLogsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetOverviewExecute(r ApiGetOverviewRequest) (*GetOverviewResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListApplicationsExecute(r ApiListApplicationsRequest) (*ListApplicationsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListEnvironmentsExecute(r ApiListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListProjectApplicationsExecute(r ApiListProjectApplicationsRequest) (*ListApplicationsResponse, error)
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 ¶
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) GetKeyOk ¶
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) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (EnvVar) MarshalJSON ¶
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) UnmarshalJSON ¶
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 ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Event) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
func (*Event) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Event) UnmarshalJSON ¶
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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) MarshalJSON ¶
func (*Instance) SetName ¶
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) UnmarshalJSON ¶
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 ¶
func (o *ListApplicationsResponse) GetItems() []ApplicationSummary
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 ¶
func (o *ListApplicationsResponse) SetItems(v []ApplicationSummary)
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 ¶
func (o *ListEnvironmentsResponse) GetItems() []EnvironmentSummary
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 ¶
func (o *ListEnvironmentsResponse) SetItems(v []EnvironmentSummary)
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 ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Log) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Log) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Log) MarshalJSON ¶
func (*Log) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Log) UnmarshalJSON ¶
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 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 ¶
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 ¶
GetIngressAcl returns the IngressAcl field value if set, zero value otherwise.
func (*Network) GetIngressAclOk ¶
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) GetPortOk ¶
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 ¶
GetPublicIngress returns the PublicIngress field value
func (*Network) GetPublicIngressOk ¶
GetPublicIngressOk returns a tuple with the PublicIngress field value and a boolean to check if the value has been set.
func (*Network) HasIngressAcl ¶
HasIngressAcl returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
func (*Network) SetIngressAcl ¶
SetIngressAcl gets a reference to the given []string and assigns it to the IngressAcl field.
func (*Network) SetPort ¶
SetPort gets a reference to the given int32 and assigns it to the Port field.
func (*Network) SetPublicIngress ¶
SetPublicIngress sets field value
func (*Network) UnmarshalJSON ¶
type NullableApiErrorResponse ¶
type NullableApiErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorResponse ¶
func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse
func (NullableApiErrorResponse) Get ¶
func (v NullableApiErrorResponse) Get() *ApiErrorResponse
func (NullableApiErrorResponse) IsSet ¶
func (v NullableApiErrorResponse) IsSet() bool
func (NullableApiErrorResponse) MarshalJSON ¶
func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableApiErrorResponse) Set ¶
func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
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 (v NullableApplication) Get() *Application
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 (v NullableApplicationRegistry) Get() *ApplicationRegistry
func (NullableApplicationRegistry) IsSet ¶
func (v NullableApplicationRegistry) IsSet() bool
func (NullableApplicationRegistry) MarshalJSON ¶
func (v NullableApplicationRegistry) MarshalJSON() ([]byte, error)
func (*NullableApplicationRegistry) Set ¶
func (v *NullableApplicationRegistry) Set(val *ApplicationRegistry)
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 NewNullableApplicationRegistryAuthType ¶
func NewNullableApplicationRegistryAuthType(val *ApplicationRegistryAuthType) *NullableApplicationRegistryAuthType
func (NullableApplicationRegistryAuthType) Get ¶
func (v NullableApplicationRegistryAuthType) Get() *ApplicationRegistryAuthType
func (NullableApplicationRegistryAuthType) IsSet ¶
func (v NullableApplicationRegistryAuthType) IsSet() bool
func (NullableApplicationRegistryAuthType) MarshalJSON ¶
func (v NullableApplicationRegistryAuthType) MarshalJSON() ([]byte, error)
func (*NullableApplicationRegistryAuthType) Set ¶
func (v *NullableApplicationRegistryAuthType) Set(val *ApplicationRegistryAuthType)
func (*NullableApplicationRegistryAuthType) UnmarshalJSON ¶
func (v *NullableApplicationRegistryAuthType) UnmarshalJSON(src []byte) error
func (*NullableApplicationRegistryAuthType) Unset ¶
func (v *NullableApplicationRegistryAuthType) Unset()
type NullableApplicationRegistryCredentialsAuth ¶
type NullableApplicationRegistryCredentialsAuth struct {
// contains filtered or unexported fields
}
func NewNullableApplicationRegistryCredentialsAuth ¶
func NewNullableApplicationRegistryCredentialsAuth(val *ApplicationRegistryCredentialsAuth) *NullableApplicationRegistryCredentialsAuth
func (NullableApplicationRegistryCredentialsAuth) IsSet ¶
func (v NullableApplicationRegistryCredentialsAuth) IsSet() bool
func (NullableApplicationRegistryCredentialsAuth) MarshalJSON ¶
func (v NullableApplicationRegistryCredentialsAuth) MarshalJSON() ([]byte, error)
func (*NullableApplicationRegistryCredentialsAuth) Set ¶
func (v *NullableApplicationRegistryCredentialsAuth) Set(val *ApplicationRegistryCredentialsAuth)
func (*NullableApplicationRegistryCredentialsAuth) UnmarshalJSON ¶
func (v *NullableApplicationRegistryCredentialsAuth) UnmarshalJSON(src []byte) error
func (*NullableApplicationRegistryCredentialsAuth) Unset ¶
func (v *NullableApplicationRegistryCredentialsAuth) Unset()
type NullableApplicationSecret ¶
type NullableApplicationSecret struct {
// contains filtered or unexported fields
}
func NewNullableApplicationSecret ¶
func NewNullableApplicationSecret(val *ApplicationSecret) *NullableApplicationSecret
func (NullableApplicationSecret) Get ¶
func (v NullableApplicationSecret) Get() *ApplicationSecret
func (NullableApplicationSecret) IsSet ¶
func (v NullableApplicationSecret) IsSet() bool
func (NullableApplicationSecret) MarshalJSON ¶
func (v NullableApplicationSecret) MarshalJSON() ([]byte, error)
func (*NullableApplicationSecret) Set ¶
func (v *NullableApplicationSecret) Set(val *ApplicationSecret)
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 (v NullableApplicationSummary) Get() *ApplicationSummary
func (NullableApplicationSummary) IsSet ¶
func (v NullableApplicationSummary) IsSet() bool
func (NullableApplicationSummary) MarshalJSON ¶
func (v NullableApplicationSummary) MarshalJSON() ([]byte, error)
func (*NullableApplicationSummary) Set ¶
func (v *NullableApplicationSummary) Set(val *ApplicationSummary)
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 (v NullableAutoScaling) Get() *AutoScaling
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 NewNullableCreateApplicationPayload ¶
func NewNullableCreateApplicationPayload(val *CreateApplicationPayload) *NullableCreateApplicationPayload
func (NullableCreateApplicationPayload) Get ¶
func (v NullableCreateApplicationPayload) Get() *CreateApplicationPayload
func (NullableCreateApplicationPayload) IsSet ¶
func (v NullableCreateApplicationPayload) IsSet() bool
func (NullableCreateApplicationPayload) MarshalJSON ¶
func (v NullableCreateApplicationPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateApplicationPayload) Set ¶
func (v *NullableCreateApplicationPayload) Set(val *CreateApplicationPayload)
func (*NullableCreateApplicationPayload) UnmarshalJSON ¶
func (v *NullableCreateApplicationPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateApplicationPayload) Unset ¶
func (v *NullableCreateApplicationPayload) Unset()
type NullableCreateEnvironmentPayload ¶
type NullableCreateEnvironmentPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateEnvironmentPayload ¶
func NewNullableCreateEnvironmentPayload(val *CreateEnvironmentPayload) *NullableCreateEnvironmentPayload
func (NullableCreateEnvironmentPayload) Get ¶
func (v NullableCreateEnvironmentPayload) Get() *CreateEnvironmentPayload
func (NullableCreateEnvironmentPayload) IsSet ¶
func (v NullableCreateEnvironmentPayload) IsSet() bool
func (NullableCreateEnvironmentPayload) MarshalJSON ¶
func (v NullableCreateEnvironmentPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateEnvironmentPayload) Set ¶
func (v *NullableCreateEnvironmentPayload) Set(val *CreateEnvironmentPayload)
func (*NullableCreateEnvironmentPayload) UnmarshalJSON ¶
func (v *NullableCreateEnvironmentPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateEnvironmentPayload) Unset ¶
func (v *NullableCreateEnvironmentPayload) Unset()
type NullableCurrentStatus ¶
type NullableCurrentStatus struct {
// contains filtered or unexported fields
}
func NewNullableCurrentStatus ¶
func NewNullableCurrentStatus(val *CurrentStatus) *NullableCurrentStatus
func (NullableCurrentStatus) Get ¶
func (v NullableCurrentStatus) Get() *CurrentStatus
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 (v NullableCustomRuleParameter) Get() *CustomRuleParameter
func (NullableCustomRuleParameter) IsSet ¶
func (v NullableCustomRuleParameter) IsSet() bool
func (NullableCustomRuleParameter) MarshalJSON ¶
func (v NullableCustomRuleParameter) MarshalJSON() ([]byte, error)
func (*NullableCustomRuleParameter) Set ¶
func (v *NullableCustomRuleParameter) Set(val *CustomRuleParameter)
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 NewNullableCustomRuleSecretMapping ¶
func NewNullableCustomRuleSecretMapping(val *CustomRuleSecretMapping) *NullableCustomRuleSecretMapping
func (NullableCustomRuleSecretMapping) Get ¶
func (v NullableCustomRuleSecretMapping) Get() *CustomRuleSecretMapping
func (NullableCustomRuleSecretMapping) IsSet ¶
func (v NullableCustomRuleSecretMapping) IsSet() bool
func (NullableCustomRuleSecretMapping) MarshalJSON ¶
func (v NullableCustomRuleSecretMapping) MarshalJSON() ([]byte, error)
func (*NullableCustomRuleSecretMapping) Set ¶
func (v *NullableCustomRuleSecretMapping) Set(val *CustomRuleSecretMapping)
func (*NullableCustomRuleSecretMapping) UnmarshalJSON ¶
func (v *NullableCustomRuleSecretMapping) UnmarshalJSON(src []byte) error
func (*NullableCustomRuleSecretMapping) Unset ¶
func (v *NullableCustomRuleSecretMapping) Unset()
type NullableCustomScaleRule ¶
type NullableCustomScaleRule struct {
// contains filtered or unexported fields
}
func NewNullableCustomScaleRule ¶
func NewNullableCustomScaleRule(val *CustomScaleRule) *NullableCustomScaleRule
func (NullableCustomScaleRule) Get ¶
func (v NullableCustomScaleRule) Get() *CustomScaleRule
func (NullableCustomScaleRule) IsSet ¶
func (v NullableCustomScaleRule) IsSet() bool
func (NullableCustomScaleRule) MarshalJSON ¶
func (v NullableCustomScaleRule) MarshalJSON() ([]byte, error)
func (*NullableCustomScaleRule) Set ¶
func (v *NullableCustomScaleRule) Set(val *CustomScaleRule)
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 (v NullableEnvironment) Get() *Environment
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 (v NullableEnvironmentSummary) Get() *EnvironmentSummary
func (NullableEnvironmentSummary) IsSet ¶
func (v NullableEnvironmentSummary) IsSet() bool
func (NullableEnvironmentSummary) MarshalJSON ¶
func (v NullableEnvironmentSummary) MarshalJSON() ([]byte, error)
func (*NullableEnvironmentSummary) Set ¶
func (v *NullableEnvironmentSummary) Set(val *EnvironmentSummary)
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 NewNullableGetApplicationEventsResponse ¶
func NewNullableGetApplicationEventsResponse(val *GetApplicationEventsResponse) *NullableGetApplicationEventsResponse
func (NullableGetApplicationEventsResponse) Get ¶
func (v NullableGetApplicationEventsResponse) Get() *GetApplicationEventsResponse
func (NullableGetApplicationEventsResponse) IsSet ¶
func (v NullableGetApplicationEventsResponse) IsSet() bool
func (NullableGetApplicationEventsResponse) MarshalJSON ¶
func (v NullableGetApplicationEventsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetApplicationEventsResponse) Set ¶
func (v *NullableGetApplicationEventsResponse) Set(val *GetApplicationEventsResponse)
func (*NullableGetApplicationEventsResponse) UnmarshalJSON ¶
func (v *NullableGetApplicationEventsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetApplicationEventsResponse) Unset ¶
func (v *NullableGetApplicationEventsResponse) Unset()
type NullableGetApplicationLogsResponse ¶
type NullableGetApplicationLogsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetApplicationLogsResponse ¶
func NewNullableGetApplicationLogsResponse(val *GetApplicationLogsResponse) *NullableGetApplicationLogsResponse
func (NullableGetApplicationLogsResponse) Get ¶
func (v NullableGetApplicationLogsResponse) Get() *GetApplicationLogsResponse
func (NullableGetApplicationLogsResponse) IsSet ¶
func (v NullableGetApplicationLogsResponse) IsSet() bool
func (NullableGetApplicationLogsResponse) MarshalJSON ¶
func (v NullableGetApplicationLogsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetApplicationLogsResponse) Set ¶
func (v *NullableGetApplicationLogsResponse) Set(val *GetApplicationLogsResponse)
func (*NullableGetApplicationLogsResponse) UnmarshalJSON ¶
func (v *NullableGetApplicationLogsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetApplicationLogsResponse) Unset ¶
func (v *NullableGetApplicationLogsResponse) Unset()
type NullableGetOverviewResponse ¶
type NullableGetOverviewResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetOverviewResponse ¶
func NewNullableGetOverviewResponse(val *GetOverviewResponse) *NullableGetOverviewResponse
func (NullableGetOverviewResponse) Get ¶
func (v NullableGetOverviewResponse) Get() *GetOverviewResponse
func (NullableGetOverviewResponse) IsSet ¶
func (v NullableGetOverviewResponse) IsSet() bool
func (NullableGetOverviewResponse) MarshalJSON ¶
func (v NullableGetOverviewResponse) MarshalJSON() ([]byte, error)
func (*NullableGetOverviewResponse) Set ¶
func (v *NullableGetOverviewResponse) Set(val *GetOverviewResponse)
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 (v NullableHttpScaleRule) Get() *HttpScaleRule
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 (v NullableInstanceStatus) Get() *InstanceStatus
func (NullableInstanceStatus) IsSet ¶
func (v NullableInstanceStatus) IsSet() bool
func (NullableInstanceStatus) MarshalJSON ¶
func (v NullableInstanceStatus) MarshalJSON() ([]byte, error)
func (*NullableInstanceStatus) Set ¶
func (v *NullableInstanceStatus) Set(val *InstanceStatus)
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 NewNullableListApplicationsResponse ¶
func NewNullableListApplicationsResponse(val *ListApplicationsResponse) *NullableListApplicationsResponse
func (NullableListApplicationsResponse) Get ¶
func (v NullableListApplicationsResponse) Get() *ListApplicationsResponse
func (NullableListApplicationsResponse) IsSet ¶
func (v NullableListApplicationsResponse) IsSet() bool
func (NullableListApplicationsResponse) MarshalJSON ¶
func (v NullableListApplicationsResponse) MarshalJSON() ([]byte, error)
func (*NullableListApplicationsResponse) Set ¶
func (v *NullableListApplicationsResponse) Set(val *ListApplicationsResponse)
func (*NullableListApplicationsResponse) UnmarshalJSON ¶
func (v *NullableListApplicationsResponse) UnmarshalJSON(src []byte) error
func (*NullableListApplicationsResponse) Unset ¶
func (v *NullableListApplicationsResponse) Unset()
type NullableListEnvironmentsResponse ¶
type NullableListEnvironmentsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListEnvironmentsResponse ¶
func NewNullableListEnvironmentsResponse(val *ListEnvironmentsResponse) *NullableListEnvironmentsResponse
func (NullableListEnvironmentsResponse) Get ¶
func (v NullableListEnvironmentsResponse) Get() *ListEnvironmentsResponse
func (NullableListEnvironmentsResponse) IsSet ¶
func (v NullableListEnvironmentsResponse) IsSet() bool
func (NullableListEnvironmentsResponse) MarshalJSON ¶
func (v NullableListEnvironmentsResponse) MarshalJSON() ([]byte, error)
func (*NullableListEnvironmentsResponse) Set ¶
func (v *NullableListEnvironmentsResponse) Set(val *ListEnvironmentsResponse)
func (*NullableListEnvironmentsResponse) UnmarshalJSON ¶
func (v *NullableListEnvironmentsResponse) UnmarshalJSON(src []byte) error
func (*NullableListEnvironmentsResponse) Unset ¶
func (v *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 (v NullableManualScaling) Get() *ManualScaling
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 (v NullableRuntimeStatus) Get() *RuntimeStatus
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 (v NullableScalingType) Get() *ScalingType
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 NewNullableUpdateApplicationPayload ¶
func NewNullableUpdateApplicationPayload(val *UpdateApplicationPayload) *NullableUpdateApplicationPayload
func (NullableUpdateApplicationPayload) Get ¶
func (v NullableUpdateApplicationPayload) Get() *UpdateApplicationPayload
func (NullableUpdateApplicationPayload) IsSet ¶
func (v NullableUpdateApplicationPayload) IsSet() bool
func (NullableUpdateApplicationPayload) MarshalJSON ¶
func (v NullableUpdateApplicationPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateApplicationPayload) Set ¶
func (v *NullableUpdateApplicationPayload) Set(val *UpdateApplicationPayload)
func (*NullableUpdateApplicationPayload) UnmarshalJSON ¶
func (v *NullableUpdateApplicationPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateApplicationPayload) Unset ¶
func (v *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 ¶
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) UnmarshalJSON ¶
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 ¶
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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ScaleRule) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ScaleRule) HasCustomRule ¶
HasCustomRule returns a boolean if a field has been set.
func (*ScaleRule) HasHttpRule ¶
HasHttpRule returns a boolean if a field has been set.
func (ScaleRule) MarshalJSON ¶
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) UnmarshalJSON ¶
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 ¶
HasAutoScaling returns a boolean if a field has been set.
func (*Scaling) HasManualScaling ¶
HasManualScaling returns a boolean if a field has been set.
func (Scaling) MarshalJSON ¶
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) UnmarshalJSON ¶
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 ¶
GetApplicationsRunning returns the ApplicationsRunning field value if set, zero value otherwise.
func (*Summary) GetApplicationsRunningOk ¶
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 ¶
GetApplicationsTotal returns the ApplicationsTotal field value if set, zero value otherwise.
func (*Summary) GetApplicationsTotalOk ¶
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 ¶
HasApplicationsRunning returns a boolean if a field has been set.
func (*Summary) HasApplicationsTotal ¶
HasApplicationsTotal returns a boolean if a field has been set.
func (Summary) MarshalJSON ¶
func (*Summary) SetApplicationsRunning ¶
SetApplicationsRunning gets a reference to the given int32 and assigns it to the ApplicationsRunning field.
func (*Summary) SetApplicationsTotal ¶
SetApplicationsTotal gets a reference to the given int32 and assigns it to the ApplicationsTotal field.
func (*Summary) UnmarshalJSON ¶
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)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_api_error_response.go
- model_application.go
- model_application_registry.go
- model_application_registry_auth_type.go
- model_application_registry_credentials_auth.go
- model_application_secret.go
- model_application_summary.go
- model_auto_scaling.go
- model_container.go
- model_create_application_payload.go
- model_create_environment_payload.go
- model_current_status.go
- model_custom_rule_parameter.go
- model_custom_rule_secret_mapping.go
- model_custom_scale_rule.go
- model_env_var.go
- model_env_var_type.go
- model_environment.go
- model_environment_summary.go
- model_event.go
- model_get_application_events_response.go
- model_get_application_logs_response.go
- model_get_overview_response.go
- model_http_scale_rule.go
- model_instance.go
- model_instance_status.go
- model_list_applications_response.go
- model_list_environments_response.go
- model_log.go
- model_manual_scaling.go
- model_network.go
- model_rule_type.go
- model_runtime_status.go
- model_scale_rule.go
- model_scaling.go
- model_scaling_type.go
- model_summary.go
- model_update_application_payload.go
- response.go
- utils.go