Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdditionalInstanceInfo
- func (o *AdditionalInstanceInfo) GetLabel() string
- func (o *AdditionalInstanceInfo) GetLabelOk() (*string, bool)
- func (o *AdditionalInstanceInfo) GetValue() string
- func (o *AdditionalInstanceInfo) GetValueOk() (*string, bool)
- func (o *AdditionalInstanceInfo) HasLabel() bool
- func (o *AdditionalInstanceInfo) HasValue() bool
- func (o AdditionalInstanceInfo) MarshalJSON() ([]byte, error)
- func (o *AdditionalInstanceInfo) SetLabel(v string)
- func (o *AdditionalInstanceInfo) SetValue(v string)
- func (o AdditionalInstanceInfo) ToMap() (map[string]interface{}, error)
- type ApiBindAppRequest
- func (r ApiBindAppRequest) AppHost(appHost string) ApiBindAppRequest
- func (r ApiBindAppRequest) AppHosts(appHosts []string) ApiBindAppRequest
- func (r ApiBindAppRequest) AppInternalHosts(appInternalHosts []string) ApiBindAppRequest
- func (r ApiBindAppRequest) AppName(appName string) ApiBindAppRequest
- func (r ApiBindAppRequest) Eventid(eventid string) ApiBindAppRequest
- func (r ApiBindAppRequest) Execute() (*http.Response, error)
- func (r ApiBindAppRequest) User(user string) ApiBindAppRequest
- type ApiBindInstanceRequest
- type ApiCreateAutoscaleRequest
- type ApiCreateInstanceRequest
- type ApiDeleteInstanceRequest
- type ApiGetAutoscaleRequest
- type ApiGetInstanceInfoRequest
- type ApiGetInstanceRequest
- type ApiHealthcheckRequest
- type ApiListFlavorsByInstanceRequest
- type ApiListFlavorsRequest
- type ApiListPlansByInstanceRequest
- type ApiListPlansRequest
- type ApiPurgeBulkCacheRequest
- type ApiPurgeCacheRequest
- type ApiRemoveAutoscaleRequest
- type ApiResourcesInstanceStatusGetRequest
- type ApiUnbindInstanceRequest
- type ApiUpdateAutoscaleRequest
- type ApiUpdateInstanceRequest
- func (r ApiUpdateInstanceRequest) Description(description string) ApiUpdateInstanceRequest
- func (r ApiUpdateInstanceRequest) Execute() (*http.Response, error)
- func (r ApiUpdateInstanceRequest) Parameters(parameters CreateInstanceParameters) ApiUpdateInstanceRequest
- func (r ApiUpdateInstanceRequest) Tags(tags []string) ApiUpdateInstanceRequest
- func (r ApiUpdateInstanceRequest) Team(team string) ApiUpdateInstanceRequest
- type Autoscale
- func (o *Autoscale) GetCpu() int32
- func (o *Autoscale) GetCpuOk() (*int32, bool)
- func (o *Autoscale) GetMaxReplicas() int32
- func (o *Autoscale) GetMaxReplicasOk() (*int32, bool)
- func (o *Autoscale) GetMemory() int32
- func (o *Autoscale) GetMemoryOk() (*int32, bool)
- func (o *Autoscale) GetMinReplicas() int32
- func (o *Autoscale) GetMinReplicasOk() (*int32, bool)
- func (o *Autoscale) GetRps() int32
- func (o *Autoscale) GetRpsOk() (*int32, bool)
- func (o *Autoscale) GetSchedules() []ScheduledWindow
- func (o *Autoscale) GetSchedulesOk() ([]ScheduledWindow, bool)
- func (o *Autoscale) HasCpu() bool
- func (o *Autoscale) HasMemory() bool
- func (o *Autoscale) HasRps() bool
- func (o *Autoscale) HasSchedules() bool
- func (o Autoscale) MarshalJSON() ([]byte, error)
- func (o *Autoscale) SetCpu(v int32)
- func (o *Autoscale) SetMaxReplicas(v int32)
- func (o *Autoscale) SetMemory(v int32)
- func (o *Autoscale) SetMinReplicas(v int32)
- func (o *Autoscale) SetRps(v int32)
- func (o *Autoscale) SetSchedules(v []ScheduledWindow)
- func (o Autoscale) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type Block
- func (o *Block) GetBlockName() string
- func (o *Block) GetBlockNameOk() (*string, bool)
- func (o *Block) GetContent() string
- func (o *Block) GetContentOk() (*string, bool)
- func (o *Block) HasBlockName() bool
- func (o *Block) HasContent() bool
- func (o Block) MarshalJSON() ([]byte, error)
- func (o *Block) SetBlockName(v string)
- func (o *Block) SetContent(v string)
- func (o Block) ToMap() (map[string]interface{}, error)
- type CertificateInfo
- func (o *CertificateInfo) GetDnsNames() []string
- func (o *CertificateInfo) GetDnsNamesOk() ([]string, bool)
- func (o *CertificateInfo) GetName() string
- func (o *CertificateInfo) GetNameOk() (*string, bool)
- func (o *CertificateInfo) GetPublicKeyAlgorithm() string
- func (o *CertificateInfo) GetPublicKeyAlgorithmOk() (*string, bool)
- func (o *CertificateInfo) GetPublicKeyBitSize() float32
- func (o *CertificateInfo) GetPublicKeyBitSizeOk() (*float32, bool)
- func (o *CertificateInfo) GetValidFrom() time.Time
- func (o *CertificateInfo) GetValidFromOk() (*time.Time, bool)
- func (o *CertificateInfo) GetValidUntil() time.Time
- func (o *CertificateInfo) GetValidUntilOk() (*time.Time, bool)
- func (o *CertificateInfo) HasDnsNames() bool
- func (o *CertificateInfo) HasName() bool
- func (o *CertificateInfo) HasPublicKeyAlgorithm() bool
- func (o *CertificateInfo) HasPublicKeyBitSize() bool
- func (o *CertificateInfo) HasValidFrom() bool
- func (o *CertificateInfo) HasValidUntil() bool
- func (o CertificateInfo) MarshalJSON() ([]byte, error)
- func (o *CertificateInfo) SetDnsNames(v []string)
- func (o *CertificateInfo) SetName(v string)
- func (o *CertificateInfo) SetPublicKeyAlgorithm(v string)
- func (o *CertificateInfo) SetPublicKeyBitSize(v float32)
- func (o *CertificateInfo) SetValidFrom(v time.Time)
- func (o *CertificateInfo) SetValidUntil(v time.Time)
- func (o CertificateInfo) ToMap() (map[string]interface{}, error)
- type Configuration
- type CreateInstance
- func (o *CreateInstance) GetDescription() string
- func (o *CreateInstance) GetDescriptionOk() (*string, bool)
- func (o *CreateInstance) GetName() string
- func (o *CreateInstance) GetNameOk() (*string, bool)
- func (o *CreateInstance) GetParameters() CreateInstanceParameters
- func (o *CreateInstance) GetParametersOk() (*CreateInstanceParameters, bool)
- func (o *CreateInstance) GetPlan() string
- func (o *CreateInstance) GetPlanOk() (*string, bool)
- func (o *CreateInstance) GetTags() []string
- func (o *CreateInstance) GetTagsOk() ([]string, bool)
- func (o *CreateInstance) GetTeam() string
- func (o *CreateInstance) GetTeamOk() (*string, bool)
- func (o *CreateInstance) HasDescription() bool
- func (o *CreateInstance) HasParameters() bool
- func (o *CreateInstance) HasTags() bool
- func (o CreateInstance) MarshalJSON() ([]byte, error)
- func (o *CreateInstance) SetDescription(v string)
- func (o *CreateInstance) SetName(v string)
- func (o *CreateInstance) SetParameters(v CreateInstanceParameters)
- func (o *CreateInstance) SetPlan(v string)
- func (o *CreateInstance) SetTags(v []string)
- func (o *CreateInstance) SetTeam(v string)
- func (o CreateInstance) ToMap() (map[string]interface{}, error)
- type CreateInstanceParameters
- func (o *CreateInstanceParameters) GetFlavors() string
- func (o *CreateInstanceParameters) GetFlavorsOk() (*string, bool)
- func (o *CreateInstanceParameters) GetIp() string
- func (o *CreateInstanceParameters) GetIpOk() (*string, bool)
- func (o *CreateInstanceParameters) GetLbName() string
- func (o *CreateInstanceParameters) GetLbNameOk() (*string, bool)
- func (o *CreateInstanceParameters) GetPlanOverride() string
- func (o *CreateInstanceParameters) GetPlanOverrideOk() (*string, bool)
- func (o *CreateInstanceParameters) HasFlavors() bool
- func (o *CreateInstanceParameters) HasIp() bool
- func (o *CreateInstanceParameters) HasLbName() bool
- func (o *CreateInstanceParameters) HasPlanOverride() bool
- func (o CreateInstanceParameters) MarshalJSON() ([]byte, error)
- func (o *CreateInstanceParameters) SetFlavors(v string)
- func (o *CreateInstanceParameters) SetIp(v string)
- func (o *CreateInstanceParameters) SetLbName(v string)
- func (o *CreateInstanceParameters) SetPlanOverride(v string)
- func (o CreateInstanceParameters) ToMap() (map[string]interface{}, error)
- type Error
- type Flavor
- func (o *Flavor) GetDescription() string
- func (o *Flavor) GetDescriptionOk() (*string, bool)
- func (o *Flavor) GetName() string
- func (o *Flavor) GetNameOk() (*string, bool)
- func (o *Flavor) HasDescription() bool
- func (o *Flavor) HasName() bool
- func (o Flavor) MarshalJSON() ([]byte, error)
- func (o *Flavor) SetDescription(v string)
- func (o *Flavor) SetName(v string)
- func (o Flavor) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type InstanceInfo
- func (o *InstanceInfo) GetAutoscale() Autoscale
- func (o *InstanceInfo) GetAutoscaleOk() (*Autoscale, bool)
- func (o *InstanceInfo) GetBlocks() []Block
- func (o *InstanceInfo) GetBlocksOk() ([]Block, bool)
- func (o *InstanceInfo) GetCertificates() []CertificateInfo
- func (o *InstanceInfo) GetCertificatesOk() ([]CertificateInfo, bool)
- func (o *InstanceInfo) GetDescription() string
- func (o *InstanceInfo) GetDescriptionOk() (*string, bool)
- func (o *InstanceInfo) GetFlavors() []string
- func (o *InstanceInfo) GetFlavorsOk() ([]string, bool)
- func (o *InstanceInfo) GetName() string
- func (o *InstanceInfo) GetNameOk() (*string, bool)
- func (o *InstanceInfo) GetPlan() string
- func (o *InstanceInfo) GetPlanOk() (*string, bool)
- func (o *InstanceInfo) GetPods() []PodInfo
- func (o *InstanceInfo) GetPodsOk() ([]PodInfo, bool)
- func (o *InstanceInfo) GetReplicas() float32
- func (o *InstanceInfo) GetReplicasOk() (*float32, bool)
- func (o *InstanceInfo) GetRoutes() []Route
- func (o *InstanceInfo) GetRoutesOk() ([]Route, bool)
- func (o *InstanceInfo) GetTags() []string
- func (o *InstanceInfo) GetTagsOk() ([]string, bool)
- func (o *InstanceInfo) GetTeam() string
- func (o *InstanceInfo) GetTeamOk() (*string, bool)
- func (o *InstanceInfo) HasAutoscale() bool
- func (o *InstanceInfo) HasBlocks() bool
- func (o *InstanceInfo) HasCertificates() bool
- func (o *InstanceInfo) HasDescription() bool
- func (o *InstanceInfo) HasFlavors() bool
- func (o *InstanceInfo) HasName() bool
- func (o *InstanceInfo) HasPlan() bool
- func (o *InstanceInfo) HasPods() bool
- func (o *InstanceInfo) HasReplicas() bool
- func (o *InstanceInfo) HasRoutes() bool
- func (o *InstanceInfo) HasTags() bool
- func (o *InstanceInfo) HasTeam() bool
- func (o InstanceInfo) MarshalJSON() ([]byte, error)
- func (o *InstanceInfo) SetAutoscale(v Autoscale)
- func (o *InstanceInfo) SetBlocks(v []Block)
- func (o *InstanceInfo) SetCertificates(v []CertificateInfo)
- func (o *InstanceInfo) SetDescription(v string)
- func (o *InstanceInfo) SetFlavors(v []string)
- func (o *InstanceInfo) SetName(v string)
- func (o *InstanceInfo) SetPlan(v string)
- func (o *InstanceInfo) SetPods(v []PodInfo)
- func (o *InstanceInfo) SetReplicas(v float32)
- func (o *InstanceInfo) SetRoutes(v []Route)
- func (o *InstanceInfo) SetTags(v []string)
- func (o *InstanceInfo) SetTeam(v string)
- func (o InstanceInfo) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableAdditionalInstanceInfo
- func (v NullableAdditionalInstanceInfo) Get() *AdditionalInstanceInfo
- func (v NullableAdditionalInstanceInfo) IsSet() bool
- func (v NullableAdditionalInstanceInfo) MarshalJSON() ([]byte, error)
- func (v *NullableAdditionalInstanceInfo) Set(val *AdditionalInstanceInfo)
- func (v *NullableAdditionalInstanceInfo) UnmarshalJSON(src []byte) error
- func (v *NullableAdditionalInstanceInfo) Unset()
- type NullableAutoscale
- type NullableBlock
- type NullableBool
- type NullableCertificateInfo
- func (v NullableCertificateInfo) Get() *CertificateInfo
- func (v NullableCertificateInfo) IsSet() bool
- func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCertificateInfo) Set(val *CertificateInfo)
- func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCertificateInfo) Unset()
- type NullableCreateInstance
- func (v NullableCreateInstance) Get() *CreateInstance
- func (v NullableCreateInstance) IsSet() bool
- func (v NullableCreateInstance) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstance) Set(val *CreateInstance)
- func (v *NullableCreateInstance) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstance) Unset()
- type NullableCreateInstanceParameters
- func (v NullableCreateInstanceParameters) Get() *CreateInstanceParameters
- func (v NullableCreateInstanceParameters) IsSet() bool
- func (v NullableCreateInstanceParameters) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstanceParameters) Set(val *CreateInstanceParameters)
- func (v *NullableCreateInstanceParameters) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstanceParameters) Unset()
- type NullableError
- type NullableFlavor
- type NullableFloat32
- type NullableFloat64
- type NullableInstanceInfo
- func (v NullableInstanceInfo) Get() *InstanceInfo
- func (v NullableInstanceInfo) IsSet() bool
- func (v NullableInstanceInfo) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceInfo) Set(val *InstanceInfo)
- func (v *NullableInstanceInfo) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceInfo) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePlan
- type NullablePlanSchemas
- func (v NullablePlanSchemas) Get() *PlanSchemas
- func (v NullablePlanSchemas) IsSet() bool
- func (v NullablePlanSchemas) MarshalJSON() ([]byte, error)
- func (v *NullablePlanSchemas) Set(val *PlanSchemas)
- func (v *NullablePlanSchemas) UnmarshalJSON(src []byte) error
- func (v *NullablePlanSchemas) Unset()
- type NullablePlanSchemasServiceBinding
- func (v NullablePlanSchemasServiceBinding) Get() *PlanSchemasServiceBinding
- func (v NullablePlanSchemasServiceBinding) IsSet() bool
- func (v NullablePlanSchemasServiceBinding) MarshalJSON() ([]byte, error)
- func (v *NullablePlanSchemasServiceBinding) Set(val *PlanSchemasServiceBinding)
- func (v *NullablePlanSchemasServiceBinding) UnmarshalJSON(src []byte) error
- func (v *NullablePlanSchemasServiceBinding) Unset()
- type NullablePlanSchemasServiceBindingCreate
- func (v NullablePlanSchemasServiceBindingCreate) Get() *PlanSchemasServiceBindingCreate
- func (v NullablePlanSchemasServiceBindingCreate) IsSet() bool
- func (v NullablePlanSchemasServiceBindingCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePlanSchemasServiceBindingCreate) Set(val *PlanSchemasServiceBindingCreate)
- func (v *NullablePlanSchemasServiceBindingCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePlanSchemasServiceBindingCreate) Unset()
- type NullablePlanSchemasServiceInstance
- func (v NullablePlanSchemasServiceInstance) Get() *PlanSchemasServiceInstance
- func (v NullablePlanSchemasServiceInstance) IsSet() bool
- func (v NullablePlanSchemasServiceInstance) MarshalJSON() ([]byte, error)
- func (v *NullablePlanSchemasServiceInstance) Set(val *PlanSchemasServiceInstance)
- func (v *NullablePlanSchemasServiceInstance) UnmarshalJSON(src []byte) error
- func (v *NullablePlanSchemasServiceInstance) Unset()
- type NullablePlanSchemasServiceInstanceCreate
- func (v NullablePlanSchemasServiceInstanceCreate) Get() *PlanSchemasServiceInstanceCreate
- func (v NullablePlanSchemasServiceInstanceCreate) IsSet() bool
- func (v NullablePlanSchemasServiceInstanceCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePlanSchemasServiceInstanceCreate) Set(val *PlanSchemasServiceInstanceCreate)
- func (v *NullablePlanSchemasServiceInstanceCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePlanSchemasServiceInstanceCreate) Unset()
- type NullablePodInfo
- type NullablePodPortInfo
- func (v NullablePodPortInfo) Get() *PodPortInfo
- func (v NullablePodPortInfo) IsSet() bool
- func (v NullablePodPortInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePodPortInfo) Set(val *PodPortInfo)
- func (v *NullablePodPortInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePodPortInfo) Unset()
- type NullablePurge
- type NullablePurgeBulkResponse
- func (v NullablePurgeBulkResponse) Get() *PurgeBulkResponse
- func (v NullablePurgeBulkResponse) IsSet() bool
- func (v NullablePurgeBulkResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePurgeBulkResponse) Set(val *PurgeBulkResponse)
- func (v *NullablePurgeBulkResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePurgeBulkResponse) Unset()
- type NullableRoute
- type NullableScheduledWindow
- func (v NullableScheduledWindow) Get() *ScheduledWindow
- func (v NullableScheduledWindow) IsSet() bool
- func (v NullableScheduledWindow) MarshalJSON() ([]byte, error)
- func (v *NullableScheduledWindow) Set(val *ScheduledWindow)
- func (v *NullableScheduledWindow) UnmarshalJSON(src []byte) error
- func (v *NullableScheduledWindow) Unset()
- type NullableString
- type NullableTime
- type Plan
- func (o *Plan) GetDescription() string
- func (o *Plan) GetDescriptionOk() (*string, bool)
- func (o *Plan) GetName() string
- func (o *Plan) GetNameOk() (*string, bool)
- func (o *Plan) GetSchemas() PlanSchemas
- func (o *Plan) GetSchemasOk() (*PlanSchemas, bool)
- func (o *Plan) HasDescription() bool
- func (o *Plan) HasName() bool
- func (o *Plan) HasSchemas() bool
- func (o Plan) MarshalJSON() ([]byte, error)
- func (o *Plan) SetDescription(v string)
- func (o *Plan) SetName(v string)
- func (o *Plan) SetSchemas(v PlanSchemas)
- func (o Plan) ToMap() (map[string]interface{}, error)
- type PlanSchemas
- func (o *PlanSchemas) GetServiceBinding() PlanSchemasServiceBinding
- func (o *PlanSchemas) GetServiceBindingOk() (*PlanSchemasServiceBinding, bool)
- func (o *PlanSchemas) GetServiceInstance() PlanSchemasServiceInstance
- func (o *PlanSchemas) GetServiceInstanceOk() (*PlanSchemasServiceInstance, bool)
- func (o *PlanSchemas) HasServiceBinding() bool
- func (o *PlanSchemas) HasServiceInstance() bool
- func (o PlanSchemas) MarshalJSON() ([]byte, error)
- func (o *PlanSchemas) SetServiceBinding(v PlanSchemasServiceBinding)
- func (o *PlanSchemas) SetServiceInstance(v PlanSchemasServiceInstance)
- func (o PlanSchemas) ToMap() (map[string]interface{}, error)
- type PlanSchemasServiceBinding
- func (o *PlanSchemasServiceBinding) GetCreate() PlanSchemasServiceBindingCreate
- func (o *PlanSchemasServiceBinding) GetCreateOk() (*PlanSchemasServiceBindingCreate, bool)
- func (o *PlanSchemasServiceBinding) HasCreate() bool
- func (o PlanSchemasServiceBinding) MarshalJSON() ([]byte, error)
- func (o *PlanSchemasServiceBinding) SetCreate(v PlanSchemasServiceBindingCreate)
- func (o PlanSchemasServiceBinding) ToMap() (map[string]interface{}, error)
- type PlanSchemasServiceBindingCreate
- func (o *PlanSchemasServiceBindingCreate) GetProperties() map[string]interface{}
- func (o *PlanSchemasServiceBindingCreate) GetPropertiesOk() (map[string]interface{}, bool)
- func (o *PlanSchemasServiceBindingCreate) GetResponse() map[string]interface{}
- func (o *PlanSchemasServiceBindingCreate) GetResponseOk() (map[string]interface{}, bool)
- func (o *PlanSchemasServiceBindingCreate) HasProperties() bool
- func (o *PlanSchemasServiceBindingCreate) HasResponse() bool
- func (o PlanSchemasServiceBindingCreate) MarshalJSON() ([]byte, error)
- func (o *PlanSchemasServiceBindingCreate) SetProperties(v map[string]interface{})
- func (o *PlanSchemasServiceBindingCreate) SetResponse(v map[string]interface{})
- func (o PlanSchemasServiceBindingCreate) ToMap() (map[string]interface{}, error)
- type PlanSchemasServiceInstance
- func (o *PlanSchemasServiceInstance) GetCreate() PlanSchemasServiceInstanceCreate
- func (o *PlanSchemasServiceInstance) GetCreateOk() (*PlanSchemasServiceInstanceCreate, bool)
- func (o *PlanSchemasServiceInstance) GetUpdate() PlanSchemasServiceInstanceCreate
- func (o *PlanSchemasServiceInstance) GetUpdateOk() (*PlanSchemasServiceInstanceCreate, bool)
- func (o *PlanSchemasServiceInstance) HasCreate() bool
- func (o *PlanSchemasServiceInstance) HasUpdate() bool
- func (o PlanSchemasServiceInstance) MarshalJSON() ([]byte, error)
- func (o *PlanSchemasServiceInstance) SetCreate(v PlanSchemasServiceInstanceCreate)
- func (o *PlanSchemasServiceInstance) SetUpdate(v PlanSchemasServiceInstanceCreate)
- func (o PlanSchemasServiceInstance) ToMap() (map[string]interface{}, error)
- type PlanSchemasServiceInstanceCreate
- func (o *PlanSchemasServiceInstanceCreate) GetProperties() map[string]interface{}
- func (o *PlanSchemasServiceInstanceCreate) GetPropertiesOk() (map[string]interface{}, bool)
- func (o *PlanSchemasServiceInstanceCreate) HasProperties() bool
- func (o PlanSchemasServiceInstanceCreate) MarshalJSON() ([]byte, error)
- func (o *PlanSchemasServiceInstanceCreate) SetProperties(v map[string]interface{})
- func (o PlanSchemasServiceInstanceCreate) ToMap() (map[string]interface{}, error)
- type PodInfo
- func (o *PodInfo) GetCreatedAt() time.Time
- func (o *PodInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *PodInfo) GetHost() string
- func (o *PodInfo) GetHostOk() (*string, bool)
- func (o *PodInfo) GetIp() string
- func (o *PodInfo) GetIpOk() (*string, bool)
- func (o *PodInfo) GetName() string
- func (o *PodInfo) GetNameOk() (*string, bool)
- func (o *PodInfo) GetPorts() []PodPortInfo
- func (o *PodInfo) GetPortsOk() ([]PodPortInfo, bool)
- func (o *PodInfo) HasCreatedAt() bool
- func (o *PodInfo) HasHost() bool
- func (o *PodInfo) HasIp() bool
- func (o *PodInfo) HasName() bool
- func (o *PodInfo) HasPorts() bool
- func (o PodInfo) MarshalJSON() ([]byte, error)
- func (o *PodInfo) SetCreatedAt(v time.Time)
- func (o *PodInfo) SetHost(v string)
- func (o *PodInfo) SetIp(v string)
- func (o *PodInfo) SetName(v string)
- func (o *PodInfo) SetPorts(v []PodPortInfo)
- func (o PodInfo) ToMap() (map[string]interface{}, error)
- type PodPortInfo
- func (o *PodPortInfo) GetContainerPort() float32
- func (o *PodPortInfo) GetContainerPortOk() (*float32, bool)
- func (o *PodPortInfo) GetHostIP() string
- func (o *PodPortInfo) GetHostIPOk() (*string, bool)
- func (o *PodPortInfo) GetHostPort() float32
- func (o *PodPortInfo) GetHostPortOk() (*float32, bool)
- func (o *PodPortInfo) GetName() string
- func (o *PodPortInfo) GetNameOk() (*string, bool)
- func (o *PodPortInfo) GetProtocol() string
- func (o *PodPortInfo) GetProtocolOk() (*string, bool)
- func (o *PodPortInfo) HasContainerPort() bool
- func (o *PodPortInfo) HasHostIP() bool
- func (o *PodPortInfo) HasHostPort() bool
- func (o *PodPortInfo) HasName() bool
- func (o *PodPortInfo) HasProtocol() bool
- func (o PodPortInfo) MarshalJSON() ([]byte, error)
- func (o *PodPortInfo) SetContainerPort(v float32)
- func (o *PodPortInfo) SetHostIP(v string)
- func (o *PodPortInfo) SetHostPort(v float32)
- func (o *PodPortInfo) SetName(v string)
- func (o *PodPortInfo) SetProtocol(v string)
- func (o PodPortInfo) ToMap() (map[string]interface{}, error)
- type Purge
- func (o *Purge) GetExtraHeaders() string
- func (o *Purge) GetExtraHeadersOk() (*string, bool)
- func (o *Purge) GetPath() string
- func (o *Purge) GetPathOk() (*string, bool)
- func (o *Purge) GetPreservePath() bool
- func (o *Purge) GetPreservePathOk() (*bool, bool)
- func (o *Purge) HasExtraHeaders() bool
- func (o *Purge) HasPath() bool
- func (o *Purge) HasPreservePath() bool
- func (o Purge) MarshalJSON() ([]byte, error)
- func (o *Purge) SetExtraHeaders(v string)
- func (o *Purge) SetPath(v string)
- func (o *Purge) SetPreservePath(v bool)
- func (o Purge) ToMap() (map[string]interface{}, error)
- type PurgeBulkResponse
- func (o *PurgeBulkResponse) GetError() string
- func (o *PurgeBulkResponse) GetErrorOk() (*string, bool)
- func (o *PurgeBulkResponse) GetInstancesPurged() int32
- func (o *PurgeBulkResponse) GetInstancesPurgedOk() (*int32, bool)
- func (o *PurgeBulkResponse) GetPath() string
- func (o *PurgeBulkResponse) GetPathOk() (*string, bool)
- func (o *PurgeBulkResponse) HasError() bool
- func (o *PurgeBulkResponse) HasInstancesPurged() bool
- func (o *PurgeBulkResponse) HasPath() bool
- func (o PurgeBulkResponse) MarshalJSON() ([]byte, error)
- func (o *PurgeBulkResponse) SetError(v string)
- func (o *PurgeBulkResponse) SetInstancesPurged(v int32)
- func (o *PurgeBulkResponse) SetPath(v string)
- func (o PurgeBulkResponse) ToMap() (map[string]interface{}, error)
- type Route
- func (o *Route) GetContent() string
- func (o *Route) GetContentOk() (*string, bool)
- func (o *Route) GetDestination() string
- func (o *Route) GetDestinationOk() (*string, bool)
- func (o *Route) GetHttpsOnly() bool
- func (o *Route) GetHttpsOnlyOk() (*bool, bool)
- func (o *Route) GetPath() string
- func (o *Route) GetPathOk() (*string, bool)
- func (o *Route) HasContent() bool
- func (o *Route) HasDestination() bool
- func (o *Route) HasHttpsOnly() bool
- func (o *Route) HasPath() bool
- func (o Route) MarshalJSON() ([]byte, error)
- func (o *Route) SetContent(v string)
- func (o *Route) SetDestination(v string)
- func (o *Route) SetHttpsOnly(v bool)
- func (o *Route) SetPath(v string)
- func (o Route) ToMap() (map[string]interface{}, error)
- type RpaasApiService
- func (a *RpaasApiService) BindApp(ctx context.Context, instance string) ApiBindAppRequest
- func (a *RpaasApiService) BindAppExecute(r ApiBindAppRequest) (*http.Response, error)
- func (a *RpaasApiService) BindInstance(ctx context.Context, instance string) ApiBindInstanceRequest
- func (a *RpaasApiService) BindInstanceExecute(r ApiBindInstanceRequest) (*http.Response, error)
- func (a *RpaasApiService) CreateAutoscale(ctx context.Context, instance string) ApiCreateAutoscaleRequest
- func (a *RpaasApiService) CreateAutoscaleExecute(r ApiCreateAutoscaleRequest) (*http.Response, error)
- func (a *RpaasApiService) CreateInstance(ctx context.Context) ApiCreateInstanceRequest
- func (a *RpaasApiService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*http.Response, error)
- func (a *RpaasApiService) DeleteInstance(ctx context.Context, instance string) ApiDeleteInstanceRequest
- func (a *RpaasApiService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)
- func (a *RpaasApiService) GetAutoscale(ctx context.Context, instance string) ApiGetAutoscaleRequest
- func (a *RpaasApiService) GetAutoscaleExecute(r ApiGetAutoscaleRequest) (*Autoscale, *http.Response, error)
- func (a *RpaasApiService) GetInstance(ctx context.Context, instance string) ApiGetInstanceRequest
- func (a *RpaasApiService) GetInstanceExecute(r ApiGetInstanceRequest) ([]AdditionalInstanceInfo, *http.Response, error)
- func (a *RpaasApiService) GetInstanceInfo(ctx context.Context, instance string) ApiGetInstanceInfoRequest
- func (a *RpaasApiService) GetInstanceInfoExecute(r ApiGetInstanceInfoRequest) (*InstanceInfo, *http.Response, error)
- func (a *RpaasApiService) Healthcheck(ctx context.Context) ApiHealthcheckRequest
- func (a *RpaasApiService) HealthcheckExecute(r ApiHealthcheckRequest) (string, *http.Response, error)
- func (a *RpaasApiService) ListFlavors(ctx context.Context) ApiListFlavorsRequest
- func (a *RpaasApiService) ListFlavorsByInstance(ctx context.Context, instance string) ApiListFlavorsByInstanceRequest
- func (a *RpaasApiService) ListFlavorsByInstanceExecute(r ApiListFlavorsByInstanceRequest) ([]Flavor, *http.Response, error)
- func (a *RpaasApiService) ListFlavorsExecute(r ApiListFlavorsRequest) ([]Flavor, *http.Response, error)
- func (a *RpaasApiService) ListPlans(ctx context.Context) ApiListPlansRequest
- func (a *RpaasApiService) ListPlansByInstance(ctx context.Context, instance string) ApiListPlansByInstanceRequest
- func (a *RpaasApiService) ListPlansByInstanceExecute(r ApiListPlansByInstanceRequest) ([]Plan, *http.Response, error)
- func (a *RpaasApiService) ListPlansExecute(r ApiListPlansRequest) ([]Plan, *http.Response, error)
- func (a *RpaasApiService) PurgeCache(ctx context.Context, instance string) ApiPurgeCacheRequest
- func (a *RpaasApiService) PurgeCacheExecute(r ApiPurgeCacheRequest) (string, *http.Response, error)
- func (a *RpaasApiService) RemoveAutoscale(ctx context.Context, instance string) ApiRemoveAutoscaleRequest
- func (a *RpaasApiService) RemoveAutoscaleExecute(r ApiRemoveAutoscaleRequest) (*http.Response, error)
- func (a *RpaasApiService) ResourcesInstanceStatusGet(ctx context.Context, instance string) ApiResourcesInstanceStatusGetRequest
- func (a *RpaasApiService) ResourcesInstanceStatusGetExecute(r ApiResourcesInstanceStatusGetRequest) (*http.Response, error)
- func (a *RpaasApiService) UnbindInstance(ctx context.Context, instance string) ApiUnbindInstanceRequest
- func (a *RpaasApiService) UnbindInstanceExecute(r ApiUnbindInstanceRequest) (*http.Response, error)
- func (a *RpaasApiService) UpdateAutoscale(ctx context.Context, instance string) ApiUpdateAutoscaleRequest
- func (a *RpaasApiService) UpdateAutoscaleExecute(r ApiUpdateAutoscaleRequest) (*http.Response, error)
- func (a *RpaasApiService) UpdateInstance(ctx context.Context, instance string) ApiUpdateInstanceRequest
- func (a *RpaasApiService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*http.Response, error)
- type RpaasPurgerApiService
- type ScheduledWindow
- func (o *ScheduledWindow) GetEnd() string
- func (o *ScheduledWindow) GetEndOk() (*string, bool)
- func (o *ScheduledWindow) GetMinReplicas() int32
- func (o *ScheduledWindow) GetMinReplicasOk() (*int32, bool)
- func (o *ScheduledWindow) GetStart() string
- func (o *ScheduledWindow) GetStartOk() (*string, bool)
- func (o *ScheduledWindow) GetTimezone() string
- func (o *ScheduledWindow) GetTimezoneOk() (*string, bool)
- func (o *ScheduledWindow) HasTimezone() bool
- func (o ScheduledWindow) MarshalJSON() ([]byte, error)
- func (o *ScheduledWindow) SetEnd(v string)
- func (o *ScheduledWindow) SetMinReplicas(v int32)
- func (o *ScheduledWindow) SetStart(v string)
- func (o *ScheduledWindow) SetTimezone(v string)
- func (o ScheduledWindow) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { RpaasApi *RpaasApiService RpaasPurgerApi *RpaasPurgerApiService // contains filtered or unexported fields }
APIClient manages communication with the Reverse Proxy as a Service API vv2 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AdditionalInstanceInfo ¶
type AdditionalInstanceInfo struct { Label *string `json:"label,omitempty"` Value *string `json:"value,omitempty"` }
AdditionalInstanceInfo struct for AdditionalInstanceInfo
func NewAdditionalInstanceInfo ¶
func NewAdditionalInstanceInfo() *AdditionalInstanceInfo
NewAdditionalInstanceInfo instantiates a new AdditionalInstanceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAdditionalInstanceInfoWithDefaults ¶
func NewAdditionalInstanceInfoWithDefaults() *AdditionalInstanceInfo
NewAdditionalInstanceInfoWithDefaults instantiates a new AdditionalInstanceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AdditionalInstanceInfo) GetLabel ¶
func (o *AdditionalInstanceInfo) GetLabel() string
GetLabel returns the Label field value if set, zero value otherwise.
func (*AdditionalInstanceInfo) GetLabelOk ¶
func (o *AdditionalInstanceInfo) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AdditionalInstanceInfo) GetValue ¶
func (o *AdditionalInstanceInfo) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*AdditionalInstanceInfo) GetValueOk ¶
func (o *AdditionalInstanceInfo) 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 (*AdditionalInstanceInfo) HasLabel ¶
func (o *AdditionalInstanceInfo) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (*AdditionalInstanceInfo) HasValue ¶
func (o *AdditionalInstanceInfo) HasValue() bool
HasValue returns a boolean if a field has been set.
func (AdditionalInstanceInfo) MarshalJSON ¶
func (o AdditionalInstanceInfo) MarshalJSON() ([]byte, error)
func (*AdditionalInstanceInfo) SetLabel ¶
func (o *AdditionalInstanceInfo) SetLabel(v string)
SetLabel gets a reference to the given string and assigns it to the Label field.
func (*AdditionalInstanceInfo) SetValue ¶
func (o *AdditionalInstanceInfo) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (AdditionalInstanceInfo) ToMap ¶
func (o AdditionalInstanceInfo) ToMap() (map[string]interface{}, error)
type ApiBindAppRequest ¶
type ApiBindAppRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiBindAppRequest) AppHost ¶
func (r ApiBindAppRequest) AppHost(appHost string) ApiBindAppRequest
func (ApiBindAppRequest) AppHosts ¶
func (r ApiBindAppRequest) AppHosts(appHosts []string) ApiBindAppRequest
func (ApiBindAppRequest) AppInternalHosts ¶
func (r ApiBindAppRequest) AppInternalHosts(appInternalHosts []string) ApiBindAppRequest
func (ApiBindAppRequest) AppName ¶
func (r ApiBindAppRequest) AppName(appName string) ApiBindAppRequest
func (ApiBindAppRequest) Eventid ¶
func (r ApiBindAppRequest) Eventid(eventid string) ApiBindAppRequest
func (ApiBindAppRequest) User ¶
func (r ApiBindAppRequest) User(user string) ApiBindAppRequest
type ApiBindInstanceRequest ¶
type ApiBindInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiCreateAutoscaleRequest ¶
type ApiCreateAutoscaleRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiCreateAutoscaleRequest) Autoscale ¶
func (r ApiCreateAutoscaleRequest) Autoscale(autoscale Autoscale) ApiCreateAutoscaleRequest
type ApiCreateInstanceRequest ¶
type ApiCreateInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiCreateInstanceRequest) CreateInstance ¶
func (r ApiCreateInstanceRequest) CreateInstance(createInstance CreateInstance) ApiCreateInstanceRequest
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiGetAutoscaleRequest ¶
type ApiGetAutoscaleRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiGetInstanceInfoRequest ¶
type ApiGetInstanceInfoRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiGetInstanceInfoRequest) Execute ¶
func (r ApiGetInstanceInfoRequest) Execute() (*InstanceInfo, *http.Response, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() ([]AdditionalInstanceInfo, *http.Response, error)
type ApiHealthcheckRequest ¶
type ApiHealthcheckRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiListFlavorsByInstanceRequest ¶
type ApiListFlavorsByInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiListFlavorsRequest ¶
type ApiListFlavorsRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiListPlansByInstanceRequest ¶
type ApiListPlansByInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiListPlansRequest ¶
type ApiListPlansRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiPurgeBulkCacheRequest ¶
type ApiPurgeBulkCacheRequest struct { ApiService *RpaasPurgerApiService // contains filtered or unexported fields }
func (ApiPurgeBulkCacheRequest) Execute ¶
func (r ApiPurgeBulkCacheRequest) Execute() ([]PurgeBulkResponse, *http.Response, error)
func (ApiPurgeBulkCacheRequest) Purge ¶
func (r ApiPurgeBulkCacheRequest) Purge(purge []Purge) ApiPurgeBulkCacheRequest
type ApiPurgeCacheRequest ¶
type ApiPurgeCacheRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiPurgeCacheRequest) Execute ¶
func (r ApiPurgeCacheRequest) Execute() (string, *http.Response, error)
func (ApiPurgeCacheRequest) Purge ¶
func (r ApiPurgeCacheRequest) Purge(purge Purge) ApiPurgeCacheRequest
type ApiRemoveAutoscaleRequest ¶
type ApiRemoveAutoscaleRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiResourcesInstanceStatusGetRequest ¶
type ApiResourcesInstanceStatusGetRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiUnbindInstanceRequest ¶
type ApiUnbindInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
type ApiUpdateAutoscaleRequest ¶
type ApiUpdateAutoscaleRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiUpdateAutoscaleRequest) Autoscale ¶
func (r ApiUpdateAutoscaleRequest) Autoscale(autoscale Autoscale) ApiUpdateAutoscaleRequest
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct { ApiService *RpaasApiService // contains filtered or unexported fields }
func (ApiUpdateInstanceRequest) Description ¶
func (r ApiUpdateInstanceRequest) Description(description string) ApiUpdateInstanceRequest
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() (*http.Response, error)
func (ApiUpdateInstanceRequest) Parameters ¶
func (r ApiUpdateInstanceRequest) Parameters(parameters CreateInstanceParameters) ApiUpdateInstanceRequest
func (ApiUpdateInstanceRequest) Tags ¶
func (r ApiUpdateInstanceRequest) Tags(tags []string) ApiUpdateInstanceRequest
func (ApiUpdateInstanceRequest) Team ¶
func (r ApiUpdateInstanceRequest) Team(team string) ApiUpdateInstanceRequest
type Autoscale ¶
type Autoscale struct { // The lower limit for the number of replicas to which the autoscaler can scale down. It cannot be greater than `maxReplicas`. It can be zero when set along with `rps` and/or `schedules` targets. MinReplicas int32 `json:"minReplicas"` // The upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that `minReplicas`. MaxReplicas int32 `json:"maxReplicas"` // Target average of CPU utilization over running replicas (e.g. 95 means 95%) Cpu *int32 `json:"cpu,omitempty"` // Target average of memory utilization over running replicas (e.g. 80 means 80%) Memory *int32 `json:"memory,omitempty"` // Target average of HTTP requests per seconds over running replicas (e.g. 100 means 100 req/s) Rps *int32 `json:"rps,omitempty"` // Schedules are recurring or not time-windows where the instance can scale in/out regardless of traffic or resource utilization. Schedules []ScheduledWindow `json:"schedules,omitempty"` }
Autoscale struct for Autoscale
func NewAutoscale ¶
NewAutoscale instantiates a new Autoscale object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAutoscaleWithDefaults ¶
func NewAutoscaleWithDefaults() *Autoscale
NewAutoscaleWithDefaults instantiates a new Autoscale object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Autoscale) 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 (*Autoscale) GetMaxReplicas ¶
GetMaxReplicas returns the MaxReplicas field value
func (*Autoscale) GetMaxReplicasOk ¶
GetMaxReplicasOk returns a tuple with the MaxReplicas field value and a boolean to check if the value has been set.
func (*Autoscale) GetMemory ¶
GetMemory returns the Memory field value if set, zero value otherwise.
func (*Autoscale) 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 (*Autoscale) GetMinReplicas ¶
GetMinReplicas returns the MinReplicas field value
func (*Autoscale) GetMinReplicasOk ¶
GetMinReplicasOk returns a tuple with the MinReplicas field value and a boolean to check if the value has been set.
func (*Autoscale) GetRpsOk ¶
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 (*Autoscale) GetSchedules ¶
func (o *Autoscale) GetSchedules() []ScheduledWindow
GetSchedules returns the Schedules field value if set, zero value otherwise.
func (*Autoscale) GetSchedulesOk ¶
func (o *Autoscale) GetSchedulesOk() ([]ScheduledWindow, bool)
GetSchedulesOk returns a tuple with the Schedules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Autoscale) HasSchedules ¶
HasSchedules returns a boolean if a field has been set.
func (Autoscale) MarshalJSON ¶
func (*Autoscale) SetCpu ¶
SetCpu gets a reference to the given int32 and assigns it to the Cpu field.
func (*Autoscale) SetMaxReplicas ¶
SetMaxReplicas sets field value
func (*Autoscale) SetMemory ¶
SetMemory gets a reference to the given int32 and assigns it to the Memory field.
func (*Autoscale) SetMinReplicas ¶
SetMinReplicas sets field value
func (*Autoscale) SetRps ¶
SetRps gets a reference to the given int32 and assigns it to the Rps field.
func (*Autoscale) SetSchedules ¶
func (o *Autoscale) SetSchedules(v []ScheduledWindow)
SetSchedules gets a reference to the given []ScheduledWindow and assigns it to the Schedules field.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Block ¶
type Block struct { BlockName *string `json:"block_name,omitempty"` Content *string `json:"content,omitempty"` }
Block struct for Block
func NewBlock ¶
func NewBlock() *Block
NewBlock instantiates a new Block object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBlockWithDefaults ¶
func NewBlockWithDefaults() *Block
NewBlockWithDefaults instantiates a new Block object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Block) GetBlockName ¶
GetBlockName returns the BlockName field value if set, zero value otherwise.
func (*Block) GetBlockNameOk ¶
GetBlockNameOk returns a tuple with the BlockName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetContent ¶
GetContent returns the Content field value if set, zero value otherwise.
func (*Block) GetContentOk ¶
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) HasBlockName ¶
HasBlockName returns a boolean if a field has been set.
func (*Block) HasContent ¶
HasContent returns a boolean if a field has been set.
func (Block) MarshalJSON ¶
func (*Block) SetBlockName ¶
SetBlockName gets a reference to the given string and assigns it to the BlockName field.
func (*Block) SetContent ¶
SetContent gets a reference to the given string and assigns it to the Content field.
type CertificateInfo ¶
type CertificateInfo struct { Name *string `json:"name,omitempty"` DnsNames []string `json:"dnsNames,omitempty"` PublicKeyAlgorithm *string `json:"publicKeyAlgorithm,omitempty"` PublicKeyBitSize *float32 `json:"publicKeyBitSize,omitempty"` ValidFrom *time.Time `json:"validFrom,omitempty"` ValidUntil *time.Time `json:"validUntil,omitempty"` }
CertificateInfo struct for CertificateInfo
func NewCertificateInfo ¶
func NewCertificateInfo() *CertificateInfo
NewCertificateInfo instantiates a new CertificateInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCertificateInfoWithDefaults ¶
func NewCertificateInfoWithDefaults() *CertificateInfo
NewCertificateInfoWithDefaults instantiates a new CertificateInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CertificateInfo) GetDnsNames ¶
func (o *CertificateInfo) GetDnsNames() []string
GetDnsNames returns the DnsNames field value if set, zero value otherwise.
func (*CertificateInfo) GetDnsNamesOk ¶
func (o *CertificateInfo) GetDnsNamesOk() ([]string, bool)
GetDnsNamesOk returns a tuple with the DnsNames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetName ¶
func (o *CertificateInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CertificateInfo) GetNameOk ¶
func (o *CertificateInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetPublicKeyAlgorithm ¶
func (o *CertificateInfo) GetPublicKeyAlgorithm() string
GetPublicKeyAlgorithm returns the PublicKeyAlgorithm field value if set, zero value otherwise.
func (*CertificateInfo) GetPublicKeyAlgorithmOk ¶
func (o *CertificateInfo) GetPublicKeyAlgorithmOk() (*string, bool)
GetPublicKeyAlgorithmOk returns a tuple with the PublicKeyAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetPublicKeyBitSize ¶
func (o *CertificateInfo) GetPublicKeyBitSize() float32
GetPublicKeyBitSize returns the PublicKeyBitSize field value if set, zero value otherwise.
func (*CertificateInfo) GetPublicKeyBitSizeOk ¶
func (o *CertificateInfo) GetPublicKeyBitSizeOk() (*float32, bool)
GetPublicKeyBitSizeOk returns a tuple with the PublicKeyBitSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetValidFrom ¶
func (o *CertificateInfo) GetValidFrom() time.Time
GetValidFrom returns the ValidFrom field value if set, zero value otherwise.
func (*CertificateInfo) GetValidFromOk ¶
func (o *CertificateInfo) GetValidFromOk() (*time.Time, bool)
GetValidFromOk returns a tuple with the ValidFrom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) GetValidUntil ¶
func (o *CertificateInfo) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*CertificateInfo) GetValidUntilOk ¶
func (o *CertificateInfo) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CertificateInfo) HasDnsNames ¶
func (o *CertificateInfo) HasDnsNames() bool
HasDnsNames returns a boolean if a field has been set.
func (*CertificateInfo) HasName ¶
func (o *CertificateInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*CertificateInfo) HasPublicKeyAlgorithm ¶
func (o *CertificateInfo) HasPublicKeyAlgorithm() bool
HasPublicKeyAlgorithm returns a boolean if a field has been set.
func (*CertificateInfo) HasPublicKeyBitSize ¶
func (o *CertificateInfo) HasPublicKeyBitSize() bool
HasPublicKeyBitSize returns a boolean if a field has been set.
func (*CertificateInfo) HasValidFrom ¶
func (o *CertificateInfo) HasValidFrom() bool
HasValidFrom returns a boolean if a field has been set.
func (*CertificateInfo) HasValidUntil ¶
func (o *CertificateInfo) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (CertificateInfo) MarshalJSON ¶
func (o CertificateInfo) MarshalJSON() ([]byte, error)
func (*CertificateInfo) SetDnsNames ¶
func (o *CertificateInfo) SetDnsNames(v []string)
SetDnsNames gets a reference to the given []string and assigns it to the DnsNames field.
func (*CertificateInfo) SetName ¶
func (o *CertificateInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CertificateInfo) SetPublicKeyAlgorithm ¶
func (o *CertificateInfo) SetPublicKeyAlgorithm(v string)
SetPublicKeyAlgorithm gets a reference to the given string and assigns it to the PublicKeyAlgorithm field.
func (*CertificateInfo) SetPublicKeyBitSize ¶
func (o *CertificateInfo) SetPublicKeyBitSize(v float32)
SetPublicKeyBitSize gets a reference to the given float32 and assigns it to the PublicKeyBitSize field.
func (*CertificateInfo) SetValidFrom ¶
func (o *CertificateInfo) SetValidFrom(v time.Time)
SetValidFrom gets a reference to the given time.Time and assigns it to the ValidFrom field.
func (*CertificateInfo) SetValidUntil ¶
func (o *CertificateInfo) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (CertificateInfo) ToMap ¶
func (o CertificateInfo) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateInstance ¶
type CreateInstance struct { Name string `json:"name"` Plan string `json:"plan"` Team string `json:"team"` Description *string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` Parameters *CreateInstanceParameters `json:"parameters,omitempty"` }
CreateInstance struct for CreateInstance
func NewCreateInstance ¶
func NewCreateInstance(name string, plan string, team string) *CreateInstance
NewCreateInstance instantiates a new CreateInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceWithDefaults ¶
func NewCreateInstanceWithDefaults() *CreateInstance
NewCreateInstanceWithDefaults instantiates a new CreateInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstance) GetDescription ¶
func (o *CreateInstance) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateInstance) GetDescriptionOk ¶
func (o *CreateInstance) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstance) GetName ¶
func (o *CreateInstance) GetName() string
GetName returns the Name field value
func (*CreateInstance) GetNameOk ¶
func (o *CreateInstance) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstance) GetParameters ¶
func (o *CreateInstance) GetParameters() CreateInstanceParameters
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*CreateInstance) GetParametersOk ¶
func (o *CreateInstance) GetParametersOk() (*CreateInstanceParameters, 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 (*CreateInstance) GetPlan ¶
func (o *CreateInstance) GetPlan() string
GetPlan returns the Plan field value
func (*CreateInstance) GetPlanOk ¶
func (o *CreateInstance) GetPlanOk() (*string, bool)
GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.
func (*CreateInstance) GetTags ¶
func (o *CreateInstance) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*CreateInstance) GetTagsOk ¶
func (o *CreateInstance) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstance) GetTeam ¶
func (o *CreateInstance) GetTeam() string
GetTeam returns the Team field value
func (*CreateInstance) GetTeamOk ¶
func (o *CreateInstance) GetTeamOk() (*string, bool)
GetTeamOk returns a tuple with the Team field value and a boolean to check if the value has been set.
func (*CreateInstance) HasDescription ¶
func (o *CreateInstance) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateInstance) HasParameters ¶
func (o *CreateInstance) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*CreateInstance) HasTags ¶
func (o *CreateInstance) HasTags() bool
HasTags returns a boolean if a field has been set.
func (CreateInstance) MarshalJSON ¶
func (o CreateInstance) MarshalJSON() ([]byte, error)
func (*CreateInstance) SetDescription ¶
func (o *CreateInstance) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateInstance) SetName ¶
func (o *CreateInstance) SetName(v string)
SetName sets field value
func (*CreateInstance) SetParameters ¶
func (o *CreateInstance) SetParameters(v CreateInstanceParameters)
SetParameters gets a reference to the given CreateInstanceParameters and assigns it to the Parameters field.
func (*CreateInstance) SetPlan ¶
func (o *CreateInstance) SetPlan(v string)
SetPlan sets field value
func (*CreateInstance) SetTags ¶
func (o *CreateInstance) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*CreateInstance) SetTeam ¶
func (o *CreateInstance) SetTeam(v string)
SetTeam sets field value
func (CreateInstance) ToMap ¶
func (o CreateInstance) ToMap() (map[string]interface{}, error)
type CreateInstanceParameters ¶
type CreateInstanceParameters struct { Flavors *string `json:"flavors,omitempty"` Ip *string `json:"ip,omitempty"` PlanOverride *string `json:"plan-override,omitempty"` LbName *string `json:"lb-name,omitempty"` }
CreateInstanceParameters This object must be encoded like github.com/ajg/form(https://github.com/ajg/form) does. Example: ``` parameters.flavors=chocolate,milk¶meters.ip=169.254.254.100 ```
func NewCreateInstanceParameters ¶
func NewCreateInstanceParameters() *CreateInstanceParameters
NewCreateInstanceParameters instantiates a new CreateInstanceParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstanceParametersWithDefaults ¶
func NewCreateInstanceParametersWithDefaults() *CreateInstanceParameters
NewCreateInstanceParametersWithDefaults instantiates a new CreateInstanceParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstanceParameters) GetFlavors ¶
func (o *CreateInstanceParameters) GetFlavors() string
GetFlavors returns the Flavors field value if set, zero value otherwise.
func (*CreateInstanceParameters) GetFlavorsOk ¶
func (o *CreateInstanceParameters) GetFlavorsOk() (*string, bool)
GetFlavorsOk returns a tuple with the Flavors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceParameters) GetIp ¶
func (o *CreateInstanceParameters) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*CreateInstanceParameters) GetIpOk ¶
func (o *CreateInstanceParameters) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceParameters) GetLbName ¶
func (o *CreateInstanceParameters) GetLbName() string
GetLbName returns the LbName field value if set, zero value otherwise.
func (*CreateInstanceParameters) GetLbNameOk ¶
func (o *CreateInstanceParameters) GetLbNameOk() (*string, bool)
GetLbNameOk returns a tuple with the LbName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceParameters) GetPlanOverride ¶
func (o *CreateInstanceParameters) GetPlanOverride() string
GetPlanOverride returns the PlanOverride field value if set, zero value otherwise.
func (*CreateInstanceParameters) GetPlanOverrideOk ¶
func (o *CreateInstanceParameters) GetPlanOverrideOk() (*string, bool)
GetPlanOverrideOk returns a tuple with the PlanOverride field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstanceParameters) HasFlavors ¶
func (o *CreateInstanceParameters) HasFlavors() bool
HasFlavors returns a boolean if a field has been set.
func (*CreateInstanceParameters) HasIp ¶
func (o *CreateInstanceParameters) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*CreateInstanceParameters) HasLbName ¶
func (o *CreateInstanceParameters) HasLbName() bool
HasLbName returns a boolean if a field has been set.
func (*CreateInstanceParameters) HasPlanOverride ¶
func (o *CreateInstanceParameters) HasPlanOverride() bool
HasPlanOverride returns a boolean if a field has been set.
func (CreateInstanceParameters) MarshalJSON ¶
func (o CreateInstanceParameters) MarshalJSON() ([]byte, error)
func (*CreateInstanceParameters) SetFlavors ¶
func (o *CreateInstanceParameters) SetFlavors(v string)
SetFlavors gets a reference to the given string and assigns it to the Flavors field.
func (*CreateInstanceParameters) SetIp ¶
func (o *CreateInstanceParameters) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*CreateInstanceParameters) SetLbName ¶
func (o *CreateInstanceParameters) SetLbName(v string)
SetLbName gets a reference to the given string and assigns it to the LbName field.
func (*CreateInstanceParameters) SetPlanOverride ¶
func (o *CreateInstanceParameters) SetPlanOverride(v string)
SetPlanOverride gets a reference to the given string and assigns it to the PlanOverride field.
func (CreateInstanceParameters) ToMap ¶
func (o CreateInstanceParameters) ToMap() (map[string]interface{}, error)
type Error ¶
type Error struct {
Msg string `json:"Msg"`
}
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetMsgOk ¶
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
type Flavor ¶
type Flavor struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
Flavor struct for Flavor
func NewFlavor ¶
func NewFlavor() *Flavor
NewFlavor instantiates a new Flavor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlavorWithDefaults ¶
func NewFlavorWithDefaults() *Flavor
NewFlavorWithDefaults instantiates a new Flavor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Flavor) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Flavor) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Flavor) 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 (*Flavor) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Flavor) MarshalJSON ¶
func (*Flavor) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type InstanceInfo ¶
type InstanceInfo struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Team *string `json:"team,omitempty"` Tags []string `json:"tags,omitempty"` Plan *string `json:"plan,omitempty"` Flavors []string `json:"flavors,omitempty"` Replicas *float32 `json:"replicas,omitempty"` Autoscale *Autoscale `json:"autoscale,omitempty"` Pods []PodInfo `json:"pods,omitempty"` Certificates []CertificateInfo `json:"certificates,omitempty"` Blocks []Block `json:"blocks,omitempty"` Routes []Route `json:"routes,omitempty"` }
InstanceInfo struct for InstanceInfo
func NewInstanceInfo ¶
func NewInstanceInfo() *InstanceInfo
NewInstanceInfo instantiates a new InstanceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceInfoWithDefaults ¶
func NewInstanceInfoWithDefaults() *InstanceInfo
NewInstanceInfoWithDefaults instantiates a new InstanceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceInfo) GetAutoscale ¶
func (o *InstanceInfo) GetAutoscale() Autoscale
GetAutoscale returns the Autoscale field value if set, zero value otherwise.
func (*InstanceInfo) GetAutoscaleOk ¶
func (o *InstanceInfo) GetAutoscaleOk() (*Autoscale, bool)
GetAutoscaleOk returns a tuple with the Autoscale field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetBlocks ¶
func (o *InstanceInfo) GetBlocks() []Block
GetBlocks returns the Blocks field value if set, zero value otherwise.
func (*InstanceInfo) GetBlocksOk ¶
func (o *InstanceInfo) GetBlocksOk() ([]Block, bool)
GetBlocksOk returns a tuple with the Blocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetCertificates ¶
func (o *InstanceInfo) GetCertificates() []CertificateInfo
GetCertificates returns the Certificates field value if set, zero value otherwise.
func (*InstanceInfo) GetCertificatesOk ¶
func (o *InstanceInfo) GetCertificatesOk() ([]CertificateInfo, bool)
GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetDescription ¶
func (o *InstanceInfo) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*InstanceInfo) GetDescriptionOk ¶
func (o *InstanceInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetFlavors ¶
func (o *InstanceInfo) GetFlavors() []string
GetFlavors returns the Flavors field value if set, zero value otherwise.
func (*InstanceInfo) GetFlavorsOk ¶
func (o *InstanceInfo) GetFlavorsOk() ([]string, bool)
GetFlavorsOk returns a tuple with the Flavors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetName ¶
func (o *InstanceInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*InstanceInfo) GetNameOk ¶
func (o *InstanceInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetPlan ¶
func (o *InstanceInfo) GetPlan() string
GetPlan returns the Plan field value if set, zero value otherwise.
func (*InstanceInfo) GetPlanOk ¶
func (o *InstanceInfo) GetPlanOk() (*string, bool)
GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetPods ¶
func (o *InstanceInfo) GetPods() []PodInfo
GetPods returns the Pods field value if set, zero value otherwise.
func (*InstanceInfo) GetPodsOk ¶
func (o *InstanceInfo) GetPodsOk() ([]PodInfo, bool)
GetPodsOk returns a tuple with the Pods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetReplicas ¶
func (o *InstanceInfo) GetReplicas() float32
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*InstanceInfo) GetReplicasOk ¶
func (o *InstanceInfo) GetReplicasOk() (*float32, bool)
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetRoutes ¶
func (o *InstanceInfo) GetRoutes() []Route
GetRoutes returns the Routes field value if set, zero value otherwise.
func (*InstanceInfo) GetRoutesOk ¶
func (o *InstanceInfo) GetRoutesOk() ([]Route, bool)
GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetTags ¶
func (o *InstanceInfo) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*InstanceInfo) GetTagsOk ¶
func (o *InstanceInfo) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) GetTeam ¶
func (o *InstanceInfo) GetTeam() string
GetTeam returns the Team field value if set, zero value otherwise.
func (*InstanceInfo) GetTeamOk ¶
func (o *InstanceInfo) GetTeamOk() (*string, bool)
GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceInfo) HasAutoscale ¶
func (o *InstanceInfo) HasAutoscale() bool
HasAutoscale returns a boolean if a field has been set.
func (*InstanceInfo) HasBlocks ¶
func (o *InstanceInfo) HasBlocks() bool
HasBlocks returns a boolean if a field has been set.
func (*InstanceInfo) HasCertificates ¶
func (o *InstanceInfo) HasCertificates() bool
HasCertificates returns a boolean if a field has been set.
func (*InstanceInfo) HasDescription ¶
func (o *InstanceInfo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*InstanceInfo) HasFlavors ¶
func (o *InstanceInfo) HasFlavors() bool
HasFlavors returns a boolean if a field has been set.
func (*InstanceInfo) HasName ¶
func (o *InstanceInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*InstanceInfo) HasPlan ¶
func (o *InstanceInfo) HasPlan() bool
HasPlan returns a boolean if a field has been set.
func (*InstanceInfo) HasPods ¶
func (o *InstanceInfo) HasPods() bool
HasPods returns a boolean if a field has been set.
func (*InstanceInfo) HasReplicas ¶
func (o *InstanceInfo) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*InstanceInfo) HasRoutes ¶
func (o *InstanceInfo) HasRoutes() bool
HasRoutes returns a boolean if a field has been set.
func (*InstanceInfo) HasTags ¶
func (o *InstanceInfo) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*InstanceInfo) HasTeam ¶
func (o *InstanceInfo) HasTeam() bool
HasTeam returns a boolean if a field has been set.
func (InstanceInfo) MarshalJSON ¶
func (o InstanceInfo) MarshalJSON() ([]byte, error)
func (*InstanceInfo) SetAutoscale ¶
func (o *InstanceInfo) SetAutoscale(v Autoscale)
SetAutoscale gets a reference to the given Autoscale and assigns it to the Autoscale field.
func (*InstanceInfo) SetBlocks ¶
func (o *InstanceInfo) SetBlocks(v []Block)
SetBlocks gets a reference to the given []Block and assigns it to the Blocks field.
func (*InstanceInfo) SetCertificates ¶
func (o *InstanceInfo) SetCertificates(v []CertificateInfo)
SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.
func (*InstanceInfo) SetDescription ¶
func (o *InstanceInfo) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*InstanceInfo) SetFlavors ¶
func (o *InstanceInfo) SetFlavors(v []string)
SetFlavors gets a reference to the given []string and assigns it to the Flavors field.
func (*InstanceInfo) SetName ¶
func (o *InstanceInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*InstanceInfo) SetPlan ¶
func (o *InstanceInfo) SetPlan(v string)
SetPlan gets a reference to the given string and assigns it to the Plan field.
func (*InstanceInfo) SetPods ¶
func (o *InstanceInfo) SetPods(v []PodInfo)
SetPods gets a reference to the given []PodInfo and assigns it to the Pods field.
func (*InstanceInfo) SetReplicas ¶
func (o *InstanceInfo) SetReplicas(v float32)
SetReplicas gets a reference to the given float32 and assigns it to the Replicas field.
func (*InstanceInfo) SetRoutes ¶
func (o *InstanceInfo) SetRoutes(v []Route)
SetRoutes gets a reference to the given []Route and assigns it to the Routes field.
func (*InstanceInfo) SetTags ¶
func (o *InstanceInfo) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*InstanceInfo) SetTeam ¶
func (o *InstanceInfo) SetTeam(v string)
SetTeam gets a reference to the given string and assigns it to the Team field.
func (InstanceInfo) ToMap ¶
func (o InstanceInfo) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableAdditionalInstanceInfo ¶
type NullableAdditionalInstanceInfo struct {
// contains filtered or unexported fields
}
func NewNullableAdditionalInstanceInfo ¶
func NewNullableAdditionalInstanceInfo(val *AdditionalInstanceInfo) *NullableAdditionalInstanceInfo
func (NullableAdditionalInstanceInfo) Get ¶
func (v NullableAdditionalInstanceInfo) Get() *AdditionalInstanceInfo
func (NullableAdditionalInstanceInfo) IsSet ¶
func (v NullableAdditionalInstanceInfo) IsSet() bool
func (NullableAdditionalInstanceInfo) MarshalJSON ¶
func (v NullableAdditionalInstanceInfo) MarshalJSON() ([]byte, error)
func (*NullableAdditionalInstanceInfo) Set ¶
func (v *NullableAdditionalInstanceInfo) Set(val *AdditionalInstanceInfo)
func (*NullableAdditionalInstanceInfo) UnmarshalJSON ¶
func (v *NullableAdditionalInstanceInfo) UnmarshalJSON(src []byte) error
func (*NullableAdditionalInstanceInfo) Unset ¶
func (v *NullableAdditionalInstanceInfo) Unset()
type NullableAutoscale ¶
type NullableAutoscale struct {
// contains filtered or unexported fields
}
func NewNullableAutoscale ¶
func NewNullableAutoscale(val *Autoscale) *NullableAutoscale
func (NullableAutoscale) Get ¶
func (v NullableAutoscale) Get() *Autoscale
func (NullableAutoscale) IsSet ¶
func (v NullableAutoscale) IsSet() bool
func (NullableAutoscale) MarshalJSON ¶
func (v NullableAutoscale) MarshalJSON() ([]byte, error)
func (*NullableAutoscale) Set ¶
func (v *NullableAutoscale) Set(val *Autoscale)
func (*NullableAutoscale) UnmarshalJSON ¶
func (v *NullableAutoscale) UnmarshalJSON(src []byte) error
func (*NullableAutoscale) Unset ¶
func (v *NullableAutoscale) Unset()
type NullableBlock ¶
type NullableBlock struct {
// contains filtered or unexported fields
}
func NewNullableBlock ¶
func NewNullableBlock(val *Block) *NullableBlock
func (NullableBlock) Get ¶
func (v NullableBlock) Get() *Block
func (NullableBlock) IsSet ¶
func (v NullableBlock) IsSet() bool
func (NullableBlock) MarshalJSON ¶
func (v NullableBlock) MarshalJSON() ([]byte, error)
func (*NullableBlock) Set ¶
func (v *NullableBlock) Set(val *Block)
func (*NullableBlock) UnmarshalJSON ¶
func (v *NullableBlock) UnmarshalJSON(src []byte) error
func (*NullableBlock) Unset ¶
func (v *NullableBlock) 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 NullableCertificateInfo ¶
type NullableCertificateInfo struct {
// contains filtered or unexported fields
}
func NewNullableCertificateInfo ¶
func NewNullableCertificateInfo(val *CertificateInfo) *NullableCertificateInfo
func (NullableCertificateInfo) Get ¶
func (v NullableCertificateInfo) Get() *CertificateInfo
func (NullableCertificateInfo) IsSet ¶
func (v NullableCertificateInfo) IsSet() bool
func (NullableCertificateInfo) MarshalJSON ¶
func (v NullableCertificateInfo) MarshalJSON() ([]byte, error)
func (*NullableCertificateInfo) Set ¶
func (v *NullableCertificateInfo) Set(val *CertificateInfo)
func (*NullableCertificateInfo) UnmarshalJSON ¶
func (v *NullableCertificateInfo) UnmarshalJSON(src []byte) error
func (*NullableCertificateInfo) Unset ¶
func (v *NullableCertificateInfo) Unset()
type NullableCreateInstance ¶
type NullableCreateInstance struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstance ¶
func NewNullableCreateInstance(val *CreateInstance) *NullableCreateInstance
func (NullableCreateInstance) Get ¶
func (v NullableCreateInstance) Get() *CreateInstance
func (NullableCreateInstance) IsSet ¶
func (v NullableCreateInstance) IsSet() bool
func (NullableCreateInstance) MarshalJSON ¶
func (v NullableCreateInstance) MarshalJSON() ([]byte, error)
func (*NullableCreateInstance) Set ¶
func (v *NullableCreateInstance) Set(val *CreateInstance)
func (*NullableCreateInstance) UnmarshalJSON ¶
func (v *NullableCreateInstance) UnmarshalJSON(src []byte) error
func (*NullableCreateInstance) Unset ¶
func (v *NullableCreateInstance) Unset()
type NullableCreateInstanceParameters ¶
type NullableCreateInstanceParameters struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstanceParameters ¶
func NewNullableCreateInstanceParameters(val *CreateInstanceParameters) *NullableCreateInstanceParameters
func (NullableCreateInstanceParameters) Get ¶
func (v NullableCreateInstanceParameters) Get() *CreateInstanceParameters
func (NullableCreateInstanceParameters) IsSet ¶
func (v NullableCreateInstanceParameters) IsSet() bool
func (NullableCreateInstanceParameters) MarshalJSON ¶
func (v NullableCreateInstanceParameters) MarshalJSON() ([]byte, error)
func (*NullableCreateInstanceParameters) Set ¶
func (v *NullableCreateInstanceParameters) Set(val *CreateInstanceParameters)
func (*NullableCreateInstanceParameters) UnmarshalJSON ¶
func (v *NullableCreateInstanceParameters) UnmarshalJSON(src []byte) error
func (*NullableCreateInstanceParameters) Unset ¶
func (v *NullableCreateInstanceParameters) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFlavor ¶
type NullableFlavor struct {
// contains filtered or unexported fields
}
func NewNullableFlavor ¶
func NewNullableFlavor(val *Flavor) *NullableFlavor
func (NullableFlavor) Get ¶
func (v NullableFlavor) Get() *Flavor
func (NullableFlavor) IsSet ¶
func (v NullableFlavor) IsSet() bool
func (NullableFlavor) MarshalJSON ¶
func (v NullableFlavor) MarshalJSON() ([]byte, error)
func (*NullableFlavor) Set ¶
func (v *NullableFlavor) Set(val *Flavor)
func (*NullableFlavor) UnmarshalJSON ¶
func (v *NullableFlavor) UnmarshalJSON(src []byte) error
func (*NullableFlavor) Unset ¶
func (v *NullableFlavor) 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 NullableInstanceInfo ¶
type NullableInstanceInfo struct {
// contains filtered or unexported fields
}
func NewNullableInstanceInfo ¶
func NewNullableInstanceInfo(val *InstanceInfo) *NullableInstanceInfo
func (NullableInstanceInfo) Get ¶
func (v NullableInstanceInfo) Get() *InstanceInfo
func (NullableInstanceInfo) IsSet ¶
func (v NullableInstanceInfo) IsSet() bool
func (NullableInstanceInfo) MarshalJSON ¶
func (v NullableInstanceInfo) MarshalJSON() ([]byte, error)
func (*NullableInstanceInfo) Set ¶
func (v *NullableInstanceInfo) Set(val *InstanceInfo)
func (*NullableInstanceInfo) UnmarshalJSON ¶
func (v *NullableInstanceInfo) UnmarshalJSON(src []byte) error
func (*NullableInstanceInfo) Unset ¶
func (v *NullableInstanceInfo) 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 NullablePlan ¶
type NullablePlan struct {
// contains filtered or unexported fields
}
func NewNullablePlan ¶
func NewNullablePlan(val *Plan) *NullablePlan
func (NullablePlan) Get ¶
func (v NullablePlan) Get() *Plan
func (NullablePlan) IsSet ¶
func (v NullablePlan) IsSet() bool
func (NullablePlan) MarshalJSON ¶
func (v NullablePlan) MarshalJSON() ([]byte, error)
func (*NullablePlan) Set ¶
func (v *NullablePlan) Set(val *Plan)
func (*NullablePlan) UnmarshalJSON ¶
func (v *NullablePlan) UnmarshalJSON(src []byte) error
func (*NullablePlan) Unset ¶
func (v *NullablePlan) Unset()
type NullablePlanSchemas ¶
type NullablePlanSchemas struct {
// contains filtered or unexported fields
}
func NewNullablePlanSchemas ¶
func NewNullablePlanSchemas(val *PlanSchemas) *NullablePlanSchemas
func (NullablePlanSchemas) Get ¶
func (v NullablePlanSchemas) Get() *PlanSchemas
func (NullablePlanSchemas) IsSet ¶
func (v NullablePlanSchemas) IsSet() bool
func (NullablePlanSchemas) MarshalJSON ¶
func (v NullablePlanSchemas) MarshalJSON() ([]byte, error)
func (*NullablePlanSchemas) Set ¶
func (v *NullablePlanSchemas) Set(val *PlanSchemas)
func (*NullablePlanSchemas) UnmarshalJSON ¶
func (v *NullablePlanSchemas) UnmarshalJSON(src []byte) error
func (*NullablePlanSchemas) Unset ¶
func (v *NullablePlanSchemas) Unset()
type NullablePlanSchemasServiceBinding ¶
type NullablePlanSchemasServiceBinding struct {
// contains filtered or unexported fields
}
func NewNullablePlanSchemasServiceBinding ¶
func NewNullablePlanSchemasServiceBinding(val *PlanSchemasServiceBinding) *NullablePlanSchemasServiceBinding
func (NullablePlanSchemasServiceBinding) Get ¶
func (v NullablePlanSchemasServiceBinding) Get() *PlanSchemasServiceBinding
func (NullablePlanSchemasServiceBinding) IsSet ¶
func (v NullablePlanSchemasServiceBinding) IsSet() bool
func (NullablePlanSchemasServiceBinding) MarshalJSON ¶
func (v NullablePlanSchemasServiceBinding) MarshalJSON() ([]byte, error)
func (*NullablePlanSchemasServiceBinding) Set ¶
func (v *NullablePlanSchemasServiceBinding) Set(val *PlanSchemasServiceBinding)
func (*NullablePlanSchemasServiceBinding) UnmarshalJSON ¶
func (v *NullablePlanSchemasServiceBinding) UnmarshalJSON(src []byte) error
func (*NullablePlanSchemasServiceBinding) Unset ¶
func (v *NullablePlanSchemasServiceBinding) Unset()
type NullablePlanSchemasServiceBindingCreate ¶
type NullablePlanSchemasServiceBindingCreate struct {
// contains filtered or unexported fields
}
func NewNullablePlanSchemasServiceBindingCreate ¶
func NewNullablePlanSchemasServiceBindingCreate(val *PlanSchemasServiceBindingCreate) *NullablePlanSchemasServiceBindingCreate
func (NullablePlanSchemasServiceBindingCreate) IsSet ¶
func (v NullablePlanSchemasServiceBindingCreate) IsSet() bool
func (NullablePlanSchemasServiceBindingCreate) MarshalJSON ¶
func (v NullablePlanSchemasServiceBindingCreate) MarshalJSON() ([]byte, error)
func (*NullablePlanSchemasServiceBindingCreate) Set ¶
func (v *NullablePlanSchemasServiceBindingCreate) Set(val *PlanSchemasServiceBindingCreate)
func (*NullablePlanSchemasServiceBindingCreate) UnmarshalJSON ¶
func (v *NullablePlanSchemasServiceBindingCreate) UnmarshalJSON(src []byte) error
func (*NullablePlanSchemasServiceBindingCreate) Unset ¶
func (v *NullablePlanSchemasServiceBindingCreate) Unset()
type NullablePlanSchemasServiceInstance ¶
type NullablePlanSchemasServiceInstance struct {
// contains filtered or unexported fields
}
func NewNullablePlanSchemasServiceInstance ¶
func NewNullablePlanSchemasServiceInstance(val *PlanSchemasServiceInstance) *NullablePlanSchemasServiceInstance
func (NullablePlanSchemasServiceInstance) Get ¶
func (v NullablePlanSchemasServiceInstance) Get() *PlanSchemasServiceInstance
func (NullablePlanSchemasServiceInstance) IsSet ¶
func (v NullablePlanSchemasServiceInstance) IsSet() bool
func (NullablePlanSchemasServiceInstance) MarshalJSON ¶
func (v NullablePlanSchemasServiceInstance) MarshalJSON() ([]byte, error)
func (*NullablePlanSchemasServiceInstance) Set ¶
func (v *NullablePlanSchemasServiceInstance) Set(val *PlanSchemasServiceInstance)
func (*NullablePlanSchemasServiceInstance) UnmarshalJSON ¶
func (v *NullablePlanSchemasServiceInstance) UnmarshalJSON(src []byte) error
func (*NullablePlanSchemasServiceInstance) Unset ¶
func (v *NullablePlanSchemasServiceInstance) Unset()
type NullablePlanSchemasServiceInstanceCreate ¶
type NullablePlanSchemasServiceInstanceCreate struct {
// contains filtered or unexported fields
}
func NewNullablePlanSchemasServiceInstanceCreate ¶
func NewNullablePlanSchemasServiceInstanceCreate(val *PlanSchemasServiceInstanceCreate) *NullablePlanSchemasServiceInstanceCreate
func (NullablePlanSchemasServiceInstanceCreate) IsSet ¶
func (v NullablePlanSchemasServiceInstanceCreate) IsSet() bool
func (NullablePlanSchemasServiceInstanceCreate) MarshalJSON ¶
func (v NullablePlanSchemasServiceInstanceCreate) MarshalJSON() ([]byte, error)
func (*NullablePlanSchemasServiceInstanceCreate) Set ¶
func (v *NullablePlanSchemasServiceInstanceCreate) Set(val *PlanSchemasServiceInstanceCreate)
func (*NullablePlanSchemasServiceInstanceCreate) UnmarshalJSON ¶
func (v *NullablePlanSchemasServiceInstanceCreate) UnmarshalJSON(src []byte) error
func (*NullablePlanSchemasServiceInstanceCreate) Unset ¶
func (v *NullablePlanSchemasServiceInstanceCreate) Unset()
type NullablePodInfo ¶
type NullablePodInfo struct {
// contains filtered or unexported fields
}
func NewNullablePodInfo ¶
func NewNullablePodInfo(val *PodInfo) *NullablePodInfo
func (NullablePodInfo) Get ¶
func (v NullablePodInfo) Get() *PodInfo
func (NullablePodInfo) IsSet ¶
func (v NullablePodInfo) IsSet() bool
func (NullablePodInfo) MarshalJSON ¶
func (v NullablePodInfo) MarshalJSON() ([]byte, error)
func (*NullablePodInfo) Set ¶
func (v *NullablePodInfo) Set(val *PodInfo)
func (*NullablePodInfo) UnmarshalJSON ¶
func (v *NullablePodInfo) UnmarshalJSON(src []byte) error
func (*NullablePodInfo) Unset ¶
func (v *NullablePodInfo) Unset()
type NullablePodPortInfo ¶
type NullablePodPortInfo struct {
// contains filtered or unexported fields
}
func NewNullablePodPortInfo ¶
func NewNullablePodPortInfo(val *PodPortInfo) *NullablePodPortInfo
func (NullablePodPortInfo) Get ¶
func (v NullablePodPortInfo) Get() *PodPortInfo
func (NullablePodPortInfo) IsSet ¶
func (v NullablePodPortInfo) IsSet() bool
func (NullablePodPortInfo) MarshalJSON ¶
func (v NullablePodPortInfo) MarshalJSON() ([]byte, error)
func (*NullablePodPortInfo) Set ¶
func (v *NullablePodPortInfo) Set(val *PodPortInfo)
func (*NullablePodPortInfo) UnmarshalJSON ¶
func (v *NullablePodPortInfo) UnmarshalJSON(src []byte) error
func (*NullablePodPortInfo) Unset ¶
func (v *NullablePodPortInfo) Unset()
type NullablePurge ¶
type NullablePurge struct {
// contains filtered or unexported fields
}
func NewNullablePurge ¶
func NewNullablePurge(val *Purge) *NullablePurge
func (NullablePurge) Get ¶
func (v NullablePurge) Get() *Purge
func (NullablePurge) IsSet ¶
func (v NullablePurge) IsSet() bool
func (NullablePurge) MarshalJSON ¶
func (v NullablePurge) MarshalJSON() ([]byte, error)
func (*NullablePurge) Set ¶
func (v *NullablePurge) Set(val *Purge)
func (*NullablePurge) UnmarshalJSON ¶
func (v *NullablePurge) UnmarshalJSON(src []byte) error
func (*NullablePurge) Unset ¶
func (v *NullablePurge) Unset()
type NullablePurgeBulkResponse ¶
type NullablePurgeBulkResponse struct {
// contains filtered or unexported fields
}
func NewNullablePurgeBulkResponse ¶
func NewNullablePurgeBulkResponse(val *PurgeBulkResponse) *NullablePurgeBulkResponse
func (NullablePurgeBulkResponse) Get ¶
func (v NullablePurgeBulkResponse) Get() *PurgeBulkResponse
func (NullablePurgeBulkResponse) IsSet ¶
func (v NullablePurgeBulkResponse) IsSet() bool
func (NullablePurgeBulkResponse) MarshalJSON ¶
func (v NullablePurgeBulkResponse) MarshalJSON() ([]byte, error)
func (*NullablePurgeBulkResponse) Set ¶
func (v *NullablePurgeBulkResponse) Set(val *PurgeBulkResponse)
func (*NullablePurgeBulkResponse) UnmarshalJSON ¶
func (v *NullablePurgeBulkResponse) UnmarshalJSON(src []byte) error
func (*NullablePurgeBulkResponse) Unset ¶
func (v *NullablePurgeBulkResponse) Unset()
type NullableRoute ¶
type NullableRoute struct {
// contains filtered or unexported fields
}
func NewNullableRoute ¶
func NewNullableRoute(val *Route) *NullableRoute
func (NullableRoute) Get ¶
func (v NullableRoute) Get() *Route
func (NullableRoute) IsSet ¶
func (v NullableRoute) IsSet() bool
func (NullableRoute) MarshalJSON ¶
func (v NullableRoute) MarshalJSON() ([]byte, error)
func (*NullableRoute) Set ¶
func (v *NullableRoute) Set(val *Route)
func (*NullableRoute) UnmarshalJSON ¶
func (v *NullableRoute) UnmarshalJSON(src []byte) error
func (*NullableRoute) Unset ¶
func (v *NullableRoute) Unset()
type NullableScheduledWindow ¶
type NullableScheduledWindow struct {
// contains filtered or unexported fields
}
func NewNullableScheduledWindow ¶
func NewNullableScheduledWindow(val *ScheduledWindow) *NullableScheduledWindow
func (NullableScheduledWindow) Get ¶
func (v NullableScheduledWindow) Get() *ScheduledWindow
func (NullableScheduledWindow) IsSet ¶
func (v NullableScheduledWindow) IsSet() bool
func (NullableScheduledWindow) MarshalJSON ¶
func (v NullableScheduledWindow) MarshalJSON() ([]byte, error)
func (*NullableScheduledWindow) Set ¶
func (v *NullableScheduledWindow) Set(val *ScheduledWindow)
func (*NullableScheduledWindow) UnmarshalJSON ¶
func (v *NullableScheduledWindow) UnmarshalJSON(src []byte) error
func (*NullableScheduledWindow) Unset ¶
func (v *NullableScheduledWindow) 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 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 Plan ¶
type Plan struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Schemas *PlanSchemas `json:"schemas,omitempty"` }
Plan struct for Plan
func NewPlan ¶
func NewPlan() *Plan
NewPlan instantiates a new Plan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanWithDefaults ¶
func NewPlanWithDefaults() *Plan
NewPlanWithDefaults instantiates a new Plan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Plan) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Plan) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) 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 (*Plan) GetSchemas ¶
func (o *Plan) GetSchemas() PlanSchemas
GetSchemas returns the Schemas field value if set, zero value otherwise.
func (*Plan) GetSchemasOk ¶
func (o *Plan) GetSchemasOk() (*PlanSchemas, bool)
GetSchemasOk returns a tuple with the Schemas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Plan) HasSchemas ¶
HasSchemas returns a boolean if a field has been set.
func (Plan) MarshalJSON ¶
func (*Plan) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Plan) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Plan) SetSchemas ¶
func (o *Plan) SetSchemas(v PlanSchemas)
SetSchemas gets a reference to the given PlanSchemas and assigns it to the Schemas field.
type PlanSchemas ¶
type PlanSchemas struct { ServiceInstance *PlanSchemasServiceInstance `json:"service_instance,omitempty"` ServiceBinding *PlanSchemasServiceBinding `json:"service_binding,omitempty"` }
PlanSchemas struct for PlanSchemas
func NewPlanSchemas ¶
func NewPlanSchemas() *PlanSchemas
NewPlanSchemas instantiates a new PlanSchemas object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanSchemasWithDefaults ¶
func NewPlanSchemasWithDefaults() *PlanSchemas
NewPlanSchemasWithDefaults instantiates a new PlanSchemas object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanSchemas) GetServiceBinding ¶
func (o *PlanSchemas) GetServiceBinding() PlanSchemasServiceBinding
GetServiceBinding returns the ServiceBinding field value if set, zero value otherwise.
func (*PlanSchemas) GetServiceBindingOk ¶
func (o *PlanSchemas) GetServiceBindingOk() (*PlanSchemasServiceBinding, bool)
GetServiceBindingOk returns a tuple with the ServiceBinding field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemas) GetServiceInstance ¶
func (o *PlanSchemas) GetServiceInstance() PlanSchemasServiceInstance
GetServiceInstance returns the ServiceInstance field value if set, zero value otherwise.
func (*PlanSchemas) GetServiceInstanceOk ¶
func (o *PlanSchemas) GetServiceInstanceOk() (*PlanSchemasServiceInstance, bool)
GetServiceInstanceOk returns a tuple with the ServiceInstance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemas) HasServiceBinding ¶
func (o *PlanSchemas) HasServiceBinding() bool
HasServiceBinding returns a boolean if a field has been set.
func (*PlanSchemas) HasServiceInstance ¶
func (o *PlanSchemas) HasServiceInstance() bool
HasServiceInstance returns a boolean if a field has been set.
func (PlanSchemas) MarshalJSON ¶
func (o PlanSchemas) MarshalJSON() ([]byte, error)
func (*PlanSchemas) SetServiceBinding ¶
func (o *PlanSchemas) SetServiceBinding(v PlanSchemasServiceBinding)
SetServiceBinding gets a reference to the given PlanSchemasServiceBinding and assigns it to the ServiceBinding field.
func (*PlanSchemas) SetServiceInstance ¶
func (o *PlanSchemas) SetServiceInstance(v PlanSchemasServiceInstance)
SetServiceInstance gets a reference to the given PlanSchemasServiceInstance and assigns it to the ServiceInstance field.
func (PlanSchemas) ToMap ¶
func (o PlanSchemas) ToMap() (map[string]interface{}, error)
type PlanSchemasServiceBinding ¶
type PlanSchemasServiceBinding struct {
Create *PlanSchemasServiceBindingCreate `json:"create,omitempty"`
}
PlanSchemasServiceBinding struct for PlanSchemasServiceBinding
func NewPlanSchemasServiceBinding ¶
func NewPlanSchemasServiceBinding() *PlanSchemasServiceBinding
NewPlanSchemasServiceBinding instantiates a new PlanSchemasServiceBinding object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanSchemasServiceBindingWithDefaults ¶
func NewPlanSchemasServiceBindingWithDefaults() *PlanSchemasServiceBinding
NewPlanSchemasServiceBindingWithDefaults instantiates a new PlanSchemasServiceBinding object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanSchemasServiceBinding) GetCreate ¶
func (o *PlanSchemasServiceBinding) GetCreate() PlanSchemasServiceBindingCreate
GetCreate returns the Create field value if set, zero value otherwise.
func (*PlanSchemasServiceBinding) GetCreateOk ¶
func (o *PlanSchemasServiceBinding) GetCreateOk() (*PlanSchemasServiceBindingCreate, bool)
GetCreateOk returns a tuple with the Create field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceBinding) HasCreate ¶
func (o *PlanSchemasServiceBinding) HasCreate() bool
HasCreate returns a boolean if a field has been set.
func (PlanSchemasServiceBinding) MarshalJSON ¶
func (o PlanSchemasServiceBinding) MarshalJSON() ([]byte, error)
func (*PlanSchemasServiceBinding) SetCreate ¶
func (o *PlanSchemasServiceBinding) SetCreate(v PlanSchemasServiceBindingCreate)
SetCreate gets a reference to the given PlanSchemasServiceBindingCreate and assigns it to the Create field.
func (PlanSchemasServiceBinding) ToMap ¶
func (o PlanSchemasServiceBinding) ToMap() (map[string]interface{}, error)
type PlanSchemasServiceBindingCreate ¶
type PlanSchemasServiceBindingCreate struct { Properties map[string]interface{} `json:"properties,omitempty"` Response map[string]interface{} `json:"response,omitempty"` }
PlanSchemasServiceBindingCreate struct for PlanSchemasServiceBindingCreate
func NewPlanSchemasServiceBindingCreate ¶
func NewPlanSchemasServiceBindingCreate() *PlanSchemasServiceBindingCreate
NewPlanSchemasServiceBindingCreate instantiates a new PlanSchemasServiceBindingCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanSchemasServiceBindingCreateWithDefaults ¶
func NewPlanSchemasServiceBindingCreateWithDefaults() *PlanSchemasServiceBindingCreate
NewPlanSchemasServiceBindingCreateWithDefaults instantiates a new PlanSchemasServiceBindingCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanSchemasServiceBindingCreate) GetProperties ¶
func (o *PlanSchemasServiceBindingCreate) GetProperties() map[string]interface{}
GetProperties returns the Properties field value if set, zero value otherwise.
func (*PlanSchemasServiceBindingCreate) GetPropertiesOk ¶
func (o *PlanSchemasServiceBindingCreate) GetPropertiesOk() (map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceBindingCreate) GetResponse ¶
func (o *PlanSchemasServiceBindingCreate) GetResponse() map[string]interface{}
GetResponse returns the Response field value if set, zero value otherwise.
func (*PlanSchemasServiceBindingCreate) GetResponseOk ¶
func (o *PlanSchemasServiceBindingCreate) GetResponseOk() (map[string]interface{}, bool)
GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceBindingCreate) HasProperties ¶
func (o *PlanSchemasServiceBindingCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*PlanSchemasServiceBindingCreate) HasResponse ¶
func (o *PlanSchemasServiceBindingCreate) HasResponse() bool
HasResponse returns a boolean if a field has been set.
func (PlanSchemasServiceBindingCreate) MarshalJSON ¶
func (o PlanSchemasServiceBindingCreate) MarshalJSON() ([]byte, error)
func (*PlanSchemasServiceBindingCreate) SetProperties ¶
func (o *PlanSchemasServiceBindingCreate) SetProperties(v map[string]interface{})
SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.
func (*PlanSchemasServiceBindingCreate) SetResponse ¶
func (o *PlanSchemasServiceBindingCreate) SetResponse(v map[string]interface{})
SetResponse gets a reference to the given map[string]interface{} and assigns it to the Response field.
func (PlanSchemasServiceBindingCreate) ToMap ¶
func (o PlanSchemasServiceBindingCreate) ToMap() (map[string]interface{}, error)
type PlanSchemasServiceInstance ¶
type PlanSchemasServiceInstance struct { Create *PlanSchemasServiceInstanceCreate `json:"create,omitempty"` Update *PlanSchemasServiceInstanceCreate `json:"update,omitempty"` }
PlanSchemasServiceInstance struct for PlanSchemasServiceInstance
func NewPlanSchemasServiceInstance ¶
func NewPlanSchemasServiceInstance() *PlanSchemasServiceInstance
NewPlanSchemasServiceInstance instantiates a new PlanSchemasServiceInstance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanSchemasServiceInstanceWithDefaults ¶
func NewPlanSchemasServiceInstanceWithDefaults() *PlanSchemasServiceInstance
NewPlanSchemasServiceInstanceWithDefaults instantiates a new PlanSchemasServiceInstance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanSchemasServiceInstance) GetCreate ¶
func (o *PlanSchemasServiceInstance) GetCreate() PlanSchemasServiceInstanceCreate
GetCreate returns the Create field value if set, zero value otherwise.
func (*PlanSchemasServiceInstance) GetCreateOk ¶
func (o *PlanSchemasServiceInstance) GetCreateOk() (*PlanSchemasServiceInstanceCreate, bool)
GetCreateOk returns a tuple with the Create field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceInstance) GetUpdate ¶
func (o *PlanSchemasServiceInstance) GetUpdate() PlanSchemasServiceInstanceCreate
GetUpdate returns the Update field value if set, zero value otherwise.
func (*PlanSchemasServiceInstance) GetUpdateOk ¶
func (o *PlanSchemasServiceInstance) GetUpdateOk() (*PlanSchemasServiceInstanceCreate, bool)
GetUpdateOk returns a tuple with the Update field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceInstance) HasCreate ¶
func (o *PlanSchemasServiceInstance) HasCreate() bool
HasCreate returns a boolean if a field has been set.
func (*PlanSchemasServiceInstance) HasUpdate ¶
func (o *PlanSchemasServiceInstance) HasUpdate() bool
HasUpdate returns a boolean if a field has been set.
func (PlanSchemasServiceInstance) MarshalJSON ¶
func (o PlanSchemasServiceInstance) MarshalJSON() ([]byte, error)
func (*PlanSchemasServiceInstance) SetCreate ¶
func (o *PlanSchemasServiceInstance) SetCreate(v PlanSchemasServiceInstanceCreate)
SetCreate gets a reference to the given PlanSchemasServiceInstanceCreate and assigns it to the Create field.
func (*PlanSchemasServiceInstance) SetUpdate ¶
func (o *PlanSchemasServiceInstance) SetUpdate(v PlanSchemasServiceInstanceCreate)
SetUpdate gets a reference to the given PlanSchemasServiceInstanceCreate and assigns it to the Update field.
func (PlanSchemasServiceInstance) ToMap ¶
func (o PlanSchemasServiceInstance) ToMap() (map[string]interface{}, error)
type PlanSchemasServiceInstanceCreate ¶
type PlanSchemasServiceInstanceCreate struct {
Properties map[string]interface{} `json:"properties,omitempty"`
}
PlanSchemasServiceInstanceCreate struct for PlanSchemasServiceInstanceCreate
func NewPlanSchemasServiceInstanceCreate ¶
func NewPlanSchemasServiceInstanceCreate() *PlanSchemasServiceInstanceCreate
NewPlanSchemasServiceInstanceCreate instantiates a new PlanSchemasServiceInstanceCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanSchemasServiceInstanceCreateWithDefaults ¶
func NewPlanSchemasServiceInstanceCreateWithDefaults() *PlanSchemasServiceInstanceCreate
NewPlanSchemasServiceInstanceCreateWithDefaults instantiates a new PlanSchemasServiceInstanceCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanSchemasServiceInstanceCreate) GetProperties ¶
func (o *PlanSchemasServiceInstanceCreate) GetProperties() map[string]interface{}
GetProperties returns the Properties field value if set, zero value otherwise.
func (*PlanSchemasServiceInstanceCreate) GetPropertiesOk ¶
func (o *PlanSchemasServiceInstanceCreate) GetPropertiesOk() (map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanSchemasServiceInstanceCreate) HasProperties ¶
func (o *PlanSchemasServiceInstanceCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (PlanSchemasServiceInstanceCreate) MarshalJSON ¶
func (o PlanSchemasServiceInstanceCreate) MarshalJSON() ([]byte, error)
func (*PlanSchemasServiceInstanceCreate) SetProperties ¶
func (o *PlanSchemasServiceInstanceCreate) SetProperties(v map[string]interface{})
SetProperties gets a reference to the given map[string]interface{} and assigns it to the Properties field.
func (PlanSchemasServiceInstanceCreate) ToMap ¶
func (o PlanSchemasServiceInstanceCreate) ToMap() (map[string]interface{}, error)
type PodInfo ¶
type PodInfo struct { Name *string `json:"name,omitempty"` Ip *string `json:"ip,omitempty"` Host *string `json:"host,omitempty"` Ports []PodPortInfo `json:"ports,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` }
PodInfo struct for PodInfo
func NewPodInfo ¶
func NewPodInfo() *PodInfo
NewPodInfo instantiates a new PodInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPodInfoWithDefaults ¶
func NewPodInfoWithDefaults() *PodInfo
NewPodInfoWithDefaults instantiates a new PodInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PodInfo) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*PodInfo) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodInfo) GetHostOk ¶
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodInfo) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodInfo) 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 (*PodInfo) GetPorts ¶
func (o *PodInfo) GetPorts() []PodPortInfo
GetPorts returns the Ports field value if set, zero value otherwise.
func (*PodInfo) GetPortsOk ¶
func (o *PodInfo) GetPortsOk() ([]PodPortInfo, bool)
GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodInfo) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (PodInfo) MarshalJSON ¶
func (*PodInfo) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*PodInfo) SetHost ¶
SetHost gets a reference to the given string and assigns it to the Host field.
func (*PodInfo) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*PodInfo) SetPorts ¶
func (o *PodInfo) SetPorts(v []PodPortInfo)
SetPorts gets a reference to the given []PodPortInfo and assigns it to the Ports field.
type PodPortInfo ¶
type PodPortInfo struct { Name *string `json:"name,omitempty"` HostPort *float32 `json:"hostPort,omitempty"` ContainerPort *float32 `json:"containerPort,omitempty"` Protocol *string `json:"protocol,omitempty"` HostIP *string `json:"hostIP,omitempty"` }
PodPortInfo struct for PodPortInfo
func NewPodPortInfo ¶
func NewPodPortInfo() *PodPortInfo
NewPodPortInfo instantiates a new PodPortInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPodPortInfoWithDefaults ¶
func NewPodPortInfoWithDefaults() *PodPortInfo
NewPodPortInfoWithDefaults instantiates a new PodPortInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PodPortInfo) GetContainerPort ¶
func (o *PodPortInfo) GetContainerPort() float32
GetContainerPort returns the ContainerPort field value if set, zero value otherwise.
func (*PodPortInfo) GetContainerPortOk ¶
func (o *PodPortInfo) GetContainerPortOk() (*float32, bool)
GetContainerPortOk returns a tuple with the ContainerPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodPortInfo) GetHostIP ¶
func (o *PodPortInfo) GetHostIP() string
GetHostIP returns the HostIP field value if set, zero value otherwise.
func (*PodPortInfo) GetHostIPOk ¶
func (o *PodPortInfo) GetHostIPOk() (*string, bool)
GetHostIPOk returns a tuple with the HostIP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodPortInfo) GetHostPort ¶
func (o *PodPortInfo) GetHostPort() float32
GetHostPort returns the HostPort field value if set, zero value otherwise.
func (*PodPortInfo) GetHostPortOk ¶
func (o *PodPortInfo) GetHostPortOk() (*float32, bool)
GetHostPortOk returns a tuple with the HostPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodPortInfo) GetName ¶
func (o *PodPortInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PodPortInfo) GetNameOk ¶
func (o *PodPortInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodPortInfo) GetProtocol ¶
func (o *PodPortInfo) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*PodPortInfo) GetProtocolOk ¶
func (o *PodPortInfo) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PodPortInfo) HasContainerPort ¶
func (o *PodPortInfo) HasContainerPort() bool
HasContainerPort returns a boolean if a field has been set.
func (*PodPortInfo) HasHostIP ¶
func (o *PodPortInfo) HasHostIP() bool
HasHostIP returns a boolean if a field has been set.
func (*PodPortInfo) HasHostPort ¶
func (o *PodPortInfo) HasHostPort() bool
HasHostPort returns a boolean if a field has been set.
func (*PodPortInfo) HasName ¶
func (o *PodPortInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*PodPortInfo) HasProtocol ¶
func (o *PodPortInfo) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (PodPortInfo) MarshalJSON ¶
func (o PodPortInfo) MarshalJSON() ([]byte, error)
func (*PodPortInfo) SetContainerPort ¶
func (o *PodPortInfo) SetContainerPort(v float32)
SetContainerPort gets a reference to the given float32 and assigns it to the ContainerPort field.
func (*PodPortInfo) SetHostIP ¶
func (o *PodPortInfo) SetHostIP(v string)
SetHostIP gets a reference to the given string and assigns it to the HostIP field.
func (*PodPortInfo) SetHostPort ¶
func (o *PodPortInfo) SetHostPort(v float32)
SetHostPort gets a reference to the given float32 and assigns it to the HostPort field.
func (*PodPortInfo) SetName ¶
func (o *PodPortInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PodPortInfo) SetProtocol ¶
func (o *PodPortInfo) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (PodPortInfo) ToMap ¶
func (o PodPortInfo) ToMap() (map[string]interface{}, error)
type Purge ¶
type Purge struct { Path *string `json:"path,omitempty"` PreservePath *bool `json:"preserve_path,omitempty"` ExtraHeaders *string `json:"extra_headers,omitempty"` }
Purge struct for Purge
func NewPurge ¶
func NewPurge() *Purge
NewPurge instantiates a new Purge object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPurgeWithDefaults ¶
func NewPurgeWithDefaults() *Purge
NewPurgeWithDefaults instantiates a new Purge object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Purge) GetExtraHeaders ¶
GetExtraHeaders returns the ExtraHeaders field value if set, zero value otherwise.
func (*Purge) GetExtraHeadersOk ¶
GetExtraHeadersOk returns a tuple with the ExtraHeaders field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purge) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purge) GetPreservePath ¶
GetPreservePath returns the PreservePath field value if set, zero value otherwise.
func (*Purge) GetPreservePathOk ¶
GetPreservePathOk returns a tuple with the PreservePath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Purge) HasExtraHeaders ¶
HasExtraHeaders returns a boolean if a field has been set.
func (*Purge) HasPreservePath ¶
HasPreservePath returns a boolean if a field has been set.
func (Purge) MarshalJSON ¶
func (*Purge) SetExtraHeaders ¶
SetExtraHeaders gets a reference to the given string and assigns it to the ExtraHeaders field.
func (*Purge) SetPath ¶
SetPath gets a reference to the given string and assigns it to the Path field.
func (*Purge) SetPreservePath ¶
SetPreservePath gets a reference to the given bool and assigns it to the PreservePath field.
type PurgeBulkResponse ¶
type PurgeBulkResponse struct { Path *string `json:"path,omitempty"` InstancesPurged *int32 `json:"instances_purged,omitempty"` Error *string `json:"error,omitempty"` }
PurgeBulkResponse struct for PurgeBulkResponse
func NewPurgeBulkResponse ¶
func NewPurgeBulkResponse() *PurgeBulkResponse
NewPurgeBulkResponse instantiates a new PurgeBulkResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPurgeBulkResponseWithDefaults ¶
func NewPurgeBulkResponseWithDefaults() *PurgeBulkResponse
NewPurgeBulkResponseWithDefaults instantiates a new PurgeBulkResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PurgeBulkResponse) GetError ¶
func (o *PurgeBulkResponse) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*PurgeBulkResponse) GetErrorOk ¶
func (o *PurgeBulkResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PurgeBulkResponse) GetInstancesPurged ¶
func (o *PurgeBulkResponse) GetInstancesPurged() int32
GetInstancesPurged returns the InstancesPurged field value if set, zero value otherwise.
func (*PurgeBulkResponse) GetInstancesPurgedOk ¶
func (o *PurgeBulkResponse) GetInstancesPurgedOk() (*int32, bool)
GetInstancesPurgedOk returns a tuple with the InstancesPurged field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PurgeBulkResponse) GetPath ¶
func (o *PurgeBulkResponse) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*PurgeBulkResponse) GetPathOk ¶
func (o *PurgeBulkResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PurgeBulkResponse) HasError ¶
func (o *PurgeBulkResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*PurgeBulkResponse) HasInstancesPurged ¶
func (o *PurgeBulkResponse) HasInstancesPurged() bool
HasInstancesPurged returns a boolean if a field has been set.
func (*PurgeBulkResponse) HasPath ¶
func (o *PurgeBulkResponse) HasPath() bool
HasPath returns a boolean if a field has been set.
func (PurgeBulkResponse) MarshalJSON ¶
func (o PurgeBulkResponse) MarshalJSON() ([]byte, error)
func (*PurgeBulkResponse) SetError ¶
func (o *PurgeBulkResponse) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*PurgeBulkResponse) SetInstancesPurged ¶
func (o *PurgeBulkResponse) SetInstancesPurged(v int32)
SetInstancesPurged gets a reference to the given int32 and assigns it to the InstancesPurged field.
func (*PurgeBulkResponse) SetPath ¶
func (o *PurgeBulkResponse) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (PurgeBulkResponse) ToMap ¶
func (o PurgeBulkResponse) ToMap() (map[string]interface{}, error)
type Route ¶
type Route struct { Path *string `json:"path,omitempty"` Destination *string `json:"destination,omitempty"` HttpsOnly *bool `json:"https_only,omitempty"` Content *string `json:"content,omitempty"` }
Route struct for Route
func NewRoute ¶
func NewRoute() *Route
NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRouteWithDefaults ¶
func NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Route) GetContent ¶
GetContent returns the Content field value if set, zero value otherwise.
func (*Route) GetContentOk ¶
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetDestination ¶
GetDestination returns the Destination field value if set, zero value otherwise.
func (*Route) GetDestinationOk ¶
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetHttpsOnly ¶
GetHttpsOnly returns the HttpsOnly field value if set, zero value otherwise.
func (*Route) GetHttpsOnlyOk ¶
GetHttpsOnlyOk returns a tuple with the HttpsOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) HasContent ¶
HasContent returns a boolean if a field has been set.
func (*Route) HasDestination ¶
HasDestination returns a boolean if a field has been set.
func (*Route) HasHttpsOnly ¶
HasHttpsOnly returns a boolean if a field has been set.
func (Route) MarshalJSON ¶
func (*Route) SetContent ¶
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Route) SetDestination ¶
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*Route) SetHttpsOnly ¶
SetHttpsOnly gets a reference to the given bool and assigns it to the HttpsOnly field.
type RpaasApiService ¶
type RpaasApiService service
RpaasApiService RpaasApi service
func (*RpaasApiService) BindApp ¶
func (a *RpaasApiService) BindApp(ctx context.Context, instance string) ApiBindAppRequest
BindApp Binds the app to the rpaas instance
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiBindAppRequest
func (*RpaasApiService) BindAppExecute ¶
func (a *RpaasApiService) BindAppExecute(r ApiBindAppRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) BindInstance ¶
func (a *RpaasApiService) BindInstance(ctx context.Context, instance string) ApiBindInstanceRequest
BindInstance Bind Unit
Not used, just to follow Tsuru Service API spec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiBindInstanceRequest
Deprecated
func (*RpaasApiService) BindInstanceExecute ¶
func (a *RpaasApiService) BindInstanceExecute(r ApiBindInstanceRequest) (*http.Response, error)
Execute executes the request Deprecated
func (*RpaasApiService) CreateAutoscale ¶
func (a *RpaasApiService) CreateAutoscale(ctx context.Context, instance string) ApiCreateAutoscaleRequest
CreateAutoscale Set reverse proxy the autoscaling parameters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiCreateAutoscaleRequest
func (*RpaasApiService) CreateAutoscaleExecute ¶
func (a *RpaasApiService) CreateAutoscaleExecute(r ApiCreateAutoscaleRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) CreateInstance ¶
func (a *RpaasApiService) CreateInstance(ctx context.Context) ApiCreateInstanceRequest
CreateInstance Create an instance
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateInstanceRequest
func (*RpaasApiService) CreateInstanceExecute ¶
func (a *RpaasApiService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) DeleteInstance ¶
func (a *RpaasApiService) DeleteInstance(ctx context.Context, instance string) ApiDeleteInstanceRequest
DeleteInstance Delete an instance
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiDeleteInstanceRequest
func (*RpaasApiService) DeleteInstanceExecute ¶
func (a *RpaasApiService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) GetAutoscale ¶
func (a *RpaasApiService) GetAutoscale(ctx context.Context, instance string) ApiGetAutoscaleRequest
GetAutoscale Get reverse proxy instance autoscaling parameters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiGetAutoscaleRequest
func (*RpaasApiService) GetAutoscaleExecute ¶
func (a *RpaasApiService) GetAutoscaleExecute(r ApiGetAutoscaleRequest) (*Autoscale, *http.Response, error)
Execute executes the request
@return Autoscale
func (*RpaasApiService) GetInstance ¶
func (a *RpaasApiService) GetInstance(ctx context.Context, instance string) ApiGetInstanceRequest
GetInstance Get additional information about an instance
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiGetInstanceRequest
func (*RpaasApiService) GetInstanceExecute ¶
func (a *RpaasApiService) GetInstanceExecute(r ApiGetInstanceRequest) ([]AdditionalInstanceInfo, *http.Response, error)
Execute executes the request
@return []AdditionalInstanceInfo
func (*RpaasApiService) GetInstanceInfo ¶
func (a *RpaasApiService) GetInstanceInfo(ctx context.Context, instance string) ApiGetInstanceInfoRequest
GetInstanceInfo Get a summary info about an instance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiGetInstanceInfoRequest
func (*RpaasApiService) GetInstanceInfoExecute ¶
func (a *RpaasApiService) GetInstanceInfoExecute(r ApiGetInstanceInfoRequest) (*InstanceInfo, *http.Response, error)
Execute executes the request
@return InstanceInfo
func (*RpaasApiService) Healthcheck ¶
func (a *RpaasApiService) Healthcheck(ctx context.Context) ApiHealthcheckRequest
Healthcheck Check the API healthiness
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiHealthcheckRequest
func (*RpaasApiService) HealthcheckExecute ¶
func (a *RpaasApiService) HealthcheckExecute(r ApiHealthcheckRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*RpaasApiService) ListFlavors ¶
func (a *RpaasApiService) ListFlavors(ctx context.Context) ApiListFlavorsRequest
ListFlavors List supported flavors
This endpoint is part of legacy RPaaS API.
Deprecated in favor of `GET /resources/plans` (see the supported flavors within `schemas` field of `Plan` object).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListFlavorsRequest
Deprecated
func (*RpaasApiService) ListFlavorsByInstance ¶
func (a *RpaasApiService) ListFlavorsByInstance(ctx context.Context, instance string) ApiListFlavorsByInstanceRequest
ListFlavorsByInstance List flavors by instance
This endpoint is part of legacy RPaaS API.
Deprecated in favor of `GET /resources/plans` (see the supported flavors within `schemas` field of `Plan` object).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiListFlavorsByInstanceRequest
Deprecated
func (*RpaasApiService) ListFlavorsByInstanceExecute ¶
func (a *RpaasApiService) ListFlavorsByInstanceExecute(r ApiListFlavorsByInstanceRequest) ([]Flavor, *http.Response, error)
Execute executes the request
@return []Flavor
Deprecated
func (*RpaasApiService) ListFlavorsExecute ¶
func (a *RpaasApiService) ListFlavorsExecute(r ApiListFlavorsRequest) ([]Flavor, *http.Response, error)
Execute executes the request
@return []Flavor
Deprecated
func (*RpaasApiService) ListPlans ¶
func (a *RpaasApiService) ListPlans(ctx context.Context) ApiListPlansRequest
ListPlans List supported plans
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPlansRequest
func (*RpaasApiService) ListPlansByInstance ¶
func (a *RpaasApiService) ListPlansByInstance(ctx context.Context, instance string) ApiListPlansByInstanceRequest
ListPlansByInstance List supported plans by instance
This endpoint is part of legacy RPaaS API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiListPlansByInstanceRequest
Deprecated
func (*RpaasApiService) ListPlansByInstanceExecute ¶
func (a *RpaasApiService) ListPlansByInstanceExecute(r ApiListPlansByInstanceRequest) ([]Plan, *http.Response, error)
Execute executes the request
@return []Plan
Deprecated
func (*RpaasApiService) ListPlansExecute ¶
func (a *RpaasApiService) ListPlansExecute(r ApiListPlansRequest) ([]Plan, *http.Response, error)
Execute executes the request
@return []Plan
func (*RpaasApiService) PurgeCache ¶
func (a *RpaasApiService) PurgeCache(ctx context.Context, instance string) ApiPurgeCacheRequest
PurgeCache Purge cache key of rpaasv2.
This endpoint is exclusive for RPaaS v2 API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiPurgeCacheRequest
func (*RpaasApiService) PurgeCacheExecute ¶
func (a *RpaasApiService) PurgeCacheExecute(r ApiPurgeCacheRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*RpaasApiService) RemoveAutoscale ¶
func (a *RpaasApiService) RemoveAutoscale(ctx context.Context, instance string) ApiRemoveAutoscaleRequest
RemoveAutoscale Remove the reverse proxy instance autoscaling capability
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiRemoveAutoscaleRequest
func (*RpaasApiService) RemoveAutoscaleExecute ¶
func (a *RpaasApiService) RemoveAutoscaleExecute(r ApiRemoveAutoscaleRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) ResourcesInstanceStatusGet ¶
func (a *RpaasApiService) ResourcesInstanceStatusGet(ctx context.Context, instance string) ApiResourcesInstanceStatusGetRequest
ResourcesInstanceStatusGet Whether instance is running or not
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiResourcesInstanceStatusGetRequest
func (*RpaasApiService) ResourcesInstanceStatusGetExecute ¶
func (a *RpaasApiService) ResourcesInstanceStatusGetExecute(r ApiResourcesInstanceStatusGetRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) UnbindInstance ¶
func (a *RpaasApiService) UnbindInstance(ctx context.Context, instance string) ApiUnbindInstanceRequest
UnbindInstance Unbind Unit
Not used, just to follow Tsuru Service API spec
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiUnbindInstanceRequest
Deprecated
func (*RpaasApiService) UnbindInstanceExecute ¶
func (a *RpaasApiService) UnbindInstanceExecute(r ApiUnbindInstanceRequest) (*http.Response, error)
Execute executes the request Deprecated
func (*RpaasApiService) UpdateAutoscale ¶
func (a *RpaasApiService) UpdateAutoscale(ctx context.Context, instance string) ApiUpdateAutoscaleRequest
UpdateAutoscale Update the reverse proxy instance autoscaling parameters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiUpdateAutoscaleRequest
func (*RpaasApiService) UpdateAutoscaleExecute ¶
func (a *RpaasApiService) UpdateAutoscaleExecute(r ApiUpdateAutoscaleRequest) (*http.Response, error)
Execute executes the request
func (*RpaasApiService) UpdateInstance ¶
func (a *RpaasApiService) UpdateInstance(ctx context.Context, instance string) ApiUpdateInstanceRequest
UpdateInstance Update an instance
This endpoint is part of Tsuru Service API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiUpdateInstanceRequest
func (*RpaasApiService) UpdateInstanceExecute ¶
func (a *RpaasApiService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*http.Response, error)
Execute executes the request
type RpaasPurgerApiService ¶
type RpaasPurgerApiService service
RpaasPurgerApiService RpaasPurgerApi service
func (*RpaasPurgerApiService) PurgeBulkCache ¶
func (a *RpaasPurgerApiService) PurgeBulkCache(ctx context.Context, instance string) ApiPurgeBulkCacheRequest
PurgeBulkCache Purge objects from rpaasv2.
This endpoint is exclusive for RPaaS v2 API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param instance Instance name @return ApiPurgeBulkCacheRequest
func (*RpaasPurgerApiService) PurgeBulkCacheExecute ¶
func (a *RpaasPurgerApiService) PurgeBulkCacheExecute(r ApiPurgeBulkCacheRequest) ([]PurgeBulkResponse, *http.Response, error)
Execute executes the request
@return []PurgeBulkResponse
type ScheduledWindow ¶
type ScheduledWindow struct { // Min number of running pods while this window is active. MinReplicas int32 `json:"minReplicas"` // An Cron expression defining the start of the scheduled window. Start string `json:"start"` // An Cron expression defining the end of the scheduled window. End string `json:"end"` // Timezone is a zone name registered on IANA time zone database, default is UTC. Timezone *string `json:"timezone,omitempty"` }
ScheduledWindow struct for ScheduledWindow
func NewScheduledWindow ¶
func NewScheduledWindow(minReplicas int32, start string, end string) *ScheduledWindow
NewScheduledWindow instantiates a new ScheduledWindow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScheduledWindowWithDefaults ¶
func NewScheduledWindowWithDefaults() *ScheduledWindow
NewScheduledWindowWithDefaults instantiates a new ScheduledWindow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ScheduledWindow) GetEnd ¶
func (o *ScheduledWindow) GetEnd() string
GetEnd returns the End field value
func (*ScheduledWindow) GetEndOk ¶
func (o *ScheduledWindow) GetEndOk() (*string, bool)
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*ScheduledWindow) GetMinReplicas ¶
func (o *ScheduledWindow) GetMinReplicas() int32
GetMinReplicas returns the MinReplicas field value
func (*ScheduledWindow) GetMinReplicasOk ¶
func (o *ScheduledWindow) GetMinReplicasOk() (*int32, bool)
GetMinReplicasOk returns a tuple with the MinReplicas field value and a boolean to check if the value has been set.
func (*ScheduledWindow) GetStart ¶
func (o *ScheduledWindow) GetStart() string
GetStart returns the Start field value
func (*ScheduledWindow) GetStartOk ¶
func (o *ScheduledWindow) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*ScheduledWindow) GetTimezone ¶ added in v0.38.7
func (o *ScheduledWindow) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*ScheduledWindow) GetTimezoneOk ¶ added in v0.38.7
func (o *ScheduledWindow) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScheduledWindow) HasTimezone ¶ added in v0.38.7
func (o *ScheduledWindow) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (ScheduledWindow) MarshalJSON ¶
func (o ScheduledWindow) MarshalJSON() ([]byte, error)
func (*ScheduledWindow) SetMinReplicas ¶
func (o *ScheduledWindow) SetMinReplicas(v int32)
SetMinReplicas sets field value
func (*ScheduledWindow) SetStart ¶
func (o *ScheduledWindow) SetStart(v string)
SetStart sets field value
func (*ScheduledWindow) SetTimezone ¶ added in v0.38.7
func (o *ScheduledWindow) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (ScheduledWindow) ToMap ¶
func (o ScheduledWindow) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_rpaas.go
- api_rpaas_purger.go
- client.go
- configuration.go
- model_additional_instance_info.go
- model_autoscale.go
- model_block.go
- model_certificate_info.go
- model_create_instance.go
- model_create_instance_parameters.go
- model_error.go
- model_flavor.go
- model_instance_info.go
- model_plan.go
- model_plan_schemas.go
- model_plan_schemas_service_binding.go
- model_plan_schemas_service_binding_create.go
- model_plan_schemas_service_instance.go
- model_plan_schemas_service_instance_create.go
- model_pod_info.go
- model_pod_port_info.go
- model_purge.go
- model_purge_bulk_response.go
- model_route.go
- model_scheduled_window.go
- response.go
- utils.go