Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
- func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string, regionId string) (*Instance, error)
- func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
- func (a *APIClient) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
- func (a *APIClient) DeleteInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
- func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
- func (a *APIClient) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
- func (a *APIClient) GetInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Instance, error)
- func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Instance, error)
- func (a *APIClient) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
- func (a *APIClient) GetKubeconfigByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Kubeconfig, error)
- func (a *APIClient) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
- func (a *APIClient) GetKubeconfigByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Kubeconfig, error)
- func (a *APIClient) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
- func (a *APIClient) GetTokenByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Token, error)
- func (a *APIClient) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
- func (a *APIClient) GetTokenByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Token, error)
- func (a *APIClient) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
- func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string, regionId string) (*InstanceList, error)
- func (a *APIClient) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
- func (a *APIClient) ListPlansGlobalExecute(ctx context.Context) (*PlanList, error)
- func (a *APIClient) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
- func (a *APIClient) ListPlansProjectExecute(ctx context.Context, projectId string) (*PlanList, error)
- func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
- func (a *APIClient) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
- func (a *APIClient) UpdateInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
- func (a *APIClient) UpdateInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
- type ApiCreateInstanceRequest
- type ApiDeleteInstanceByNameRequest
- type ApiDeleteInstanceRequest
- type ApiGetInstanceByNameRequest
- type ApiGetInstanceRequest
- type ApiGetKubeconfigByInstanceIdRequest
- type ApiGetKubeconfigByInstanceNameRequest
- type ApiGetTokenByInstanceIdRequest
- type ApiGetTokenByInstanceNameRequest
- type ApiListInstancesRequest
- type ApiListPlansGlobalRequest
- type ApiListPlansProjectRequest
- type ApiUpdateInstanceByNameRequest
- type ApiUpdateInstanceRequest
- type BadRequest
- func (o *BadRequest) GetCode() (res BadRequestGetCodeRetType)
- func (o *BadRequest) GetCodeOk() (ret BadRequestGetCodeRetType, ok bool)
- func (o *BadRequest) GetMessage() (res BadRequestGetMessageRetType)
- func (o *BadRequest) GetMessageOk() (ret BadRequestGetMessageRetType, ok bool)
- func (o *BadRequest) HasCode() bool
- func (o *BadRequest) HasMessage() bool
- func (o *BadRequest) SetCode(v BadRequestGetCodeRetType)
- func (o *BadRequest) SetMessage(v BadRequestGetMessageRetType)
- func (o BadRequest) ToMap() (map[string]interface{}, error)
- type BadRequestGetCodeArgType
- type BadRequestGetCodeAttributeType
- type BadRequestGetCodeRetType
- type BadRequestGetMessageArgType
- type BadRequestGetMessageAttributeType
- type BadRequestGetMessageRetType
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetDescription() (res CreateInstancePayloadGetDescriptionRetType)
- func (o *CreateInstancePayload) GetDescriptionOk() (ret CreateInstancePayloadGetDescriptionRetType, ok bool)
- func (o *CreateInstancePayload) GetDisplayName() (ret CreateInstancePayloadGetDisplayNameRetType)
- func (o *CreateInstancePayload) GetDisplayNameOk() (ret CreateInstancePayloadGetDisplayNameRetType, ok bool)
- func (o *CreateInstancePayload) GetPlanId() (ret CreateInstancePayloadGetPlanIdRetType)
- func (o *CreateInstancePayload) GetPlanIdOk() (ret CreateInstancePayloadGetPlanIdRetType, ok bool)
- func (o *CreateInstancePayload) HasDescription() bool
- func (o *CreateInstancePayload) SetDescription(v CreateInstancePayloadGetDescriptionRetType)
- func (o *CreateInstancePayload) SetDisplayName(v CreateInstancePayloadGetDisplayNameRetType)
- func (o *CreateInstancePayload) SetPlanId(v CreateInstancePayloadGetPlanIdRetType)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- type CreateInstancePayloadGetDescriptionArgType
- type CreateInstancePayloadGetDescriptionAttributeType
- type CreateInstancePayloadGetDescriptionRetType
- type CreateInstancePayloadGetDisplayNameArgType
- type CreateInstancePayloadGetDisplayNameAttributeType
- type CreateInstancePayloadGetDisplayNameRetType
- type CreateInstancePayloadGetPlanIdArgType
- type CreateInstancePayloadGetPlanIdAttributeType
- type CreateInstancePayloadGetPlanIdRetType
- type CreateInstanceRequest
- type DefaultApi
- type DefaultApiService
- type DeleteInstanceByNameRequest
- type DeleteInstanceRequest
- type GetInstanceByNameRequest
- type GetInstanceRequest
- type GetKubeconfigByInstanceIdRequest
- type GetKubeconfigByInstanceNameRequest
- type GetTokenByInstanceIdRequest
- type GetTokenByInstanceNameRequest
- type Instance
- func (o *Instance) GetCreated() (ret InstanceGetCreatedRetType)
- func (o *Instance) GetCreatedOk() (ret InstanceGetCreatedRetType, ok bool)
- func (o *Instance) GetDescription() (res InstanceGetDescriptionRetType)
- func (o *Instance) GetDescriptionOk() (ret InstanceGetDescriptionRetType, ok bool)
- func (o *Instance) GetDisplayName() (ret InstanceGetDisplayNameRetType)
- func (o *Instance) GetDisplayNameOk() (ret InstanceGetDisplayNameRetType, ok bool)
- func (o *Instance) GetFrontendUrl() (ret InstanceGetFrontendUrlRetType)
- func (o *Instance) GetFrontendUrlOk() (ret InstanceGetFrontendUrlRetType, ok bool)
- func (o *Instance) GetId() (ret InstanceGetIdRetType)
- func (o *Instance) GetIdOk() (ret InstanceGetIdRetType, ok bool)
- func (o *Instance) GetPlanId() (ret InstanceGetPlanIdRetType)
- func (o *Instance) GetPlanIdOk() (ret InstanceGetPlanIdRetType, ok bool)
- func (o *Instance) GetStatus() (ret InstanceGetStatusRetType)
- func (o *Instance) GetStatusOk() (ret InstanceGetStatusRetType, ok bool)
- func (o *Instance) HasDescription() bool
- func (o *Instance) SetCreated(v InstanceGetCreatedRetType)
- func (o *Instance) SetDescription(v InstanceGetDescriptionRetType)
- func (o *Instance) SetDisplayName(v InstanceGetDisplayNameRetType)
- func (o *Instance) SetFrontendUrl(v InstanceGetFrontendUrlRetType)
- func (o *Instance) SetId(v InstanceGetIdRetType)
- func (o *Instance) SetPlanId(v InstanceGetPlanIdRetType)
- func (o *Instance) SetStatus(v InstanceGetStatusRetType)
- func (o Instance) ToMap() (map[string]interface{}, error)
- type InstanceGetCreatedArgType
- type InstanceGetCreatedAttributeType
- type InstanceGetCreatedRetType
- type InstanceGetDescriptionArgType
- type InstanceGetDescriptionAttributeType
- type InstanceGetDescriptionRetType
- type InstanceGetDisplayNameArgType
- type InstanceGetDisplayNameAttributeType
- type InstanceGetDisplayNameRetType
- type InstanceGetFrontendUrlArgType
- type InstanceGetFrontendUrlAttributeType
- type InstanceGetFrontendUrlRetType
- type InstanceGetIdArgType
- type InstanceGetIdAttributeType
- type InstanceGetIdRetType
- type InstanceGetPlanIdArgType
- type InstanceGetPlanIdAttributeType
- type InstanceGetPlanIdRetType
- type InstanceGetStatusArgType
- type InstanceGetStatusAttributeType
- type InstanceGetStatusRetType
- type InstanceList
- type InstanceListGetInstancesArgType
- type InstanceListGetInstancesAttributeType
- type InstanceListGetInstancesRetType
- type InstanceStatus
- type Kubeconfig
- type KubeconfigGetKubeconfigArgType
- type KubeconfigGetKubeconfigAttributeType
- type KubeconfigGetKubeconfigRetType
- type ListInstancesRequest
- type ListPlansGlobalRequest
- type ListPlansProjectRequest
- type MappedNullable
- type NullableBadRequest
- type NullableBool
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInstance
- type NullableInstanceList
- func (v NullableInstanceList) Get() *InstanceList
- func (v NullableInstanceList) IsSet() bool
- func (v NullableInstanceList) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceList) Set(val *InstanceList)
- func (v *NullableInstanceList) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceList) Unset()
- type NullableInstanceStatus
- func (v NullableInstanceStatus) Get() *InstanceStatus
- func (v NullableInstanceStatus) IsSet() bool
- func (v NullableInstanceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceStatus) Set(val *InstanceStatus)
- func (v *NullableInstanceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceStatus) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKubeconfig
- type NullablePlan
- type NullablePlanList
- type NullableString
- type NullableTime
- type NullableToken
- type NullableUnauthorizedRequest
- func (v NullableUnauthorizedRequest) Get() *UnauthorizedRequest
- func (v NullableUnauthorizedRequest) IsSet() bool
- func (v NullableUnauthorizedRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedRequest) Set(val *UnauthorizedRequest)
- func (v *NullableUnauthorizedRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedRequest) Unset()
- type NullableUpdateInstanceByNamePayload
- func (v NullableUpdateInstanceByNamePayload) Get() *UpdateInstanceByNamePayload
- func (v NullableUpdateInstanceByNamePayload) IsSet() bool
- func (v NullableUpdateInstanceByNamePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstanceByNamePayload) Set(val *UpdateInstanceByNamePayload)
- func (v *NullableUpdateInstanceByNamePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstanceByNamePayload) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUser
- type NullableValue
- type Plan
- func (o *Plan) GetDescription() (res PlanGetDescriptionRetType)
- func (o *Plan) GetDescriptionOk() (ret PlanGetDescriptionRetType, ok bool)
- func (o *Plan) GetId() (res PlanGetIdRetType)
- func (o *Plan) GetIdOk() (ret PlanGetIdRetType, ok bool)
- func (o *Plan) GetMaxEdgeHosts() (res PlanGetMaxEdgeHostsRetType)
- func (o *Plan) GetMaxEdgeHostsOk() (ret PlanGetMaxEdgeHostsRetType, ok bool)
- func (o *Plan) GetName() (res PlanGetNameRetType)
- func (o *Plan) GetNameOk() (ret PlanGetNameRetType, ok bool)
- func (o *Plan) HasDescription() bool
- func (o *Plan) HasId() bool
- func (o *Plan) HasMaxEdgeHosts() bool
- func (o *Plan) HasName() bool
- func (o *Plan) SetDescription(v PlanGetDescriptionRetType)
- func (o *Plan) SetId(v PlanGetIdRetType)
- func (o *Plan) SetMaxEdgeHosts(v PlanGetMaxEdgeHostsRetType)
- func (o *Plan) SetName(v PlanGetNameRetType)
- func (o Plan) ToMap() (map[string]interface{}, error)
- type PlanGetDescriptionArgType
- type PlanGetDescriptionAttributeType
- type PlanGetDescriptionRetType
- type PlanGetIdArgType
- type PlanGetIdAttributeType
- type PlanGetIdRetType
- type PlanGetMaxEdgeHostsArgType
- type PlanGetMaxEdgeHostsAttributeType
- type PlanGetMaxEdgeHostsRetType
- type PlanGetNameArgType
- type PlanGetNameAttributeType
- type PlanGetNameRetType
- type PlanList
- func (o *PlanList) GetValidPlans() (res PlanListGetValidPlansRetType)
- func (o *PlanList) GetValidPlansOk() (ret PlanListGetValidPlansRetType, ok bool)
- func (o *PlanList) HasValidPlans() bool
- func (o *PlanList) SetValidPlans(v PlanListGetValidPlansRetType)
- func (o PlanList) ToMap() (map[string]interface{}, error)
- type PlanListGetValidPlansArgType
- type PlanListGetValidPlansAttributeType
- type PlanListGetValidPlansRetType
- type Token
- type TokenGetTokenArgType
- type TokenGetTokenAttributeType
- type TokenGetTokenRetType
- type UnauthorizedRequest
- func (o *UnauthorizedRequest) GetCode() (res UnauthorizedRequestGetCodeRetType)
- func (o *UnauthorizedRequest) GetCodeOk() (ret UnauthorizedRequestGetCodeRetType, ok bool)
- func (o *UnauthorizedRequest) GetMessage() (res UnauthorizedRequestGetMessageRetType)
- func (o *UnauthorizedRequest) GetMessageOk() (ret UnauthorizedRequestGetMessageRetType, ok bool)
- func (o *UnauthorizedRequest) HasCode() bool
- func (o *UnauthorizedRequest) HasMessage() bool
- func (o *UnauthorizedRequest) SetCode(v UnauthorizedRequestGetCodeRetType)
- func (o *UnauthorizedRequest) SetMessage(v UnauthorizedRequestGetMessageRetType)
- func (o UnauthorizedRequest) ToMap() (map[string]interface{}, error)
- type UnauthorizedRequestGetCodeArgType
- type UnauthorizedRequestGetCodeAttributeType
- type UnauthorizedRequestGetCodeRetType
- type UnauthorizedRequestGetMessageArgType
- type UnauthorizedRequestGetMessageAttributeType
- type UnauthorizedRequestGetMessageRetType
- type UpdateInstanceByNamePayload
- func (o *UpdateInstanceByNamePayload) GetDescription() (res UpdateInstanceByNamePayloadGetDescriptionRetType)
- func (o *UpdateInstanceByNamePayload) GetDescriptionOk() (ret UpdateInstanceByNamePayloadGetDescriptionRetType, ok bool)
- func (o *UpdateInstanceByNamePayload) GetPlanId() (res UpdateInstanceByNamePayloadGetPlanIdRetType)
- func (o *UpdateInstanceByNamePayload) GetPlanIdOk() (ret UpdateInstanceByNamePayloadGetPlanIdRetType, ok bool)
- func (o *UpdateInstanceByNamePayload) HasDescription() bool
- func (o *UpdateInstanceByNamePayload) HasPlanId() bool
- func (o *UpdateInstanceByNamePayload) SetDescription(v UpdateInstanceByNamePayloadGetDescriptionRetType)
- func (o *UpdateInstanceByNamePayload) SetPlanId(v UpdateInstanceByNamePayloadGetPlanIdRetType)
- func (o UpdateInstanceByNamePayload) ToMap() (map[string]interface{}, error)
- type UpdateInstanceByNamePayloadGetDescriptionArgType
- type UpdateInstanceByNamePayloadGetDescriptionAttributeType
- type UpdateInstanceByNamePayloadGetDescriptionRetType
- type UpdateInstanceByNamePayloadGetPlanIdArgType
- type UpdateInstanceByNamePayloadGetPlanIdAttributeType
- type UpdateInstanceByNamePayloadGetPlanIdRetType
- type UpdateInstanceByNameRequest
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetDescription() (res UpdateInstancePayloadGetDescriptionRetType)
- func (o *UpdateInstancePayload) GetDescriptionOk() (ret UpdateInstancePayloadGetDescriptionRetType, ok bool)
- func (o *UpdateInstancePayload) GetPlanId() (res UpdateInstancePayloadGetPlanIdRetType)
- func (o *UpdateInstancePayload) GetPlanIdOk() (ret UpdateInstancePayloadGetPlanIdRetType, ok bool)
- func (o *UpdateInstancePayload) HasDescription() bool
- func (o *UpdateInstancePayload) HasPlanId() bool
- func (o *UpdateInstancePayload) SetDescription(v UpdateInstancePayloadGetDescriptionRetType)
- func (o *UpdateInstancePayload) SetPlanId(v UpdateInstancePayloadGetPlanIdRetType)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- type UpdateInstancePayloadGetDescriptionArgType
- type UpdateInstancePayloadGetDescriptionAttributeType
- type UpdateInstancePayloadGetDescriptionRetType
- type UpdateInstancePayloadGetPlanIdArgType
- type UpdateInstancePayloadGetPlanIdAttributeType
- type UpdateInstancePayloadGetPlanIdRetType
- type UpdateInstanceRequest
- type User
- func (o *User) GetEmail() (ret UserGetEmailRetType)
- func (o *User) GetEmailOk() (ret UserGetEmailRetType, ok bool)
- func (o *User) GetInternalId() (ret UserGetInternalIdRetType)
- func (o *User) GetInternalIdOk() (ret UserGetInternalIdRetType, ok bool)
- func (o *User) SetEmail(v UserGetEmailRetType)
- func (o *User) SetInternalId(v UserGetInternalIdRetType)
- func (o User) ToMap() (map[string]interface{}, error)
- type UserGetEmailArgType
- type UserGetEmailAttributeType
- type UserGetEmailRetType
- type UserGetInternalIdArgType
- type UserGetInternalIdAttributeType
- type UserGetInternalIdRetType
Constants ¶
This section is empty.
Variables ¶
var AllowedInstanceStatusEnumValues = []InstanceStatus{
"error",
"reconciling",
"active",
"deleting",
}
All allowed values of Instance enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
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 {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Edge Cloud API API v1beta1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateInstance ¶ added in v0.3.0
func (a *APIClient) CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
CreateInstance: Method for CreateInstance
Creates a new instance within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @return ApiCreateInstanceRequest
func (*APIClient) CreateInstanceExecute ¶ added in v0.3.0
func (*APIClient) DeleteInstance ¶
func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance: Method for DeleteInstance
Deletes the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param instanceId The full ID of the instance, <display_name>-<project_hash>. @return ApiDeleteInstanceRequest
func (*APIClient) DeleteInstanceByName ¶
func (a *APIClient) DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
DeleteInstanceByName: Method for DeleteInstanceByName
Deletes the given instance by name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param displayName The instance display name. @return ApiDeleteInstanceByNameRequest
func (*APIClient) DeleteInstanceByNameExecute ¶
func (*APIClient) DeleteInstanceExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) GetInstance ¶
func (a *APIClient) GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
GetInstance: Method for GetInstance
Returns the details for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param instanceId The full ID of the instance, <display_name>-<project_hash>. @return ApiGetInstanceRequest
func (*APIClient) GetInstanceByName ¶
func (a *APIClient) GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
GetInstanceByName: Method for GetInstanceByName
Returns the details for the given instance by name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param displayName The instance display name. @return ApiGetInstanceByNameRequest
func (*APIClient) GetInstanceByNameExecute ¶
func (*APIClient) GetInstanceExecute ¶
func (*APIClient) GetKubeconfigByInstanceId ¶
func (a *APIClient) GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
GetKubeconfigByInstanceId: Method for GetKubeconfigByInstanceId
Returns the kubeconfig for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param instanceId The full ID of the instance, <display_name>-<project_hash>. @return ApiGetKubeconfigByInstanceIdRequest
func (*APIClient) GetKubeconfigByInstanceIdExecute ¶
func (*APIClient) GetKubeconfigByInstanceName ¶
func (a *APIClient) GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
GetKubeconfigByInstanceName: Method for GetKubeconfigByInstanceName
Returns the kubeconfig for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param displayName The instance display name. @return ApiGetKubeconfigByInstanceNameRequest
func (*APIClient) GetKubeconfigByInstanceNameExecute ¶
func (*APIClient) GetTokenByInstanceId ¶
func (a *APIClient) GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
GetTokenByInstanceId: Method for GetTokenByInstanceId
Returns an ServiceAccount token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param instanceId The instance UUID. @return ApiGetTokenByInstanceIdRequest
func (*APIClient) GetTokenByInstanceIdExecute ¶
func (*APIClient) GetTokenByInstanceName ¶
func (a *APIClient) GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
GetTokenByInstanceName: Method for GetTokenByInstanceName
Returns an ServiceAccount token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param displayName The instance display name. @return ApiGetTokenByInstanceNameRequest
func (*APIClient) GetTokenByInstanceNameExecute ¶
func (*APIClient) ListInstances ¶ added in v0.3.0
func (a *APIClient) ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
ListInstances: Method for ListInstances
Returns a list of all instances within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @return ApiListInstancesRequest
func (*APIClient) ListInstancesExecute ¶ added in v0.3.0
func (*APIClient) ListPlansGlobal ¶
func (a *APIClient) ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
ListPlansGlobal: Method for ListPlansGlobal
List all global plans.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPlansGlobalRequest
func (*APIClient) ListPlansGlobalExecute ¶
func (*APIClient) ListPlansProject ¶
func (a *APIClient) ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
ListPlansProject: Method for ListPlansProject
List all possible plans for the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the plan is part of. @return ApiListPlansProjectRequest
func (*APIClient) ListPlansProjectExecute ¶
func (*APIClient) UpdateInstance ¶
func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance: Method for UpdateInstance
Updates the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param instanceId The full ID of the instance, <display_name>-<project_hash>. @return ApiUpdateInstanceRequest
func (*APIClient) UpdateInstanceByName ¶
func (a *APIClient) UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
UpdateInstanceByName: Method for UpdateInstanceByName
Updates the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the instance is part of. @param regionId The STACKIT region the instance is part of. @param displayName The instance display name. @return ApiUpdateInstanceByNameRequest
func (*APIClient) UpdateInstanceByNameExecute ¶
type ApiCreateInstanceRequest ¶ added in v0.3.0
type ApiCreateInstanceRequest interface {
CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
Execute() (*Instance, error)
}
type ApiDeleteInstanceByNameRequest ¶
type ApiDeleteInstanceByNameRequest interface {
Execute() error
}
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest interface {
Execute() error
}
type ApiGetInstanceRequest ¶
type ApiGetKubeconfigByInstanceIdRequest ¶
type ApiGetKubeconfigByInstanceIdRequest interface {
// Expiration of the included token in seconds
ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceIdRequest
Execute() (*Kubeconfig, error)
}
type ApiGetKubeconfigByInstanceNameRequest ¶
type ApiGetKubeconfigByInstanceNameRequest interface {
// Expiration of the included token in seconds
ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceNameRequest
Execute() (*Kubeconfig, error)
}
type ApiGetTokenByInstanceIdRequest ¶
type ApiGetTokenByInstanceIdRequest interface {
// Expiration of the token in seconds
ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceIdRequest
Execute() (*Token, error)
}
type ApiGetTokenByInstanceNameRequest ¶
type ApiGetTokenByInstanceNameRequest interface {
// Expiration of the included token in seconds
ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceNameRequest
Execute() (*Token, error)
}
type ApiListInstancesRequest ¶ added in v0.3.0
type ApiListInstancesRequest interface {
Execute() (*InstanceList, error)
}
type ApiUpdateInstanceByNameRequest ¶
type ApiUpdateInstanceByNameRequest interface {
UpdateInstanceByNamePayload(updateInstanceByNamePayload UpdateInstanceByNamePayload) ApiUpdateInstanceByNameRequest
Execute() error
}
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest interface {
UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
Execute() error
}
type BadRequest ¶
type BadRequest struct {
Code BadRequestGetCodeAttributeType `json:"code,omitempty"`
Message BadRequestGetMessageAttributeType `json:"message,omitempty"`
}
BadRequest struct for BadRequest
func NewBadRequest ¶
func NewBadRequest() *BadRequest
NewBadRequest instantiates a new BadRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBadRequestWithDefaults ¶
func NewBadRequestWithDefaults() *BadRequest
NewBadRequestWithDefaults instantiates a new BadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BadRequest) GetCode ¶
func (o *BadRequest) GetCode() (res BadRequestGetCodeRetType)
GetCode returns the Code field value if set, zero value otherwise.
func (*BadRequest) GetCodeOk ¶
func (o *BadRequest) GetCodeOk() (ret BadRequestGetCodeRetType, ok bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) GetMessage ¶
func (o *BadRequest) GetMessage() (res BadRequestGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*BadRequest) GetMessageOk ¶
func (o *BadRequest) GetMessageOk() (ret BadRequestGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BadRequest) HasCode ¶
func (o *BadRequest) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*BadRequest) HasMessage ¶
func (o *BadRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*BadRequest) SetCode ¶
func (o *BadRequest) SetCode(v BadRequestGetCodeRetType)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*BadRequest) SetMessage ¶
func (o *BadRequest) SetMessage(v BadRequestGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (BadRequest) ToMap ¶
func (o BadRequest) ToMap() (map[string]interface{}, error)
type BadRequestGetCodeArgType ¶
type BadRequestGetCodeArgType = string
type BadRequestGetCodeAttributeType ¶
type BadRequestGetCodeAttributeType = *string
isNotNullableString
type BadRequestGetCodeRetType ¶
type BadRequestGetCodeRetType = string
type BadRequestGetMessageArgType ¶
type BadRequestGetMessageArgType = string
type BadRequestGetMessageAttributeType ¶
type BadRequestGetMessageAttributeType = *string
isNotNullableString
type BadRequestGetMessageRetType ¶
type BadRequestGetMessageRetType = string
type CreateInstancePayload ¶ added in v0.3.0
type CreateInstancePayload struct {
// A user chosen description to distinguish multiple instances.
Description CreateInstancePayloadGetDescriptionAttributeType `json:"description,omitempty"`
// The displayed name to distinguish multiple instances.
// REQUIRED
DisplayName CreateInstancePayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
// Service Plan configures the size of the Instance.
// REQUIRED
PlanId CreateInstancePayloadGetPlanIdAttributeType `json:"planId" required:"true"`
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶ added in v0.3.0
func NewCreateInstancePayload(displayName CreateInstancePayloadGetDisplayNameArgType, planId CreateInstancePayloadGetPlanIdArgType) *CreateInstancePayload
NewCreateInstancePayload instantiates a new CreateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstancePayloadWithDefaults ¶ added in v0.3.0
func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload
NewCreateInstancePayloadWithDefaults instantiates a new CreateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstancePayload) GetDescription ¶ added in v0.3.0
func (o *CreateInstancePayload) GetDescription() (res CreateInstancePayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateInstancePayload) GetDescriptionOk ¶ added in v0.3.0
func (o *CreateInstancePayload) GetDescriptionOk() (ret CreateInstancePayloadGetDescriptionRetType, ok 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 (*CreateInstancePayload) GetDisplayName ¶ added in v0.3.0
func (o *CreateInstancePayload) GetDisplayName() (ret CreateInstancePayloadGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value
func (*CreateInstancePayload) GetDisplayNameOk ¶ added in v0.3.0
func (o *CreateInstancePayload) GetDisplayNameOk() (ret CreateInstancePayloadGetDisplayNameRetType, ok bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetPlanId ¶ added in v0.3.0
func (o *CreateInstancePayload) GetPlanId() (ret CreateInstancePayloadGetPlanIdRetType)
GetPlanId returns the PlanId field value
func (*CreateInstancePayload) GetPlanIdOk ¶ added in v0.3.0
func (o *CreateInstancePayload) GetPlanIdOk() (ret CreateInstancePayloadGetPlanIdRetType, ok bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasDescription ¶ added in v0.3.0
func (o *CreateInstancePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateInstancePayload) SetDescription ¶ added in v0.3.0
func (o *CreateInstancePayload) SetDescription(v CreateInstancePayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateInstancePayload) SetDisplayName ¶ added in v0.3.0
func (o *CreateInstancePayload) SetDisplayName(v CreateInstancePayloadGetDisplayNameRetType)
SetDisplayName sets field value
func (*CreateInstancePayload) SetPlanId ¶ added in v0.3.0
func (o *CreateInstancePayload) SetPlanId(v CreateInstancePayloadGetPlanIdRetType)
SetPlanId sets field value
func (CreateInstancePayload) ToMap ¶ added in v0.3.0
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
type CreateInstancePayloadGetDescriptionArgType ¶ added in v0.3.0
type CreateInstancePayloadGetDescriptionArgType = string
type CreateInstancePayloadGetDescriptionAttributeType ¶ added in v0.3.0
type CreateInstancePayloadGetDescriptionAttributeType = *string
isNotNullableString
type CreateInstancePayloadGetDescriptionRetType ¶ added in v0.3.0
type CreateInstancePayloadGetDescriptionRetType = string
type CreateInstancePayloadGetDisplayNameArgType ¶ added in v0.3.0
type CreateInstancePayloadGetDisplayNameArgType = string
type CreateInstancePayloadGetDisplayNameAttributeType ¶ added in v0.3.0
type CreateInstancePayloadGetDisplayNameAttributeType = *string
isNotNullableString
type CreateInstancePayloadGetDisplayNameRetType ¶ added in v0.3.0
type CreateInstancePayloadGetDisplayNameRetType = string
type CreateInstancePayloadGetPlanIdArgType ¶ added in v0.3.0
type CreateInstancePayloadGetPlanIdArgType = string
type CreateInstancePayloadGetPlanIdAttributeType ¶ added in v0.3.0
type CreateInstancePayloadGetPlanIdAttributeType = *string
isNotNullableString
type CreateInstancePayloadGetPlanIdRetType ¶ added in v0.3.0
type CreateInstancePayloadGetPlanIdRetType = string
type CreateInstanceRequest ¶ added in v0.3.0
type CreateInstanceRequest struct {
// contains filtered or unexported fields
}
func (CreateInstanceRequest) CreateInstancePayload ¶ added in v0.3.0
func (r CreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
func (CreateInstanceRequest) Execute ¶ added in v0.3.0
func (r CreateInstanceRequest) Execute() (*Instance, error)
type DefaultApi ¶
type DefaultApi interface {
/*
CreateInstance Method for CreateInstance
Creates a new instance within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string, regionId string) ApiCreateInstanceRequest
/*
CreateInstanceExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return Instance
*/
CreateInstanceExecute(ctx context.Context, projectId string, regionId string) (*Instance, error)
/*
DeleteInstance Method for DeleteInstance
Deletes the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteInstanceRequest
/*
DeleteInstanceExecute executes the request
*/
DeleteInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
/*
DeleteInstanceByName Method for DeleteInstanceByName
Deletes the given instance by name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiDeleteInstanceByNameRequest
*/
DeleteInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiDeleteInstanceByNameRequest
/*
DeleteInstanceByNameExecute executes the request
*/
DeleteInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
/*
GetInstance Method for GetInstance
Returns the details for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetInstanceRequest
/*
GetInstanceExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return Instance
*/
GetInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Instance, error)
/*
GetInstanceByName Method for GetInstanceByName
Returns the details for the given instance by name.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetInstanceByNameRequest
*/
GetInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetInstanceByNameRequest
/*
GetInstanceByNameExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return Instance
*/
GetInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Instance, error)
/*
GetKubeconfigByInstanceId Method for GetKubeconfigByInstanceId
Returns the kubeconfig for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiGetKubeconfigByInstanceIdRequest
*/
GetKubeconfigByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetKubeconfigByInstanceIdRequest
/*
GetKubeconfigByInstanceIdExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return Kubeconfig
*/
GetKubeconfigByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Kubeconfig, error)
/*
GetKubeconfigByInstanceName Method for GetKubeconfigByInstanceName
Returns the kubeconfig for the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetKubeconfigByInstanceNameRequest
*/
GetKubeconfigByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetKubeconfigByInstanceNameRequest
/*
GetKubeconfigByInstanceNameExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return Kubeconfig
*/
GetKubeconfigByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Kubeconfig, error)
/*
GetTokenByInstanceId Method for GetTokenByInstanceId
Returns an ServiceAccount token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The instance UUID.
@return ApiGetTokenByInstanceIdRequest
*/
GetTokenByInstanceId(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetTokenByInstanceIdRequest
/*
GetTokenByInstanceIdExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The instance UUID.
@return Token
*/
GetTokenByInstanceIdExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*Token, error)
/*
GetTokenByInstanceName Method for GetTokenByInstanceName
Returns an ServiceAccount token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiGetTokenByInstanceNameRequest
*/
GetTokenByInstanceName(ctx context.Context, projectId string, regionId string, displayName string) ApiGetTokenByInstanceNameRequest
/*
GetTokenByInstanceNameExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return Token
*/
GetTokenByInstanceNameExecute(ctx context.Context, projectId string, regionId string, displayName string) (*Token, error)
/*
ListInstances Method for ListInstances
Returns a list of all instances within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string, regionId string) ApiListInstancesRequest
/*
ListInstancesExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@return InstanceList
*/
ListInstancesExecute(ctx context.Context, projectId string, regionId string) (*InstanceList, error)
/*
ListPlansGlobal Method for ListPlansGlobal
List all global plans.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListPlansGlobalRequest
*/
ListPlansGlobal(ctx context.Context) ApiListPlansGlobalRequest
/*
ListPlansGlobalExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return PlanList
*/
ListPlansGlobalExecute(ctx context.Context) (*PlanList, error)
/*
ListPlansProject Method for ListPlansProject
List all possible plans for the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the plan is part of.
@return ApiListPlansProjectRequest
*/
ListPlansProject(ctx context.Context, projectId string) ApiListPlansProjectRequest
/*
ListPlansProjectExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the plan is part of.
@return PlanList
*/
ListPlansProjectExecute(ctx context.Context, projectId string) (*PlanList, error)
/*
UpdateInstance Method for UpdateInstance
Updates the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param instanceId The full ID of the instance, <display_name>-<project_hash>.
@return ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateInstanceRequest
/*
UpdateInstanceExecute executes the request
*/
UpdateInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
/*
UpdateInstanceByName Method for UpdateInstanceByName
Updates the given instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the instance is part of.
@param regionId The STACKIT region the instance is part of.
@param displayName The instance display name.
@return ApiUpdateInstanceByNameRequest
*/
UpdateInstanceByName(ctx context.Context, projectId string, regionId string, displayName string) ApiUpdateInstanceByNameRequest
/*
UpdateInstanceByNameExecute executes the request
*/
UpdateInstanceByNameExecute(ctx context.Context, projectId string, regionId string, displayName string) error
}
type DeleteInstanceByNameRequest ¶
type DeleteInstanceByNameRequest struct {
// contains filtered or unexported fields
}
func (DeleteInstanceByNameRequest) Execute ¶
func (r DeleteInstanceByNameRequest) Execute() error
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct {
// contains filtered or unexported fields
}
func (DeleteInstanceRequest) Execute ¶
func (r DeleteInstanceRequest) Execute() error
type GetInstanceByNameRequest ¶
type GetInstanceByNameRequest struct {
// contains filtered or unexported fields
}
func (GetInstanceByNameRequest) Execute ¶
func (r GetInstanceByNameRequest) Execute() (*Instance, error)
type GetInstanceRequest ¶
type GetInstanceRequest struct {
// contains filtered or unexported fields
}
func (GetInstanceRequest) Execute ¶
func (r GetInstanceRequest) Execute() (*Instance, error)
type GetKubeconfigByInstanceIdRequest ¶
type GetKubeconfigByInstanceIdRequest struct {
// contains filtered or unexported fields
}
func (GetKubeconfigByInstanceIdRequest) Execute ¶
func (r GetKubeconfigByInstanceIdRequest) Execute() (*Kubeconfig, error)
func (GetKubeconfigByInstanceIdRequest) ExpirationSeconds ¶
func (r GetKubeconfigByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceIdRequest
type GetKubeconfigByInstanceNameRequest ¶
type GetKubeconfigByInstanceNameRequest struct {
// contains filtered or unexported fields
}
func (GetKubeconfigByInstanceNameRequest) Execute ¶
func (r GetKubeconfigByInstanceNameRequest) Execute() (*Kubeconfig, error)
func (GetKubeconfigByInstanceNameRequest) ExpirationSeconds ¶
func (r GetKubeconfigByInstanceNameRequest) ExpirationSeconds(expirationSeconds int64) ApiGetKubeconfigByInstanceNameRequest
type GetTokenByInstanceIdRequest ¶
type GetTokenByInstanceIdRequest struct {
// contains filtered or unexported fields
}
func (GetTokenByInstanceIdRequest) Execute ¶
func (r GetTokenByInstanceIdRequest) Execute() (*Token, error)
func (GetTokenByInstanceIdRequest) ExpirationSeconds ¶
func (r GetTokenByInstanceIdRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceIdRequest
type GetTokenByInstanceNameRequest ¶
type GetTokenByInstanceNameRequest struct {
// contains filtered or unexported fields
}
func (GetTokenByInstanceNameRequest) Execute ¶
func (r GetTokenByInstanceNameRequest) Execute() (*Token, error)
func (GetTokenByInstanceNameRequest) ExpirationSeconds ¶
func (r GetTokenByInstanceNameRequest) ExpirationSeconds(expirationSeconds int64) ApiGetTokenByInstanceNameRequest
type Instance ¶
type Instance struct {
// The date and time the creation of the instance was triggered.
// REQUIRED
Created InstanceGetCreatedAttributeType `json:"created" required:"true"`
// A user chosen description to distinguish multiple instances.
Description InstanceGetDescriptionAttributeType `json:"description,omitempty"`
// The displayed name of the instance.
// REQUIRED
DisplayName InstanceGetDisplayNameAttributeType `json:"displayName" required:"true"`
// URL to the Management UI of the Instance.
// REQUIRED
FrontendUrl InstanceGetFrontendUrlAttributeType `json:"frontendUrl" required:"true"`
// A auto generated unique id which identifies the instance.
// REQUIRED
Id InstanceGetIdAttributeType `json:"id" required:"true"`
// Service Plan configures the size of the Instance.
// REQUIRED
PlanId InstanceGetPlanIdAttributeType `json:"planId" required:"true"`
// The current status of the instance.
// REQUIRED
Status InstanceGetStatusAttributeType `json:"status" required:"true"`
}
Instance struct for Instance
func NewInstance ¶
func NewInstance(created InstanceGetCreatedArgType, displayName InstanceGetDisplayNameArgType, frontendUrl InstanceGetFrontendUrlArgType, id InstanceGetIdArgType, planId InstanceGetPlanIdArgType, status InstanceGetStatusArgType) *Instance
NewInstance instantiates a new Instance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceWithDefaults ¶
func NewInstanceWithDefaults() *Instance
NewInstanceWithDefaults instantiates a new Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Instance) GetCreated ¶
func (o *Instance) GetCreated() (ret InstanceGetCreatedRetType)
GetCreated returns the Created field value
func (*Instance) GetCreatedOk ¶
func (o *Instance) GetCreatedOk() (ret InstanceGetCreatedRetType, ok bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Instance) GetDescription ¶
func (o *Instance) GetDescription() (res InstanceGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*Instance) GetDescriptionOk ¶
func (o *Instance) GetDescriptionOk() (ret InstanceGetDescriptionRetType, ok 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 (*Instance) GetDisplayName ¶
func (o *Instance) GetDisplayName() (ret InstanceGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value
func (*Instance) GetDisplayNameOk ¶
func (o *Instance) GetDisplayNameOk() (ret InstanceGetDisplayNameRetType, ok bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Instance) GetFrontendUrl ¶
func (o *Instance) GetFrontendUrl() (ret InstanceGetFrontendUrlRetType)
GetFrontendUrl returns the FrontendUrl field value
func (*Instance) GetFrontendUrlOk ¶
func (o *Instance) GetFrontendUrlOk() (ret InstanceGetFrontendUrlRetType, ok bool)
GetFrontendUrlOk returns a tuple with the FrontendUrl field value and a boolean to check if the value has been set.
func (*Instance) GetId ¶
func (o *Instance) GetId() (ret InstanceGetIdRetType)
GetId returns the Id field value
func (*Instance) GetIdOk ¶
func (o *Instance) GetIdOk() (ret InstanceGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Instance) GetPlanId ¶
func (o *Instance) GetPlanId() (ret InstanceGetPlanIdRetType)
GetPlanId returns the PlanId field value
func (*Instance) GetPlanIdOk ¶
func (o *Instance) GetPlanIdOk() (ret InstanceGetPlanIdRetType, ok bool)
GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.
func (*Instance) GetStatus ¶
func (o *Instance) GetStatus() (ret InstanceGetStatusRetType)
GetStatus returns the Status field value
func (*Instance) GetStatusOk ¶
func (o *Instance) GetStatusOk() (ret InstanceGetStatusRetType, ok bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Instance) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Instance) SetCreated ¶
func (o *Instance) SetCreated(v InstanceGetCreatedRetType)
SetCreated sets field value
func (*Instance) SetDescription ¶
func (o *Instance) SetDescription(v InstanceGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Instance) SetDisplayName ¶
func (o *Instance) SetDisplayName(v InstanceGetDisplayNameRetType)
SetDisplayName sets field value
func (*Instance) SetFrontendUrl ¶
func (o *Instance) SetFrontendUrl(v InstanceGetFrontendUrlRetType)
SetFrontendUrl sets field value
func (*Instance) SetPlanId ¶
func (o *Instance) SetPlanId(v InstanceGetPlanIdRetType)
SetPlanId sets field value
func (*Instance) SetStatus ¶
func (o *Instance) SetStatus(v InstanceGetStatusRetType)
SetStatus sets field value
type InstanceGetDescriptionArgType ¶
type InstanceGetDescriptionArgType = string
type InstanceGetDescriptionAttributeType ¶
type InstanceGetDescriptionAttributeType = *string
isNotNullableString
type InstanceGetDescriptionRetType ¶
type InstanceGetDescriptionRetType = string
type InstanceGetDisplayNameArgType ¶
type InstanceGetDisplayNameArgType = string
type InstanceGetDisplayNameAttributeType ¶
type InstanceGetDisplayNameAttributeType = *string
isNotNullableString
type InstanceGetDisplayNameRetType ¶
type InstanceGetDisplayNameRetType = string
type InstanceGetFrontendUrlArgType ¶
type InstanceGetFrontendUrlArgType = string
type InstanceGetFrontendUrlAttributeType ¶
type InstanceGetFrontendUrlAttributeType = *string
isNotNullableString
type InstanceGetFrontendUrlRetType ¶
type InstanceGetFrontendUrlRetType = string
type InstanceGetIdArgType ¶
type InstanceGetIdArgType = string
type InstanceGetIdRetType ¶
type InstanceGetIdRetType = string
type InstanceGetPlanIdArgType ¶
type InstanceGetPlanIdArgType = string
type InstanceGetPlanIdAttributeType ¶
type InstanceGetPlanIdAttributeType = *string
isNotNullableString
type InstanceGetPlanIdRetType ¶
type InstanceGetPlanIdRetType = string
type InstanceGetStatusArgType ¶
type InstanceGetStatusArgType = InstanceStatus
type InstanceGetStatusAttributeType ¶
type InstanceGetStatusAttributeType = *InstanceStatus
type InstanceGetStatusRetType ¶
type InstanceGetStatusRetType = InstanceStatus
type InstanceList ¶
type InstanceList struct {
// REQUIRED
Instances InstanceListGetInstancesAttributeType `json:"instances" required:"true"`
}
InstanceList struct for InstanceList
func NewInstanceList ¶
func NewInstanceList(instances InstanceListGetInstancesArgType) *InstanceList
NewInstanceList instantiates a new InstanceList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceListWithDefaults ¶
func NewInstanceListWithDefaults() *InstanceList
NewInstanceListWithDefaults instantiates a new InstanceList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*InstanceList) GetInstances ¶
func (o *InstanceList) GetInstances() (ret InstanceListGetInstancesRetType)
GetInstances returns the Instances field value
func (*InstanceList) GetInstancesOk ¶
func (o *InstanceList) GetInstancesOk() (ret InstanceListGetInstancesRetType, ok bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*InstanceList) SetInstances ¶
func (o *InstanceList) SetInstances(v InstanceListGetInstancesRetType)
SetInstances sets field value
func (InstanceList) ToMap ¶
func (o InstanceList) ToMap() (map[string]interface{}, error)
type InstanceListGetInstancesArgType ¶
type InstanceListGetInstancesArgType = []Instance
type InstanceListGetInstancesAttributeType ¶
type InstanceListGetInstancesAttributeType = *[]Instance
isArray
type InstanceListGetInstancesRetType ¶
type InstanceListGetInstancesRetType = []Instance
type InstanceStatus ¶
type InstanceStatus string
InstanceStatus The current status of the instance. value type for enums
const ( INSTANCESTATUS_ERROR InstanceStatus = "error" INSTANCESTATUS_RECONCILING InstanceStatus = "reconciling" INSTANCESTATUS_ACTIVE InstanceStatus = "active" INSTANCESTATUS_DELETING InstanceStatus = "deleting" )
List of Status
func NewInstanceStatusFromValue ¶
func NewInstanceStatusFromValue(v InstanceStatus) (*InstanceStatus, error)
NewInstanceStatusFromValue returns a pointer to a valid InstanceStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceStatus) IsValid ¶
func (v InstanceStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceStatus) Ptr ¶
func (v InstanceStatus) Ptr() *InstanceStatus
Ptr returns reference to StatusStatus value
func (*InstanceStatus) UnmarshalJSON ¶
func (v *InstanceStatus) UnmarshalJSON(src []byte) error
type Kubeconfig ¶
type Kubeconfig struct {
// The kubeconfig for the instance.
// REQUIRED
Kubeconfig KubeconfigGetKubeconfigAttributeType `json:"kubeconfig" required:"true"`
}
Kubeconfig struct for Kubeconfig
func NewKubeconfig ¶
func NewKubeconfig(kubeconfig KubeconfigGetKubeconfigArgType) *Kubeconfig
NewKubeconfig instantiates a new Kubeconfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKubeconfigWithDefaults ¶
func NewKubeconfigWithDefaults() *Kubeconfig
NewKubeconfigWithDefaults instantiates a new Kubeconfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Kubeconfig) GetKubeconfig ¶
func (o *Kubeconfig) GetKubeconfig() (ret KubeconfigGetKubeconfigRetType)
GetKubeconfig returns the Kubeconfig field value
func (*Kubeconfig) GetKubeconfigOk ¶
func (o *Kubeconfig) GetKubeconfigOk() (ret KubeconfigGetKubeconfigRetType, ok bool)
GetKubeconfigOk returns a tuple with the Kubeconfig field value and a boolean to check if the value has been set.
func (*Kubeconfig) SetKubeconfig ¶
func (o *Kubeconfig) SetKubeconfig(v KubeconfigGetKubeconfigRetType)
SetKubeconfig sets field value
func (Kubeconfig) ToMap ¶
func (o Kubeconfig) ToMap() (map[string]interface{}, error)
type KubeconfigGetKubeconfigArgType ¶
type KubeconfigGetKubeconfigArgType = map[string]interface{}
type KubeconfigGetKubeconfigAttributeType ¶
type KubeconfigGetKubeconfigAttributeType = *map[string]interface{}
isFreeform
type KubeconfigGetKubeconfigRetType ¶
type KubeconfigGetKubeconfigRetType = map[string]interface{}
type ListInstancesRequest ¶ added in v0.3.0
type ListInstancesRequest struct {
// contains filtered or unexported fields
}
func (ListInstancesRequest) Execute ¶ added in v0.3.0
func (r ListInstancesRequest) Execute() (*InstanceList, error)
type ListPlansGlobalRequest ¶
type ListPlansGlobalRequest struct {
// contains filtered or unexported fields
}
func (ListPlansGlobalRequest) Execute ¶
func (r ListPlansGlobalRequest) Execute() (*PlanList, error)
type ListPlansProjectRequest ¶
type ListPlansProjectRequest struct {
// contains filtered or unexported fields
}
func (ListPlansProjectRequest) Execute ¶
func (r ListPlansProjectRequest) Execute() (*PlanList, error)
type MappedNullable ¶
type NullableBadRequest ¶
type NullableBadRequest struct {
// contains filtered or unexported fields
}
func NewNullableBadRequest ¶
func NewNullableBadRequest(val *BadRequest) *NullableBadRequest
func (NullableBadRequest) Get ¶
func (v NullableBadRequest) Get() *BadRequest
func (NullableBadRequest) IsSet ¶
func (v NullableBadRequest) IsSet() bool
func (NullableBadRequest) MarshalJSON ¶
func (v NullableBadRequest) MarshalJSON() ([]byte, error)
func (*NullableBadRequest) Set ¶
func (v *NullableBadRequest) Set(val *BadRequest)
func (*NullableBadRequest) UnmarshalJSON ¶
func (v *NullableBadRequest) UnmarshalJSON(src []byte) error
func (*NullableBadRequest) Unset ¶
func (v *NullableBadRequest) 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 NullableCreateInstancePayload ¶ added in v0.3.0
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayload ¶ added in v0.3.0
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶ added in v0.3.0
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶ added in v0.3.0
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶ added in v0.3.0
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶ added in v0.3.0
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶ added in v0.3.0
func (v *NullableCreateInstancePayload) 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 NullableInstance ¶
type NullableInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstance ¶
func NewNullableInstance(val *Instance) *NullableInstance
func (NullableInstance) Get ¶
func (v NullableInstance) Get() *Instance
func (NullableInstance) IsSet ¶
func (v NullableInstance) IsSet() bool
func (NullableInstance) MarshalJSON ¶
func (v NullableInstance) MarshalJSON() ([]byte, error)
func (*NullableInstance) Set ¶
func (v *NullableInstance) Set(val *Instance)
func (*NullableInstance) UnmarshalJSON ¶
func (v *NullableInstance) UnmarshalJSON(src []byte) error
func (*NullableInstance) Unset ¶
func (v *NullableInstance) Unset()
type NullableInstanceList ¶
type NullableInstanceList struct {
// contains filtered or unexported fields
}
func NewNullableInstanceList ¶
func NewNullableInstanceList(val *InstanceList) *NullableInstanceList
func (NullableInstanceList) Get ¶
func (v NullableInstanceList) Get() *InstanceList
func (NullableInstanceList) IsSet ¶
func (v NullableInstanceList) IsSet() bool
func (NullableInstanceList) MarshalJSON ¶
func (v NullableInstanceList) MarshalJSON() ([]byte, error)
func (*NullableInstanceList) Set ¶
func (v *NullableInstanceList) Set(val *InstanceList)
func (*NullableInstanceList) UnmarshalJSON ¶
func (v *NullableInstanceList) UnmarshalJSON(src []byte) error
func (*NullableInstanceList) Unset ¶
func (v *NullableInstanceList) Unset()
type NullableInstanceStatus ¶
type NullableInstanceStatus struct {
// contains filtered or unexported fields
}
func NewNullableInstanceStatus ¶
func NewNullableInstanceStatus(val *InstanceStatus) *NullableInstanceStatus
func (NullableInstanceStatus) Get ¶
func (v NullableInstanceStatus) Get() *InstanceStatus
func (NullableInstanceStatus) IsSet ¶
func (v NullableInstanceStatus) IsSet() bool
func (NullableInstanceStatus) MarshalJSON ¶
func (v NullableInstanceStatus) MarshalJSON() ([]byte, error)
func (*NullableInstanceStatus) Set ¶
func (v *NullableInstanceStatus) Set(val *InstanceStatus)
func (*NullableInstanceStatus) UnmarshalJSON ¶
func (v *NullableInstanceStatus) UnmarshalJSON(src []byte) error
func (*NullableInstanceStatus) Unset ¶
func (v *NullableInstanceStatus) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKubeconfig ¶
type NullableKubeconfig struct {
// contains filtered or unexported fields
}
func NewNullableKubeconfig ¶
func NewNullableKubeconfig(val *Kubeconfig) *NullableKubeconfig
func (NullableKubeconfig) Get ¶
func (v NullableKubeconfig) Get() *Kubeconfig
func (NullableKubeconfig) IsSet ¶
func (v NullableKubeconfig) IsSet() bool
func (NullableKubeconfig) MarshalJSON ¶
func (v NullableKubeconfig) MarshalJSON() ([]byte, error)
func (*NullableKubeconfig) Set ¶
func (v *NullableKubeconfig) Set(val *Kubeconfig)
func (*NullableKubeconfig) UnmarshalJSON ¶
func (v *NullableKubeconfig) UnmarshalJSON(src []byte) error
func (*NullableKubeconfig) Unset ¶
func (v *NullableKubeconfig) 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 NullablePlanList ¶
type NullablePlanList struct {
// contains filtered or unexported fields
}
func NewNullablePlanList ¶
func NewNullablePlanList(val *PlanList) *NullablePlanList
func (NullablePlanList) Get ¶
func (v NullablePlanList) Get() *PlanList
func (NullablePlanList) IsSet ¶
func (v NullablePlanList) IsSet() bool
func (NullablePlanList) MarshalJSON ¶
func (v NullablePlanList) MarshalJSON() ([]byte, error)
func (*NullablePlanList) Set ¶
func (v *NullablePlanList) Set(val *PlanList)
func (*NullablePlanList) UnmarshalJSON ¶
func (v *NullablePlanList) UnmarshalJSON(src []byte) error
func (*NullablePlanList) Unset ¶
func (v *NullablePlanList) 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 NullableToken ¶
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶
func (v *NullableToken) Unset()
type NullableUnauthorizedRequest ¶
type NullableUnauthorizedRequest struct {
// contains filtered or unexported fields
}
func NewNullableUnauthorizedRequest ¶
func NewNullableUnauthorizedRequest(val *UnauthorizedRequest) *NullableUnauthorizedRequest
func (NullableUnauthorizedRequest) Get ¶
func (v NullableUnauthorizedRequest) Get() *UnauthorizedRequest
func (NullableUnauthorizedRequest) IsSet ¶
func (v NullableUnauthorizedRequest) IsSet() bool
func (NullableUnauthorizedRequest) MarshalJSON ¶
func (v NullableUnauthorizedRequest) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedRequest) Set ¶
func (v *NullableUnauthorizedRequest) Set(val *UnauthorizedRequest)
func (*NullableUnauthorizedRequest) UnmarshalJSON ¶
func (v *NullableUnauthorizedRequest) UnmarshalJSON(src []byte) error
func (*NullableUnauthorizedRequest) Unset ¶
func (v *NullableUnauthorizedRequest) Unset()
type NullableUpdateInstanceByNamePayload ¶
type NullableUpdateInstanceByNamePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstanceByNamePayload ¶
func NewNullableUpdateInstanceByNamePayload(val *UpdateInstanceByNamePayload) *NullableUpdateInstanceByNamePayload
func (NullableUpdateInstanceByNamePayload) Get ¶
func (v NullableUpdateInstanceByNamePayload) Get() *UpdateInstanceByNamePayload
func (NullableUpdateInstanceByNamePayload) IsSet ¶
func (v NullableUpdateInstanceByNamePayload) IsSet() bool
func (NullableUpdateInstanceByNamePayload) MarshalJSON ¶
func (v NullableUpdateInstanceByNamePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstanceByNamePayload) Set ¶
func (v *NullableUpdateInstanceByNamePayload) Set(val *UpdateInstanceByNamePayload)
func (*NullableUpdateInstanceByNamePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstanceByNamePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstanceByNamePayload) Unset ¶
func (v *NullableUpdateInstanceByNamePayload) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
func (*NullableUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayload) Unset ¶
func (v *NullableUpdateInstancePayload) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableValue ¶
type NullableValue[T any] struct { // contains filtered or unexported fields }
func (NullableValue[T]) Get ¶
func (v NullableValue[T]) Get() *T
func (NullableValue[T]) IsSet ¶
func (v NullableValue[T]) IsSet() bool
func (*NullableValue[T]) Set ¶
func (v *NullableValue[T]) Set(val *T)
func (*NullableValue[T]) Unset ¶
func (v *NullableValue[T]) Unset()
type Plan ¶
type Plan struct {
// Description
Description PlanGetDescriptionAttributeType `json:"description,omitempty"`
// Service Plan Identifier
Id PlanGetIdAttributeType `json:"id,omitempty"`
// Maximum number of EdgeHosts
// Can be cast to int32 without loss of precision.
MaxEdgeHosts PlanGetMaxEdgeHostsAttributeType `json:"maxEdgeHosts,omitempty"`
// Service Plan Name
Name PlanGetNameAttributeType `json:"name,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 ¶
func (o *Plan) GetDescription() (res PlanGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*Plan) GetDescriptionOk ¶
func (o *Plan) GetDescriptionOk() (ret PlanGetDescriptionRetType, ok 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 (*Plan) GetId ¶
func (o *Plan) GetId() (res PlanGetIdRetType)
GetId returns the Id field value if set, zero value otherwise.
func (*Plan) GetIdOk ¶
func (o *Plan) GetIdOk() (ret PlanGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetMaxEdgeHosts ¶
func (o *Plan) GetMaxEdgeHosts() (res PlanGetMaxEdgeHostsRetType)
GetMaxEdgeHosts returns the MaxEdgeHosts field value if set, zero value otherwise.
func (*Plan) GetMaxEdgeHostsOk ¶
func (o *Plan) GetMaxEdgeHostsOk() (ret PlanGetMaxEdgeHostsRetType, ok bool)
GetMaxEdgeHostsOk returns a tuple with the MaxEdgeHosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Plan) GetName ¶
func (o *Plan) GetName() (res PlanGetNameRetType)
GetName returns the Name field value if set, zero value otherwise.
func (*Plan) GetNameOk ¶
func (o *Plan) GetNameOk() (ret PlanGetNameRetType, ok 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 (*Plan) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Plan) HasMaxEdgeHosts ¶
HasMaxEdgeHosts returns a boolean if a field has been set.
func (*Plan) SetDescription ¶
func (o *Plan) SetDescription(v PlanGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Plan) SetId ¶
func (o *Plan) SetId(v PlanGetIdRetType)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Plan) SetMaxEdgeHosts ¶
func (o *Plan) SetMaxEdgeHosts(v PlanGetMaxEdgeHostsRetType)
SetMaxEdgeHosts gets a reference to the given int64 and assigns it to the MaxEdgeHosts field.
func (*Plan) SetName ¶
func (o *Plan) SetName(v PlanGetNameRetType)
SetName gets a reference to the given string and assigns it to the Name field.
type PlanGetDescriptionArgType ¶
type PlanGetDescriptionArgType = string
type PlanGetDescriptionAttributeType ¶
type PlanGetDescriptionAttributeType = *string
isNotNullableString
type PlanGetDescriptionRetType ¶
type PlanGetDescriptionRetType = string
type PlanGetIdArgType ¶
type PlanGetIdArgType = string
type PlanGetIdRetType ¶
type PlanGetIdRetType = string
type PlanGetMaxEdgeHostsArgType ¶
type PlanGetMaxEdgeHostsArgType = int64
type PlanGetMaxEdgeHostsRetType ¶
type PlanGetMaxEdgeHostsRetType = int64
type PlanGetNameArgType ¶
type PlanGetNameArgType = string
type PlanGetNameRetType ¶
type PlanGetNameRetType = string
type PlanList ¶
type PlanList struct {
ValidPlans PlanListGetValidPlansAttributeType `json:"validPlans,omitempty"`
}
PlanList struct for PlanList
func NewPlanList ¶
func NewPlanList() *PlanList
NewPlanList instantiates a new PlanList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlanListWithDefaults ¶
func NewPlanListWithDefaults() *PlanList
NewPlanListWithDefaults instantiates a new PlanList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlanList) GetValidPlans ¶
func (o *PlanList) GetValidPlans() (res PlanListGetValidPlansRetType)
GetValidPlans returns the ValidPlans field value if set, zero value otherwise.
func (*PlanList) GetValidPlansOk ¶
func (o *PlanList) GetValidPlansOk() (ret PlanListGetValidPlansRetType, ok bool)
GetValidPlansOk returns a tuple with the ValidPlans field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlanList) HasValidPlans ¶
HasValidPlans returns a boolean if a field has been set.
func (*PlanList) SetValidPlans ¶
func (o *PlanList) SetValidPlans(v PlanListGetValidPlansRetType)
SetValidPlans gets a reference to the given []Plan and assigns it to the ValidPlans field.
type PlanListGetValidPlansArgType ¶
type PlanListGetValidPlansArgType = []Plan
type PlanListGetValidPlansRetType ¶
type PlanListGetValidPlansRetType = []Plan
type Token ¶
type Token struct {
// The token for the instance.
// REQUIRED
Token TokenGetTokenAttributeType `json:"token" required:"true"`
}
Token struct for Token
func NewToken ¶
func NewToken(token TokenGetTokenArgType) *Token
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Token) GetToken ¶
func (o *Token) GetToken() (ret TokenGetTokenRetType)
GetToken returns the Token field value
func (*Token) GetTokenOk ¶
func (o *Token) GetTokenOk() (ret TokenGetTokenRetType, ok bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
type TokenGetTokenArgType ¶
type TokenGetTokenArgType = string
type TokenGetTokenRetType ¶
type TokenGetTokenRetType = string
type UnauthorizedRequest ¶
type UnauthorizedRequest struct {
}
UnauthorizedRequest struct for UnauthorizedRequest
func NewUnauthorizedRequest ¶
func NewUnauthorizedRequest() *UnauthorizedRequest
NewUnauthorizedRequest instantiates a new UnauthorizedRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUnauthorizedRequestWithDefaults ¶
func NewUnauthorizedRequestWithDefaults() *UnauthorizedRequest
NewUnauthorizedRequestWithDefaults instantiates a new UnauthorizedRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UnauthorizedRequest) GetCode ¶
func (o *UnauthorizedRequest) GetCode() (res UnauthorizedRequestGetCodeRetType)
GetCode returns the Code field value if set, zero value otherwise.
func (*UnauthorizedRequest) GetCodeOk ¶
func (o *UnauthorizedRequest) GetCodeOk() (ret UnauthorizedRequestGetCodeRetType, ok bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedRequest) GetMessage ¶
func (o *UnauthorizedRequest) GetMessage() (res UnauthorizedRequestGetMessageRetType)
GetMessage returns the Message field value if set, zero value otherwise.
func (*UnauthorizedRequest) GetMessageOk ¶
func (o *UnauthorizedRequest) GetMessageOk() (ret UnauthorizedRequestGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedRequest) HasCode ¶
func (o *UnauthorizedRequest) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*UnauthorizedRequest) HasMessage ¶
func (o *UnauthorizedRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UnauthorizedRequest) SetCode ¶
func (o *UnauthorizedRequest) SetCode(v UnauthorizedRequestGetCodeRetType)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*UnauthorizedRequest) SetMessage ¶
func (o *UnauthorizedRequest) SetMessage(v UnauthorizedRequestGetMessageRetType)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (UnauthorizedRequest) ToMap ¶
func (o UnauthorizedRequest) ToMap() (map[string]interface{}, error)
type UnauthorizedRequestGetCodeArgType ¶
type UnauthorizedRequestGetCodeArgType = string
type UnauthorizedRequestGetCodeAttributeType ¶
type UnauthorizedRequestGetCodeAttributeType = *string
isNotNullableString
type UnauthorizedRequestGetCodeRetType ¶
type UnauthorizedRequestGetCodeRetType = string
type UnauthorizedRequestGetMessageArgType ¶
type UnauthorizedRequestGetMessageArgType = string
type UnauthorizedRequestGetMessageAttributeType ¶
type UnauthorizedRequestGetMessageAttributeType = *string
isNotNullableString
type UnauthorizedRequestGetMessageRetType ¶
type UnauthorizedRequestGetMessageRetType = string
type UpdateInstanceByNamePayload ¶
type UpdateInstanceByNamePayload struct {
// A user chosen description to distinguish multiple instances.
Description UpdateInstanceByNamePayloadGetDescriptionAttributeType `json:"description,omitempty"`
// Service Plan configures the size of the Instance.
PlanId UpdateInstanceByNamePayloadGetPlanIdAttributeType `json:"planId,omitempty"`
}
UpdateInstanceByNamePayload struct for UpdateInstanceByNamePayload
func NewUpdateInstanceByNamePayload ¶
func NewUpdateInstanceByNamePayload() *UpdateInstanceByNamePayload
NewUpdateInstanceByNamePayload instantiates a new UpdateInstanceByNamePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstanceByNamePayloadWithDefaults ¶
func NewUpdateInstanceByNamePayloadWithDefaults() *UpdateInstanceByNamePayload
NewUpdateInstanceByNamePayloadWithDefaults instantiates a new UpdateInstanceByNamePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstanceByNamePayload) GetDescription ¶
func (o *UpdateInstanceByNamePayload) GetDescription() (res UpdateInstanceByNamePayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateInstanceByNamePayload) GetDescriptionOk ¶
func (o *UpdateInstanceByNamePayload) GetDescriptionOk() (ret UpdateInstanceByNamePayloadGetDescriptionRetType, ok 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 (*UpdateInstanceByNamePayload) GetPlanId ¶
func (o *UpdateInstanceByNamePayload) GetPlanId() (res UpdateInstanceByNamePayloadGetPlanIdRetType)
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*UpdateInstanceByNamePayload) GetPlanIdOk ¶
func (o *UpdateInstanceByNamePayload) GetPlanIdOk() (ret UpdateInstanceByNamePayloadGetPlanIdRetType, ok bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstanceByNamePayload) HasDescription ¶
func (o *UpdateInstanceByNamePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateInstanceByNamePayload) HasPlanId ¶
func (o *UpdateInstanceByNamePayload) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*UpdateInstanceByNamePayload) SetDescription ¶
func (o *UpdateInstanceByNamePayload) SetDescription(v UpdateInstanceByNamePayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateInstanceByNamePayload) SetPlanId ¶
func (o *UpdateInstanceByNamePayload) SetPlanId(v UpdateInstanceByNamePayloadGetPlanIdRetType)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (UpdateInstanceByNamePayload) ToMap ¶
func (o UpdateInstanceByNamePayload) ToMap() (map[string]interface{}, error)
type UpdateInstanceByNamePayloadGetDescriptionArgType ¶
type UpdateInstanceByNamePayloadGetDescriptionArgType = string
type UpdateInstanceByNamePayloadGetDescriptionAttributeType ¶
type UpdateInstanceByNamePayloadGetDescriptionAttributeType = *string
isNotNullableString
type UpdateInstanceByNamePayloadGetDescriptionRetType ¶
type UpdateInstanceByNamePayloadGetDescriptionRetType = string
type UpdateInstanceByNamePayloadGetPlanIdArgType ¶
type UpdateInstanceByNamePayloadGetPlanIdArgType = string
type UpdateInstanceByNamePayloadGetPlanIdAttributeType ¶
type UpdateInstanceByNamePayloadGetPlanIdAttributeType = *string
isNotNullableString
type UpdateInstanceByNamePayloadGetPlanIdRetType ¶
type UpdateInstanceByNamePayloadGetPlanIdRetType = string
type UpdateInstanceByNameRequest ¶
type UpdateInstanceByNameRequest struct {
// contains filtered or unexported fields
}
func (UpdateInstanceByNameRequest) Execute ¶
func (r UpdateInstanceByNameRequest) Execute() error
func (UpdateInstanceByNameRequest) UpdateInstanceByNamePayload ¶
func (r UpdateInstanceByNameRequest) UpdateInstanceByNamePayload(updateInstanceByNamePayload UpdateInstanceByNamePayload) ApiUpdateInstanceByNameRequest
type UpdateInstancePayload ¶
type UpdateInstancePayload struct {
// A user chosen description to distinguish multiple instances.
Description UpdateInstancePayloadGetDescriptionAttributeType `json:"description,omitempty"`
// Service Plan configures the size of the Instance.
PlanId UpdateInstancePayloadGetPlanIdAttributeType `json:"planId,omitempty"`
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
func NewUpdateInstancePayload() *UpdateInstancePayload
NewUpdateInstancePayload instantiates a new UpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstancePayloadWithDefaults ¶
func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload
NewUpdateInstancePayloadWithDefaults instantiates a new UpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstancePayload) GetDescription ¶
func (o *UpdateInstancePayload) GetDescription() (res UpdateInstancePayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetDescriptionOk ¶
func (o *UpdateInstancePayload) GetDescriptionOk() (ret UpdateInstancePayloadGetDescriptionRetType, ok 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 (*UpdateInstancePayload) GetPlanId ¶
func (o *UpdateInstancePayload) GetPlanId() (res UpdateInstancePayloadGetPlanIdRetType)
GetPlanId returns the PlanId field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetPlanIdOk ¶
func (o *UpdateInstancePayload) GetPlanIdOk() (ret UpdateInstancePayloadGetPlanIdRetType, ok bool)
GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePayload) HasDescription ¶
func (o *UpdateInstancePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateInstancePayload) HasPlanId ¶
func (o *UpdateInstancePayload) HasPlanId() bool
HasPlanId returns a boolean if a field has been set.
func (*UpdateInstancePayload) SetDescription ¶
func (o *UpdateInstancePayload) SetDescription(v UpdateInstancePayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateInstancePayload) SetPlanId ¶
func (o *UpdateInstancePayload) SetPlanId(v UpdateInstancePayloadGetPlanIdRetType)
SetPlanId gets a reference to the given string and assigns it to the PlanId field.
func (UpdateInstancePayload) ToMap ¶
func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
type UpdateInstancePayloadGetDescriptionArgType ¶
type UpdateInstancePayloadGetDescriptionArgType = string
type UpdateInstancePayloadGetDescriptionAttributeType ¶
type UpdateInstancePayloadGetDescriptionAttributeType = *string
isNotNullableString
type UpdateInstancePayloadGetDescriptionRetType ¶
type UpdateInstancePayloadGetDescriptionRetType = string
type UpdateInstancePayloadGetPlanIdArgType ¶
type UpdateInstancePayloadGetPlanIdArgType = string
type UpdateInstancePayloadGetPlanIdAttributeType ¶
type UpdateInstancePayloadGetPlanIdAttributeType = *string
isNotNullableString
type UpdateInstancePayloadGetPlanIdRetType ¶
type UpdateInstancePayloadGetPlanIdRetType = string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct {
// contains filtered or unexported fields
}
func (UpdateInstanceRequest) Execute ¶
func (r UpdateInstanceRequest) Execute() error
func (UpdateInstanceRequest) UpdateInstancePayload ¶
func (r UpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
type User ¶
type User struct {
// The email of the user.
// REQUIRED
Email UserGetEmailAttributeType `json:"email" required:"true"`
// The UUID of the user.
// REQUIRED
InternalId UserGetInternalIdAttributeType `json:"internalId" required:"true"`
}
User struct for User
func NewUser ¶
func NewUser(email UserGetEmailArgType, internalId UserGetInternalIdArgType) *User
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetEmail ¶
func (o *User) GetEmail() (ret UserGetEmailRetType)
GetEmail returns the Email field value
func (*User) GetEmailOk ¶
func (o *User) GetEmailOk() (ret UserGetEmailRetType, ok bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetInternalId ¶
func (o *User) GetInternalId() (ret UserGetInternalIdRetType)
GetInternalId returns the InternalId field value
func (*User) GetInternalIdOk ¶
func (o *User) GetInternalIdOk() (ret UserGetInternalIdRetType, ok bool)
GetInternalIdOk returns a tuple with the InternalId field value and a boolean to check if the value has been set.
func (*User) SetInternalId ¶
func (o *User) SetInternalId(v UserGetInternalIdRetType)
SetInternalId sets field value
type UserGetEmailArgType ¶
type UserGetEmailArgType = string
type UserGetEmailRetType ¶
type UserGetEmailRetType = string
type UserGetInternalIdArgType ¶
type UserGetInternalIdArgType = string
type UserGetInternalIdAttributeType ¶
type UserGetInternalIdAttributeType = *string
isNotNullableString
type UserGetInternalIdRetType ¶
type UserGetInternalIdRetType = string
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_bad_request.go
- model_create_instance_payload.go
- model_instance.go
- model_instance_list.go
- model_kubeconfig.go
- model_plan.go
- model_plan_list.go
- model_token.go
- model_unauthorized_request.go
- model_update_instance_by_name_payload.go
- model_update_instance_payload.go
- model_user.go
- utils.go