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) ApiCreateInstanceRequest
- func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)
- func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
- func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
- func (a *APIClient) ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavors, error)
- func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstances, error)
- func (a *APIClient) ListRunnerLabels(ctx context.Context, projectId string) ApiListRunnerLabelsRequest
- func (a *APIClient) ListRunnerLabelsExecute(ctx context.Context, projectId string) (*ListRunnerLabels, error)
- func (a *APIClient) PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest
- func (a *APIClient) PatchInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
- type ApiCreateInstanceRequest
- type ApiDeleteInstanceRequest
- type ApiGetInstanceRequest
- type ApiListFlavorsRequest
- type ApiListInstancesRequest
- type ApiListRunnerLabelsRequest
- type ApiPatchInstanceRequest
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetAcl() (res CreateInstancePayloadGetAclRetType)
- func (o *CreateInstancePayload) GetAclOk() (ret CreateInstancePayloadGetAclRetType, ok bool)
- func (o *CreateInstancePayload) GetFlavor() (res CreateInstancePayloadGetFlavorRetType)
- func (o *CreateInstancePayload) GetFlavorOk() (ret CreateInstancePayloadGetFlavorRetType, ok bool)
- func (o *CreateInstancePayload) GetName() (ret CreateInstancePayloadGetNameRetType)
- func (o *CreateInstancePayload) GetNameOk() (ret CreateInstancePayloadGetNameRetType, ok bool)
- func (o *CreateInstancePayload) HasAcl() bool
- func (o *CreateInstancePayload) HasFlavor() bool
- func (o *CreateInstancePayload) SetAcl(v CreateInstancePayloadGetAclRetType)
- func (o *CreateInstancePayload) SetFlavor(v CreateInstancePayloadGetFlavorRetType)
- func (o *CreateInstancePayload) SetName(v CreateInstancePayloadGetNameRetType)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- type CreateInstancePayloadFlavor
- type CreateInstancePayloadGetAclArgType
- type CreateInstancePayloadGetAclAttributeType
- type CreateInstancePayloadGetAclRetType
- type CreateInstancePayloadGetFlavorArgType
- type CreateInstancePayloadGetFlavorAttributeType
- type CreateInstancePayloadGetFlavorRetType
- type CreateInstancePayloadGetNameArgType
- type CreateInstancePayloadGetNameAttributeType
- type CreateInstancePayloadGetNameRetType
- type CreateInstanceRequest
- type DefaultApi
- type DefaultApiService
- type DeleteInstanceRequest
- type Flavor
- func (o *Flavor) GetAvailability() (ret FlavorGetAvailabilityRetType)
- func (o *Flavor) GetAvailabilityOk() (ret FlavorGetAvailabilityRetType, ok bool)
- func (o *Flavor) GetDescription() (ret FlavorGetDescriptionRetType)
- func (o *Flavor) GetDescriptionOk() (ret FlavorGetDescriptionRetType, ok bool)
- func (o *Flavor) GetDisplayName() (ret FlavorGetDisplayNameRetType)
- func (o *Flavor) GetDisplayNameOk() (ret FlavorGetDisplayNameRetType, ok bool)
- func (o *Flavor) GetId() (ret FlavorGetIdRetType)
- func (o *Flavor) GetIdOk() (ret FlavorGetIdRetType, ok bool)
- func (o *Flavor) GetSku() (ret FlavorGetSkuRetType)
- func (o *Flavor) GetSkuOk() (ret FlavorGetSkuRetType, ok bool)
- func (o *Flavor) SetAvailability(v FlavorGetAvailabilityRetType)
- func (o *Flavor) SetDescription(v FlavorGetDescriptionRetType)
- func (o *Flavor) SetDisplayName(v FlavorGetDisplayNameRetType)
- func (o *Flavor) SetId(v FlavorGetIdRetType)
- func (o *Flavor) SetSku(v FlavorGetSkuRetType)
- func (o Flavor) ToMap() (map[string]interface{}, error)
- type FlavorAvailability
- type FlavorGetAvailabilityArgType
- type FlavorGetAvailabilityAttributeType
- type FlavorGetAvailabilityRetType
- type FlavorGetDescriptionArgType
- type FlavorGetDescriptionAttributeType
- type FlavorGetDescriptionRetType
- type FlavorGetDisplayNameArgType
- type FlavorGetDisplayNameAttributeType
- type FlavorGetDisplayNameRetType
- type FlavorGetIdArgType
- type FlavorGetIdAttributeType
- type FlavorGetIdRetType
- type FlavorGetSkuArgType
- type FlavorGetSkuAttributeType
- type FlavorGetSkuRetType
- type GenericErrorResponse
- func (o *GenericErrorResponse) GetDetails() (res GenericErrorResponseGetDetailsRetType)
- func (o *GenericErrorResponse) GetDetailsOk() (ret GenericErrorResponseGetDetailsRetType, ok bool)
- func (o *GenericErrorResponse) GetMessage() (ret GenericErrorResponseGetMessageRetType)
- func (o *GenericErrorResponse) GetMessageOk() (ret GenericErrorResponseGetMessageRetType, ok bool)
- func (o *GenericErrorResponse) HasDetails() bool
- func (o *GenericErrorResponse) SetDetails(v GenericErrorResponseGetDetailsRetType)
- func (o *GenericErrorResponse) SetMessage(v GenericErrorResponseGetMessageRetType)
- func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)
- type GenericErrorResponseGetDetailsArgType
- type GenericErrorResponseGetDetailsAttributeType
- type GenericErrorResponseGetDetailsRetType
- type GenericErrorResponseGetMessageArgType
- type GenericErrorResponseGetMessageAttributeType
- type GenericErrorResponseGetMessageRetType
- type GetInstanceRequest
- type Instance
- func (o *Instance) GetAcl() (ret InstanceGetAclRetType)
- func (o *Instance) GetAclOk() (ret InstanceGetAclRetType, ok bool)
- func (o *Instance) GetConsumedDisk() (ret InstanceGetConsumedDiskRetType)
- func (o *Instance) GetConsumedDiskOk() (ret InstanceGetConsumedDiskRetType, ok bool)
- func (o *Instance) GetConsumedObjectStorage() (ret InstanceGetConsumedObjectStorageRetType)
- func (o *Instance) GetConsumedObjectStorageOk() (ret InstanceGetConsumedObjectStorageRetType, ok bool)
- func (o *Instance) GetCreated() (ret InstanceGetCreatedRetType)
- func (o *Instance) GetCreatedOk() (ret InstanceGetCreatedRetType, ok bool)
- func (o *Instance) GetFlavor() (ret InstanceGetFlavorRetType)
- func (o *Instance) GetFlavorOk() (ret InstanceGetFlavorRetType, ok bool)
- func (o *Instance) GetId() (ret InstanceGetIdRetType)
- func (o *Instance) GetIdOk() (ret InstanceGetIdRetType, ok bool)
- func (o *Instance) GetName() (ret InstanceGetNameRetType)
- func (o *Instance) GetNameOk() (ret InstanceGetNameRetType, ok bool)
- func (o *Instance) GetState() (ret InstanceGetStateRetType)
- func (o *Instance) GetStateOk() (ret InstanceGetStateRetType, ok bool)
- func (o *Instance) GetUrl() (ret InstanceGetUrlRetType)
- func (o *Instance) GetUrlOk() (ret InstanceGetUrlRetType, ok bool)
- func (o *Instance) GetVersion() (ret InstanceGetVersionRetType)
- func (o *Instance) GetVersionOk() (ret InstanceGetVersionRetType, ok bool)
- func (o *Instance) SetAcl(v InstanceGetAclRetType)
- func (o *Instance) SetConsumedDisk(v InstanceGetConsumedDiskRetType)
- func (o *Instance) SetConsumedObjectStorage(v InstanceGetConsumedObjectStorageRetType)
- func (o *Instance) SetCreated(v InstanceGetCreatedRetType)
- func (o *Instance) SetFlavor(v InstanceGetFlavorRetType)
- func (o *Instance) SetId(v InstanceGetIdRetType)
- func (o *Instance) SetName(v InstanceGetNameRetType)
- func (o *Instance) SetState(v InstanceGetStateRetType)
- func (o *Instance) SetUrl(v InstanceGetUrlRetType)
- func (o *Instance) SetVersion(v InstanceGetVersionRetType)
- func (o Instance) ToMap() (map[string]interface{}, error)
- type InstanceGetAclArgType
- type InstanceGetAclAttributeType
- type InstanceGetAclRetType
- type InstanceGetConsumedDiskArgType
- type InstanceGetConsumedDiskAttributeType
- type InstanceGetConsumedDiskRetType
- type InstanceGetConsumedObjectStorageArgType
- type InstanceGetConsumedObjectStorageAttributeType
- type InstanceGetConsumedObjectStorageRetType
- type InstanceGetCreatedArgType
- type InstanceGetCreatedAttributeType
- type InstanceGetCreatedRetType
- type InstanceGetFlavorArgType
- type InstanceGetFlavorAttributeType
- type InstanceGetFlavorRetType
- type InstanceGetIdArgType
- type InstanceGetIdAttributeType
- type InstanceGetIdRetType
- type InstanceGetNameArgType
- type InstanceGetNameAttributeType
- type InstanceGetNameRetType
- type InstanceGetStateArgType
- type InstanceGetStateAttributeType
- type InstanceGetStateRetType
- type InstanceGetUrlArgType
- type InstanceGetUrlAttributeType
- type InstanceGetUrlRetType
- type InstanceGetVersionArgType
- type InstanceGetVersionAttributeType
- type InstanceGetVersionRetType
- type InstanceState
- type InternalServerErrorResponse
- func (o *InternalServerErrorResponse) GetError() (res InternalServerErrorResponseGetErrorRetType)
- func (o *InternalServerErrorResponse) GetErrorOk() (ret InternalServerErrorResponseGetErrorRetType, ok bool)
- func (o *InternalServerErrorResponse) HasError() bool
- func (o *InternalServerErrorResponse) SetError(v InternalServerErrorResponseGetErrorRetType)
- func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)
- type InternalServerErrorResponseGetErrorArgType
- type InternalServerErrorResponseGetErrorAttributeType
- type InternalServerErrorResponseGetErrorRetType
- type ListFlavors
- type ListFlavorsGetFlavorsArgType
- type ListFlavorsGetFlavorsAttributeType
- type ListFlavorsGetFlavorsRetType
- type ListFlavorsRequest
- type ListInstances
- func (o *ListInstances) GetInstances() (ret ListInstancesGetInstancesRetType)
- func (o *ListInstances) GetInstancesOk() (ret ListInstancesGetInstancesRetType, ok bool)
- func (o *ListInstances) SetInstances(v ListInstancesGetInstancesRetType)
- func (o ListInstances) ToMap() (map[string]interface{}, error)
- type ListInstancesGetInstancesArgType
- type ListInstancesGetInstancesAttributeType
- type ListInstancesGetInstancesRetType
- type ListInstancesRequest
- type ListRunnerLabels
- func (o *ListRunnerLabels) GetRunnerLabels() (ret ListRunnerLabelsGetRunnerLabelsRetType)
- func (o *ListRunnerLabels) GetRunnerLabelsOk() (ret ListRunnerLabelsGetRunnerLabelsRetType, ok bool)
- func (o *ListRunnerLabels) SetRunnerLabels(v ListRunnerLabelsGetRunnerLabelsRetType)
- func (o ListRunnerLabels) ToMap() (map[string]interface{}, error)
- type ListRunnerLabelsGetRunnerLabelsArgType
- type ListRunnerLabelsGetRunnerLabelsAttributeType
- type ListRunnerLabelsGetRunnerLabelsRetType
- type ListRunnerLabelsRequest
- type MappedNullable
- 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 NullableCreateInstancePayloadFlavor
- func (v NullableCreateInstancePayloadFlavor) Get() *CreateInstancePayloadFlavor
- func (v NullableCreateInstancePayloadFlavor) IsSet() bool
- func (v NullableCreateInstancePayloadFlavor) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayloadFlavor) Set(val *CreateInstancePayloadFlavor)
- func (v *NullableCreateInstancePayloadFlavor) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayloadFlavor) Unset()
- type NullableFlavor
- type NullableFlavorAvailability
- func (v NullableFlavorAvailability) Get() *FlavorAvailability
- func (v NullableFlavorAvailability) IsSet() bool
- func (v NullableFlavorAvailability) MarshalJSON() ([]byte, error)
- func (v *NullableFlavorAvailability) Set(val *FlavorAvailability)
- func (v *NullableFlavorAvailability) UnmarshalJSON(src []byte) error
- func (v *NullableFlavorAvailability) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGenericErrorResponse
- func (v NullableGenericErrorResponse) Get() *GenericErrorResponse
- func (v NullableGenericErrorResponse) IsSet() bool
- func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
- func (v *NullableGenericErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGenericErrorResponse) Unset()
- type NullableInstance
- type NullableInstanceState
- func (v NullableInstanceState) Get() *InstanceState
- func (v NullableInstanceState) IsSet() bool
- func (v NullableInstanceState) MarshalJSON() ([]byte, error)
- func (v *NullableInstanceState) Set(val *InstanceState)
- func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
- func (v *NullableInstanceState) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
- func (v NullableInternalServerErrorResponse) IsSet() bool
- func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
- func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInternalServerErrorResponse) Unset()
- type NullableListFlavors
- func (v NullableListFlavors) Get() *ListFlavors
- func (v NullableListFlavors) IsSet() bool
- func (v NullableListFlavors) MarshalJSON() ([]byte, error)
- func (v *NullableListFlavors) Set(val *ListFlavors)
- func (v *NullableListFlavors) UnmarshalJSON(src []byte) error
- func (v *NullableListFlavors) Unset()
- type NullableListInstances
- func (v NullableListInstances) Get() *ListInstances
- func (v NullableListInstances) IsSet() bool
- func (v NullableListInstances) MarshalJSON() ([]byte, error)
- func (v *NullableListInstances) Set(val *ListInstances)
- func (v *NullableListInstances) UnmarshalJSON(src []byte) error
- func (v *NullableListInstances) Unset()
- type NullableListRunnerLabels
- func (v NullableListRunnerLabels) Get() *ListRunnerLabels
- func (v NullableListRunnerLabels) IsSet() bool
- func (v NullableListRunnerLabels) MarshalJSON() ([]byte, error)
- func (v *NullableListRunnerLabels) Set(val *ListRunnerLabels)
- func (v *NullableListRunnerLabels) UnmarshalJSON(src []byte) error
- func (v *NullableListRunnerLabels) Unset()
- type NullablePatchOperation
- func (v NullablePatchOperation) Get() *PatchOperation
- func (v NullablePatchOperation) IsSet() bool
- func (v NullablePatchOperation) MarshalJSON() ([]byte, error)
- func (v *NullablePatchOperation) Set(val *PatchOperation)
- func (v *NullablePatchOperation) UnmarshalJSON(src []byte) error
- func (v *NullablePatchOperation) Unset()
- type NullablePatchOperationOp
- func (v NullablePatchOperationOp) Get() *PatchOperationOp
- func (v NullablePatchOperationOp) IsSet() bool
- func (v NullablePatchOperationOp) MarshalJSON() ([]byte, error)
- func (v *NullablePatchOperationOp) Set(val *PatchOperationOp)
- func (v *NullablePatchOperationOp) UnmarshalJSON(src []byte) error
- func (v *NullablePatchOperationOp) Unset()
- type NullableRunnerLabel
- func (v NullableRunnerLabel) Get() *RunnerLabel
- func (v NullableRunnerLabel) IsSet() bool
- func (v NullableRunnerLabel) MarshalJSON() ([]byte, error)
- func (v *NullableRunnerLabel) Set(val *RunnerLabel)
- func (v *NullableRunnerLabel) UnmarshalJSON(src []byte) error
- func (v *NullableRunnerLabel) Unset()
- type NullableString
- type NullableTime
- type NullableUnauthorizedResponse
- func (v NullableUnauthorizedResponse) Get() *UnauthorizedResponse
- func (v NullableUnauthorizedResponse) IsSet() bool
- func (v NullableUnauthorizedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUnauthorizedResponse) Set(val *UnauthorizedResponse)
- func (v *NullableUnauthorizedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUnauthorizedResponse) Unset()
- type NullableValue
- type PatchInstanceRequest
- type PatchOperation
- func (o *PatchOperation) GetOp() (ret PatchOperationGetOpRetType)
- func (o *PatchOperation) GetOpOk() (ret PatchOperationGetOpRetType, ok bool)
- func (o *PatchOperation) GetPath() (ret PatchOperationGetPathRetType)
- func (o *PatchOperation) GetPathOk() (ret PatchOperationGetPathRetType, ok bool)
- func (o *PatchOperation) GetValue() (res PatchOperationGetValueRetType)
- func (o *PatchOperation) GetValueOk() (ret PatchOperationGetValueRetType, ok bool)
- func (o *PatchOperation) HasValue() bool
- func (o *PatchOperation) SetOp(v PatchOperationGetOpRetType)
- func (o *PatchOperation) SetPath(v PatchOperationGetPathRetType)
- func (o *PatchOperation) SetValue(v PatchOperationGetValueRetType)
- func (o PatchOperation) ToMap() (map[string]interface{}, error)
- type PatchOperationGetOpArgType
- type PatchOperationGetOpAttributeType
- type PatchOperationGetOpRetType
- type PatchOperationGetPathArgType
- type PatchOperationGetPathAttributeType
- type PatchOperationGetPathRetType
- type PatchOperationGetValueArgType
- type PatchOperationGetValueAttributeType
- type PatchOperationGetValueRetType
- type PatchOperationOp
- type RunnerLabel
- func (o *RunnerLabel) GetDescription() (ret RunnerLabelGetDescriptionRetType)
- func (o *RunnerLabel) GetDescriptionOk() (ret RunnerLabelGetDescriptionRetType, ok bool)
- func (o *RunnerLabel) GetId() (ret RunnerLabelGetIdRetType)
- func (o *RunnerLabel) GetIdOk() (ret RunnerLabelGetIdRetType, ok bool)
- func (o *RunnerLabel) GetLabel() (ret RunnerLabelGetLabelRetType)
- func (o *RunnerLabel) GetLabelOk() (ret RunnerLabelGetLabelRetType, ok bool)
- func (o *RunnerLabel) SetDescription(v RunnerLabelGetDescriptionRetType)
- func (o *RunnerLabel) SetId(v RunnerLabelGetIdRetType)
- func (o *RunnerLabel) SetLabel(v RunnerLabelGetLabelRetType)
- func (o RunnerLabel) ToMap() (map[string]interface{}, error)
- type RunnerLabelGetDescriptionArgType
- type RunnerLabelGetDescriptionAttributeType
- type RunnerLabelGetDescriptionRetType
- type RunnerLabelGetIdArgType
- type RunnerLabelGetIdAttributeType
- type RunnerLabelGetIdRetType
- type RunnerLabelGetLabelArgType
- type RunnerLabelGetLabelAttributeType
- type RunnerLabelGetLabelRetType
- type UnauthorizedResponse
- func (o *UnauthorizedResponse) GetError() (res UnauthorizedResponseGetErrorRetType)
- func (o *UnauthorizedResponse) GetErrorOk() (ret UnauthorizedResponseGetErrorRetType, ok bool)
- func (o *UnauthorizedResponse) HasError() bool
- func (o *UnauthorizedResponse) SetError(v UnauthorizedResponseGetErrorRetType)
- func (o UnauthorizedResponse) ToMap() (map[string]interface{}, error)
- type UnauthorizedResponseGetErrorArgType
- type UnauthorizedResponseGetErrorAttributeType
- type UnauthorizedResponseGetErrorRetType
Constants ¶
This section is empty.
Variables ¶
var AllowedCreateInstancePayloadFlavorEnumValues = []CreateInstancePayloadFlavor{
"git-10",
"git-100",
}
All allowed values of CreateInstancePayload enum
var AllowedFlavorAvailabilityEnumValues = []FlavorAvailability{
"available",
"unavailable",
"internal",
"deprecated",
}
All allowed values of Flavor enum
var AllowedInstanceStateEnumValues = []InstanceState{
"Creating",
"WaitingForResources",
"Updating",
"Deleting",
"Ready",
"Error",
}
All allowed values of Instance enum
var AllowedPatchOperationOpEnumValues = []PatchOperationOp{
"add",
"remove",
}
All allowed values of PatchOperation 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 Git API API v1beta.0.4 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.2.0
func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
CreateInstance: Create an Instance.
Creates a new STACKIT Git instance as a project resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @return ApiCreateInstanceRequest
func (*APIClient) CreateInstanceExecute ¶ added in v0.2.0
func (*APIClient) DeleteInstance ¶ added in v0.2.0
func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance: Delete Instance.
Deletes a STACKIT Git instance and destroys all associated data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param instanceId Instance identifier. @return ApiDeleteInstanceRequest
func (*APIClient) DeleteInstanceExecute ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
GetInstance: Get Instance information.
Retrieves information about a STACKIT Git instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param instanceId Instance identifier. @return ApiGetInstanceRequest
func (*APIClient) GetInstanceExecute ¶ added in v0.2.0
func (*APIClient) ListFlavors ¶ added in v0.6.0
func (a *APIClient) ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
ListFlavors: Returns the details for the given STACKIT Git flavors.
Provides detailed information about possible Git Flavors.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @return ApiListFlavorsRequest
func (*APIClient) ListFlavorsExecute ¶ added in v0.6.0
func (*APIClient) ListInstances ¶
func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
ListInstances: List Instances.
Lists all STACKIT Git instances within a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @return ApiListInstancesRequest
func (*APIClient) ListInstancesExecute ¶
func (*APIClient) ListRunnerLabels ¶ added in v0.9.0
func (a *APIClient) ListRunnerLabels(ctx context.Context, projectId string) ApiListRunnerLabelsRequest
ListRunnerLabels: Returns the details for the given STACKIT Git RunnerLabels.
Type of runners we can use for running jobs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @return ApiListRunnerLabelsRequest
func (*APIClient) ListRunnerLabelsExecute ¶ added in v0.9.0
func (*APIClient) PatchInstance ¶ added in v0.9.0
func (a *APIClient) PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest
PatchInstance: Patch Instance.
Patches the Instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project identifier. @param instanceId Instance identifier. @return ApiPatchInstanceRequest
type ApiCreateInstanceRequest ¶ added in v0.2.0
type ApiCreateInstanceRequest interface {
// Instance configuration options.
CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
Execute() (*Instance, error)
}
type ApiDeleteInstanceRequest ¶ added in v0.2.0
type ApiDeleteInstanceRequest interface {
Execute() error
}
type ApiGetInstanceRequest ¶ added in v0.2.0
type ApiListFlavorsRequest ¶ added in v0.6.0
type ApiListFlavorsRequest interface {
Execute() (*ListFlavors, error)
}
type ApiListInstancesRequest ¶
type ApiListInstancesRequest interface {
Execute() (*ListInstances, error)
}
type ApiListRunnerLabelsRequest ¶ added in v0.9.0
type ApiListRunnerLabelsRequest interface {
Execute() (*ListRunnerLabels, error)
}
type ApiPatchInstanceRequest ¶ added in v0.9.0
type ApiPatchInstanceRequest interface {
PatchOperation(patchOperation []PatchOperation) ApiPatchInstanceRequest
Execute() (*Instance, error)
}
type CreateInstancePayload ¶ added in v0.2.0
type CreateInstancePayload struct {
// A list of CIDR network addresses that are allowed to access the instance.
Acl CreateInstancePayloadGetAclAttributeType `json:"acl,omitempty"`
// Desired instance flavor. Must be one of the defined enum values
Flavor CreateInstancePayloadGetFlavorAttributeType `json:"flavor,omitempty"`
// A user chosen name to distinguish multiple STACKIT Git instances.
// REQUIRED
Name CreateInstancePayloadGetNameAttributeType `json:"name" required:"true"`
}
CreateInstancePayload Request a STACKIT Git instance to be created with these properties.
func NewCreateInstancePayload ¶ added in v0.2.0
func NewCreateInstancePayload(name CreateInstancePayloadGetNameArgType) *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.2.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) GetAcl ¶ added in v0.6.0
func (o *CreateInstancePayload) GetAcl() (res CreateInstancePayloadGetAclRetType)
GetAcl returns the Acl field value if set, zero value otherwise.
func (*CreateInstancePayload) GetAclOk ¶ added in v0.6.0
func (o *CreateInstancePayload) GetAclOk() (ret CreateInstancePayloadGetAclRetType, ok bool)
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetFlavor ¶ added in v0.6.0
func (o *CreateInstancePayload) GetFlavor() (res CreateInstancePayloadGetFlavorRetType)
GetFlavor returns the Flavor field value if set, zero value otherwise.
func (*CreateInstancePayload) GetFlavorOk ¶ added in v0.6.0
func (o *CreateInstancePayload) GetFlavorOk() (ret CreateInstancePayloadGetFlavorRetType, ok bool)
GetFlavorOk returns a tuple with the Flavor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶ added in v0.2.0
func (o *CreateInstancePayload) GetName() (ret CreateInstancePayloadGetNameRetType)
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶ added in v0.2.0
func (o *CreateInstancePayload) GetNameOk() (ret CreateInstancePayloadGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasAcl ¶ added in v0.6.0
func (o *CreateInstancePayload) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*CreateInstancePayload) HasFlavor ¶ added in v0.6.0
func (o *CreateInstancePayload) HasFlavor() bool
HasFlavor returns a boolean if a field has been set.
func (*CreateInstancePayload) SetAcl ¶ added in v0.6.0
func (o *CreateInstancePayload) SetAcl(v CreateInstancePayloadGetAclRetType)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*CreateInstancePayload) SetFlavor ¶ added in v0.6.0
func (o *CreateInstancePayload) SetFlavor(v CreateInstancePayloadGetFlavorRetType)
SetFlavor gets a reference to the given string and assigns it to the Flavor field.
func (*CreateInstancePayload) SetName ¶ added in v0.2.0
func (o *CreateInstancePayload) SetName(v CreateInstancePayloadGetNameRetType)
SetName sets field value
func (CreateInstancePayload) ToMap ¶ added in v0.2.0
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
type CreateInstancePayloadFlavor ¶ added in v0.7.0
type CreateInstancePayloadFlavor string
CreateInstancePayloadFlavor Desired instance flavor. Must be one of the defined enum values value type for enums
const ( CREATEINSTANCEPAYLOADFLAVOR__10 CreateInstancePayloadFlavor = "git-10" CREATEINSTANCEPAYLOADFLAVOR__100 CreateInstancePayloadFlavor = "git-100" )
List of Flavor
func NewCreateInstancePayloadFlavorFromValue ¶ added in v0.7.0
func NewCreateInstancePayloadFlavorFromValue(v CreateInstancePayloadFlavor) (*CreateInstancePayloadFlavor, error)
NewCreateInstancePayloadFlavorFromValue returns a pointer to a valid CreateInstancePayloadFlavor for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateInstancePayloadFlavor) IsValid ¶ added in v0.7.0
func (v CreateInstancePayloadFlavor) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateInstancePayloadFlavor) Ptr ¶ added in v0.7.0
func (v CreateInstancePayloadFlavor) Ptr() *CreateInstancePayloadFlavor
Ptr returns reference to FlavorFlavor value
func (*CreateInstancePayloadFlavor) UnmarshalJSON ¶ added in v0.7.0
func (v *CreateInstancePayloadFlavor) UnmarshalJSON(src []byte) error
type CreateInstancePayloadGetAclArgType ¶ added in v0.6.0
type CreateInstancePayloadGetAclArgType = []string
type CreateInstancePayloadGetAclAttributeType ¶ added in v0.6.0
type CreateInstancePayloadGetAclAttributeType = *[]string
isArray
type CreateInstancePayloadGetAclRetType ¶ added in v0.6.0
type CreateInstancePayloadGetAclRetType = []string
type CreateInstancePayloadGetFlavorArgType ¶ added in v0.6.0
type CreateInstancePayloadGetFlavorArgType = CreateInstancePayloadFlavor
type CreateInstancePayloadGetFlavorAttributeType ¶ added in v0.6.0
type CreateInstancePayloadGetFlavorAttributeType = *CreateInstancePayloadFlavor
type CreateInstancePayloadGetFlavorRetType ¶ added in v0.6.0
type CreateInstancePayloadGetFlavorRetType = CreateInstancePayloadFlavor
type CreateInstancePayloadGetNameArgType ¶ added in v0.2.0
type CreateInstancePayloadGetNameArgType = string
type CreateInstancePayloadGetNameAttributeType ¶ added in v0.2.0
type CreateInstancePayloadGetNameAttributeType = *string
isNotNullableString
type CreateInstancePayloadGetNameRetType ¶ added in v0.2.0
type CreateInstancePayloadGetNameRetType = string
type CreateInstanceRequest ¶ added in v0.5.0
type CreateInstanceRequest struct {
// contains filtered or unexported fields
}
func (CreateInstanceRequest) CreateInstancePayload ¶ added in v0.5.0
func (r CreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
func (CreateInstanceRequest) Execute ¶ added in v0.5.0
func (r CreateInstanceRequest) Execute() (*Instance, error)
type DefaultApi ¶ added in v0.5.0
type DefaultApi interface {
/*
CreateInstance Create an Instance.
Creates a new STACKIT Git instance as a project resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId 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 Project identifier.
@return Instance
*/
CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)
/*
DeleteInstance Delete Instance.
Deletes a STACKIT Git instance and destroys all associated data.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
/*
DeleteInstanceExecute executes the request
*/
DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error
/*
GetInstance Get Instance information.
Retrieves information about a STACKIT Git instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId 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 Project identifier.
@param instanceId Instance identifier.
@return Instance
*/
GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
/*
ListFlavors Returns the details for the given STACKIT Git flavors.
Provides detailed information about possible Git Flavors.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ApiListFlavorsRequest
*/
ListFlavors(ctx context.Context, projectId string) ApiListFlavorsRequest
/*
ListFlavorsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ListFlavors
*/
ListFlavorsExecute(ctx context.Context, projectId string) (*ListFlavors, error)
/*
ListInstances List Instances.
Lists all STACKIT Git instances within a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId 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 Project identifier.
@return ListInstances
*/
ListInstancesExecute(ctx context.Context, projectId string) (*ListInstances, error)
/*
ListRunnerLabels Returns the details for the given STACKIT Git RunnerLabels.
Type of runners we can use for running jobs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ApiListRunnerLabelsRequest
*/
ListRunnerLabels(ctx context.Context, projectId string) ApiListRunnerLabelsRequest
/*
ListRunnerLabelsExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@return ListRunnerLabels
*/
ListRunnerLabelsExecute(ctx context.Context, projectId string) (*ListRunnerLabels, error)
/*
PatchInstance Patch Instance.
Patches the Instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return ApiPatchInstanceRequest
*/
PatchInstance(ctx context.Context, projectId string, instanceId string) ApiPatchInstanceRequest
/*
PatchInstanceExecute executes the request
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project identifier.
@param instanceId Instance identifier.
@return Instance
*/
PatchInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)
}
type DeleteInstanceRequest ¶ added in v0.5.0
type DeleteInstanceRequest struct {
// contains filtered or unexported fields
}
func (DeleteInstanceRequest) Execute ¶ added in v0.5.0
func (r DeleteInstanceRequest) Execute() error
type Flavor ¶ added in v0.6.0
type Flavor struct {
// Defines the flavor availability.
// REQUIRED
Availability FlavorGetAvailabilityAttributeType `json:"availability" required:"true"`
// Flavor description.
// REQUIRED
Description FlavorGetDescriptionAttributeType `json:"description" required:"true"`
// The display name that will be shown in the Portal.
// REQUIRED
DisplayName FlavorGetDisplayNameAttributeType `json:"display_name" required:"true"`
// Flavor id.
// REQUIRED
Id FlavorGetIdAttributeType `json:"id" required:"true"`
// SAP article number.
// REQUIRED
Sku FlavorGetSkuAttributeType `json:"sku" required:"true"`
}
Flavor Describes a STACKIT Git Flavor.
func NewFlavor ¶ added in v0.6.0
func NewFlavor(availability FlavorGetAvailabilityArgType, description FlavorGetDescriptionArgType, displayName FlavorGetDisplayNameArgType, id FlavorGetIdArgType, sku FlavorGetSkuArgType) *Flavor
NewFlavor instantiates a new Flavor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFlavorWithDefaults ¶ added in v0.6.0
func NewFlavorWithDefaults() *Flavor
NewFlavorWithDefaults instantiates a new Flavor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Flavor) GetAvailability ¶ added in v0.6.0
func (o *Flavor) GetAvailability() (ret FlavorGetAvailabilityRetType)
GetAvailability returns the Availability field value
func (*Flavor) GetAvailabilityOk ¶ added in v0.6.0
func (o *Flavor) GetAvailabilityOk() (ret FlavorGetAvailabilityRetType, ok bool)
GetAvailabilityOk returns a tuple with the Availability field value and a boolean to check if the value has been set.
func (*Flavor) GetDescription ¶ added in v0.6.0
func (o *Flavor) GetDescription() (ret FlavorGetDescriptionRetType)
GetDescription returns the Description field value
func (*Flavor) GetDescriptionOk ¶ added in v0.6.0
func (o *Flavor) GetDescriptionOk() (ret FlavorGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Flavor) GetDisplayName ¶ added in v0.6.0
func (o *Flavor) GetDisplayName() (ret FlavorGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value
func (*Flavor) GetDisplayNameOk ¶ added in v0.6.0
func (o *Flavor) GetDisplayNameOk() (ret FlavorGetDisplayNameRetType, ok bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Flavor) GetId ¶ added in v0.6.0
func (o *Flavor) GetId() (ret FlavorGetIdRetType)
GetId returns the Id field value
func (*Flavor) GetIdOk ¶ added in v0.6.0
func (o *Flavor) GetIdOk() (ret FlavorGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Flavor) GetSku ¶ added in v0.7.0
func (o *Flavor) GetSku() (ret FlavorGetSkuRetType)
GetSku returns the Sku field value
func (*Flavor) GetSkuOk ¶ added in v0.7.0
func (o *Flavor) GetSkuOk() (ret FlavorGetSkuRetType, ok bool)
GetSkuOk returns a tuple with the Sku field value and a boolean to check if the value has been set.
func (*Flavor) SetAvailability ¶ added in v0.6.0
func (o *Flavor) SetAvailability(v FlavorGetAvailabilityRetType)
SetAvailability sets field value
func (*Flavor) SetDescription ¶ added in v0.6.0
func (o *Flavor) SetDescription(v FlavorGetDescriptionRetType)
SetDescription sets field value
func (*Flavor) SetDisplayName ¶ added in v0.6.0
func (o *Flavor) SetDisplayName(v FlavorGetDisplayNameRetType)
SetDisplayName sets field value
func (*Flavor) SetId ¶ added in v0.6.0
func (o *Flavor) SetId(v FlavorGetIdRetType)
SetId sets field value
func (*Flavor) SetSku ¶ added in v0.7.0
func (o *Flavor) SetSku(v FlavorGetSkuRetType)
SetSku sets field value
type FlavorAvailability ¶ added in v0.6.0
type FlavorAvailability string
FlavorAvailability Defines the flavor availability. value type for enums
const ( FLAVORAVAILABILITY_AVAILABLE FlavorAvailability = "available" FLAVORAVAILABILITY_UNAVAILABLE FlavorAvailability = "unavailable" FLAVORAVAILABILITY_INTERNAL FlavorAvailability = "internal" FLAVORAVAILABILITY_DEPRECATED FlavorAvailability = "deprecated" )
List of Availability
func NewFlavorAvailabilityFromValue ¶ added in v0.6.0
func NewFlavorAvailabilityFromValue(v FlavorAvailability) (*FlavorAvailability, error)
NewFlavorAvailabilityFromValue returns a pointer to a valid FlavorAvailability for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FlavorAvailability) IsValid ¶ added in v0.6.0
func (v FlavorAvailability) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FlavorAvailability) Ptr ¶ added in v0.6.0
func (v FlavorAvailability) Ptr() *FlavorAvailability
Ptr returns reference to AvailabilityAvailability value
func (*FlavorAvailability) UnmarshalJSON ¶ added in v0.6.0
func (v *FlavorAvailability) UnmarshalJSON(src []byte) error
type FlavorGetAvailabilityArgType ¶ added in v0.6.0
type FlavorGetAvailabilityArgType = FlavorAvailability
type FlavorGetAvailabilityAttributeType ¶ added in v0.6.0
type FlavorGetAvailabilityAttributeType = *FlavorAvailability
type FlavorGetAvailabilityRetType ¶ added in v0.6.0
type FlavorGetAvailabilityRetType = FlavorAvailability
type FlavorGetDescriptionArgType ¶ added in v0.6.0
type FlavorGetDescriptionArgType = string
type FlavorGetDescriptionAttributeType ¶ added in v0.6.0
type FlavorGetDescriptionAttributeType = *string
isNotNullableString
type FlavorGetDescriptionRetType ¶ added in v0.6.0
type FlavorGetDescriptionRetType = string
type FlavorGetDisplayNameArgType ¶ added in v0.6.0
type FlavorGetDisplayNameArgType = string
type FlavorGetDisplayNameAttributeType ¶ added in v0.6.0
type FlavorGetDisplayNameAttributeType = *string
isNotNullableString
type FlavorGetDisplayNameRetType ¶ added in v0.6.0
type FlavorGetDisplayNameRetType = string
type FlavorGetIdArgType ¶ added in v0.6.0
type FlavorGetIdArgType = string
type FlavorGetIdAttributeType ¶ added in v0.6.0
type FlavorGetIdAttributeType = *string
isNotNullableString
type FlavorGetIdRetType ¶ added in v0.6.0
type FlavorGetIdRetType = string
type FlavorGetSkuArgType ¶ added in v0.7.0
type FlavorGetSkuArgType = string
type FlavorGetSkuAttributeType ¶ added in v0.7.0
type FlavorGetSkuAttributeType = *string
isNotNullableString
type FlavorGetSkuRetType ¶ added in v0.7.0
type FlavorGetSkuRetType = string
type GenericErrorResponse ¶ added in v0.6.0
type GenericErrorResponse struct {
Details GenericErrorResponseGetDetailsAttributeType `json:"details,omitempty"`
// REQUIRED
Message GenericErrorResponseGetMessageAttributeType `json:"message" required:"true"`
}
GenericErrorResponse Generic Error Response.
func NewGenericErrorResponse ¶ added in v0.6.0
func NewGenericErrorResponse(message GenericErrorResponseGetMessageArgType) *GenericErrorResponse
NewGenericErrorResponse instantiates a new GenericErrorResponse 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 NewGenericErrorResponseWithDefaults ¶ added in v0.6.0
func NewGenericErrorResponseWithDefaults() *GenericErrorResponse
NewGenericErrorResponseWithDefaults instantiates a new GenericErrorResponse 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 (*GenericErrorResponse) GetDetails ¶ added in v0.6.0
func (o *GenericErrorResponse) GetDetails() (res GenericErrorResponseGetDetailsRetType)
GetDetails returns the Details field value if set, zero value otherwise.
func (*GenericErrorResponse) GetDetailsOk ¶ added in v0.6.0
func (o *GenericErrorResponse) GetDetailsOk() (ret GenericErrorResponseGetDetailsRetType, ok bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenericErrorResponse) GetMessage ¶ added in v0.6.0
func (o *GenericErrorResponse) GetMessage() (ret GenericErrorResponseGetMessageRetType)
GetMessage returns the Message field value
func (*GenericErrorResponse) GetMessageOk ¶ added in v0.6.0
func (o *GenericErrorResponse) GetMessageOk() (ret GenericErrorResponseGetMessageRetType, ok bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*GenericErrorResponse) HasDetails ¶ added in v0.6.0
func (o *GenericErrorResponse) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*GenericErrorResponse) SetDetails ¶ added in v0.6.0
func (o *GenericErrorResponse) SetDetails(v GenericErrorResponseGetDetailsRetType)
SetDetails gets a reference to the given []string and assigns it to the Details field.
func (*GenericErrorResponse) SetMessage ¶ added in v0.6.0
func (o *GenericErrorResponse) SetMessage(v GenericErrorResponseGetMessageRetType)
SetMessage sets field value
func (GenericErrorResponse) ToMap ¶ added in v0.6.0
func (o GenericErrorResponse) ToMap() (map[string]interface{}, error)
type GenericErrorResponseGetDetailsArgType ¶ added in v0.6.0
type GenericErrorResponseGetDetailsArgType = []string
type GenericErrorResponseGetDetailsAttributeType ¶ added in v0.6.0
type GenericErrorResponseGetDetailsAttributeType = *[]string
isArray
type GenericErrorResponseGetDetailsRetType ¶ added in v0.6.0
type GenericErrorResponseGetDetailsRetType = []string
type GenericErrorResponseGetMessageArgType ¶ added in v0.6.0
type GenericErrorResponseGetMessageArgType = string
type GenericErrorResponseGetMessageAttributeType ¶ added in v0.6.0
type GenericErrorResponseGetMessageAttributeType = *string
isNotNullableString
type GenericErrorResponseGetMessageRetType ¶ added in v0.6.0
type GenericErrorResponseGetMessageRetType = string
type GetInstanceRequest ¶ added in v0.5.0
type GetInstanceRequest struct {
// contains filtered or unexported fields
}
func (GetInstanceRequest) Execute ¶ added in v0.5.0
func (r GetInstanceRequest) Execute() (*Instance, error)
type Instance ¶
type Instance struct {
// Restricted ACL for instance access.
// REQUIRED
Acl InstanceGetAclAttributeType `json:"acl" required:"true"`
// How many bytes of disk space is consumed. Read Only.
// REQUIRED
ConsumedDisk InstanceGetConsumedDiskAttributeType `json:"consumed_disk" required:"true"`
// How many bytes of Object Storage is consumed. Read Only.
// REQUIRED
ConsumedObjectStorage InstanceGetConsumedObjectStorageAttributeType `json:"consumed_object_storage" required:"true"`
// The date and time the creation of the STACKIT Git instance was triggered.
// REQUIRED
Created InstanceGetCreatedAttributeType `json:"created" required:"true"`
// Desired instance flavor. Must be one of the defined enum values
// REQUIRED
Flavor InstanceGetFlavorAttributeType `json:"flavor" required:"true"`
// A auto generated unique id which identifies the STACKIT Git instances.
// REQUIRED
Id InstanceGetIdAttributeType `json:"id" required:"true"`
// A user chosen name to distinguish multiple STACKIT Git instances.
// REQUIRED
Name InstanceGetNameAttributeType `json:"name" required:"true"`
// The current state of the STACKIT Git instance.
// REQUIRED
State InstanceGetStateAttributeType `json:"state" required:"true"`
// The URL for reaching the STACKIT Git instance.
// REQUIRED
Url InstanceGetUrlAttributeType `json:"url" required:"true"`
// The current version of STACKIT Git deployed to the instance.
// REQUIRED
Version InstanceGetVersionAttributeType `json:"version" required:"true"`
}
Instance Describes a STACKIT Git instance.
func NewInstance ¶
func NewInstance(acl InstanceGetAclArgType, consumedDisk InstanceGetConsumedDiskArgType, consumedObjectStorage InstanceGetConsumedObjectStorageArgType, created InstanceGetCreatedArgType, flavor InstanceGetFlavorArgType, id InstanceGetIdArgType, name InstanceGetNameArgType, state InstanceGetStateArgType, url InstanceGetUrlArgType, version InstanceGetVersionArgType) *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) GetAcl ¶ added in v0.6.0
func (o *Instance) GetAcl() (ret InstanceGetAclRetType)
GetAcl returns the Acl field value
func (*Instance) GetAclOk ¶ added in v0.6.0
func (o *Instance) GetAclOk() (ret InstanceGetAclRetType, ok bool)
GetAclOk returns a tuple with the Acl field value and a boolean to check if the value has been set.
func (*Instance) GetConsumedDisk ¶ added in v0.6.0
func (o *Instance) GetConsumedDisk() (ret InstanceGetConsumedDiskRetType)
GetConsumedDisk returns the ConsumedDisk field value
func (*Instance) GetConsumedDiskOk ¶ added in v0.6.0
func (o *Instance) GetConsumedDiskOk() (ret InstanceGetConsumedDiskRetType, ok bool)
GetConsumedDiskOk returns a tuple with the ConsumedDisk field value and a boolean to check if the value has been set.
func (*Instance) GetConsumedObjectStorage ¶ added in v0.6.0
func (o *Instance) GetConsumedObjectStorage() (ret InstanceGetConsumedObjectStorageRetType)
GetConsumedObjectStorage returns the ConsumedObjectStorage field value
func (*Instance) GetConsumedObjectStorageOk ¶ added in v0.6.0
func (o *Instance) GetConsumedObjectStorageOk() (ret InstanceGetConsumedObjectStorageRetType, ok bool)
GetConsumedObjectStorageOk returns a tuple with the ConsumedObjectStorage field value and a boolean to check if the value has been 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) GetFlavor ¶ added in v0.6.0
func (o *Instance) GetFlavor() (ret InstanceGetFlavorRetType)
GetFlavor returns the Flavor field value
func (*Instance) GetFlavorOk ¶ added in v0.6.0
func (o *Instance) GetFlavorOk() (ret InstanceGetFlavorRetType, ok bool)
GetFlavorOk returns a tuple with the Flavor 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) GetName ¶
func (o *Instance) GetName() (ret InstanceGetNameRetType)
GetName returns the Name field value
func (*Instance) GetNameOk ¶
func (o *Instance) GetNameOk() (ret InstanceGetNameRetType, ok bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetState ¶
func (o *Instance) GetState() (ret InstanceGetStateRetType)
GetState returns the State field value
func (*Instance) GetStateOk ¶
func (o *Instance) GetStateOk() (ret InstanceGetStateRetType, ok bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Instance) GetUrl ¶
func (o *Instance) GetUrl() (ret InstanceGetUrlRetType)
GetUrl returns the Url field value
func (*Instance) GetUrlOk ¶
func (o *Instance) GetUrlOk() (ret InstanceGetUrlRetType, ok bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Instance) GetVersion ¶
func (o *Instance) GetVersion() (ret InstanceGetVersionRetType)
GetVersion returns the Version field value
func (*Instance) GetVersionOk ¶
func (o *Instance) GetVersionOk() (ret InstanceGetVersionRetType, ok bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*Instance) SetAcl ¶ added in v0.6.0
func (o *Instance) SetAcl(v InstanceGetAclRetType)
SetAcl sets field value
func (*Instance) SetConsumedDisk ¶ added in v0.6.0
func (o *Instance) SetConsumedDisk(v InstanceGetConsumedDiskRetType)
SetConsumedDisk sets field value
func (*Instance) SetConsumedObjectStorage ¶ added in v0.6.0
func (o *Instance) SetConsumedObjectStorage(v InstanceGetConsumedObjectStorageRetType)
SetConsumedObjectStorage sets field value
func (*Instance) SetCreated ¶
func (o *Instance) SetCreated(v InstanceGetCreatedRetType)
SetCreated sets field value
func (*Instance) SetFlavor ¶ added in v0.6.0
func (o *Instance) SetFlavor(v InstanceGetFlavorRetType)
SetFlavor sets field value
func (*Instance) SetName ¶
func (o *Instance) SetName(v InstanceGetNameRetType)
SetName sets field value
func (*Instance) SetState ¶
func (o *Instance) SetState(v InstanceGetStateRetType)
SetState sets field value
func (*Instance) SetUrl ¶
func (o *Instance) SetUrl(v InstanceGetUrlRetType)
SetUrl sets field value
func (*Instance) SetVersion ¶
func (o *Instance) SetVersion(v InstanceGetVersionRetType)
SetVersion sets field value
type InstanceGetAclArgType ¶ added in v0.6.0
type InstanceGetAclArgType = []string
type InstanceGetAclAttributeType ¶ added in v0.6.0
type InstanceGetAclAttributeType = *[]string
isArray
type InstanceGetAclRetType ¶ added in v0.6.0
type InstanceGetAclRetType = []string
type InstanceGetConsumedDiskArgType ¶ added in v0.6.0
type InstanceGetConsumedDiskArgType = string
type InstanceGetConsumedDiskAttributeType ¶ added in v0.6.0
type InstanceGetConsumedDiskAttributeType = *string
isNotNullableString
type InstanceGetConsumedDiskRetType ¶ added in v0.6.0
type InstanceGetConsumedDiskRetType = string
type InstanceGetConsumedObjectStorageArgType ¶ added in v0.6.0
type InstanceGetConsumedObjectStorageArgType = string
type InstanceGetConsumedObjectStorageAttributeType ¶ added in v0.6.0
type InstanceGetConsumedObjectStorageAttributeType = *string
isNotNullableString
type InstanceGetConsumedObjectStorageRetType ¶ added in v0.6.0
type InstanceGetConsumedObjectStorageRetType = string
type InstanceGetFlavorArgType ¶ added in v0.6.0
type InstanceGetFlavorArgType = string
type InstanceGetFlavorAttributeType ¶ added in v0.6.0
type InstanceGetFlavorAttributeType = *string
isNotNullableString
type InstanceGetFlavorRetType ¶ added in v0.6.0
type InstanceGetFlavorRetType = string
type InstanceGetIdArgType ¶
type InstanceGetIdArgType = string
type InstanceGetIdRetType ¶
type InstanceGetIdRetType = string
type InstanceGetNameArgType ¶
type InstanceGetNameArgType = string
type InstanceGetNameRetType ¶
type InstanceGetNameRetType = string
type InstanceGetStateArgType ¶
type InstanceGetStateArgType = InstanceState
type InstanceGetStateAttributeType ¶
type InstanceGetStateAttributeType = *InstanceState
type InstanceGetStateRetType ¶
type InstanceGetStateRetType = InstanceState
type InstanceGetUrlArgType ¶
type InstanceGetUrlArgType = string
type InstanceGetUrlRetType ¶
type InstanceGetUrlRetType = string
type InstanceGetVersionArgType ¶
type InstanceGetVersionArgType = string
type InstanceGetVersionAttributeType ¶
type InstanceGetVersionAttributeType = *string
isNotNullableString
type InstanceGetVersionRetType ¶
type InstanceGetVersionRetType = string
type InstanceState ¶ added in v0.5.0
type InstanceState string
InstanceState The current state of the STACKIT Git instance. value type for enums
const ( INSTANCESTATE_CREATING InstanceState = "Creating" INSTANCESTATE_WAITING_FOR_RESOURCES InstanceState = "WaitingForResources" INSTANCESTATE_UPDATING InstanceState = "Updating" INSTANCESTATE_DELETING InstanceState = "Deleting" INSTANCESTATE_READY InstanceState = "Ready" INSTANCESTATE_ERROR InstanceState = "Error" )
List of State
func NewInstanceStateFromValue ¶ added in v0.5.0
func NewInstanceStateFromValue(v InstanceState) (*InstanceState, error)
NewInstanceStateFromValue returns a pointer to a valid InstanceState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InstanceState) IsValid ¶ added in v0.5.0
func (v InstanceState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InstanceState) Ptr ¶ added in v0.5.0
func (v InstanceState) Ptr() *InstanceState
Ptr returns reference to StateState value
func (*InstanceState) UnmarshalJSON ¶ added in v0.5.0
func (v *InstanceState) UnmarshalJSON(src []byte) error
type InternalServerErrorResponse ¶
type InternalServerErrorResponse struct {
Error InternalServerErrorResponseGetErrorAttributeType `json:"error,omitempty"`
}
InternalServerErrorResponse Internal server error.
func NewInternalServerErrorResponse ¶
func NewInternalServerErrorResponse() *InternalServerErrorResponse
NewInternalServerErrorResponse instantiates a new InternalServerErrorResponse 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 NewInternalServerErrorResponseWithDefaults ¶
func NewInternalServerErrorResponseWithDefaults() *InternalServerErrorResponse
NewInternalServerErrorResponseWithDefaults instantiates a new InternalServerErrorResponse 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 (*InternalServerErrorResponse) GetError ¶
func (o *InternalServerErrorResponse) GetError() (res InternalServerErrorResponseGetErrorRetType)
GetError returns the Error field value if set, zero value otherwise.
func (*InternalServerErrorResponse) GetErrorOk ¶
func (o *InternalServerErrorResponse) GetErrorOk() (ret InternalServerErrorResponseGetErrorRetType, ok bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalServerErrorResponse) HasError ¶
func (o *InternalServerErrorResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*InternalServerErrorResponse) SetError ¶
func (o *InternalServerErrorResponse) SetError(v InternalServerErrorResponseGetErrorRetType)
SetError gets a reference to the given string and assigns it to the Error field.
func (InternalServerErrorResponse) ToMap ¶
func (o InternalServerErrorResponse) ToMap() (map[string]interface{}, error)
type InternalServerErrorResponseGetErrorArgType ¶
type InternalServerErrorResponseGetErrorArgType = string
type InternalServerErrorResponseGetErrorAttributeType ¶
type InternalServerErrorResponseGetErrorAttributeType = *string
isNotNullableString
type InternalServerErrorResponseGetErrorRetType ¶
type InternalServerErrorResponseGetErrorRetType = string
type ListFlavors ¶ added in v0.6.0
type ListFlavors struct {
// REQUIRED
Flavors ListFlavorsGetFlavorsAttributeType `json:"flavors" required:"true"`
}
ListFlavors A list of STACKIT Git Flavors.
func NewListFlavors ¶ added in v0.6.0
func NewListFlavors(flavors ListFlavorsGetFlavorsArgType) *ListFlavors
NewListFlavors instantiates a new ListFlavors 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 NewListFlavorsWithDefaults ¶ added in v0.6.0
func NewListFlavorsWithDefaults() *ListFlavors
NewListFlavorsWithDefaults instantiates a new ListFlavors 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 (*ListFlavors) GetFlavors ¶ added in v0.6.0
func (o *ListFlavors) GetFlavors() (ret ListFlavorsGetFlavorsRetType)
GetFlavors returns the Flavors field value
func (*ListFlavors) GetFlavorsOk ¶ added in v0.6.0
func (o *ListFlavors) GetFlavorsOk() (ret ListFlavorsGetFlavorsRetType, ok bool)
GetFlavorsOk returns a tuple with the Flavors field value and a boolean to check if the value has been set.
func (*ListFlavors) SetFlavors ¶ added in v0.6.0
func (o *ListFlavors) SetFlavors(v ListFlavorsGetFlavorsRetType)
SetFlavors sets field value
func (ListFlavors) ToMap ¶ added in v0.6.0
func (o ListFlavors) ToMap() (map[string]interface{}, error)
type ListFlavorsGetFlavorsArgType ¶ added in v0.6.0
type ListFlavorsGetFlavorsArgType = []Flavor
type ListFlavorsGetFlavorsAttributeType ¶ added in v0.6.0
type ListFlavorsGetFlavorsAttributeType = *[]Flavor
isArray
type ListFlavorsGetFlavorsRetType ¶ added in v0.6.0
type ListFlavorsGetFlavorsRetType = []Flavor
type ListFlavorsRequest ¶ added in v0.6.0
type ListFlavorsRequest struct {
// contains filtered or unexported fields
}
func (ListFlavorsRequest) Execute ¶ added in v0.6.0
func (r ListFlavorsRequest) Execute() (*ListFlavors, error)
type ListInstances ¶
type ListInstances struct {
// REQUIRED
Instances ListInstancesGetInstancesAttributeType `json:"instances" required:"true"`
}
ListInstances A list of STACKIT Git instances.
func NewListInstances ¶
func NewListInstances(instances ListInstancesGetInstancesArgType) *ListInstances
NewListInstances instantiates a new ListInstances 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 NewListInstancesWithDefaults ¶
func NewListInstancesWithDefaults() *ListInstances
NewListInstancesWithDefaults instantiates a new ListInstances 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 (*ListInstances) GetInstances ¶
func (o *ListInstances) GetInstances() (ret ListInstancesGetInstancesRetType)
GetInstances returns the Instances field value
func (*ListInstances) GetInstancesOk ¶
func (o *ListInstances) GetInstancesOk() (ret ListInstancesGetInstancesRetType, ok bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*ListInstances) SetInstances ¶
func (o *ListInstances) SetInstances(v ListInstancesGetInstancesRetType)
SetInstances sets field value
func (ListInstances) ToMap ¶
func (o ListInstances) ToMap() (map[string]interface{}, error)
type ListInstancesGetInstancesArgType ¶
type ListInstancesGetInstancesArgType = []Instance
type ListInstancesGetInstancesAttributeType ¶
type ListInstancesGetInstancesAttributeType = *[]Instance
isArray
type ListInstancesGetInstancesRetType ¶
type ListInstancesGetInstancesRetType = []Instance
type ListInstancesRequest ¶ added in v0.5.0
type ListInstancesRequest struct {
// contains filtered or unexported fields
}
func (ListInstancesRequest) Execute ¶ added in v0.5.0
func (r ListInstancesRequest) Execute() (*ListInstances, error)
type ListRunnerLabels ¶ added in v0.9.0
type ListRunnerLabels struct {
// REQUIRED
RunnerLabels ListRunnerLabelsGetRunnerLabelsAttributeType `json:"runner-labels" required:"true"`
}
ListRunnerLabels A list of STACKIT Git RunnerLabels.
func NewListRunnerLabels ¶ added in v0.9.0
func NewListRunnerLabels(runnerLabels ListRunnerLabelsGetRunnerLabelsArgType) *ListRunnerLabels
NewListRunnerLabels instantiates a new ListRunnerLabels 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 NewListRunnerLabelsWithDefaults ¶ added in v0.9.0
func NewListRunnerLabelsWithDefaults() *ListRunnerLabels
NewListRunnerLabelsWithDefaults instantiates a new ListRunnerLabels 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 (*ListRunnerLabels) GetRunnerLabels ¶ added in v0.9.0
func (o *ListRunnerLabels) GetRunnerLabels() (ret ListRunnerLabelsGetRunnerLabelsRetType)
GetRunnerLabels returns the RunnerLabels field value
func (*ListRunnerLabels) GetRunnerLabelsOk ¶ added in v0.9.0
func (o *ListRunnerLabels) GetRunnerLabelsOk() (ret ListRunnerLabelsGetRunnerLabelsRetType, ok bool)
GetRunnerLabelsOk returns a tuple with the RunnerLabels field value and a boolean to check if the value has been set.
func (*ListRunnerLabels) SetRunnerLabels ¶ added in v0.9.0
func (o *ListRunnerLabels) SetRunnerLabels(v ListRunnerLabelsGetRunnerLabelsRetType)
SetRunnerLabels sets field value
func (ListRunnerLabels) ToMap ¶ added in v0.9.0
func (o ListRunnerLabels) ToMap() (map[string]interface{}, error)
type ListRunnerLabelsGetRunnerLabelsArgType ¶ added in v0.9.0
type ListRunnerLabelsGetRunnerLabelsArgType = []RunnerLabel
type ListRunnerLabelsGetRunnerLabelsAttributeType ¶ added in v0.9.0
type ListRunnerLabelsGetRunnerLabelsAttributeType = *[]RunnerLabel
isArray
type ListRunnerLabelsGetRunnerLabelsRetType ¶ added in v0.9.0
type ListRunnerLabelsGetRunnerLabelsRetType = []RunnerLabel
type ListRunnerLabelsRequest ¶ added in v0.9.0
type ListRunnerLabelsRequest struct {
// contains filtered or unexported fields
}
func (ListRunnerLabelsRequest) Execute ¶ added in v0.9.0
func (r ListRunnerLabelsRequest) Execute() (*ListRunnerLabels, error)
type MappedNullable ¶
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.2.0
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayload ¶ added in v0.2.0
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶ added in v0.2.0
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶ added in v0.2.0
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶ added in v0.2.0
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶ added in v0.2.0
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶ added in v0.2.0
func (v *NullableCreateInstancePayload) Unset()
type NullableCreateInstancePayloadFlavor ¶ added in v0.7.0
type NullableCreateInstancePayloadFlavor struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayloadFlavor ¶ added in v0.7.0
func NewNullableCreateInstancePayloadFlavor(val *CreateInstancePayloadFlavor) *NullableCreateInstancePayloadFlavor
func (NullableCreateInstancePayloadFlavor) Get ¶ added in v0.7.0
func (v NullableCreateInstancePayloadFlavor) Get() *CreateInstancePayloadFlavor
func (NullableCreateInstancePayloadFlavor) IsSet ¶ added in v0.7.0
func (v NullableCreateInstancePayloadFlavor) IsSet() bool
func (NullableCreateInstancePayloadFlavor) MarshalJSON ¶ added in v0.7.0
func (v NullableCreateInstancePayloadFlavor) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayloadFlavor) Set ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) Set(val *CreateInstancePayloadFlavor)
func (*NullableCreateInstancePayloadFlavor) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayloadFlavor) Unset ¶ added in v0.7.0
func (v *NullableCreateInstancePayloadFlavor) Unset()
type NullableFlavor ¶ added in v0.6.0
type NullableFlavor struct {
// contains filtered or unexported fields
}
func NewNullableFlavor ¶ added in v0.6.0
func NewNullableFlavor(val *Flavor) *NullableFlavor
func (NullableFlavor) Get ¶ added in v0.6.0
func (v NullableFlavor) Get() *Flavor
func (NullableFlavor) IsSet ¶ added in v0.6.0
func (v NullableFlavor) IsSet() bool
func (NullableFlavor) MarshalJSON ¶ added in v0.6.0
func (v NullableFlavor) MarshalJSON() ([]byte, error)
func (*NullableFlavor) Set ¶ added in v0.6.0
func (v *NullableFlavor) Set(val *Flavor)
func (*NullableFlavor) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableFlavor) UnmarshalJSON(src []byte) error
func (*NullableFlavor) Unset ¶ added in v0.6.0
func (v *NullableFlavor) Unset()
type NullableFlavorAvailability ¶ added in v0.6.0
type NullableFlavorAvailability struct {
// contains filtered or unexported fields
}
func NewNullableFlavorAvailability ¶ added in v0.6.0
func NewNullableFlavorAvailability(val *FlavorAvailability) *NullableFlavorAvailability
func (NullableFlavorAvailability) Get ¶ added in v0.6.0
func (v NullableFlavorAvailability) Get() *FlavorAvailability
func (NullableFlavorAvailability) IsSet ¶ added in v0.6.0
func (v NullableFlavorAvailability) IsSet() bool
func (NullableFlavorAvailability) MarshalJSON ¶ added in v0.6.0
func (v NullableFlavorAvailability) MarshalJSON() ([]byte, error)
func (*NullableFlavorAvailability) Set ¶ added in v0.6.0
func (v *NullableFlavorAvailability) Set(val *FlavorAvailability)
func (*NullableFlavorAvailability) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableFlavorAvailability) UnmarshalJSON(src []byte) error
func (*NullableFlavorAvailability) Unset ¶ added in v0.6.0
func (v *NullableFlavorAvailability) 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 NullableGenericErrorResponse ¶ added in v0.6.0
type NullableGenericErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableGenericErrorResponse ¶ added in v0.6.0
func NewNullableGenericErrorResponse(val *GenericErrorResponse) *NullableGenericErrorResponse
func (NullableGenericErrorResponse) Get ¶ added in v0.6.0
func (v NullableGenericErrorResponse) Get() *GenericErrorResponse
func (NullableGenericErrorResponse) IsSet ¶ added in v0.6.0
func (v NullableGenericErrorResponse) IsSet() bool
func (NullableGenericErrorResponse) MarshalJSON ¶ added in v0.6.0
func (v NullableGenericErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableGenericErrorResponse) Set ¶ added in v0.6.0
func (v *NullableGenericErrorResponse) Set(val *GenericErrorResponse)
func (*NullableGenericErrorResponse) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableGenericErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableGenericErrorResponse) Unset ¶ added in v0.6.0
func (v *NullableGenericErrorResponse) 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 NullableInstanceState ¶ added in v0.5.0
type NullableInstanceState struct {
// contains filtered or unexported fields
}
func NewNullableInstanceState ¶ added in v0.5.0
func NewNullableInstanceState(val *InstanceState) *NullableInstanceState
func (NullableInstanceState) Get ¶ added in v0.5.0
func (v NullableInstanceState) Get() *InstanceState
func (NullableInstanceState) IsSet ¶ added in v0.5.0
func (v NullableInstanceState) IsSet() bool
func (NullableInstanceState) MarshalJSON ¶ added in v0.5.0
func (v NullableInstanceState) MarshalJSON() ([]byte, error)
func (*NullableInstanceState) Set ¶ added in v0.5.0
func (v *NullableInstanceState) Set(val *InstanceState)
func (*NullableInstanceState) UnmarshalJSON ¶ added in v0.5.0
func (v *NullableInstanceState) UnmarshalJSON(src []byte) error
func (*NullableInstanceState) Unset ¶ added in v0.5.0
func (v *NullableInstanceState) 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 NullableInternalServerErrorResponse ¶
type NullableInternalServerErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableInternalServerErrorResponse ¶
func NewNullableInternalServerErrorResponse(val *InternalServerErrorResponse) *NullableInternalServerErrorResponse
func (NullableInternalServerErrorResponse) Get ¶
func (v NullableInternalServerErrorResponse) Get() *InternalServerErrorResponse
func (NullableInternalServerErrorResponse) IsSet ¶
func (v NullableInternalServerErrorResponse) IsSet() bool
func (NullableInternalServerErrorResponse) MarshalJSON ¶
func (v NullableInternalServerErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableInternalServerErrorResponse) Set ¶
func (v *NullableInternalServerErrorResponse) Set(val *InternalServerErrorResponse)
func (*NullableInternalServerErrorResponse) UnmarshalJSON ¶
func (v *NullableInternalServerErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableInternalServerErrorResponse) Unset ¶
func (v *NullableInternalServerErrorResponse) Unset()
type NullableListFlavors ¶ added in v0.6.0
type NullableListFlavors struct {
// contains filtered or unexported fields
}
func NewNullableListFlavors ¶ added in v0.6.0
func NewNullableListFlavors(val *ListFlavors) *NullableListFlavors
func (NullableListFlavors) Get ¶ added in v0.6.0
func (v NullableListFlavors) Get() *ListFlavors
func (NullableListFlavors) IsSet ¶ added in v0.6.0
func (v NullableListFlavors) IsSet() bool
func (NullableListFlavors) MarshalJSON ¶ added in v0.6.0
func (v NullableListFlavors) MarshalJSON() ([]byte, error)
func (*NullableListFlavors) Set ¶ added in v0.6.0
func (v *NullableListFlavors) Set(val *ListFlavors)
func (*NullableListFlavors) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableListFlavors) UnmarshalJSON(src []byte) error
func (*NullableListFlavors) Unset ¶ added in v0.6.0
func (v *NullableListFlavors) Unset()
type NullableListInstances ¶
type NullableListInstances struct {
// contains filtered or unexported fields
}
func NewNullableListInstances ¶
func NewNullableListInstances(val *ListInstances) *NullableListInstances
func (NullableListInstances) Get ¶
func (v NullableListInstances) Get() *ListInstances
func (NullableListInstances) IsSet ¶
func (v NullableListInstances) IsSet() bool
func (NullableListInstances) MarshalJSON ¶
func (v NullableListInstances) MarshalJSON() ([]byte, error)
func (*NullableListInstances) Set ¶
func (v *NullableListInstances) Set(val *ListInstances)
func (*NullableListInstances) UnmarshalJSON ¶
func (v *NullableListInstances) UnmarshalJSON(src []byte) error
func (*NullableListInstances) Unset ¶
func (v *NullableListInstances) Unset()
type NullableListRunnerLabels ¶ added in v0.9.0
type NullableListRunnerLabels struct {
// contains filtered or unexported fields
}
func NewNullableListRunnerLabels ¶ added in v0.9.0
func NewNullableListRunnerLabels(val *ListRunnerLabels) *NullableListRunnerLabels
func (NullableListRunnerLabels) Get ¶ added in v0.9.0
func (v NullableListRunnerLabels) Get() *ListRunnerLabels
func (NullableListRunnerLabels) IsSet ¶ added in v0.9.0
func (v NullableListRunnerLabels) IsSet() bool
func (NullableListRunnerLabels) MarshalJSON ¶ added in v0.9.0
func (v NullableListRunnerLabels) MarshalJSON() ([]byte, error)
func (*NullableListRunnerLabels) Set ¶ added in v0.9.0
func (v *NullableListRunnerLabels) Set(val *ListRunnerLabels)
func (*NullableListRunnerLabels) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableListRunnerLabels) UnmarshalJSON(src []byte) error
func (*NullableListRunnerLabels) Unset ¶ added in v0.9.0
func (v *NullableListRunnerLabels) Unset()
type NullablePatchOperation ¶ added in v0.9.0
type NullablePatchOperation struct {
// contains filtered or unexported fields
}
func NewNullablePatchOperation ¶ added in v0.9.0
func NewNullablePatchOperation(val *PatchOperation) *NullablePatchOperation
func (NullablePatchOperation) Get ¶ added in v0.9.0
func (v NullablePatchOperation) Get() *PatchOperation
func (NullablePatchOperation) IsSet ¶ added in v0.9.0
func (v NullablePatchOperation) IsSet() bool
func (NullablePatchOperation) MarshalJSON ¶ added in v0.9.0
func (v NullablePatchOperation) MarshalJSON() ([]byte, error)
func (*NullablePatchOperation) Set ¶ added in v0.9.0
func (v *NullablePatchOperation) Set(val *PatchOperation)
func (*NullablePatchOperation) UnmarshalJSON ¶ added in v0.9.0
func (v *NullablePatchOperation) UnmarshalJSON(src []byte) error
func (*NullablePatchOperation) Unset ¶ added in v0.9.0
func (v *NullablePatchOperation) Unset()
type NullablePatchOperationOp ¶ added in v0.9.0
type NullablePatchOperationOp struct {
// contains filtered or unexported fields
}
func NewNullablePatchOperationOp ¶ added in v0.9.0
func NewNullablePatchOperationOp(val *PatchOperationOp) *NullablePatchOperationOp
func (NullablePatchOperationOp) Get ¶ added in v0.9.0
func (v NullablePatchOperationOp) Get() *PatchOperationOp
func (NullablePatchOperationOp) IsSet ¶ added in v0.9.0
func (v NullablePatchOperationOp) IsSet() bool
func (NullablePatchOperationOp) MarshalJSON ¶ added in v0.9.0
func (v NullablePatchOperationOp) MarshalJSON() ([]byte, error)
func (*NullablePatchOperationOp) Set ¶ added in v0.9.0
func (v *NullablePatchOperationOp) Set(val *PatchOperationOp)
func (*NullablePatchOperationOp) UnmarshalJSON ¶ added in v0.9.0
func (v *NullablePatchOperationOp) UnmarshalJSON(src []byte) error
func (*NullablePatchOperationOp) Unset ¶ added in v0.9.0
func (v *NullablePatchOperationOp) Unset()
type NullableRunnerLabel ¶ added in v0.9.0
type NullableRunnerLabel struct {
// contains filtered or unexported fields
}
func NewNullableRunnerLabel ¶ added in v0.9.0
func NewNullableRunnerLabel(val *RunnerLabel) *NullableRunnerLabel
func (NullableRunnerLabel) Get ¶ added in v0.9.0
func (v NullableRunnerLabel) Get() *RunnerLabel
func (NullableRunnerLabel) IsSet ¶ added in v0.9.0
func (v NullableRunnerLabel) IsSet() bool
func (NullableRunnerLabel) MarshalJSON ¶ added in v0.9.0
func (v NullableRunnerLabel) MarshalJSON() ([]byte, error)
func (*NullableRunnerLabel) Set ¶ added in v0.9.0
func (v *NullableRunnerLabel) Set(val *RunnerLabel)
func (*NullableRunnerLabel) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableRunnerLabel) UnmarshalJSON(src []byte) error
func (*NullableRunnerLabel) Unset ¶ added in v0.9.0
func (v *NullableRunnerLabel) 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 NullableUnauthorizedResponse ¶
type NullableUnauthorizedResponse struct {
// contains filtered or unexported fields
}
func NewNullableUnauthorizedResponse ¶
func NewNullableUnauthorizedResponse(val *UnauthorizedResponse) *NullableUnauthorizedResponse
func (NullableUnauthorizedResponse) Get ¶
func (v NullableUnauthorizedResponse) Get() *UnauthorizedResponse
func (NullableUnauthorizedResponse) IsSet ¶
func (v NullableUnauthorizedResponse) IsSet() bool
func (NullableUnauthorizedResponse) MarshalJSON ¶
func (v NullableUnauthorizedResponse) MarshalJSON() ([]byte, error)
func (*NullableUnauthorizedResponse) Set ¶
func (v *NullableUnauthorizedResponse) Set(val *UnauthorizedResponse)
func (*NullableUnauthorizedResponse) UnmarshalJSON ¶
func (v *NullableUnauthorizedResponse) UnmarshalJSON(src []byte) error
func (*NullableUnauthorizedResponse) Unset ¶
func (v *NullableUnauthorizedResponse) 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 PatchInstanceRequest ¶ added in v0.9.0
type PatchInstanceRequest struct {
// contains filtered or unexported fields
}
func (PatchInstanceRequest) Execute ¶ added in v0.9.0
func (r PatchInstanceRequest) Execute() (*Instance, error)
func (PatchInstanceRequest) PatchOperation ¶ added in v0.9.0
func (r PatchInstanceRequest) PatchOperation(patchOperation []PatchOperation) ApiPatchInstanceRequest
type PatchOperation ¶ added in v0.9.0
type PatchOperation struct {
// The patch operation to perform.
// REQUIRED
Op PatchOperationGetOpAttributeType `json:"op" required:"true"`
// An RFC6901 JSON Pointer to the target location.
// REQUIRED
Path PatchOperationGetPathAttributeType `json:"path" required:"true"`
// The value to be used for 'add' and 'remove' operations.
Value PatchOperationGetValueAttributeType `json:"value,omitempty"`
}
PatchOperation Request a STACKIT Git instance to be patch with these properties.
func NewPatchOperation ¶ added in v0.9.0
func NewPatchOperation(op PatchOperationGetOpArgType, path PatchOperationGetPathArgType) *PatchOperation
NewPatchOperation instantiates a new PatchOperation 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 NewPatchOperationWithDefaults ¶ added in v0.9.0
func NewPatchOperationWithDefaults() *PatchOperation
NewPatchOperationWithDefaults instantiates a new PatchOperation 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 (*PatchOperation) GetOp ¶ added in v0.9.0
func (o *PatchOperation) GetOp() (ret PatchOperationGetOpRetType)
GetOp returns the Op field value
func (*PatchOperation) GetOpOk ¶ added in v0.9.0
func (o *PatchOperation) GetOpOk() (ret PatchOperationGetOpRetType, ok bool)
GetOpOk returns a tuple with the Op field value and a boolean to check if the value has been set.
func (*PatchOperation) GetPath ¶ added in v0.9.0
func (o *PatchOperation) GetPath() (ret PatchOperationGetPathRetType)
GetPath returns the Path field value
func (*PatchOperation) GetPathOk ¶ added in v0.9.0
func (o *PatchOperation) GetPathOk() (ret PatchOperationGetPathRetType, ok bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*PatchOperation) GetValue ¶ added in v0.9.0
func (o *PatchOperation) GetValue() (res PatchOperationGetValueRetType)
GetValue returns the Value field value if set, zero value otherwise.
func (*PatchOperation) GetValueOk ¶ added in v0.9.0
func (o *PatchOperation) GetValueOk() (ret PatchOperationGetValueRetType, ok bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchOperation) HasValue ¶ added in v0.9.0
func (o *PatchOperation) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*PatchOperation) SetOp ¶ added in v0.9.0
func (o *PatchOperation) SetOp(v PatchOperationGetOpRetType)
SetOp sets field value
func (*PatchOperation) SetPath ¶ added in v0.9.0
func (o *PatchOperation) SetPath(v PatchOperationGetPathRetType)
SetPath sets field value
func (*PatchOperation) SetValue ¶ added in v0.9.0
func (o *PatchOperation) SetValue(v PatchOperationGetValueRetType)
SetValue gets a reference to the given string and assigns it to the Value field.
func (PatchOperation) ToMap ¶ added in v0.9.0
func (o PatchOperation) ToMap() (map[string]interface{}, error)
type PatchOperationGetOpArgType ¶ added in v0.9.0
type PatchOperationGetOpArgType = PatchOperationOp
type PatchOperationGetOpAttributeType ¶ added in v0.9.0
type PatchOperationGetOpAttributeType = *PatchOperationOp
type PatchOperationGetOpRetType ¶ added in v0.9.0
type PatchOperationGetOpRetType = PatchOperationOp
type PatchOperationGetPathArgType ¶ added in v0.9.0
type PatchOperationGetPathArgType = string
type PatchOperationGetPathAttributeType ¶ added in v0.9.0
type PatchOperationGetPathAttributeType = *string
isNotNullableString
type PatchOperationGetPathRetType ¶ added in v0.9.0
type PatchOperationGetPathRetType = string
type PatchOperationGetValueArgType ¶ added in v0.9.0
type PatchOperationGetValueArgType = string
type PatchOperationGetValueAttributeType ¶ added in v0.9.0
type PatchOperationGetValueAttributeType = *string
isNotNullableString
type PatchOperationGetValueRetType ¶ added in v0.9.0
type PatchOperationGetValueRetType = string
type PatchOperationOp ¶ added in v0.9.0
type PatchOperationOp string
PatchOperationOp The patch operation to perform. value type for enums
const ( PATCHOPERATIONOP_ADD PatchOperationOp = "add" PATCHOPERATIONOP_REMOVE PatchOperationOp = "remove" )
List of Op
func NewPatchOperationOpFromValue ¶ added in v0.9.0
func NewPatchOperationOpFromValue(v PatchOperationOp) (*PatchOperationOp, error)
NewPatchOperationOpFromValue returns a pointer to a valid PatchOperationOp for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PatchOperationOp) IsValid ¶ added in v0.9.0
func (v PatchOperationOp) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PatchOperationOp) Ptr ¶ added in v0.9.0
func (v PatchOperationOp) Ptr() *PatchOperationOp
Ptr returns reference to OpOp value
func (*PatchOperationOp) UnmarshalJSON ¶ added in v0.9.0
func (v *PatchOperationOp) UnmarshalJSON(src []byte) error
type RunnerLabel ¶ added in v0.9.0
type RunnerLabel struct {
// RunnerLabel description.
// REQUIRED
Description RunnerLabelGetDescriptionAttributeType `json:"description" required:"true"`
// RunnerLabel id.
// REQUIRED
Id RunnerLabelGetIdAttributeType `json:"id" required:"true"`
// RunnerLabel label.
// REQUIRED
Label RunnerLabelGetLabelAttributeType `json:"label" required:"true"`
}
RunnerLabel Describes a STACKIT Git RunnerLabel.
func NewRunnerLabel ¶ added in v0.9.0
func NewRunnerLabel(description RunnerLabelGetDescriptionArgType, id RunnerLabelGetIdArgType, label RunnerLabelGetLabelArgType) *RunnerLabel
NewRunnerLabel instantiates a new RunnerLabel 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 NewRunnerLabelWithDefaults ¶ added in v0.9.0
func NewRunnerLabelWithDefaults() *RunnerLabel
NewRunnerLabelWithDefaults instantiates a new RunnerLabel 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 (*RunnerLabel) GetDescription ¶ added in v0.9.0
func (o *RunnerLabel) GetDescription() (ret RunnerLabelGetDescriptionRetType)
GetDescription returns the Description field value
func (*RunnerLabel) GetDescriptionOk ¶ added in v0.9.0
func (o *RunnerLabel) GetDescriptionOk() (ret RunnerLabelGetDescriptionRetType, ok bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*RunnerLabel) GetId ¶ added in v0.9.0
func (o *RunnerLabel) GetId() (ret RunnerLabelGetIdRetType)
GetId returns the Id field value
func (*RunnerLabel) GetIdOk ¶ added in v0.9.0
func (o *RunnerLabel) GetIdOk() (ret RunnerLabelGetIdRetType, ok bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RunnerLabel) GetLabel ¶ added in v0.9.0
func (o *RunnerLabel) GetLabel() (ret RunnerLabelGetLabelRetType)
GetLabel returns the Label field value
func (*RunnerLabel) GetLabelOk ¶ added in v0.9.0
func (o *RunnerLabel) GetLabelOk() (ret RunnerLabelGetLabelRetType, ok bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*RunnerLabel) SetDescription ¶ added in v0.9.0
func (o *RunnerLabel) SetDescription(v RunnerLabelGetDescriptionRetType)
SetDescription sets field value
func (*RunnerLabel) SetId ¶ added in v0.9.0
func (o *RunnerLabel) SetId(v RunnerLabelGetIdRetType)
SetId sets field value
func (*RunnerLabel) SetLabel ¶ added in v0.9.0
func (o *RunnerLabel) SetLabel(v RunnerLabelGetLabelRetType)
SetLabel sets field value
func (RunnerLabel) ToMap ¶ added in v0.9.0
func (o RunnerLabel) ToMap() (map[string]interface{}, error)
type RunnerLabelGetDescriptionArgType ¶ added in v0.9.0
type RunnerLabelGetDescriptionArgType = string
type RunnerLabelGetDescriptionAttributeType ¶ added in v0.9.0
type RunnerLabelGetDescriptionAttributeType = *string
isNotNullableString
type RunnerLabelGetDescriptionRetType ¶ added in v0.9.0
type RunnerLabelGetDescriptionRetType = string
type RunnerLabelGetIdArgType ¶ added in v0.9.0
type RunnerLabelGetIdArgType = string
type RunnerLabelGetIdAttributeType ¶ added in v0.9.0
type RunnerLabelGetIdAttributeType = *string
isNotNullableString
type RunnerLabelGetIdRetType ¶ added in v0.9.0
type RunnerLabelGetIdRetType = string
type RunnerLabelGetLabelArgType ¶ added in v0.9.0
type RunnerLabelGetLabelArgType = string
type RunnerLabelGetLabelAttributeType ¶ added in v0.9.0
type RunnerLabelGetLabelAttributeType = *string
isNotNullableString
type RunnerLabelGetLabelRetType ¶ added in v0.9.0
type RunnerLabelGetLabelRetType = string
type UnauthorizedResponse ¶
type UnauthorizedResponse struct {
}
UnauthorizedResponse The request could not be authorized.
func NewUnauthorizedResponse ¶
func NewUnauthorizedResponse() *UnauthorizedResponse
NewUnauthorizedResponse instantiates a new UnauthorizedResponse 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 NewUnauthorizedResponseWithDefaults ¶
func NewUnauthorizedResponseWithDefaults() *UnauthorizedResponse
NewUnauthorizedResponseWithDefaults instantiates a new UnauthorizedResponse 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 (*UnauthorizedResponse) GetError ¶
func (o *UnauthorizedResponse) GetError() (res UnauthorizedResponseGetErrorRetType)
GetError returns the Error field value if set, zero value otherwise.
func (*UnauthorizedResponse) GetErrorOk ¶
func (o *UnauthorizedResponse) GetErrorOk() (ret UnauthorizedResponseGetErrorRetType, ok bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnauthorizedResponse) HasError ¶
func (o *UnauthorizedResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (*UnauthorizedResponse) SetError ¶
func (o *UnauthorizedResponse) SetError(v UnauthorizedResponseGetErrorRetType)
SetError gets a reference to the given string and assigns it to the Error field.
func (UnauthorizedResponse) ToMap ¶
func (o UnauthorizedResponse) ToMap() (map[string]interface{}, error)
type UnauthorizedResponseGetErrorArgType ¶
type UnauthorizedResponseGetErrorArgType = string
type UnauthorizedResponseGetErrorAttributeType ¶
type UnauthorizedResponseGetErrorAttributeType = *string
isNotNullableString
type UnauthorizedResponseGetErrorRetType ¶
type UnauthorizedResponseGetErrorRetType = string
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_create_instance_payload.go
- model_flavor.go
- model_generic_error_response.go
- model_instance.go
- model_internal_server_error_response.go
- model_list_flavors.go
- model_list_instances.go
- model_list_runner_labels.go
- model_patch_operation.go
- model_runner_label.go
- model_unauthorized_response.go
- utils.go