Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateFunctionRequest
- type ApiCreateFunctionRevisionRequest
- type ApiCreatePullSecretRequest
- type ApiDeleteFunctionRequest
- type ApiDeletePullSecretRequest
- type ApiDeleteRevisionRequest
- type ApiGetFunctionRequest
- type ApiGetPullSecretRequest
- type ApiGetRevisionRequest
- type ApiListFunctionsRequest
- type ApiListPullSecretsRequest
- type ApiListRevisionsRequest
- type ApiUpdateFunctionRequest
- type ApiUpdatePullSecretRequest
- type ApiUpdateRevisionRequest
- type CreateFunctionPayload
- func (o *CreateFunctionPayload) GetCreatedAt() time.Time
- func (o *CreateFunctionPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateFunctionPayload) GetCurrentRevision() string
- func (o *CreateFunctionPayload) GetCurrentRevisionOk() (*string, bool)
- func (o *CreateFunctionPayload) GetId() string
- func (o *CreateFunctionPayload) GetIdOk() (*string, bool)
- func (o *CreateFunctionPayload) GetLabels() map[string]string
- func (o *CreateFunctionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateFunctionPayload) GetName() string
- func (o *CreateFunctionPayload) GetNameOk() (*string, bool)
- func (o *CreateFunctionPayload) GetState() CreateFunctionPayloadState
- func (o *CreateFunctionPayload) GetStateError() string
- func (o *CreateFunctionPayload) GetStateErrorOk() (*string, bool)
- func (o *CreateFunctionPayload) GetStateOk() (*CreateFunctionPayloadState, bool)
- func (o *CreateFunctionPayload) GetUpdatedAt() time.Time
- func (o *CreateFunctionPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateFunctionPayload) GetUrl() []string
- func (o *CreateFunctionPayload) GetUrlOk() ([]string, bool)
- func (o *CreateFunctionPayload) HasCreatedAt() bool
- func (o *CreateFunctionPayload) HasCurrentRevision() bool
- func (o *CreateFunctionPayload) HasId() bool
- func (o *CreateFunctionPayload) HasLabels() bool
- func (o *CreateFunctionPayload) HasState() bool
- func (o *CreateFunctionPayload) HasStateError() bool
- func (o *CreateFunctionPayload) HasUpdatedAt() bool
- func (o *CreateFunctionPayload) HasUrl() bool
- func (o CreateFunctionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateFunctionPayload) SetCreatedAt(v time.Time)
- func (o *CreateFunctionPayload) SetCurrentRevision(v string)
- func (o *CreateFunctionPayload) SetId(v string)
- func (o *CreateFunctionPayload) SetLabels(v map[string]string)
- func (o *CreateFunctionPayload) SetName(v string)
- func (o *CreateFunctionPayload) SetState(v CreateFunctionPayloadState)
- func (o *CreateFunctionPayload) SetStateError(v string)
- func (o *CreateFunctionPayload) SetUpdatedAt(v time.Time)
- func (o *CreateFunctionPayload) SetUrl(v []string)
- func (o CreateFunctionPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateFunctionPayload) UnmarshalJSON(data []byte) (err error)
- type CreateFunctionPayloadState
- type CreateFunctionRevisionPayload
- func (o *CreateFunctionRevisionPayload) GetCreatedAt() time.Time
- func (o *CreateFunctionRevisionPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateFunctionRevisionPayload) GetDigest() string
- func (o *CreateFunctionRevisionPayload) GetDigestOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetFunctionId() string
- func (o *CreateFunctionRevisionPayload) GetFunctionIdOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetId() string
- func (o *CreateFunctionRevisionPayload) GetIdOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetLabels() map[string]string
- func (o *CreateFunctionRevisionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateFunctionRevisionPayload) GetLimits() ResourceLimits
- func (o *CreateFunctionRevisionPayload) GetLimitsOk() (*ResourceLimits, bool)
- func (o *CreateFunctionRevisionPayload) GetMessage() string
- func (o *CreateFunctionRevisionPayload) GetMessageOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetName() string
- func (o *CreateFunctionRevisionPayload) GetNameOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetOciPullSecretId() string
- func (o *CreateFunctionRevisionPayload) GetOciPullSecretIdOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetOciReference() string
- func (o *CreateFunctionRevisionPayload) GetOciReferenceOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetState() CreateFunctionRevisionPayloadState
- func (o *CreateFunctionRevisionPayload) GetStateError() string
- func (o *CreateFunctionRevisionPayload) GetStateErrorOk() (*string, bool)
- func (o *CreateFunctionRevisionPayload) GetStateOk() (*CreateFunctionRevisionPayloadState, bool)
- func (o *CreateFunctionRevisionPayload) GetUpdatedAt() time.Time
- func (o *CreateFunctionRevisionPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CreateFunctionRevisionPayload) GetVariables() []RevisionVariable
- func (o *CreateFunctionRevisionPayload) GetVariablesOk() ([]RevisionVariable, bool)
- func (o *CreateFunctionRevisionPayload) GetVersion() int64
- func (o *CreateFunctionRevisionPayload) GetVersionOk() (*int64, bool)
- func (o *CreateFunctionRevisionPayload) HasCreatedAt() bool
- func (o *CreateFunctionRevisionPayload) HasDigest() bool
- func (o *CreateFunctionRevisionPayload) HasFunctionId() bool
- func (o *CreateFunctionRevisionPayload) HasId() bool
- func (o *CreateFunctionRevisionPayload) HasLabels() bool
- func (o *CreateFunctionRevisionPayload) HasMessage() bool
- func (o *CreateFunctionRevisionPayload) HasName() bool
- func (o *CreateFunctionRevisionPayload) HasOciPullSecretId() bool
- func (o *CreateFunctionRevisionPayload) HasState() bool
- func (o *CreateFunctionRevisionPayload) HasStateError() bool
- func (o *CreateFunctionRevisionPayload) HasUpdatedAt() bool
- func (o *CreateFunctionRevisionPayload) HasVariables() bool
- func (o *CreateFunctionRevisionPayload) HasVersion() bool
- func (o CreateFunctionRevisionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateFunctionRevisionPayload) SetCreatedAt(v time.Time)
- func (o *CreateFunctionRevisionPayload) SetDigest(v string)
- func (o *CreateFunctionRevisionPayload) SetFunctionId(v string)
- func (o *CreateFunctionRevisionPayload) SetId(v string)
- func (o *CreateFunctionRevisionPayload) SetLabels(v map[string]string)
- func (o *CreateFunctionRevisionPayload) SetLimits(v ResourceLimits)
- func (o *CreateFunctionRevisionPayload) SetMessage(v string)
- func (o *CreateFunctionRevisionPayload) SetName(v string)
- func (o *CreateFunctionRevisionPayload) SetOciPullSecretId(v string)
- func (o *CreateFunctionRevisionPayload) SetOciReference(v string)
- func (o *CreateFunctionRevisionPayload) SetState(v CreateFunctionRevisionPayloadState)
- func (o *CreateFunctionRevisionPayload) SetStateError(v string)
- func (o *CreateFunctionRevisionPayload) SetUpdatedAt(v time.Time)
- func (o *CreateFunctionRevisionPayload) SetVariables(v []RevisionVariable)
- func (o *CreateFunctionRevisionPayload) SetVersion(v int64)
- func (o CreateFunctionRevisionPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateFunctionRevisionPayload) UnmarshalJSON(data []byte) (err error)
- type CreateFunctionRevisionPayloadState
- type CreatePullSecretPayload
- func (o *CreatePullSecretPayload) GetAddress() string
- func (o *CreatePullSecretPayload) GetAddressOk() (*string, bool)
- func (o *CreatePullSecretPayload) GetId() string
- func (o *CreatePullSecretPayload) GetIdOk() (*string, bool)
- func (o *CreatePullSecretPayload) GetLabels() map[string]string
- func (o *CreatePullSecretPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreatePullSecretPayload) GetName() string
- func (o *CreatePullSecretPayload) GetNameOk() (*string, bool)
- func (o *CreatePullSecretPayload) GetPassword() string
- func (o *CreatePullSecretPayload) GetPasswordOk() (*string, bool)
- func (o *CreatePullSecretPayload) GetUsername() string
- func (o *CreatePullSecretPayload) GetUsernameOk() (*string, bool)
- func (o *CreatePullSecretPayload) HasId() bool
- func (o *CreatePullSecretPayload) HasLabels() bool
- func (o *CreatePullSecretPayload) HasName() bool
- func (o CreatePullSecretPayload) MarshalJSON() ([]byte, error)
- func (o *CreatePullSecretPayload) SetAddress(v string)
- func (o *CreatePullSecretPayload) SetId(v string)
- func (o *CreatePullSecretPayload) SetLabels(v map[string]string)
- func (o *CreatePullSecretPayload) SetName(v string)
- func (o *CreatePullSecretPayload) SetPassword(v string)
- func (o *CreatePullSecretPayload) SetUsername(v string)
- func (o CreatePullSecretPayload) ToMap() (map[string]interface{}, error)
- func (o *CreatePullSecretPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateFunction(ctx context.Context, projectId string) ApiCreateFunctionRequest
- func (a *DefaultAPIService) CreateFunctionExecute(r ApiCreateFunctionRequest) (*Function, error)
- func (a *DefaultAPIService) CreateFunctionRevision(ctx context.Context, projectId string, functionId string) ApiCreateFunctionRevisionRequest
- func (a *DefaultAPIService) CreateFunctionRevisionExecute(r ApiCreateFunctionRevisionRequest) (*Revision, error)
- func (a *DefaultAPIService) CreatePullSecret(ctx context.Context, projectId string) ApiCreatePullSecretRequest
- func (a *DefaultAPIService) CreatePullSecretExecute(r ApiCreatePullSecretRequest) (*PullSecret, error)
- func (a *DefaultAPIService) DeleteFunction(ctx context.Context, projectId string, functionId string) ApiDeleteFunctionRequest
- func (a *DefaultAPIService) DeleteFunctionExecute(r ApiDeleteFunctionRequest) error
- func (a *DefaultAPIService) DeletePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiDeletePullSecretRequest
- func (a *DefaultAPIService) DeletePullSecretExecute(r ApiDeletePullSecretRequest) error
- func (a *DefaultAPIService) DeleteRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiDeleteRevisionRequest
- func (a *DefaultAPIService) DeleteRevisionExecute(r ApiDeleteRevisionRequest) error
- func (a *DefaultAPIService) GetFunction(ctx context.Context, projectId string, functionId string) ApiGetFunctionRequest
- func (a *DefaultAPIService) GetFunctionExecute(r ApiGetFunctionRequest) (*Function, error)
- func (a *DefaultAPIService) GetPullSecret(ctx context.Context, projectId string, pullSecretId string) ApiGetPullSecretRequest
- func (a *DefaultAPIService) GetPullSecretExecute(r ApiGetPullSecretRequest) (*PullSecret, error)
- func (a *DefaultAPIService) GetRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiGetRevisionRequest
- func (a *DefaultAPIService) GetRevisionExecute(r ApiGetRevisionRequest) (*Revision, error)
- func (a *DefaultAPIService) ListFunctions(ctx context.Context, projectId string) ApiListFunctionsRequest
- func (a *DefaultAPIService) ListFunctionsExecute(r ApiListFunctionsRequest) (*ListFunctions, error)
- func (a *DefaultAPIService) ListPullSecrets(ctx context.Context, projectId string) ApiListPullSecretsRequest
- func (a *DefaultAPIService) ListPullSecretsExecute(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
- func (a *DefaultAPIService) ListRevisions(ctx context.Context, projectId string, functionId string) ApiListRevisionsRequest
- func (a *DefaultAPIService) ListRevisionsExecute(r ApiListRevisionsRequest) (*ListRevisions, error)
- func (a *DefaultAPIService) UpdateFunction(ctx context.Context, projectId string, functionId string) ApiUpdateFunctionRequest
- func (a *DefaultAPIService) UpdateFunctionExecute(r ApiUpdateFunctionRequest) (*Function, error)
- func (a *DefaultAPIService) UpdatePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiUpdatePullSecretRequest
- func (a *DefaultAPIService) UpdatePullSecretExecute(r ApiUpdatePullSecretRequest) (*PullSecret, error)
- func (a *DefaultAPIService) UpdateRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiUpdateRevisionRequest
- func (a *DefaultAPIService) UpdateRevisionExecute(r ApiUpdateRevisionRequest) (*Revision, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateFunction(ctx context.Context, projectId string) ApiCreateFunctionRequest
- func (a DefaultAPIServiceMock) CreateFunctionExecute(r ApiCreateFunctionRequest) (*Function, error)
- func (a DefaultAPIServiceMock) CreateFunctionRevision(ctx context.Context, projectId string, functionId string) ApiCreateFunctionRevisionRequest
- func (a DefaultAPIServiceMock) CreateFunctionRevisionExecute(r ApiCreateFunctionRevisionRequest) (*Revision, error)
- func (a DefaultAPIServiceMock) CreatePullSecret(ctx context.Context, projectId string) ApiCreatePullSecretRequest
- func (a DefaultAPIServiceMock) CreatePullSecretExecute(r ApiCreatePullSecretRequest) (*PullSecret, error)
- func (a DefaultAPIServiceMock) DeleteFunction(ctx context.Context, projectId string, functionId string) ApiDeleteFunctionRequest
- func (a DefaultAPIServiceMock) DeleteFunctionExecute(r ApiDeleteFunctionRequest) error
- func (a DefaultAPIServiceMock) DeletePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiDeletePullSecretRequest
- func (a DefaultAPIServiceMock) DeletePullSecretExecute(r ApiDeletePullSecretRequest) error
- func (a DefaultAPIServiceMock) DeleteRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiDeleteRevisionRequest
- func (a DefaultAPIServiceMock) DeleteRevisionExecute(r ApiDeleteRevisionRequest) error
- func (a DefaultAPIServiceMock) GetFunction(ctx context.Context, projectId string, functionId string) ApiGetFunctionRequest
- func (a DefaultAPIServiceMock) GetFunctionExecute(r ApiGetFunctionRequest) (*Function, error)
- func (a DefaultAPIServiceMock) GetPullSecret(ctx context.Context, projectId string, pullSecretId string) ApiGetPullSecretRequest
- func (a DefaultAPIServiceMock) GetPullSecretExecute(r ApiGetPullSecretRequest) (*PullSecret, error)
- func (a DefaultAPIServiceMock) GetRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiGetRevisionRequest
- func (a DefaultAPIServiceMock) GetRevisionExecute(r ApiGetRevisionRequest) (*Revision, error)
- func (a DefaultAPIServiceMock) ListFunctions(ctx context.Context, projectId string) ApiListFunctionsRequest
- func (a DefaultAPIServiceMock) ListFunctionsExecute(r ApiListFunctionsRequest) (*ListFunctions, error)
- func (a DefaultAPIServiceMock) ListPullSecrets(ctx context.Context, projectId string) ApiListPullSecretsRequest
- func (a DefaultAPIServiceMock) ListPullSecretsExecute(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
- func (a DefaultAPIServiceMock) ListRevisions(ctx context.Context, projectId string, functionId string) ApiListRevisionsRequest
- func (a DefaultAPIServiceMock) ListRevisionsExecute(r ApiListRevisionsRequest) (*ListRevisions, error)
- func (a DefaultAPIServiceMock) UpdateFunction(ctx context.Context, projectId string, functionId string) ApiUpdateFunctionRequest
- func (a DefaultAPIServiceMock) UpdateFunctionExecute(r ApiUpdateFunctionRequest) (*Function, error)
- func (a DefaultAPIServiceMock) UpdatePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiUpdatePullSecretRequest
- func (a DefaultAPIServiceMock) UpdatePullSecretExecute(r ApiUpdatePullSecretRequest) (*PullSecret, error)
- func (a DefaultAPIServiceMock) UpdateRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiUpdateRevisionRequest
- func (a DefaultAPIServiceMock) UpdateRevisionExecute(r ApiUpdateRevisionRequest) (*Revision, error)
- type Error
- func (o *Error) GetCode() int32
- func (o *Error) GetCodeOk() (*int32, bool)
- func (o *Error) GetDetails() []ErrorDetailsInner
- func (o *Error) GetDetailsOk() ([]ErrorDetailsInner, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) HasCode() bool
- func (o *Error) HasDetails() bool
- func (o *Error) HasMessage() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v int32)
- func (o *Error) SetDetails(v []ErrorDetailsInner)
- func (o *Error) SetMessage(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type ErrorDetailsInner
- type ErrorInfo
- func (o *ErrorInfo) GetDomain() string
- func (o *ErrorInfo) GetDomainOk() (*string, bool)
- func (o *ErrorInfo) GetMetadata() map[string]string
- func (o *ErrorInfo) GetMetadataOk() (*map[string]string, bool)
- func (o *ErrorInfo) GetReason() string
- func (o *ErrorInfo) GetReasonOk() (*string, bool)
- func (o *ErrorInfo) GetType() string
- func (o *ErrorInfo) GetTypeOk() (*string, bool)
- func (o *ErrorInfo) HasDomain() bool
- func (o *ErrorInfo) HasMetadata() bool
- func (o *ErrorInfo) HasReason() bool
- func (o *ErrorInfo) HasType() bool
- func (o ErrorInfo) MarshalJSON() ([]byte, error)
- func (o *ErrorInfo) SetDomain(v string)
- func (o *ErrorInfo) SetMetadata(v map[string]string)
- func (o *ErrorInfo) SetReason(v string)
- func (o *ErrorInfo) SetType(v string)
- func (o ErrorInfo) ToMap() (map[string]interface{}, error)
- func (o *ErrorInfo) UnmarshalJSON(data []byte) (err error)
- type Function
- func (o *Function) GetCreatedAt() time.Time
- func (o *Function) GetCreatedAtOk() (*time.Time, bool)
- func (o *Function) GetCurrentRevision() string
- func (o *Function) GetCurrentRevisionOk() (*string, bool)
- func (o *Function) GetId() string
- func (o *Function) GetIdOk() (*string, bool)
- func (o *Function) GetLabels() map[string]string
- func (o *Function) GetLabelsOk() (*map[string]string, bool)
- func (o *Function) GetName() string
- func (o *Function) GetNameOk() (*string, bool)
- func (o *Function) GetState() FunctionState
- func (o *Function) GetStateError() string
- func (o *Function) GetStateErrorOk() (*string, bool)
- func (o *Function) GetStateOk() (*FunctionState, bool)
- func (o *Function) GetUpdatedAt() time.Time
- func (o *Function) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Function) GetUrl() []string
- func (o *Function) GetUrlOk() ([]string, bool)
- func (o *Function) HasCreatedAt() bool
- func (o *Function) HasCurrentRevision() bool
- func (o *Function) HasId() bool
- func (o *Function) HasLabels() bool
- func (o *Function) HasState() bool
- func (o *Function) HasStateError() bool
- func (o *Function) HasUpdatedAt() bool
- func (o *Function) HasUrl() bool
- func (o Function) MarshalJSON() ([]byte, error)
- func (o *Function) SetCreatedAt(v time.Time)
- func (o *Function) SetCurrentRevision(v string)
- func (o *Function) SetId(v string)
- func (o *Function) SetLabels(v map[string]string)
- func (o *Function) SetName(v string)
- func (o *Function) SetState(v FunctionState)
- func (o *Function) SetStateError(v string)
- func (o *Function) SetUpdatedAt(v time.Time)
- func (o *Function) SetUrl(v []string)
- func (o Function) ToMap() (map[string]interface{}, error)
- func (o *Function) UnmarshalJSON(data []byte) (err error)
- type FunctionState
- type Help
- func (o *Help) GetLinks() []HelpMessage
- func (o *Help) GetLinksOk() ([]HelpMessage, bool)
- func (o *Help) GetType() string
- func (o *Help) GetTypeOk() (*string, bool)
- func (o *Help) HasLinks() bool
- func (o *Help) HasType() bool
- func (o Help) MarshalJSON() ([]byte, error)
- func (o *Help) SetLinks(v []HelpMessage)
- func (o *Help) SetType(v string)
- func (o Help) ToMap() (map[string]interface{}, error)
- func (o *Help) UnmarshalJSON(data []byte) (err error)
- type HelpMessage
- func (o *HelpMessage) GetDescription() string
- func (o *HelpMessage) GetDescriptionOk() (*string, bool)
- func (o *HelpMessage) GetUrl() string
- func (o *HelpMessage) GetUrlOk() (*string, bool)
- func (o *HelpMessage) HasDescription() bool
- func (o *HelpMessage) HasUrl() bool
- func (o HelpMessage) MarshalJSON() ([]byte, error)
- func (o *HelpMessage) SetDescription(v string)
- func (o *HelpMessage) SetUrl(v string)
- func (o HelpMessage) ToMap() (map[string]interface{}, error)
- func (o *HelpMessage) UnmarshalJSON(data []byte) (err error)
- type ListFunctions
- func (o *ListFunctions) GetFunctions() []Function
- func (o *ListFunctions) GetFunctionsOk() ([]Function, bool)
- func (o *ListFunctions) GetNextPageToken() string
- func (o *ListFunctions) GetNextPageTokenOk() (*string, bool)
- func (o *ListFunctions) HasFunctions() bool
- func (o *ListFunctions) HasNextPageToken() bool
- func (o ListFunctions) MarshalJSON() ([]byte, error)
- func (o *ListFunctions) SetFunctions(v []Function)
- func (o *ListFunctions) SetNextPageToken(v string)
- func (o ListFunctions) ToMap() (map[string]interface{}, error)
- func (o *ListFunctions) UnmarshalJSON(data []byte) (err error)
- type ListFunctions401Response
- func (o *ListFunctions401Response) GetMessage() string
- func (o *ListFunctions401Response) GetMessageOk() (*string, bool)
- func (o *ListFunctions401Response) HasMessage() bool
- func (o ListFunctions401Response) MarshalJSON() ([]byte, error)
- func (o *ListFunctions401Response) SetMessage(v string)
- func (o ListFunctions401Response) ToMap() (map[string]interface{}, error)
- func (o *ListFunctions401Response) UnmarshalJSON(data []byte) (err error)
- type ListPullSecrets
- func (o *ListPullSecrets) GetNextPageToken() string
- func (o *ListPullSecrets) GetNextPageTokenOk() (*string, bool)
- func (o *ListPullSecrets) GetPullSecrets() []PullSecret
- func (o *ListPullSecrets) GetPullSecretsOk() ([]PullSecret, bool)
- func (o *ListPullSecrets) HasNextPageToken() bool
- func (o *ListPullSecrets) HasPullSecrets() bool
- func (o ListPullSecrets) MarshalJSON() ([]byte, error)
- func (o *ListPullSecrets) SetNextPageToken(v string)
- func (o *ListPullSecrets) SetPullSecrets(v []PullSecret)
- func (o ListPullSecrets) ToMap() (map[string]interface{}, error)
- func (o *ListPullSecrets) UnmarshalJSON(data []byte) (err error)
- type ListRevisions
- func (o *ListRevisions) GetMaxItems() int64
- func (o *ListRevisions) GetMaxItemsOk() (*int64, bool)
- func (o *ListRevisions) GetNextPageToken() string
- func (o *ListRevisions) GetNextPageTokenOk() (*string, bool)
- func (o *ListRevisions) GetRevisionList() []Revision
- func (o *ListRevisions) GetRevisionListOk() ([]Revision, bool)
- func (o *ListRevisions) HasMaxItems() bool
- func (o *ListRevisions) HasNextPageToken() bool
- func (o *ListRevisions) HasRevisionList() bool
- func (o ListRevisions) MarshalJSON() ([]byte, error)
- func (o *ListRevisions) SetMaxItems(v int64)
- func (o *ListRevisions) SetNextPageToken(v string)
- func (o *ListRevisions) SetRevisionList(v []Revision)
- func (o ListRevisions) ToMap() (map[string]interface{}, error)
- func (o *ListRevisions) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableCreateFunctionPayload
- func (v NullableCreateFunctionPayload) Get() *CreateFunctionPayload
- func (v NullableCreateFunctionPayload) IsSet() bool
- func (v NullableCreateFunctionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFunctionPayload) Set(val *CreateFunctionPayload)
- func (v *NullableCreateFunctionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFunctionPayload) Unset()
- type NullableCreateFunctionPayloadState
- func (v NullableCreateFunctionPayloadState) Get() *CreateFunctionPayloadState
- func (v NullableCreateFunctionPayloadState) IsSet() bool
- func (v NullableCreateFunctionPayloadState) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFunctionPayloadState) Set(val *CreateFunctionPayloadState)
- func (v *NullableCreateFunctionPayloadState) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFunctionPayloadState) Unset()
- type NullableCreateFunctionRevisionPayload
- func (v NullableCreateFunctionRevisionPayload) Get() *CreateFunctionRevisionPayload
- func (v NullableCreateFunctionRevisionPayload) IsSet() bool
- func (v NullableCreateFunctionRevisionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFunctionRevisionPayload) Set(val *CreateFunctionRevisionPayload)
- func (v *NullableCreateFunctionRevisionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFunctionRevisionPayload) Unset()
- type NullableCreateFunctionRevisionPayloadState
- func (v NullableCreateFunctionRevisionPayloadState) Get() *CreateFunctionRevisionPayloadState
- func (v NullableCreateFunctionRevisionPayloadState) IsSet() bool
- func (v NullableCreateFunctionRevisionPayloadState) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFunctionRevisionPayloadState) Set(val *CreateFunctionRevisionPayloadState)
- func (v *NullableCreateFunctionRevisionPayloadState) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFunctionRevisionPayloadState) Unset()
- type NullableCreatePullSecretPayload
- func (v NullableCreatePullSecretPayload) Get() *CreatePullSecretPayload
- func (v NullableCreatePullSecretPayload) IsSet() bool
- func (v NullableCreatePullSecretPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePullSecretPayload) Set(val *CreatePullSecretPayload)
- func (v *NullableCreatePullSecretPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePullSecretPayload) Unset()
- type NullableError
- type NullableErrorDetailsInner
- func (v NullableErrorDetailsInner) Get() *ErrorDetailsInner
- func (v NullableErrorDetailsInner) IsSet() bool
- func (v NullableErrorDetailsInner) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDetailsInner) Set(val *ErrorDetailsInner)
- func (v *NullableErrorDetailsInner) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDetailsInner) Unset()
- type NullableErrorInfo
- type NullableFloat32
- type NullableFloat64
- type NullableFunction
- type NullableFunctionState
- func (v NullableFunctionState) Get() *FunctionState
- func (v NullableFunctionState) IsSet() bool
- func (v NullableFunctionState) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionState) Set(val *FunctionState)
- func (v *NullableFunctionState) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionState) Unset()
- type NullableHelp
- type NullableHelpMessage
- func (v NullableHelpMessage) Get() *HelpMessage
- func (v NullableHelpMessage) IsSet() bool
- func (v NullableHelpMessage) MarshalJSON() ([]byte, error)
- func (v *NullableHelpMessage) Set(val *HelpMessage)
- func (v *NullableHelpMessage) UnmarshalJSON(src []byte) error
- func (v *NullableHelpMessage) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListFunctions
- func (v NullableListFunctions) Get() *ListFunctions
- func (v NullableListFunctions) IsSet() bool
- func (v NullableListFunctions) MarshalJSON() ([]byte, error)
- func (v *NullableListFunctions) Set(val *ListFunctions)
- func (v *NullableListFunctions) UnmarshalJSON(src []byte) error
- func (v *NullableListFunctions) Unset()
- type NullableListFunctions401Response
- func (v NullableListFunctions401Response) Get() *ListFunctions401Response
- func (v NullableListFunctions401Response) IsSet() bool
- func (v NullableListFunctions401Response) MarshalJSON() ([]byte, error)
- func (v *NullableListFunctions401Response) Set(val *ListFunctions401Response)
- func (v *NullableListFunctions401Response) UnmarshalJSON(src []byte) error
- func (v *NullableListFunctions401Response) Unset()
- type NullableListPullSecrets
- func (v NullableListPullSecrets) Get() *ListPullSecrets
- func (v NullableListPullSecrets) IsSet() bool
- func (v NullableListPullSecrets) MarshalJSON() ([]byte, error)
- func (v *NullableListPullSecrets) Set(val *ListPullSecrets)
- func (v *NullableListPullSecrets) UnmarshalJSON(src []byte) error
- func (v *NullableListPullSecrets) Unset()
- type NullableListRevisions
- func (v NullableListRevisions) Get() *ListRevisions
- func (v NullableListRevisions) IsSet() bool
- func (v NullableListRevisions) MarshalJSON() ([]byte, error)
- func (v *NullableListRevisions) Set(val *ListRevisions)
- func (v *NullableListRevisions) UnmarshalJSON(src []byte) error
- func (v *NullableListRevisions) Unset()
- type NullablePullSecret
- type NullableResourceLimits
- func (v NullableResourceLimits) Get() *ResourceLimits
- func (v NullableResourceLimits) IsSet() bool
- func (v NullableResourceLimits) MarshalJSON() ([]byte, error)
- func (v *NullableResourceLimits) Set(val *ResourceLimits)
- func (v *NullableResourceLimits) UnmarshalJSON(src []byte) error
- func (v *NullableResourceLimits) Unset()
- type NullableRevision
- type NullableRevisionState
- func (v NullableRevisionState) Get() *RevisionState
- func (v NullableRevisionState) IsSet() bool
- func (v NullableRevisionState) MarshalJSON() ([]byte, error)
- func (v *NullableRevisionState) Set(val *RevisionState)
- func (v *NullableRevisionState) UnmarshalJSON(src []byte) error
- func (v *NullableRevisionState) Unset()
- type NullableRevisionVariable
- func (v NullableRevisionVariable) Get() *RevisionVariable
- func (v NullableRevisionVariable) IsSet() bool
- func (v NullableRevisionVariable) MarshalJSON() ([]byte, error)
- func (v *NullableRevisionVariable) Set(val *RevisionVariable)
- func (v *NullableRevisionVariable) UnmarshalJSON(src []byte) error
- func (v *NullableRevisionVariable) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateFunctionPayload
- func (v NullableUpdateFunctionPayload) Get() *UpdateFunctionPayload
- func (v NullableUpdateFunctionPayload) IsSet() bool
- func (v NullableUpdateFunctionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateFunctionPayload) Set(val *UpdateFunctionPayload)
- func (v *NullableUpdateFunctionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateFunctionPayload) Unset()
- type NullableUpdateFunctionPayloadState
- func (v NullableUpdateFunctionPayloadState) Get() *UpdateFunctionPayloadState
- func (v NullableUpdateFunctionPayloadState) IsSet() bool
- func (v NullableUpdateFunctionPayloadState) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateFunctionPayloadState) Set(val *UpdateFunctionPayloadState)
- func (v *NullableUpdateFunctionPayloadState) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateFunctionPayloadState) Unset()
- type NullableUpdatePullSecretPayload
- func (v NullableUpdatePullSecretPayload) Get() *UpdatePullSecretPayload
- func (v NullableUpdatePullSecretPayload) IsSet() bool
- func (v NullableUpdatePullSecretPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePullSecretPayload) Set(val *UpdatePullSecretPayload)
- func (v *NullableUpdatePullSecretPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePullSecretPayload) Unset()
- type NullableUpdateRevisionPayload
- func (v NullableUpdateRevisionPayload) Get() *UpdateRevisionPayload
- func (v NullableUpdateRevisionPayload) IsSet() bool
- func (v NullableUpdateRevisionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRevisionPayload) Set(val *UpdateRevisionPayload)
- func (v *NullableUpdateRevisionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRevisionPayload) Unset()
- type NullableUpdateRevisionPayloadState
- func (v NullableUpdateRevisionPayloadState) Get() *UpdateRevisionPayloadState
- func (v NullableUpdateRevisionPayloadState) IsSet() bool
- func (v NullableUpdateRevisionPayloadState) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRevisionPayloadState) Set(val *UpdateRevisionPayloadState)
- func (v *NullableUpdateRevisionPayloadState) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRevisionPayloadState) Unset()
- type PullSecret
- func (o *PullSecret) GetAddress() string
- func (o *PullSecret) GetAddressOk() (*string, bool)
- func (o *PullSecret) GetId() string
- func (o *PullSecret) GetIdOk() (*string, bool)
- func (o *PullSecret) GetLabels() map[string]string
- func (o *PullSecret) GetLabelsOk() (*map[string]string, bool)
- func (o *PullSecret) GetName() string
- func (o *PullSecret) GetNameOk() (*string, bool)
- func (o *PullSecret) GetPassword() string
- func (o *PullSecret) GetPasswordOk() (*string, bool)
- func (o *PullSecret) GetUsername() string
- func (o *PullSecret) GetUsernameOk() (*string, bool)
- func (o *PullSecret) HasId() bool
- func (o *PullSecret) HasLabels() bool
- func (o *PullSecret) HasName() bool
- func (o PullSecret) MarshalJSON() ([]byte, error)
- func (o *PullSecret) SetAddress(v string)
- func (o *PullSecret) SetId(v string)
- func (o *PullSecret) SetLabels(v map[string]string)
- func (o *PullSecret) SetName(v string)
- func (o *PullSecret) SetPassword(v string)
- func (o *PullSecret) SetUsername(v string)
- func (o PullSecret) ToMap() (map[string]interface{}, error)
- func (o *PullSecret) UnmarshalJSON(data []byte) (err error)
- type ResourceLimits
- func (o *ResourceLimits) GetConcurrency() int32
- func (o *ResourceLimits) GetConcurrencyOk() (*int32, bool)
- func (o *ResourceLimits) GetPlan() string
- func (o *ResourceLimits) GetPlanOk() (*string, bool)
- func (o ResourceLimits) MarshalJSON() ([]byte, error)
- func (o *ResourceLimits) SetConcurrency(v int32)
- func (o *ResourceLimits) SetPlan(v string)
- func (o ResourceLimits) ToMap() (map[string]interface{}, error)
- func (o *ResourceLimits) UnmarshalJSON(data []byte) (err error)
- type Revision
- func (o *Revision) GetCreatedAt() time.Time
- func (o *Revision) GetCreatedAtOk() (*time.Time, bool)
- func (o *Revision) GetDigest() string
- func (o *Revision) GetDigestOk() (*string, bool)
- func (o *Revision) GetFunctionId() string
- func (o *Revision) GetFunctionIdOk() (*string, bool)
- func (o *Revision) GetId() string
- func (o *Revision) GetIdOk() (*string, bool)
- func (o *Revision) GetLabels() map[string]string
- func (o *Revision) GetLabelsOk() (*map[string]string, bool)
- func (o *Revision) GetLimits() ResourceLimits
- func (o *Revision) GetLimitsOk() (*ResourceLimits, bool)
- func (o *Revision) GetMessage() string
- func (o *Revision) GetMessageOk() (*string, bool)
- func (o *Revision) GetName() string
- func (o *Revision) GetNameOk() (*string, bool)
- func (o *Revision) GetOciPullSecretId() string
- func (o *Revision) GetOciPullSecretIdOk() (*string, bool)
- func (o *Revision) GetOciReference() string
- func (o *Revision) GetOciReferenceOk() (*string, bool)
- func (o *Revision) GetState() RevisionState
- func (o *Revision) GetStateError() string
- func (o *Revision) GetStateErrorOk() (*string, bool)
- func (o *Revision) GetStateOk() (*RevisionState, bool)
- func (o *Revision) GetUpdatedAt() time.Time
- func (o *Revision) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Revision) GetVariables() []RevisionVariable
- func (o *Revision) GetVariablesOk() ([]RevisionVariable, bool)
- func (o *Revision) GetVersion() int64
- func (o *Revision) GetVersionOk() (*int64, bool)
- func (o *Revision) HasCreatedAt() bool
- func (o *Revision) HasDigest() bool
- func (o *Revision) HasFunctionId() bool
- func (o *Revision) HasId() bool
- func (o *Revision) HasLabels() bool
- func (o *Revision) HasMessage() bool
- func (o *Revision) HasName() bool
- func (o *Revision) HasOciPullSecretId() bool
- func (o *Revision) HasState() bool
- func (o *Revision) HasStateError() bool
- func (o *Revision) HasUpdatedAt() bool
- func (o *Revision) HasVariables() bool
- func (o *Revision) HasVersion() bool
- func (o Revision) MarshalJSON() ([]byte, error)
- func (o *Revision) SetCreatedAt(v time.Time)
- func (o *Revision) SetDigest(v string)
- func (o *Revision) SetFunctionId(v string)
- func (o *Revision) SetId(v string)
- func (o *Revision) SetLabels(v map[string]string)
- func (o *Revision) SetLimits(v ResourceLimits)
- func (o *Revision) SetMessage(v string)
- func (o *Revision) SetName(v string)
- func (o *Revision) SetOciPullSecretId(v string)
- func (o *Revision) SetOciReference(v string)
- func (o *Revision) SetState(v RevisionState)
- func (o *Revision) SetStateError(v string)
- func (o *Revision) SetUpdatedAt(v time.Time)
- func (o *Revision) SetVariables(v []RevisionVariable)
- func (o *Revision) SetVersion(v int64)
- func (o Revision) ToMap() (map[string]interface{}, error)
- func (o *Revision) UnmarshalJSON(data []byte) (err error)
- type RevisionState
- type RevisionVariable
- func (o *RevisionVariable) GetName() string
- func (o *RevisionVariable) GetNameOk() (*string, bool)
- func (o *RevisionVariable) GetValue() string
- func (o *RevisionVariable) GetValueOk() (*string, bool)
- func (o *RevisionVariable) GetVaultReference() string
- func (o *RevisionVariable) GetVaultReferenceOk() (*string, bool)
- func (o *RevisionVariable) HasValue() bool
- func (o *RevisionVariable) HasVaultReference() bool
- func (o RevisionVariable) MarshalJSON() ([]byte, error)
- func (o *RevisionVariable) SetName(v string)
- func (o *RevisionVariable) SetValue(v string)
- func (o *RevisionVariable) SetValueNil()
- func (o *RevisionVariable) SetVaultReference(v string)
- func (o *RevisionVariable) SetVaultReferenceNil()
- func (o RevisionVariable) ToMap() (map[string]interface{}, error)
- func (o *RevisionVariable) UnmarshalJSON(data []byte) (err error)
- func (o *RevisionVariable) UnsetValue()
- func (o *RevisionVariable) UnsetVaultReference()
- type UpdateFunctionPayload
- func (o *UpdateFunctionPayload) GetCreatedAt() time.Time
- func (o *UpdateFunctionPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *UpdateFunctionPayload) GetCurrentRevision() string
- func (o *UpdateFunctionPayload) GetCurrentRevisionOk() (*string, bool)
- func (o *UpdateFunctionPayload) GetId() string
- func (o *UpdateFunctionPayload) GetIdOk() (*string, bool)
- func (o *UpdateFunctionPayload) GetLabels() map[string]string
- func (o *UpdateFunctionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateFunctionPayload) GetName() string
- func (o *UpdateFunctionPayload) GetNameOk() (*string, bool)
- func (o *UpdateFunctionPayload) GetState() UpdateFunctionPayloadState
- func (o *UpdateFunctionPayload) GetStateError() string
- func (o *UpdateFunctionPayload) GetStateErrorOk() (*string, bool)
- func (o *UpdateFunctionPayload) GetStateOk() (*UpdateFunctionPayloadState, bool)
- func (o *UpdateFunctionPayload) GetUpdatedAt() time.Time
- func (o *UpdateFunctionPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *UpdateFunctionPayload) GetUrl() []string
- func (o *UpdateFunctionPayload) GetUrlOk() ([]string, bool)
- func (o *UpdateFunctionPayload) HasCreatedAt() bool
- func (o *UpdateFunctionPayload) HasCurrentRevision() bool
- func (o *UpdateFunctionPayload) HasId() bool
- func (o *UpdateFunctionPayload) HasLabels() bool
- func (o *UpdateFunctionPayload) HasState() bool
- func (o *UpdateFunctionPayload) HasStateError() bool
- func (o *UpdateFunctionPayload) HasUpdatedAt() bool
- func (o *UpdateFunctionPayload) HasUrl() bool
- func (o UpdateFunctionPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateFunctionPayload) SetCreatedAt(v time.Time)
- func (o *UpdateFunctionPayload) SetCurrentRevision(v string)
- func (o *UpdateFunctionPayload) SetId(v string)
- func (o *UpdateFunctionPayload) SetLabels(v map[string]string)
- func (o *UpdateFunctionPayload) SetName(v string)
- func (o *UpdateFunctionPayload) SetState(v UpdateFunctionPayloadState)
- func (o *UpdateFunctionPayload) SetStateError(v string)
- func (o *UpdateFunctionPayload) SetUpdatedAt(v time.Time)
- func (o *UpdateFunctionPayload) SetUrl(v []string)
- func (o UpdateFunctionPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateFunctionPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateFunctionPayloadState
- type UpdatePullSecretPayload
- func (o *UpdatePullSecretPayload) GetAddress() string
- func (o *UpdatePullSecretPayload) GetAddressOk() (*string, bool)
- func (o *UpdatePullSecretPayload) GetId() string
- func (o *UpdatePullSecretPayload) GetIdOk() (*string, bool)
- func (o *UpdatePullSecretPayload) GetLabels() map[string]string
- func (o *UpdatePullSecretPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdatePullSecretPayload) GetName() string
- func (o *UpdatePullSecretPayload) GetNameOk() (*string, bool)
- func (o *UpdatePullSecretPayload) GetPassword() string
- func (o *UpdatePullSecretPayload) GetPasswordOk() (*string, bool)
- func (o *UpdatePullSecretPayload) GetUsername() string
- func (o *UpdatePullSecretPayload) GetUsernameOk() (*string, bool)
- func (o *UpdatePullSecretPayload) HasId() bool
- func (o *UpdatePullSecretPayload) HasLabels() bool
- func (o *UpdatePullSecretPayload) HasName() bool
- func (o UpdatePullSecretPayload) MarshalJSON() ([]byte, error)
- func (o *UpdatePullSecretPayload) SetAddress(v string)
- func (o *UpdatePullSecretPayload) SetId(v string)
- func (o *UpdatePullSecretPayload) SetLabels(v map[string]string)
- func (o *UpdatePullSecretPayload) SetName(v string)
- func (o *UpdatePullSecretPayload) SetPassword(v string)
- func (o *UpdatePullSecretPayload) SetUsername(v string)
- func (o UpdatePullSecretPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdatePullSecretPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateRevisionPayload
- func (o *UpdateRevisionPayload) GetCreatedAt() time.Time
- func (o *UpdateRevisionPayload) GetCreatedAtOk() (*time.Time, bool)
- func (o *UpdateRevisionPayload) GetDigest() string
- func (o *UpdateRevisionPayload) GetDigestOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetFunctionId() string
- func (o *UpdateRevisionPayload) GetFunctionIdOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetId() string
- func (o *UpdateRevisionPayload) GetIdOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetLabels() map[string]string
- func (o *UpdateRevisionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateRevisionPayload) GetLimits() ResourceLimits
- func (o *UpdateRevisionPayload) GetLimitsOk() (*ResourceLimits, bool)
- func (o *UpdateRevisionPayload) GetMessage() string
- func (o *UpdateRevisionPayload) GetMessageOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetName() string
- func (o *UpdateRevisionPayload) GetNameOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetOciPullSecretId() string
- func (o *UpdateRevisionPayload) GetOciPullSecretIdOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetOciReference() string
- func (o *UpdateRevisionPayload) GetOciReferenceOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetState() UpdateRevisionPayloadState
- func (o *UpdateRevisionPayload) GetStateError() string
- func (o *UpdateRevisionPayload) GetStateErrorOk() (*string, bool)
- func (o *UpdateRevisionPayload) GetStateOk() (*UpdateRevisionPayloadState, bool)
- func (o *UpdateRevisionPayload) GetUpdatedAt() time.Time
- func (o *UpdateRevisionPayload) GetUpdatedAtOk() (*time.Time, bool)
- func (o *UpdateRevisionPayload) GetVariables() []RevisionVariable
- func (o *UpdateRevisionPayload) GetVariablesOk() ([]RevisionVariable, bool)
- func (o *UpdateRevisionPayload) GetVersion() int64
- func (o *UpdateRevisionPayload) GetVersionOk() (*int64, bool)
- func (o *UpdateRevisionPayload) HasCreatedAt() bool
- func (o *UpdateRevisionPayload) HasDigest() bool
- func (o *UpdateRevisionPayload) HasFunctionId() bool
- func (o *UpdateRevisionPayload) HasId() bool
- func (o *UpdateRevisionPayload) HasLabels() bool
- func (o *UpdateRevisionPayload) HasMessage() bool
- func (o *UpdateRevisionPayload) HasName() bool
- func (o *UpdateRevisionPayload) HasOciPullSecretId() bool
- func (o *UpdateRevisionPayload) HasState() bool
- func (o *UpdateRevisionPayload) HasStateError() bool
- func (o *UpdateRevisionPayload) HasUpdatedAt() bool
- func (o *UpdateRevisionPayload) HasVariables() bool
- func (o *UpdateRevisionPayload) HasVersion() bool
- func (o UpdateRevisionPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateRevisionPayload) SetCreatedAt(v time.Time)
- func (o *UpdateRevisionPayload) SetDigest(v string)
- func (o *UpdateRevisionPayload) SetFunctionId(v string)
- func (o *UpdateRevisionPayload) SetId(v string)
- func (o *UpdateRevisionPayload) SetLabels(v map[string]string)
- func (o *UpdateRevisionPayload) SetLimits(v ResourceLimits)
- func (o *UpdateRevisionPayload) SetMessage(v string)
- func (o *UpdateRevisionPayload) SetName(v string)
- func (o *UpdateRevisionPayload) SetOciPullSecretId(v string)
- func (o *UpdateRevisionPayload) SetOciReference(v string)
- func (o *UpdateRevisionPayload) SetState(v UpdateRevisionPayloadState)
- func (o *UpdateRevisionPayload) SetStateError(v string)
- func (o *UpdateRevisionPayload) SetUpdatedAt(v time.Time)
- func (o *UpdateRevisionPayload) SetVariables(v []RevisionVariable)
- func (o *UpdateRevisionPayload) SetVersion(v int64)
- func (o UpdateRevisionPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateRevisionPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateRevisionPayloadState
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedCreateFunctionPayloadStateEnumValues = []CreateFunctionPayloadState{
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of CreateFunctionPayloadState enum
var AllowedCreateFunctionRevisionPayloadStateEnumValues = []CreateFunctionRevisionPayloadState{
"CANCELLED",
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of CreateFunctionRevisionPayloadState enum
var AllowedFunctionStateEnumValues = []FunctionState{
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of FunctionState enum
var AllowedRevisionStateEnumValues = []RevisionState{
"CANCELLED",
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of RevisionState enum
var AllowedUpdateFunctionPayloadStateEnumValues = []UpdateFunctionPayloadState{
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of UpdateFunctionPayloadState enum
var AllowedUpdateRevisionPayloadStateEnumValues = []UpdateRevisionPayloadState{
"CANCELLED",
"CREATING",
"ACTIVE",
"FAILED",
"unknown_default_open_api",
}
All allowed values of UpdateRevisionPayloadState enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Functions Core API API v1alpha In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateFunctionRequest ¶
type ApiCreateFunctionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateFunctionRequest) CreateFunctionPayload ¶
func (r ApiCreateFunctionRequest) CreateFunctionPayload(createFunctionPayload CreateFunctionPayload) ApiCreateFunctionRequest
func (ApiCreateFunctionRequest) Execute ¶
func (r ApiCreateFunctionRequest) Execute() (*Function, error)
type ApiCreateFunctionRevisionRequest ¶
type ApiCreateFunctionRevisionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateFunctionRevisionRequest) CreateFunctionRevisionPayload ¶
func (r ApiCreateFunctionRevisionRequest) CreateFunctionRevisionPayload(createFunctionRevisionPayload CreateFunctionRevisionPayload) ApiCreateFunctionRevisionRequest
func (ApiCreateFunctionRevisionRequest) Execute ¶
func (r ApiCreateFunctionRevisionRequest) Execute() (*Revision, error)
type ApiCreatePullSecretRequest ¶
type ApiCreatePullSecretRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreatePullSecretRequest) CreatePullSecretPayload ¶
func (r ApiCreatePullSecretRequest) CreatePullSecretPayload(createPullSecretPayload CreatePullSecretPayload) ApiCreatePullSecretRequest
func (ApiCreatePullSecretRequest) Execute ¶
func (r ApiCreatePullSecretRequest) Execute() (*PullSecret, error)
type ApiDeleteFunctionRequest ¶
type ApiDeleteFunctionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteFunctionRequest) Execute ¶
func (r ApiDeleteFunctionRequest) Execute() error
type ApiDeletePullSecretRequest ¶
type ApiDeletePullSecretRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeletePullSecretRequest) Execute ¶
func (r ApiDeletePullSecretRequest) Execute() error
type ApiDeleteRevisionRequest ¶
type ApiDeleteRevisionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteRevisionRequest) Execute ¶
func (r ApiDeleteRevisionRequest) Execute() error
type ApiGetFunctionRequest ¶
type ApiGetFunctionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetFunctionRequest) Execute ¶
func (r ApiGetFunctionRequest) Execute() (*Function, error)
type ApiGetPullSecretRequest ¶
type ApiGetPullSecretRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetPullSecretRequest) Execute ¶
func (r ApiGetPullSecretRequest) Execute() (*PullSecret, error)
type ApiGetRevisionRequest ¶
type ApiGetRevisionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetRevisionRequest) Execute ¶
func (r ApiGetRevisionRequest) Execute() (*Revision, error)
type ApiListFunctionsRequest ¶
type ApiListFunctionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFunctionsRequest) Execute ¶
func (r ApiListFunctionsRequest) Execute() (*ListFunctions, error)
type ApiListPullSecretsRequest ¶
type ApiListPullSecretsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListPullSecretsRequest) Execute ¶
func (r ApiListPullSecretsRequest) Execute() (*ListPullSecrets, error)
type ApiListRevisionsRequest ¶
type ApiListRevisionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRevisionsRequest) Execute ¶
func (r ApiListRevisionsRequest) Execute() (*ListRevisions, error)
type ApiUpdateFunctionRequest ¶
type ApiUpdateFunctionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateFunctionRequest) Execute ¶
func (r ApiUpdateFunctionRequest) Execute() (*Function, error)
func (ApiUpdateFunctionRequest) UpdateFunctionPayload ¶
func (r ApiUpdateFunctionRequest) UpdateFunctionPayload(updateFunctionPayload UpdateFunctionPayload) ApiUpdateFunctionRequest
type ApiUpdatePullSecretRequest ¶
type ApiUpdatePullSecretRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdatePullSecretRequest) Execute ¶
func (r ApiUpdatePullSecretRequest) Execute() (*PullSecret, error)
func (ApiUpdatePullSecretRequest) UpdatePullSecretPayload ¶
func (r ApiUpdatePullSecretRequest) UpdatePullSecretPayload(updatePullSecretPayload UpdatePullSecretPayload) ApiUpdatePullSecretRequest
type ApiUpdateRevisionRequest ¶
type ApiUpdateRevisionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateRevisionRequest) Execute ¶
func (r ApiUpdateRevisionRequest) Execute() (*Revision, error)
func (ApiUpdateRevisionRequest) UpdateRevisionPayload ¶
func (r ApiUpdateRevisionRequest) UpdateRevisionPayload(updateRevisionPayload UpdateRevisionPayload) ApiUpdateRevisionRequest
type CreateFunctionPayload ¶
type CreateFunctionPayload struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// The ID of the currently-deployed revision associated with this function.
CurrentRevision *string `json:"current_revision,omitempty"`
// Unique identifier for the function.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// User-defined name of the function.
Name string `json:"name"`
State *CreateFunctionPayloadState `json:"state,omitempty"`
// Error message related to this function's status.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// URLs that resolve to the function.
Url []string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateFunctionPayload Represents a STACKIT Functions function.
func NewCreateFunctionPayload ¶
func NewCreateFunctionPayload(name string) *CreateFunctionPayload
NewCreateFunctionPayload instantiates a new CreateFunctionPayload 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 NewCreateFunctionPayloadWithDefaults ¶
func NewCreateFunctionPayloadWithDefaults() *CreateFunctionPayload
NewCreateFunctionPayloadWithDefaults instantiates a new CreateFunctionPayload 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 (*CreateFunctionPayload) GetCreatedAt ¶
func (o *CreateFunctionPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetCreatedAtOk ¶
func (o *CreateFunctionPayload) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetCurrentRevision ¶
func (o *CreateFunctionPayload) GetCurrentRevision() string
GetCurrentRevision returns the CurrentRevision field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetCurrentRevisionOk ¶
func (o *CreateFunctionPayload) GetCurrentRevisionOk() (*string, bool)
GetCurrentRevisionOk returns a tuple with the CurrentRevision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetId ¶
func (o *CreateFunctionPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetIdOk ¶
func (o *CreateFunctionPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetLabels ¶
func (o *CreateFunctionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetLabelsOk ¶
func (o *CreateFunctionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetName ¶
func (o *CreateFunctionPayload) GetName() string
GetName returns the Name field value
func (*CreateFunctionPayload) GetNameOk ¶
func (o *CreateFunctionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetState ¶
func (o *CreateFunctionPayload) GetState() CreateFunctionPayloadState
GetState returns the State field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetStateError ¶
func (o *CreateFunctionPayload) GetStateError() string
GetStateError returns the StateError field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetStateErrorOk ¶
func (o *CreateFunctionPayload) GetStateErrorOk() (*string, bool)
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetStateOk ¶
func (o *CreateFunctionPayload) GetStateOk() (*CreateFunctionPayloadState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetUpdatedAt ¶
func (o *CreateFunctionPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetUpdatedAtOk ¶
func (o *CreateFunctionPayload) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) GetUrl ¶
func (o *CreateFunctionPayload) GetUrl() []string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CreateFunctionPayload) GetUrlOk ¶
func (o *CreateFunctionPayload) GetUrlOk() ([]string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionPayload) HasCreatedAt ¶
func (o *CreateFunctionPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasCurrentRevision ¶
func (o *CreateFunctionPayload) HasCurrentRevision() bool
HasCurrentRevision returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasId ¶
func (o *CreateFunctionPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasLabels ¶
func (o *CreateFunctionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasState ¶
func (o *CreateFunctionPayload) HasState() bool
HasState returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasStateError ¶
func (o *CreateFunctionPayload) HasStateError() bool
HasStateError returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasUpdatedAt ¶
func (o *CreateFunctionPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CreateFunctionPayload) HasUrl ¶
func (o *CreateFunctionPayload) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CreateFunctionPayload) MarshalJSON ¶
func (o CreateFunctionPayload) MarshalJSON() ([]byte, error)
func (*CreateFunctionPayload) SetCreatedAt ¶
func (o *CreateFunctionPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateFunctionPayload) SetCurrentRevision ¶
func (o *CreateFunctionPayload) SetCurrentRevision(v string)
SetCurrentRevision gets a reference to the given string and assigns it to the CurrentRevision field.
func (*CreateFunctionPayload) SetId ¶
func (o *CreateFunctionPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateFunctionPayload) SetLabels ¶
func (o *CreateFunctionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateFunctionPayload) SetName ¶
func (o *CreateFunctionPayload) SetName(v string)
SetName sets field value
func (*CreateFunctionPayload) SetState ¶
func (o *CreateFunctionPayload) SetState(v CreateFunctionPayloadState)
SetState gets a reference to the given CreateFunctionPayloadState and assigns it to the State field.
func (*CreateFunctionPayload) SetStateError ¶
func (o *CreateFunctionPayload) SetStateError(v string)
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*CreateFunctionPayload) SetUpdatedAt ¶
func (o *CreateFunctionPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CreateFunctionPayload) SetUrl ¶
func (o *CreateFunctionPayload) SetUrl(v []string)
SetUrl gets a reference to the given []string and assigns it to the Url field.
func (CreateFunctionPayload) ToMap ¶
func (o CreateFunctionPayload) ToMap() (map[string]interface{}, error)
func (*CreateFunctionPayload) UnmarshalJSON ¶
func (o *CreateFunctionPayload) UnmarshalJSON(data []byte) (err error)
type CreateFunctionPayloadState ¶
type CreateFunctionPayloadState string
CreateFunctionPayloadState Status of this function's latest revision.
const ( CREATEFUNCTIONPAYLOADSTATE_CREATING CreateFunctionPayloadState = "CREATING" CREATEFUNCTIONPAYLOADSTATE_ACTIVE CreateFunctionPayloadState = "ACTIVE" CREATEFUNCTIONPAYLOADSTATE_FAILED CreateFunctionPayloadState = "FAILED" CREATEFUNCTIONPAYLOADSTATE_UNKNOWN_DEFAULT_OPEN_API CreateFunctionPayloadState = "unknown_default_open_api" )
List of CreateFunctionPayload_state
func NewCreateFunctionPayloadStateFromValue ¶
func NewCreateFunctionPayloadStateFromValue(v string) (*CreateFunctionPayloadState, error)
NewCreateFunctionPayloadStateFromValue returns a pointer to a valid CreateFunctionPayloadState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateFunctionPayloadState) IsValid ¶
func (v CreateFunctionPayloadState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateFunctionPayloadState) Ptr ¶
func (v CreateFunctionPayloadState) Ptr() *CreateFunctionPayloadState
Ptr returns reference to CreateFunctionPayload_state value
func (*CreateFunctionPayloadState) UnmarshalJSON ¶
func (v *CreateFunctionPayloadState) UnmarshalJSON(src []byte) error
type CreateFunctionRevisionPayload ¶
type CreateFunctionRevisionPayload struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// A hashed fingerprint of the revision artifact.
Digest *string `json:"digest,omitempty"`
// The ID of the function associated with this revision.
FunctionId *string `json:"function_id,omitempty"`
// The revision identifier.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Limits ResourceLimits `json:"limits"`
// Revision message
Message *string `json:"message,omitempty"`
// The name of the the revision. Must be unique within the function.
Name *string `json:"name,omitempty"`
// OCI Registry pull secret to use for pulling the revision's image.
OciPullSecretId *string `json:"oci_pull_secret_id,omitempty"`
// OCI reference for the revision.
OciReference string `` /* 139-byte string literal not displayed */
State *CreateFunctionRevisionPayloadState `json:"state,omitempty"`
// Error message related to this revision.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Variable values for this revision. Each variable must reference a variable definition on the function.
Variables []RevisionVariable `json:"variables,omitempty"`
// The version number of the revision.
Version *int64 `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateFunctionRevisionPayload The function revision
func NewCreateFunctionRevisionPayload ¶
func NewCreateFunctionRevisionPayload(limits ResourceLimits, ociReference string) *CreateFunctionRevisionPayload
NewCreateFunctionRevisionPayload instantiates a new CreateFunctionRevisionPayload 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 NewCreateFunctionRevisionPayloadWithDefaults ¶
func NewCreateFunctionRevisionPayloadWithDefaults() *CreateFunctionRevisionPayload
NewCreateFunctionRevisionPayloadWithDefaults instantiates a new CreateFunctionRevisionPayload 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 (*CreateFunctionRevisionPayload) GetCreatedAt ¶
func (o *CreateFunctionRevisionPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetCreatedAtOk ¶
func (o *CreateFunctionRevisionPayload) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetDigest ¶
func (o *CreateFunctionRevisionPayload) GetDigest() string
GetDigest returns the Digest field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetDigestOk ¶
func (o *CreateFunctionRevisionPayload) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetFunctionId ¶
func (o *CreateFunctionRevisionPayload) GetFunctionId() string
GetFunctionId returns the FunctionId field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetFunctionIdOk ¶
func (o *CreateFunctionRevisionPayload) GetFunctionIdOk() (*string, bool)
GetFunctionIdOk returns a tuple with the FunctionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetId ¶
func (o *CreateFunctionRevisionPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetIdOk ¶
func (o *CreateFunctionRevisionPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetLabels ¶
func (o *CreateFunctionRevisionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetLabelsOk ¶
func (o *CreateFunctionRevisionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetLimits ¶
func (o *CreateFunctionRevisionPayload) GetLimits() ResourceLimits
GetLimits returns the Limits field value
func (*CreateFunctionRevisionPayload) GetLimitsOk ¶
func (o *CreateFunctionRevisionPayload) GetLimitsOk() (*ResourceLimits, bool)
GetLimitsOk returns a tuple with the Limits field value and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetMessage ¶
func (o *CreateFunctionRevisionPayload) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetMessageOk ¶
func (o *CreateFunctionRevisionPayload) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetName ¶
func (o *CreateFunctionRevisionPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetNameOk ¶
func (o *CreateFunctionRevisionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetOciPullSecretId ¶
func (o *CreateFunctionRevisionPayload) GetOciPullSecretId() string
GetOciPullSecretId returns the OciPullSecretId field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetOciPullSecretIdOk ¶
func (o *CreateFunctionRevisionPayload) GetOciPullSecretIdOk() (*string, bool)
GetOciPullSecretIdOk returns a tuple with the OciPullSecretId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetOciReference ¶
func (o *CreateFunctionRevisionPayload) GetOciReference() string
GetOciReference returns the OciReference field value
func (*CreateFunctionRevisionPayload) GetOciReferenceOk ¶
func (o *CreateFunctionRevisionPayload) GetOciReferenceOk() (*string, bool)
GetOciReferenceOk returns a tuple with the OciReference field value and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetState ¶
func (o *CreateFunctionRevisionPayload) GetState() CreateFunctionRevisionPayloadState
GetState returns the State field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetStateError ¶
func (o *CreateFunctionRevisionPayload) GetStateError() string
GetStateError returns the StateError field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetStateErrorOk ¶
func (o *CreateFunctionRevisionPayload) GetStateErrorOk() (*string, bool)
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetStateOk ¶
func (o *CreateFunctionRevisionPayload) GetStateOk() (*CreateFunctionRevisionPayloadState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetUpdatedAt ¶
func (o *CreateFunctionRevisionPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetUpdatedAtOk ¶
func (o *CreateFunctionRevisionPayload) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetVariables ¶
func (o *CreateFunctionRevisionPayload) GetVariables() []RevisionVariable
GetVariables returns the Variables field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetVariablesOk ¶
func (o *CreateFunctionRevisionPayload) GetVariablesOk() ([]RevisionVariable, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) GetVersion ¶
func (o *CreateFunctionRevisionPayload) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*CreateFunctionRevisionPayload) GetVersionOk ¶
func (o *CreateFunctionRevisionPayload) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFunctionRevisionPayload) HasCreatedAt ¶
func (o *CreateFunctionRevisionPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasDigest ¶
func (o *CreateFunctionRevisionPayload) HasDigest() bool
HasDigest returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasFunctionId ¶
func (o *CreateFunctionRevisionPayload) HasFunctionId() bool
HasFunctionId returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasId ¶
func (o *CreateFunctionRevisionPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasLabels ¶
func (o *CreateFunctionRevisionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasMessage ¶
func (o *CreateFunctionRevisionPayload) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasName ¶
func (o *CreateFunctionRevisionPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasOciPullSecretId ¶
func (o *CreateFunctionRevisionPayload) HasOciPullSecretId() bool
HasOciPullSecretId returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasState ¶
func (o *CreateFunctionRevisionPayload) HasState() bool
HasState returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasStateError ¶
func (o *CreateFunctionRevisionPayload) HasStateError() bool
HasStateError returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasUpdatedAt ¶
func (o *CreateFunctionRevisionPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasVariables ¶
func (o *CreateFunctionRevisionPayload) HasVariables() bool
HasVariables returns a boolean if a field has been set.
func (*CreateFunctionRevisionPayload) HasVersion ¶
func (o *CreateFunctionRevisionPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (CreateFunctionRevisionPayload) MarshalJSON ¶
func (o CreateFunctionRevisionPayload) MarshalJSON() ([]byte, error)
func (*CreateFunctionRevisionPayload) SetCreatedAt ¶
func (o *CreateFunctionRevisionPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*CreateFunctionRevisionPayload) SetDigest ¶
func (o *CreateFunctionRevisionPayload) SetDigest(v string)
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*CreateFunctionRevisionPayload) SetFunctionId ¶
func (o *CreateFunctionRevisionPayload) SetFunctionId(v string)
SetFunctionId gets a reference to the given string and assigns it to the FunctionId field.
func (*CreateFunctionRevisionPayload) SetId ¶
func (o *CreateFunctionRevisionPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreateFunctionRevisionPayload) SetLabels ¶
func (o *CreateFunctionRevisionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateFunctionRevisionPayload) SetLimits ¶
func (o *CreateFunctionRevisionPayload) SetLimits(v ResourceLimits)
SetLimits sets field value
func (*CreateFunctionRevisionPayload) SetMessage ¶
func (o *CreateFunctionRevisionPayload) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateFunctionRevisionPayload) SetName ¶
func (o *CreateFunctionRevisionPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateFunctionRevisionPayload) SetOciPullSecretId ¶
func (o *CreateFunctionRevisionPayload) SetOciPullSecretId(v string)
SetOciPullSecretId gets a reference to the given string and assigns it to the OciPullSecretId field.
func (*CreateFunctionRevisionPayload) SetOciReference ¶
func (o *CreateFunctionRevisionPayload) SetOciReference(v string)
SetOciReference sets field value
func (*CreateFunctionRevisionPayload) SetState ¶
func (o *CreateFunctionRevisionPayload) SetState(v CreateFunctionRevisionPayloadState)
SetState gets a reference to the given CreateFunctionRevisionPayloadState and assigns it to the State field.
func (*CreateFunctionRevisionPayload) SetStateError ¶
func (o *CreateFunctionRevisionPayload) SetStateError(v string)
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*CreateFunctionRevisionPayload) SetUpdatedAt ¶
func (o *CreateFunctionRevisionPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CreateFunctionRevisionPayload) SetVariables ¶
func (o *CreateFunctionRevisionPayload) SetVariables(v []RevisionVariable)
SetVariables gets a reference to the given []RevisionVariable and assigns it to the Variables field.
func (*CreateFunctionRevisionPayload) SetVersion ¶
func (o *CreateFunctionRevisionPayload) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (CreateFunctionRevisionPayload) ToMap ¶
func (o CreateFunctionRevisionPayload) ToMap() (map[string]interface{}, error)
func (*CreateFunctionRevisionPayload) UnmarshalJSON ¶
func (o *CreateFunctionRevisionPayload) UnmarshalJSON(data []byte) (err error)
type CreateFunctionRevisionPayloadState ¶
type CreateFunctionRevisionPayloadState string
CreateFunctionRevisionPayloadState Status of this revision.
const ( CREATEFUNCTIONREVISIONPAYLOADSTATE_CANCELLED CreateFunctionRevisionPayloadState = "CANCELLED" CREATEFUNCTIONREVISIONPAYLOADSTATE_CREATING CreateFunctionRevisionPayloadState = "CREATING" CREATEFUNCTIONREVISIONPAYLOADSTATE_ACTIVE CreateFunctionRevisionPayloadState = "ACTIVE" CREATEFUNCTIONREVISIONPAYLOADSTATE_FAILED CreateFunctionRevisionPayloadState = "FAILED" CREATEFUNCTIONREVISIONPAYLOADSTATE_UNKNOWN_DEFAULT_OPEN_API CreateFunctionRevisionPayloadState = "unknown_default_open_api" )
List of createFunctionRevisionPayload_state
func NewCreateFunctionRevisionPayloadStateFromValue ¶
func NewCreateFunctionRevisionPayloadStateFromValue(v string) (*CreateFunctionRevisionPayloadState, error)
NewCreateFunctionRevisionPayloadStateFromValue returns a pointer to a valid CreateFunctionRevisionPayloadState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateFunctionRevisionPayloadState) IsValid ¶
func (v CreateFunctionRevisionPayloadState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateFunctionRevisionPayloadState) Ptr ¶
func (v CreateFunctionRevisionPayloadState) Ptr() *CreateFunctionRevisionPayloadState
Ptr returns reference to createFunctionRevisionPayload_state value
func (*CreateFunctionRevisionPayloadState) UnmarshalJSON ¶
func (v *CreateFunctionRevisionPayloadState) UnmarshalJSON(src []byte) error
type CreatePullSecretPayload ¶
type CreatePullSecretPayload struct {
// The OCI registry address.
Address string `json:"address"`
// Unique identifier for the OCI registry pull secret.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// Unique name for the OCI registry pull secret.
Name *string `json:"name,omitempty"`
// The password for the OCI registry pull-secret.
Password string `json:"password"`
// The username for the OCI registry pull-secret.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
CreatePullSecretPayload struct for CreatePullSecretPayload
func NewCreatePullSecretPayload ¶
func NewCreatePullSecretPayload(address string, password string, username string) *CreatePullSecretPayload
NewCreatePullSecretPayload instantiates a new CreatePullSecretPayload 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 NewCreatePullSecretPayloadWithDefaults ¶
func NewCreatePullSecretPayloadWithDefaults() *CreatePullSecretPayload
NewCreatePullSecretPayloadWithDefaults instantiates a new CreatePullSecretPayload 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 (*CreatePullSecretPayload) GetAddress ¶
func (o *CreatePullSecretPayload) GetAddress() string
GetAddress returns the Address field value
func (*CreatePullSecretPayload) GetAddressOk ¶
func (o *CreatePullSecretPayload) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) GetId ¶
func (o *CreatePullSecretPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CreatePullSecretPayload) GetIdOk ¶
func (o *CreatePullSecretPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) GetLabels ¶
func (o *CreatePullSecretPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreatePullSecretPayload) GetLabelsOk ¶
func (o *CreatePullSecretPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) GetName ¶
func (o *CreatePullSecretPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreatePullSecretPayload) GetNameOk ¶
func (o *CreatePullSecretPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) GetPassword ¶
func (o *CreatePullSecretPayload) GetPassword() string
GetPassword returns the Password field value
func (*CreatePullSecretPayload) GetPasswordOk ¶
func (o *CreatePullSecretPayload) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) GetUsername ¶
func (o *CreatePullSecretPayload) GetUsername() string
GetUsername returns the Username field value
func (*CreatePullSecretPayload) GetUsernameOk ¶
func (o *CreatePullSecretPayload) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*CreatePullSecretPayload) HasId ¶
func (o *CreatePullSecretPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*CreatePullSecretPayload) HasLabels ¶
func (o *CreatePullSecretPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreatePullSecretPayload) HasName ¶
func (o *CreatePullSecretPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (CreatePullSecretPayload) MarshalJSON ¶
func (o CreatePullSecretPayload) MarshalJSON() ([]byte, error)
func (*CreatePullSecretPayload) SetAddress ¶
func (o *CreatePullSecretPayload) SetAddress(v string)
SetAddress sets field value
func (*CreatePullSecretPayload) SetId ¶
func (o *CreatePullSecretPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CreatePullSecretPayload) SetLabels ¶
func (o *CreatePullSecretPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreatePullSecretPayload) SetName ¶
func (o *CreatePullSecretPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreatePullSecretPayload) SetPassword ¶
func (o *CreatePullSecretPayload) SetPassword(v string)
SetPassword sets field value
func (*CreatePullSecretPayload) SetUsername ¶
func (o *CreatePullSecretPayload) SetUsername(v string)
SetUsername sets field value
func (CreatePullSecretPayload) ToMap ¶
func (o CreatePullSecretPayload) ToMap() (map[string]interface{}, error)
func (*CreatePullSecretPayload) UnmarshalJSON ¶
func (o *CreatePullSecretPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateFunction Method for CreateFunction
Creates a new function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@return ApiCreateFunctionRequest
*/
CreateFunction(ctx context.Context, projectId string) ApiCreateFunctionRequest
// CreateFunctionExecute executes the request
// @return Function
CreateFunctionExecute(r ApiCreateFunctionRequest) (*Function, error)
/*
CreateFunctionRevision Method for CreateFunctionRevision
Create a new function revision
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@return ApiCreateFunctionRevisionRequest
*/
CreateFunctionRevision(ctx context.Context, projectId string, functionId string) ApiCreateFunctionRevisionRequest
// CreateFunctionRevisionExecute executes the request
// @return Revision
CreateFunctionRevisionExecute(r ApiCreateFunctionRevisionRequest) (*Revision, error)
/*
CreatePullSecret Create OCI image registry pull secret definition
Create a new OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@return ApiCreatePullSecretRequest
*/
CreatePullSecret(ctx context.Context, projectId string) ApiCreatePullSecretRequest
// CreatePullSecretExecute executes the request
// @return PullSecret
CreatePullSecretExecute(r ApiCreatePullSecretRequest) (*PullSecret, error)
/*
DeleteFunction Method for DeleteFunction
Deletes a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@return ApiDeleteFunctionRequest
*/
DeleteFunction(ctx context.Context, projectId string, functionId string) ApiDeleteFunctionRequest
// DeleteFunctionExecute executes the request
DeleteFunctionExecute(r ApiDeleteFunctionRequest) error
/*
DeletePullSecret Remove OCI image registry pull secret definition
Removes the OCI image pull secret registry configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param pullSecretId The identifier of the OCI registry pull secret configuration
@return ApiDeletePullSecretRequest
*/
DeletePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiDeletePullSecretRequest
// DeletePullSecretExecute executes the request
DeletePullSecretExecute(r ApiDeletePullSecretRequest) error
/*
DeleteRevision Method for DeleteRevision
Deletes a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@param revisionId The identifier of the revision
@return ApiDeleteRevisionRequest
*/
DeleteRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiDeleteRevisionRequest
// DeleteRevisionExecute executes the request
DeleteRevisionExecute(r ApiDeleteRevisionRequest) error
/*
GetFunction Method for GetFunction
Retrieves details of a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@return ApiGetFunctionRequest
*/
GetFunction(ctx context.Context, projectId string, functionId string) ApiGetFunctionRequest
// GetFunctionExecute executes the request
// @return Function
GetFunctionExecute(r ApiGetFunctionRequest) (*Function, error)
/*
GetPullSecret Get OCI image registry pull secret definition
Returns the current OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param pullSecretId The identifier of the OCI registry pull secret configuration
@return ApiGetPullSecretRequest
*/
GetPullSecret(ctx context.Context, projectId string, pullSecretId string) ApiGetPullSecretRequest
// GetPullSecretExecute executes the request
// @return PullSecret
GetPullSecretExecute(r ApiGetPullSecretRequest) (*PullSecret, error)
/*
GetRevision Method for GetRevision
Retrieves a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@param revisionId The identifier of the revision
@return ApiGetRevisionRequest
*/
GetRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiGetRevisionRequest
// GetRevisionExecute executes the request
// @return Revision
GetRevisionExecute(r ApiGetRevisionRequest) (*Revision, error)
/*
ListFunctions Method for ListFunctions
Lists all functions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@return ApiListFunctionsRequest
*/
ListFunctions(ctx context.Context, projectId string) ApiListFunctionsRequest
// ListFunctionsExecute executes the request
// @return ListFunctions
ListFunctionsExecute(r ApiListFunctionsRequest) (*ListFunctions, error)
/*
ListPullSecrets List OCI image registry pull secret definitions
Returns all the current OCI image registry pull secret configurations for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@return ApiListPullSecretsRequest
*/
ListPullSecrets(ctx context.Context, projectId string) ApiListPullSecretsRequest
// ListPullSecretsExecute executes the request
// @return ListPullSecrets
ListPullSecretsExecute(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
/*
ListRevisions Method for ListRevisions
Lists all revisions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@return ApiListRevisionsRequest
*/
ListRevisions(ctx context.Context, projectId string, functionId string) ApiListRevisionsRequest
// ListRevisionsExecute executes the request
// @return ListRevisions
ListRevisionsExecute(r ApiListRevisionsRequest) (*ListRevisions, error)
/*
UpdateFunction Method for UpdateFunction
Updates a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@return ApiUpdateFunctionRequest
*/
UpdateFunction(ctx context.Context, projectId string, functionId string) ApiUpdateFunctionRequest
// UpdateFunctionExecute executes the request
// @return Function
UpdateFunctionExecute(r ApiUpdateFunctionRequest) (*Function, error)
/*
UpdatePullSecret Update OCI image registry pull secret definition
Updates the OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param pullSecretId The identifier of the OCI registry pull secret configuration
@return ApiUpdatePullSecretRequest
*/
UpdatePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiUpdatePullSecretRequest
// UpdatePullSecretExecute executes the request
// @return PullSecret
UpdatePullSecretExecute(r ApiUpdatePullSecretRequest) (*PullSecret, error)
/*
UpdateRevision Method for UpdateRevision
Updates a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param functionId The STACKIT Functions functionId
@param revisionId The identifier of the revision
@return ApiUpdateRevisionRequest
*/
UpdateRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiUpdateRevisionRequest
// UpdateRevisionExecute executes the request
// @return Revision
UpdateRevisionExecute(r ApiUpdateRevisionRequest) (*Revision, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateFunction ¶
func (a *DefaultAPIService) CreateFunction(ctx context.Context, projectId string) ApiCreateFunctionRequest
CreateFunction Method for CreateFunction
Creates a new function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @return ApiCreateFunctionRequest
func (*DefaultAPIService) CreateFunctionExecute ¶
func (a *DefaultAPIService) CreateFunctionExecute(r ApiCreateFunctionRequest) (*Function, error)
Execute executes the request
@return Function
func (*DefaultAPIService) CreateFunctionRevision ¶
func (a *DefaultAPIService) CreateFunctionRevision(ctx context.Context, projectId string, functionId string) ApiCreateFunctionRevisionRequest
CreateFunctionRevision Method for CreateFunctionRevision
Create a new function revision
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @return ApiCreateFunctionRevisionRequest
func (*DefaultAPIService) CreateFunctionRevisionExecute ¶
func (a *DefaultAPIService) CreateFunctionRevisionExecute(r ApiCreateFunctionRevisionRequest) (*Revision, error)
Execute executes the request
@return Revision
func (*DefaultAPIService) CreatePullSecret ¶
func (a *DefaultAPIService) CreatePullSecret(ctx context.Context, projectId string) ApiCreatePullSecretRequest
CreatePullSecret Create OCI image registry pull secret definition
Create a new OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @return ApiCreatePullSecretRequest
func (*DefaultAPIService) CreatePullSecretExecute ¶
func (a *DefaultAPIService) CreatePullSecretExecute(r ApiCreatePullSecretRequest) (*PullSecret, error)
Execute executes the request
@return PullSecret
func (*DefaultAPIService) DeleteFunction ¶
func (a *DefaultAPIService) DeleteFunction(ctx context.Context, projectId string, functionId string) ApiDeleteFunctionRequest
DeleteFunction Method for DeleteFunction
Deletes a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @return ApiDeleteFunctionRequest
func (*DefaultAPIService) DeleteFunctionExecute ¶
func (a *DefaultAPIService) DeleteFunctionExecute(r ApiDeleteFunctionRequest) error
Execute executes the request
func (*DefaultAPIService) DeletePullSecret ¶
func (a *DefaultAPIService) DeletePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiDeletePullSecretRequest
DeletePullSecret Remove OCI image registry pull secret definition
Removes the OCI image pull secret registry configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param pullSecretId The identifier of the OCI registry pull secret configuration @return ApiDeletePullSecretRequest
func (*DefaultAPIService) DeletePullSecretExecute ¶
func (a *DefaultAPIService) DeletePullSecretExecute(r ApiDeletePullSecretRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteRevision ¶
func (a *DefaultAPIService) DeleteRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiDeleteRevisionRequest
DeleteRevision Method for DeleteRevision
Deletes a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @param revisionId The identifier of the revision @return ApiDeleteRevisionRequest
func (*DefaultAPIService) DeleteRevisionExecute ¶
func (a *DefaultAPIService) DeleteRevisionExecute(r ApiDeleteRevisionRequest) error
Execute executes the request
func (*DefaultAPIService) GetFunction ¶
func (a *DefaultAPIService) GetFunction(ctx context.Context, projectId string, functionId string) ApiGetFunctionRequest
GetFunction Method for GetFunction
Retrieves details of a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @return ApiGetFunctionRequest
func (*DefaultAPIService) GetFunctionExecute ¶
func (a *DefaultAPIService) GetFunctionExecute(r ApiGetFunctionRequest) (*Function, error)
Execute executes the request
@return Function
func (*DefaultAPIService) GetPullSecret ¶
func (a *DefaultAPIService) GetPullSecret(ctx context.Context, projectId string, pullSecretId string) ApiGetPullSecretRequest
GetPullSecret Get OCI image registry pull secret definition
Returns the current OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param pullSecretId The identifier of the OCI registry pull secret configuration @return ApiGetPullSecretRequest
func (*DefaultAPIService) GetPullSecretExecute ¶
func (a *DefaultAPIService) GetPullSecretExecute(r ApiGetPullSecretRequest) (*PullSecret, error)
Execute executes the request
@return PullSecret
func (*DefaultAPIService) GetRevision ¶
func (a *DefaultAPIService) GetRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiGetRevisionRequest
GetRevision Method for GetRevision
Retrieves a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @param revisionId The identifier of the revision @return ApiGetRevisionRequest
func (*DefaultAPIService) GetRevisionExecute ¶
func (a *DefaultAPIService) GetRevisionExecute(r ApiGetRevisionRequest) (*Revision, error)
Execute executes the request
@return Revision
func (*DefaultAPIService) ListFunctions ¶
func (a *DefaultAPIService) ListFunctions(ctx context.Context, projectId string) ApiListFunctionsRequest
ListFunctions Method for ListFunctions
Lists all functions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @return ApiListFunctionsRequest
func (*DefaultAPIService) ListFunctionsExecute ¶
func (a *DefaultAPIService) ListFunctionsExecute(r ApiListFunctionsRequest) (*ListFunctions, error)
Execute executes the request
@return ListFunctions
func (*DefaultAPIService) ListPullSecrets ¶
func (a *DefaultAPIService) ListPullSecrets(ctx context.Context, projectId string) ApiListPullSecretsRequest
ListPullSecrets List OCI image registry pull secret definitions
Returns all the current OCI image registry pull secret configurations for a project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @return ApiListPullSecretsRequest
func (*DefaultAPIService) ListPullSecretsExecute ¶
func (a *DefaultAPIService) ListPullSecretsExecute(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
Execute executes the request
@return ListPullSecrets
func (*DefaultAPIService) ListRevisions ¶
func (a *DefaultAPIService) ListRevisions(ctx context.Context, projectId string, functionId string) ApiListRevisionsRequest
ListRevisions Method for ListRevisions
Lists all revisions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @return ApiListRevisionsRequest
func (*DefaultAPIService) ListRevisionsExecute ¶
func (a *DefaultAPIService) ListRevisionsExecute(r ApiListRevisionsRequest) (*ListRevisions, error)
Execute executes the request
@return ListRevisions
func (*DefaultAPIService) UpdateFunction ¶
func (a *DefaultAPIService) UpdateFunction(ctx context.Context, projectId string, functionId string) ApiUpdateFunctionRequest
UpdateFunction Method for UpdateFunction
Updates a specific function.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @return ApiUpdateFunctionRequest
func (*DefaultAPIService) UpdateFunctionExecute ¶
func (a *DefaultAPIService) UpdateFunctionExecute(r ApiUpdateFunctionRequest) (*Function, error)
Execute executes the request
@return Function
func (*DefaultAPIService) UpdatePullSecret ¶
func (a *DefaultAPIService) UpdatePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiUpdatePullSecretRequest
UpdatePullSecret Update OCI image registry pull secret definition
Updates the OCI image registry pull secret configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param pullSecretId The identifier of the OCI registry pull secret configuration @return ApiUpdatePullSecretRequest
func (*DefaultAPIService) UpdatePullSecretExecute ¶
func (a *DefaultAPIService) UpdatePullSecretExecute(r ApiUpdatePullSecretRequest) (*PullSecret, error)
Execute executes the request
@return PullSecret
func (*DefaultAPIService) UpdateRevision ¶
func (a *DefaultAPIService) UpdateRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiUpdateRevisionRequest
UpdateRevision Method for UpdateRevision
Updates a specific revision.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the resource is located in. @param functionId The STACKIT Functions functionId @param revisionId The identifier of the revision @return ApiUpdateRevisionRequest
func (*DefaultAPIService) UpdateRevisionExecute ¶
func (a *DefaultAPIService) UpdateRevisionExecute(r ApiUpdateRevisionRequest) (*Revision, error)
Execute executes the request
@return Revision
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateFunctionExecuteMock can be populated to implement the behavior of the CreateFunctionExecute function of this mock
CreateFunctionExecuteMock *func(r ApiCreateFunctionRequest) (*Function, error)
// CreateFunctionRevisionExecuteMock can be populated to implement the behavior of the CreateFunctionRevisionExecute function of this mock
CreateFunctionRevisionExecuteMock *func(r ApiCreateFunctionRevisionRequest) (*Revision, error)
// CreatePullSecretExecuteMock can be populated to implement the behavior of the CreatePullSecretExecute function of this mock
CreatePullSecretExecuteMock *func(r ApiCreatePullSecretRequest) (*PullSecret, error)
// DeleteFunctionExecuteMock can be populated to implement the behavior of the DeleteFunctionExecute function of this mock
DeleteFunctionExecuteMock *func(r ApiDeleteFunctionRequest) error
// DeletePullSecretExecuteMock can be populated to implement the behavior of the DeletePullSecretExecute function of this mock
DeletePullSecretExecuteMock *func(r ApiDeletePullSecretRequest) error
// DeleteRevisionExecuteMock can be populated to implement the behavior of the DeleteRevisionExecute function of this mock
DeleteRevisionExecuteMock *func(r ApiDeleteRevisionRequest) error
// GetFunctionExecuteMock can be populated to implement the behavior of the GetFunctionExecute function of this mock
GetFunctionExecuteMock *func(r ApiGetFunctionRequest) (*Function, error)
// GetPullSecretExecuteMock can be populated to implement the behavior of the GetPullSecretExecute function of this mock
GetPullSecretExecuteMock *func(r ApiGetPullSecretRequest) (*PullSecret, error)
// GetRevisionExecuteMock can be populated to implement the behavior of the GetRevisionExecute function of this mock
GetRevisionExecuteMock *func(r ApiGetRevisionRequest) (*Revision, error)
// ListFunctionsExecuteMock can be populated to implement the behavior of the ListFunctionsExecute function of this mock
ListFunctionsExecuteMock *func(r ApiListFunctionsRequest) (*ListFunctions, error)
// ListPullSecretsExecuteMock can be populated to implement the behavior of the ListPullSecretsExecute function of this mock
ListPullSecretsExecuteMock *func(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
// ListRevisionsExecuteMock can be populated to implement the behavior of the ListRevisionsExecute function of this mock
ListRevisionsExecuteMock *func(r ApiListRevisionsRequest) (*ListRevisions, error)
// UpdateFunctionExecuteMock can be populated to implement the behavior of the UpdateFunctionExecute function of this mock
UpdateFunctionExecuteMock *func(r ApiUpdateFunctionRequest) (*Function, error)
// UpdatePullSecretExecuteMock can be populated to implement the behavior of the UpdatePullSecretExecute function of this mock
UpdatePullSecretExecuteMock *func(r ApiUpdatePullSecretRequest) (*PullSecret, error)
// UpdateRevisionExecuteMock can be populated to implement the behavior of the UpdateRevisionExecute function of this mock
UpdateRevisionExecuteMock *func(r ApiUpdateRevisionRequest) (*Revision, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateFunction ¶
func (a DefaultAPIServiceMock) CreateFunction(ctx context.Context, projectId string) ApiCreateFunctionRequest
func (DefaultAPIServiceMock) CreateFunctionExecute ¶
func (a DefaultAPIServiceMock) CreateFunctionExecute(r ApiCreateFunctionRequest) (*Function, error)
CreateFunctionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateFunctionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateFunctionRevision ¶
func (a DefaultAPIServiceMock) CreateFunctionRevision(ctx context.Context, projectId string, functionId string) ApiCreateFunctionRevisionRequest
func (DefaultAPIServiceMock) CreateFunctionRevisionExecute ¶
func (a DefaultAPIServiceMock) CreateFunctionRevisionExecute(r ApiCreateFunctionRevisionRequest) (*Revision, error)
CreateFunctionRevisionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateFunctionRevisionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreatePullSecret ¶
func (a DefaultAPIServiceMock) CreatePullSecret(ctx context.Context, projectId string) ApiCreatePullSecretRequest
func (DefaultAPIServiceMock) CreatePullSecretExecute ¶
func (a DefaultAPIServiceMock) CreatePullSecretExecute(r ApiCreatePullSecretRequest) (*PullSecret, error)
CreatePullSecretExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreatePullSecretExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteFunction ¶
func (a DefaultAPIServiceMock) DeleteFunction(ctx context.Context, projectId string, functionId string) ApiDeleteFunctionRequest
func (DefaultAPIServiceMock) DeleteFunctionExecute ¶
func (a DefaultAPIServiceMock) DeleteFunctionExecute(r ApiDeleteFunctionRequest) error
DeleteFunctionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteFunctionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeletePullSecret ¶
func (a DefaultAPIServiceMock) DeletePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiDeletePullSecretRequest
func (DefaultAPIServiceMock) DeletePullSecretExecute ¶
func (a DefaultAPIServiceMock) DeletePullSecretExecute(r ApiDeletePullSecretRequest) error
DeletePullSecretExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeletePullSecretExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteRevision ¶
func (a DefaultAPIServiceMock) DeleteRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiDeleteRevisionRequest
func (DefaultAPIServiceMock) DeleteRevisionExecute ¶
func (a DefaultAPIServiceMock) DeleteRevisionExecute(r ApiDeleteRevisionRequest) error
DeleteRevisionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRevisionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetFunction ¶
func (a DefaultAPIServiceMock) GetFunction(ctx context.Context, projectId string, functionId string) ApiGetFunctionRequest
func (DefaultAPIServiceMock) GetFunctionExecute ¶
func (a DefaultAPIServiceMock) GetFunctionExecute(r ApiGetFunctionRequest) (*Function, error)
GetFunctionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetFunctionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetPullSecret ¶
func (a DefaultAPIServiceMock) GetPullSecret(ctx context.Context, projectId string, pullSecretId string) ApiGetPullSecretRequest
func (DefaultAPIServiceMock) GetPullSecretExecute ¶
func (a DefaultAPIServiceMock) GetPullSecretExecute(r ApiGetPullSecretRequest) (*PullSecret, error)
GetPullSecretExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetPullSecretExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetRevision ¶
func (a DefaultAPIServiceMock) GetRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiGetRevisionRequest
func (DefaultAPIServiceMock) GetRevisionExecute ¶
func (a DefaultAPIServiceMock) GetRevisionExecute(r ApiGetRevisionRequest) (*Revision, error)
GetRevisionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRevisionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFunctions ¶
func (a DefaultAPIServiceMock) ListFunctions(ctx context.Context, projectId string) ApiListFunctionsRequest
func (DefaultAPIServiceMock) ListFunctionsExecute ¶
func (a DefaultAPIServiceMock) ListFunctionsExecute(r ApiListFunctionsRequest) (*ListFunctions, error)
ListFunctionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFunctionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListPullSecrets ¶
func (a DefaultAPIServiceMock) ListPullSecrets(ctx context.Context, projectId string) ApiListPullSecretsRequest
func (DefaultAPIServiceMock) ListPullSecretsExecute ¶
func (a DefaultAPIServiceMock) ListPullSecretsExecute(r ApiListPullSecretsRequest) (*ListPullSecrets, error)
ListPullSecretsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPullSecretsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRevisions ¶
func (a DefaultAPIServiceMock) ListRevisions(ctx context.Context, projectId string, functionId string) ApiListRevisionsRequest
func (DefaultAPIServiceMock) ListRevisionsExecute ¶
func (a DefaultAPIServiceMock) ListRevisionsExecute(r ApiListRevisionsRequest) (*ListRevisions, error)
ListRevisionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRevisionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateFunction ¶
func (a DefaultAPIServiceMock) UpdateFunction(ctx context.Context, projectId string, functionId string) ApiUpdateFunctionRequest
func (DefaultAPIServiceMock) UpdateFunctionExecute ¶
func (a DefaultAPIServiceMock) UpdateFunctionExecute(r ApiUpdateFunctionRequest) (*Function, error)
UpdateFunctionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateFunctionExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdatePullSecret ¶
func (a DefaultAPIServiceMock) UpdatePullSecret(ctx context.Context, projectId string, pullSecretId string) ApiUpdatePullSecretRequest
func (DefaultAPIServiceMock) UpdatePullSecretExecute ¶
func (a DefaultAPIServiceMock) UpdatePullSecretExecute(r ApiUpdatePullSecretRequest) (*PullSecret, error)
UpdatePullSecretExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdatePullSecretExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateRevision ¶
func (a DefaultAPIServiceMock) UpdateRevision(ctx context.Context, projectId string, functionId string, revisionId string) ApiUpdateRevisionRequest
func (DefaultAPIServiceMock) UpdateRevisionExecute ¶
func (a DefaultAPIServiceMock) UpdateRevisionExecute(r ApiUpdateRevisionRequest) (*Revision, error)
UpdateRevisionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRevisionExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
type Error struct {
// The status code of the response
Code *int32 `json:"code,omitempty"`
Details []ErrorDetailsInner `json:"details,omitempty"`
// The error message of the response
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetDetails ¶
func (o *Error) GetDetails() []ErrorDetailsInner
GetDetails returns the Details field value if set, zero value otherwise.
func (*Error) GetDetailsOk ¶
func (o *Error) GetDetailsOk() ([]ErrorDetailsInner, 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 (*Error) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Error) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Error) SetDetails ¶
func (o *Error) SetDetails(v []ErrorDetailsInner)
SetDetails gets a reference to the given []ErrorDetailsInner and assigns it to the Details field.
func (*Error) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Error) UnmarshalJSON ¶
type ErrorDetailsInner ¶
ErrorDetailsInner - struct for ErrorDetailsInner
func ErrorInfoAsErrorDetailsInner ¶
func ErrorInfoAsErrorDetailsInner(v *ErrorInfo) ErrorDetailsInner
ErrorInfoAsErrorDetailsInner is a convenience function that returns ErrorInfo wrapped in ErrorDetailsInner
func HelpAsErrorDetailsInner ¶
func HelpAsErrorDetailsInner(v *Help) ErrorDetailsInner
HelpAsErrorDetailsInner is a convenience function that returns Help wrapped in ErrorDetailsInner
func (*ErrorDetailsInner) GetActualInstance ¶
func (obj *ErrorDetailsInner) GetActualInstance() interface{}
Get the actual instance
func (ErrorDetailsInner) GetActualInstanceValue ¶
func (obj ErrorDetailsInner) GetActualInstanceValue() interface{}
Get the actual instance value
func (ErrorDetailsInner) MarshalJSON ¶
func (src ErrorDetailsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ErrorDetailsInner) UnmarshalJSON ¶
func (dst *ErrorDetailsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ErrorInfo ¶
type ErrorInfo struct {
// The error type category
Type *string `json:"@type,omitempty"`
// The logic grouping to which reason belongs
Domain *string `json:"domain,omitempty"`
// Error metadata returned to the client
Metadata *map[string]string `json:"metadata,omitempty"`
// A short description of why the error occurred
Reason *string `json:"reason,omitempty"`
AdditionalProperties map[string]interface{}
}
ErrorInfo struct for ErrorInfo
func NewErrorInfo ¶
func NewErrorInfo() *ErrorInfo
NewErrorInfo instantiates a new ErrorInfo 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 NewErrorInfoWithDefaults ¶
func NewErrorInfoWithDefaults() *ErrorInfo
NewErrorInfoWithDefaults instantiates a new ErrorInfo 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 (*ErrorInfo) GetDomain ¶
GetDomain returns the Domain field value if set, zero value otherwise.
func (*ErrorInfo) GetDomainOk ¶
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorInfo) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ErrorInfo) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorInfo) GetReason ¶
GetReason returns the Reason field value if set, zero value otherwise.
func (*ErrorInfo) GetReasonOk ¶
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorInfo) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorInfo) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (ErrorInfo) MarshalJSON ¶
func (*ErrorInfo) SetDomain ¶
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*ErrorInfo) SetMetadata ¶
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*ErrorInfo) SetReason ¶
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ErrorInfo) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*ErrorInfo) UnmarshalJSON ¶
type Function ¶
type Function struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// The ID of the currently-deployed revision associated with this function.
CurrentRevision *string `json:"current_revision,omitempty"`
// Unique identifier for the function.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// User-defined name of the function.
Name string `json:"name"`
State *FunctionState `json:"state,omitempty"`
// Error message related to this function's status.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// URLs that resolve to the function.
Url []string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
Function Represents a STACKIT Functions function.
func NewFunction ¶
NewFunction instantiates a new Function 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 NewFunctionWithDefaults ¶
func NewFunctionWithDefaults() *Function
NewFunctionWithDefaults instantiates a new Function 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 (*Function) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Function) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetCurrentRevision ¶
GetCurrentRevision returns the CurrentRevision field value if set, zero value otherwise.
func (*Function) GetCurrentRevisionOk ¶
GetCurrentRevisionOk returns a tuple with the CurrentRevision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Function) GetState ¶
func (o *Function) GetState() FunctionState
GetState returns the State field value if set, zero value otherwise.
func (*Function) GetStateError ¶
GetStateError returns the StateError field value if set, zero value otherwise.
func (*Function) GetStateErrorOk ¶
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetStateOk ¶
func (o *Function) GetStateOk() (*FunctionState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Function) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Function) HasCurrentRevision ¶
HasCurrentRevision returns a boolean if a field has been set.
func (*Function) HasStateError ¶
HasStateError returns a boolean if a field has been set.
func (*Function) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Function) MarshalJSON ¶
func (*Function) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Function) SetCurrentRevision ¶
SetCurrentRevision gets a reference to the given string and assigns it to the CurrentRevision field.
func (*Function) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Function) SetState ¶
func (o *Function) SetState(v FunctionState)
SetState gets a reference to the given FunctionState and assigns it to the State field.
func (*Function) SetStateError ¶
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*Function) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Function) SetUrl ¶
SetUrl gets a reference to the given []string and assigns it to the Url field.
func (*Function) UnmarshalJSON ¶
type FunctionState ¶
type FunctionState string
FunctionState Status of this function's latest revision.
const ( FUNCTIONSTATE_CREATING FunctionState = "CREATING" FUNCTIONSTATE_ACTIVE FunctionState = "ACTIVE" FUNCTIONSTATE_FAILED FunctionState = "FAILED" FUNCTIONSTATE_UNKNOWN_DEFAULT_OPEN_API FunctionState = "unknown_default_open_api" )
List of Function_state
func NewFunctionStateFromValue ¶
func NewFunctionStateFromValue(v string) (*FunctionState, error)
NewFunctionStateFromValue returns a pointer to a valid FunctionState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FunctionState) IsValid ¶
func (v FunctionState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FunctionState) Ptr ¶
func (v FunctionState) Ptr() *FunctionState
Ptr returns reference to Function_state value
func (*FunctionState) UnmarshalJSON ¶
func (v *FunctionState) UnmarshalJSON(src []byte) error
type Help ¶
type Help struct {
// The rpc type of Help object
Type *string `json:"@type,omitempty"`
// A reference to further information related to the same topic
Links []HelpMessage `json:"links,omitempty"`
AdditionalProperties map[string]interface{}
}
Help struct for Help
func NewHelp ¶
func NewHelp() *Help
NewHelp instantiates a new Help 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 NewHelpWithDefaults ¶
func NewHelpWithDefaults() *Help
NewHelpWithDefaults instantiates a new Help 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 (*Help) GetLinks ¶
func (o *Help) GetLinks() []HelpMessage
GetLinks returns the Links field value if set, zero value otherwise.
func (*Help) GetLinksOk ¶
func (o *Help) GetLinksOk() ([]HelpMessage, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Help) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Help) MarshalJSON ¶
func (*Help) SetLinks ¶
func (o *Help) SetLinks(v []HelpMessage)
SetLinks gets a reference to the given []HelpMessage and assigns it to the Links field.
func (*Help) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Help) UnmarshalJSON ¶
type HelpMessage ¶
type HelpMessage struct {
// Describes what the link offers
Description *string `json:"description,omitempty"`
// The URL of the link
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
HelpMessage struct for HelpMessage
func NewHelpMessage ¶
func NewHelpMessage() *HelpMessage
NewHelpMessage instantiates a new HelpMessage 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 NewHelpMessageWithDefaults ¶
func NewHelpMessageWithDefaults() *HelpMessage
NewHelpMessageWithDefaults instantiates a new HelpMessage 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 (*HelpMessage) GetDescription ¶
func (o *HelpMessage) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*HelpMessage) GetDescriptionOk ¶
func (o *HelpMessage) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HelpMessage) GetUrl ¶
func (o *HelpMessage) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*HelpMessage) GetUrlOk ¶
func (o *HelpMessage) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HelpMessage) HasDescription ¶
func (o *HelpMessage) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*HelpMessage) HasUrl ¶
func (o *HelpMessage) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (HelpMessage) MarshalJSON ¶
func (o HelpMessage) MarshalJSON() ([]byte, error)
func (*HelpMessage) SetDescription ¶
func (o *HelpMessage) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*HelpMessage) SetUrl ¶
func (o *HelpMessage) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (HelpMessage) ToMap ¶
func (o HelpMessage) ToMap() (map[string]interface{}, error)
func (*HelpMessage) UnmarshalJSON ¶
func (o *HelpMessage) UnmarshalJSON(data []byte) (err error)
type ListFunctions ¶
type ListFunctions struct {
// List of functions.
Functions []Function `json:"functions,omitempty"`
// Token for the next page of results.
NextPageToken *string `json:"next_page_token,omitempty"`
AdditionalProperties map[string]interface{}
}
ListFunctions struct for ListFunctions
func NewListFunctions ¶
func NewListFunctions() *ListFunctions
NewListFunctions instantiates a new ListFunctions 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 NewListFunctionsWithDefaults ¶
func NewListFunctionsWithDefaults() *ListFunctions
NewListFunctionsWithDefaults instantiates a new ListFunctions 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 (*ListFunctions) GetFunctions ¶
func (o *ListFunctions) GetFunctions() []Function
GetFunctions returns the Functions field value if set, zero value otherwise.
func (*ListFunctions) GetFunctionsOk ¶
func (o *ListFunctions) GetFunctionsOk() ([]Function, bool)
GetFunctionsOk returns a tuple with the Functions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFunctions) GetNextPageToken ¶
func (o *ListFunctions) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*ListFunctions) GetNextPageTokenOk ¶
func (o *ListFunctions) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFunctions) HasFunctions ¶
func (o *ListFunctions) HasFunctions() bool
HasFunctions returns a boolean if a field has been set.
func (*ListFunctions) HasNextPageToken ¶
func (o *ListFunctions) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (ListFunctions) MarshalJSON ¶
func (o ListFunctions) MarshalJSON() ([]byte, error)
func (*ListFunctions) SetFunctions ¶
func (o *ListFunctions) SetFunctions(v []Function)
SetFunctions gets a reference to the given []Function and assigns it to the Functions field.
func (*ListFunctions) SetNextPageToken ¶
func (o *ListFunctions) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (ListFunctions) ToMap ¶
func (o ListFunctions) ToMap() (map[string]interface{}, error)
func (*ListFunctions) UnmarshalJSON ¶
func (o *ListFunctions) UnmarshalJSON(data []byte) (err error)
type ListFunctions401Response ¶
type ListFunctions401Response struct {
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListFunctions401Response struct for ListFunctions401Response
func NewListFunctions401Response ¶
func NewListFunctions401Response() *ListFunctions401Response
NewListFunctions401Response instantiates a new ListFunctions401Response 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 NewListFunctions401ResponseWithDefaults ¶
func NewListFunctions401ResponseWithDefaults() *ListFunctions401Response
NewListFunctions401ResponseWithDefaults instantiates a new ListFunctions401Response 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 (*ListFunctions401Response) GetMessage ¶
func (o *ListFunctions401Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListFunctions401Response) GetMessageOk ¶
func (o *ListFunctions401Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListFunctions401Response) HasMessage ¶
func (o *ListFunctions401Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ListFunctions401Response) MarshalJSON ¶
func (o ListFunctions401Response) MarshalJSON() ([]byte, error)
func (*ListFunctions401Response) SetMessage ¶
func (o *ListFunctions401Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ListFunctions401Response) ToMap ¶
func (o ListFunctions401Response) ToMap() (map[string]interface{}, error)
func (*ListFunctions401Response) UnmarshalJSON ¶
func (o *ListFunctions401Response) UnmarshalJSON(data []byte) (err error)
type ListPullSecrets ¶
type ListPullSecrets struct {
// Token for the next page of results.
NextPageToken *string `json:"next_page_token,omitempty"`
// List of oci registries pull secrets associated with the project.
PullSecrets []PullSecret `json:"pull_secrets,omitempty"`
AdditionalProperties map[string]interface{}
}
ListPullSecrets struct for ListPullSecrets
func NewListPullSecrets ¶
func NewListPullSecrets() *ListPullSecrets
NewListPullSecrets instantiates a new ListPullSecrets 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 NewListPullSecretsWithDefaults ¶
func NewListPullSecretsWithDefaults() *ListPullSecrets
NewListPullSecretsWithDefaults instantiates a new ListPullSecrets 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 (*ListPullSecrets) GetNextPageToken ¶
func (o *ListPullSecrets) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*ListPullSecrets) GetNextPageTokenOk ¶
func (o *ListPullSecrets) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListPullSecrets) GetPullSecrets ¶
func (o *ListPullSecrets) GetPullSecrets() []PullSecret
GetPullSecrets returns the PullSecrets field value if set, zero value otherwise.
func (*ListPullSecrets) GetPullSecretsOk ¶
func (o *ListPullSecrets) GetPullSecretsOk() ([]PullSecret, bool)
GetPullSecretsOk returns a tuple with the PullSecrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListPullSecrets) HasNextPageToken ¶
func (o *ListPullSecrets) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (*ListPullSecrets) HasPullSecrets ¶
func (o *ListPullSecrets) HasPullSecrets() bool
HasPullSecrets returns a boolean if a field has been set.
func (ListPullSecrets) MarshalJSON ¶
func (o ListPullSecrets) MarshalJSON() ([]byte, error)
func (*ListPullSecrets) SetNextPageToken ¶
func (o *ListPullSecrets) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (*ListPullSecrets) SetPullSecrets ¶
func (o *ListPullSecrets) SetPullSecrets(v []PullSecret)
SetPullSecrets gets a reference to the given []PullSecret and assigns it to the PullSecrets field.
func (ListPullSecrets) ToMap ¶
func (o ListPullSecrets) ToMap() (map[string]interface{}, error)
func (*ListPullSecrets) UnmarshalJSON ¶
func (o *ListPullSecrets) UnmarshalJSON(data []byte) (err error)
type ListRevisions ¶
type ListRevisions struct {
// Maximum number of items
MaxItems *int64 `json:"maxItems,omitempty"`
// Token for the next page of results.
NextPageToken *string `json:"next_page_token,omitempty"`
// List of revisions.
RevisionList []Revision `json:"revisionList,omitempty"`
AdditionalProperties map[string]interface{}
}
ListRevisions struct for ListRevisions
func NewListRevisions ¶
func NewListRevisions() *ListRevisions
NewListRevisions instantiates a new ListRevisions 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 NewListRevisionsWithDefaults ¶
func NewListRevisionsWithDefaults() *ListRevisions
NewListRevisionsWithDefaults instantiates a new ListRevisions 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 (*ListRevisions) GetMaxItems ¶
func (o *ListRevisions) GetMaxItems() int64
GetMaxItems returns the MaxItems field value if set, zero value otherwise.
func (*ListRevisions) GetMaxItemsOk ¶
func (o *ListRevisions) GetMaxItemsOk() (*int64, bool)
GetMaxItemsOk returns a tuple with the MaxItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRevisions) GetNextPageToken ¶
func (o *ListRevisions) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*ListRevisions) GetNextPageTokenOk ¶
func (o *ListRevisions) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRevisions) GetRevisionList ¶
func (o *ListRevisions) GetRevisionList() []Revision
GetRevisionList returns the RevisionList field value if set, zero value otherwise.
func (*ListRevisions) GetRevisionListOk ¶
func (o *ListRevisions) GetRevisionListOk() ([]Revision, bool)
GetRevisionListOk returns a tuple with the RevisionList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRevisions) HasMaxItems ¶
func (o *ListRevisions) HasMaxItems() bool
HasMaxItems returns a boolean if a field has been set.
func (*ListRevisions) HasNextPageToken ¶
func (o *ListRevisions) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (*ListRevisions) HasRevisionList ¶
func (o *ListRevisions) HasRevisionList() bool
HasRevisionList returns a boolean if a field has been set.
func (ListRevisions) MarshalJSON ¶
func (o ListRevisions) MarshalJSON() ([]byte, error)
func (*ListRevisions) SetMaxItems ¶
func (o *ListRevisions) SetMaxItems(v int64)
SetMaxItems gets a reference to the given int64 and assigns it to the MaxItems field.
func (*ListRevisions) SetNextPageToken ¶
func (o *ListRevisions) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (*ListRevisions) SetRevisionList ¶
func (o *ListRevisions) SetRevisionList(v []Revision)
SetRevisionList gets a reference to the given []Revision and assigns it to the RevisionList field.
func (ListRevisions) ToMap ¶
func (o ListRevisions) ToMap() (map[string]interface{}, error)
func (*ListRevisions) UnmarshalJSON ¶
func (o *ListRevisions) UnmarshalJSON(data []byte) (err 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 NullableCreateFunctionPayload ¶
type NullableCreateFunctionPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateFunctionPayload ¶
func NewNullableCreateFunctionPayload(val *CreateFunctionPayload) *NullableCreateFunctionPayload
func (NullableCreateFunctionPayload) Get ¶
func (v NullableCreateFunctionPayload) Get() *CreateFunctionPayload
func (NullableCreateFunctionPayload) IsSet ¶
func (v NullableCreateFunctionPayload) IsSet() bool
func (NullableCreateFunctionPayload) MarshalJSON ¶
func (v NullableCreateFunctionPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateFunctionPayload) Set ¶
func (v *NullableCreateFunctionPayload) Set(val *CreateFunctionPayload)
func (*NullableCreateFunctionPayload) UnmarshalJSON ¶
func (v *NullableCreateFunctionPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateFunctionPayload) Unset ¶
func (v *NullableCreateFunctionPayload) Unset()
type NullableCreateFunctionPayloadState ¶
type NullableCreateFunctionPayloadState struct {
// contains filtered or unexported fields
}
func NewNullableCreateFunctionPayloadState ¶
func NewNullableCreateFunctionPayloadState(val *CreateFunctionPayloadState) *NullableCreateFunctionPayloadState
func (NullableCreateFunctionPayloadState) Get ¶
func (v NullableCreateFunctionPayloadState) Get() *CreateFunctionPayloadState
func (NullableCreateFunctionPayloadState) IsSet ¶
func (v NullableCreateFunctionPayloadState) IsSet() bool
func (NullableCreateFunctionPayloadState) MarshalJSON ¶
func (v NullableCreateFunctionPayloadState) MarshalJSON() ([]byte, error)
func (*NullableCreateFunctionPayloadState) Set ¶
func (v *NullableCreateFunctionPayloadState) Set(val *CreateFunctionPayloadState)
func (*NullableCreateFunctionPayloadState) UnmarshalJSON ¶
func (v *NullableCreateFunctionPayloadState) UnmarshalJSON(src []byte) error
func (*NullableCreateFunctionPayloadState) Unset ¶
func (v *NullableCreateFunctionPayloadState) Unset()
type NullableCreateFunctionRevisionPayload ¶
type NullableCreateFunctionRevisionPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateFunctionRevisionPayload ¶
func NewNullableCreateFunctionRevisionPayload(val *CreateFunctionRevisionPayload) *NullableCreateFunctionRevisionPayload
func (NullableCreateFunctionRevisionPayload) Get ¶
func (v NullableCreateFunctionRevisionPayload) Get() *CreateFunctionRevisionPayload
func (NullableCreateFunctionRevisionPayload) IsSet ¶
func (v NullableCreateFunctionRevisionPayload) IsSet() bool
func (NullableCreateFunctionRevisionPayload) MarshalJSON ¶
func (v NullableCreateFunctionRevisionPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateFunctionRevisionPayload) Set ¶
func (v *NullableCreateFunctionRevisionPayload) Set(val *CreateFunctionRevisionPayload)
func (*NullableCreateFunctionRevisionPayload) UnmarshalJSON ¶
func (v *NullableCreateFunctionRevisionPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateFunctionRevisionPayload) Unset ¶
func (v *NullableCreateFunctionRevisionPayload) Unset()
type NullableCreateFunctionRevisionPayloadState ¶
type NullableCreateFunctionRevisionPayloadState struct {
// contains filtered or unexported fields
}
func NewNullableCreateFunctionRevisionPayloadState ¶
func NewNullableCreateFunctionRevisionPayloadState(val *CreateFunctionRevisionPayloadState) *NullableCreateFunctionRevisionPayloadState
func (NullableCreateFunctionRevisionPayloadState) IsSet ¶
func (v NullableCreateFunctionRevisionPayloadState) IsSet() bool
func (NullableCreateFunctionRevisionPayloadState) MarshalJSON ¶
func (v NullableCreateFunctionRevisionPayloadState) MarshalJSON() ([]byte, error)
func (*NullableCreateFunctionRevisionPayloadState) Set ¶
func (v *NullableCreateFunctionRevisionPayloadState) Set(val *CreateFunctionRevisionPayloadState)
func (*NullableCreateFunctionRevisionPayloadState) UnmarshalJSON ¶
func (v *NullableCreateFunctionRevisionPayloadState) UnmarshalJSON(src []byte) error
func (*NullableCreateFunctionRevisionPayloadState) Unset ¶
func (v *NullableCreateFunctionRevisionPayloadState) Unset()
type NullableCreatePullSecretPayload ¶
type NullableCreatePullSecretPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreatePullSecretPayload ¶
func NewNullableCreatePullSecretPayload(val *CreatePullSecretPayload) *NullableCreatePullSecretPayload
func (NullableCreatePullSecretPayload) Get ¶
func (v NullableCreatePullSecretPayload) Get() *CreatePullSecretPayload
func (NullableCreatePullSecretPayload) IsSet ¶
func (v NullableCreatePullSecretPayload) IsSet() bool
func (NullableCreatePullSecretPayload) MarshalJSON ¶
func (v NullableCreatePullSecretPayload) MarshalJSON() ([]byte, error)
func (*NullableCreatePullSecretPayload) Set ¶
func (v *NullableCreatePullSecretPayload) Set(val *CreatePullSecretPayload)
func (*NullableCreatePullSecretPayload) UnmarshalJSON ¶
func (v *NullableCreatePullSecretPayload) UnmarshalJSON(src []byte) error
func (*NullableCreatePullSecretPayload) Unset ¶
func (v *NullableCreatePullSecretPayload) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorDetailsInner ¶
type NullableErrorDetailsInner struct {
// contains filtered or unexported fields
}
func NewNullableErrorDetailsInner ¶
func NewNullableErrorDetailsInner(val *ErrorDetailsInner) *NullableErrorDetailsInner
func (NullableErrorDetailsInner) Get ¶
func (v NullableErrorDetailsInner) Get() *ErrorDetailsInner
func (NullableErrorDetailsInner) IsSet ¶
func (v NullableErrorDetailsInner) IsSet() bool
func (NullableErrorDetailsInner) MarshalJSON ¶
func (v NullableErrorDetailsInner) MarshalJSON() ([]byte, error)
func (*NullableErrorDetailsInner) Set ¶
func (v *NullableErrorDetailsInner) Set(val *ErrorDetailsInner)
func (*NullableErrorDetailsInner) UnmarshalJSON ¶
func (v *NullableErrorDetailsInner) UnmarshalJSON(src []byte) error
func (*NullableErrorDetailsInner) Unset ¶
func (v *NullableErrorDetailsInner) Unset()
type NullableErrorInfo ¶
type NullableErrorInfo struct {
// contains filtered or unexported fields
}
func NewNullableErrorInfo ¶
func NewNullableErrorInfo(val *ErrorInfo) *NullableErrorInfo
func (NullableErrorInfo) Get ¶
func (v NullableErrorInfo) Get() *ErrorInfo
func (NullableErrorInfo) IsSet ¶
func (v NullableErrorInfo) IsSet() bool
func (NullableErrorInfo) MarshalJSON ¶
func (v NullableErrorInfo) MarshalJSON() ([]byte, error)
func (*NullableErrorInfo) Set ¶
func (v *NullableErrorInfo) Set(val *ErrorInfo)
func (*NullableErrorInfo) UnmarshalJSON ¶
func (v *NullableErrorInfo) UnmarshalJSON(src []byte) error
func (*NullableErrorInfo) Unset ¶
func (v *NullableErrorInfo) 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 NullableFunction ¶
type NullableFunction struct {
// contains filtered or unexported fields
}
func NewNullableFunction ¶
func NewNullableFunction(val *Function) *NullableFunction
func (NullableFunction) Get ¶
func (v NullableFunction) Get() *Function
func (NullableFunction) IsSet ¶
func (v NullableFunction) IsSet() bool
func (NullableFunction) MarshalJSON ¶
func (v NullableFunction) MarshalJSON() ([]byte, error)
func (*NullableFunction) Set ¶
func (v *NullableFunction) Set(val *Function)
func (*NullableFunction) UnmarshalJSON ¶
func (v *NullableFunction) UnmarshalJSON(src []byte) error
func (*NullableFunction) Unset ¶
func (v *NullableFunction) Unset()
type NullableFunctionState ¶
type NullableFunctionState struct {
// contains filtered or unexported fields
}
func NewNullableFunctionState ¶
func NewNullableFunctionState(val *FunctionState) *NullableFunctionState
func (NullableFunctionState) Get ¶
func (v NullableFunctionState) Get() *FunctionState
func (NullableFunctionState) IsSet ¶
func (v NullableFunctionState) IsSet() bool
func (NullableFunctionState) MarshalJSON ¶
func (v NullableFunctionState) MarshalJSON() ([]byte, error)
func (*NullableFunctionState) Set ¶
func (v *NullableFunctionState) Set(val *FunctionState)
func (*NullableFunctionState) UnmarshalJSON ¶
func (v *NullableFunctionState) UnmarshalJSON(src []byte) error
func (*NullableFunctionState) Unset ¶
func (v *NullableFunctionState) Unset()
type NullableHelp ¶
type NullableHelp struct {
// contains filtered or unexported fields
}
func NewNullableHelp ¶
func NewNullableHelp(val *Help) *NullableHelp
func (NullableHelp) Get ¶
func (v NullableHelp) Get() *Help
func (NullableHelp) IsSet ¶
func (v NullableHelp) IsSet() bool
func (NullableHelp) MarshalJSON ¶
func (v NullableHelp) MarshalJSON() ([]byte, error)
func (*NullableHelp) Set ¶
func (v *NullableHelp) Set(val *Help)
func (*NullableHelp) UnmarshalJSON ¶
func (v *NullableHelp) UnmarshalJSON(src []byte) error
func (*NullableHelp) Unset ¶
func (v *NullableHelp) Unset()
type NullableHelpMessage ¶
type NullableHelpMessage struct {
// contains filtered or unexported fields
}
func NewNullableHelpMessage ¶
func NewNullableHelpMessage(val *HelpMessage) *NullableHelpMessage
func (NullableHelpMessage) Get ¶
func (v NullableHelpMessage) Get() *HelpMessage
func (NullableHelpMessage) IsSet ¶
func (v NullableHelpMessage) IsSet() bool
func (NullableHelpMessage) MarshalJSON ¶
func (v NullableHelpMessage) MarshalJSON() ([]byte, error)
func (*NullableHelpMessage) Set ¶
func (v *NullableHelpMessage) Set(val *HelpMessage)
func (*NullableHelpMessage) UnmarshalJSON ¶
func (v *NullableHelpMessage) UnmarshalJSON(src []byte) error
func (*NullableHelpMessage) Unset ¶
func (v *NullableHelpMessage) 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 NullableListFunctions ¶
type NullableListFunctions struct {
// contains filtered or unexported fields
}
func NewNullableListFunctions ¶
func NewNullableListFunctions(val *ListFunctions) *NullableListFunctions
func (NullableListFunctions) Get ¶
func (v NullableListFunctions) Get() *ListFunctions
func (NullableListFunctions) IsSet ¶
func (v NullableListFunctions) IsSet() bool
func (NullableListFunctions) MarshalJSON ¶
func (v NullableListFunctions) MarshalJSON() ([]byte, error)
func (*NullableListFunctions) Set ¶
func (v *NullableListFunctions) Set(val *ListFunctions)
func (*NullableListFunctions) UnmarshalJSON ¶
func (v *NullableListFunctions) UnmarshalJSON(src []byte) error
func (*NullableListFunctions) Unset ¶
func (v *NullableListFunctions) Unset()
type NullableListFunctions401Response ¶
type NullableListFunctions401Response struct {
// contains filtered or unexported fields
}
func NewNullableListFunctions401Response ¶
func NewNullableListFunctions401Response(val *ListFunctions401Response) *NullableListFunctions401Response
func (NullableListFunctions401Response) Get ¶
func (v NullableListFunctions401Response) Get() *ListFunctions401Response
func (NullableListFunctions401Response) IsSet ¶
func (v NullableListFunctions401Response) IsSet() bool
func (NullableListFunctions401Response) MarshalJSON ¶
func (v NullableListFunctions401Response) MarshalJSON() ([]byte, error)
func (*NullableListFunctions401Response) Set ¶
func (v *NullableListFunctions401Response) Set(val *ListFunctions401Response)
func (*NullableListFunctions401Response) UnmarshalJSON ¶
func (v *NullableListFunctions401Response) UnmarshalJSON(src []byte) error
func (*NullableListFunctions401Response) Unset ¶
func (v *NullableListFunctions401Response) Unset()
type NullableListPullSecrets ¶
type NullableListPullSecrets struct {
// contains filtered or unexported fields
}
func NewNullableListPullSecrets ¶
func NewNullableListPullSecrets(val *ListPullSecrets) *NullableListPullSecrets
func (NullableListPullSecrets) Get ¶
func (v NullableListPullSecrets) Get() *ListPullSecrets
func (NullableListPullSecrets) IsSet ¶
func (v NullableListPullSecrets) IsSet() bool
func (NullableListPullSecrets) MarshalJSON ¶
func (v NullableListPullSecrets) MarshalJSON() ([]byte, error)
func (*NullableListPullSecrets) Set ¶
func (v *NullableListPullSecrets) Set(val *ListPullSecrets)
func (*NullableListPullSecrets) UnmarshalJSON ¶
func (v *NullableListPullSecrets) UnmarshalJSON(src []byte) error
func (*NullableListPullSecrets) Unset ¶
func (v *NullableListPullSecrets) Unset()
type NullableListRevisions ¶
type NullableListRevisions struct {
// contains filtered or unexported fields
}
func NewNullableListRevisions ¶
func NewNullableListRevisions(val *ListRevisions) *NullableListRevisions
func (NullableListRevisions) Get ¶
func (v NullableListRevisions) Get() *ListRevisions
func (NullableListRevisions) IsSet ¶
func (v NullableListRevisions) IsSet() bool
func (NullableListRevisions) MarshalJSON ¶
func (v NullableListRevisions) MarshalJSON() ([]byte, error)
func (*NullableListRevisions) Set ¶
func (v *NullableListRevisions) Set(val *ListRevisions)
func (*NullableListRevisions) UnmarshalJSON ¶
func (v *NullableListRevisions) UnmarshalJSON(src []byte) error
func (*NullableListRevisions) Unset ¶
func (v *NullableListRevisions) Unset()
type NullablePullSecret ¶
type NullablePullSecret struct {
// contains filtered or unexported fields
}
func NewNullablePullSecret ¶
func NewNullablePullSecret(val *PullSecret) *NullablePullSecret
func (NullablePullSecret) Get ¶
func (v NullablePullSecret) Get() *PullSecret
func (NullablePullSecret) IsSet ¶
func (v NullablePullSecret) IsSet() bool
func (NullablePullSecret) MarshalJSON ¶
func (v NullablePullSecret) MarshalJSON() ([]byte, error)
func (*NullablePullSecret) Set ¶
func (v *NullablePullSecret) Set(val *PullSecret)
func (*NullablePullSecret) UnmarshalJSON ¶
func (v *NullablePullSecret) UnmarshalJSON(src []byte) error
func (*NullablePullSecret) Unset ¶
func (v *NullablePullSecret) Unset()
type NullableResourceLimits ¶
type NullableResourceLimits struct {
// contains filtered or unexported fields
}
func NewNullableResourceLimits ¶
func NewNullableResourceLimits(val *ResourceLimits) *NullableResourceLimits
func (NullableResourceLimits) Get ¶
func (v NullableResourceLimits) Get() *ResourceLimits
func (NullableResourceLimits) IsSet ¶
func (v NullableResourceLimits) IsSet() bool
func (NullableResourceLimits) MarshalJSON ¶
func (v NullableResourceLimits) MarshalJSON() ([]byte, error)
func (*NullableResourceLimits) Set ¶
func (v *NullableResourceLimits) Set(val *ResourceLimits)
func (*NullableResourceLimits) UnmarshalJSON ¶
func (v *NullableResourceLimits) UnmarshalJSON(src []byte) error
func (*NullableResourceLimits) Unset ¶
func (v *NullableResourceLimits) Unset()
type NullableRevision ¶
type NullableRevision struct {
// contains filtered or unexported fields
}
func NewNullableRevision ¶
func NewNullableRevision(val *Revision) *NullableRevision
func (NullableRevision) Get ¶
func (v NullableRevision) Get() *Revision
func (NullableRevision) IsSet ¶
func (v NullableRevision) IsSet() bool
func (NullableRevision) MarshalJSON ¶
func (v NullableRevision) MarshalJSON() ([]byte, error)
func (*NullableRevision) Set ¶
func (v *NullableRevision) Set(val *Revision)
func (*NullableRevision) UnmarshalJSON ¶
func (v *NullableRevision) UnmarshalJSON(src []byte) error
func (*NullableRevision) Unset ¶
func (v *NullableRevision) Unset()
type NullableRevisionState ¶
type NullableRevisionState struct {
// contains filtered or unexported fields
}
func NewNullableRevisionState ¶
func NewNullableRevisionState(val *RevisionState) *NullableRevisionState
func (NullableRevisionState) Get ¶
func (v NullableRevisionState) Get() *RevisionState
func (NullableRevisionState) IsSet ¶
func (v NullableRevisionState) IsSet() bool
func (NullableRevisionState) MarshalJSON ¶
func (v NullableRevisionState) MarshalJSON() ([]byte, error)
func (*NullableRevisionState) Set ¶
func (v *NullableRevisionState) Set(val *RevisionState)
func (*NullableRevisionState) UnmarshalJSON ¶
func (v *NullableRevisionState) UnmarshalJSON(src []byte) error
func (*NullableRevisionState) Unset ¶
func (v *NullableRevisionState) Unset()
type NullableRevisionVariable ¶
type NullableRevisionVariable struct {
// contains filtered or unexported fields
}
func NewNullableRevisionVariable ¶
func NewNullableRevisionVariable(val *RevisionVariable) *NullableRevisionVariable
func (NullableRevisionVariable) Get ¶
func (v NullableRevisionVariable) Get() *RevisionVariable
func (NullableRevisionVariable) IsSet ¶
func (v NullableRevisionVariable) IsSet() bool
func (NullableRevisionVariable) MarshalJSON ¶
func (v NullableRevisionVariable) MarshalJSON() ([]byte, error)
func (*NullableRevisionVariable) Set ¶
func (v *NullableRevisionVariable) Set(val *RevisionVariable)
func (*NullableRevisionVariable) UnmarshalJSON ¶
func (v *NullableRevisionVariable) UnmarshalJSON(src []byte) error
func (*NullableRevisionVariable) Unset ¶
func (v *NullableRevisionVariable) 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 NullableUpdateFunctionPayload ¶
type NullableUpdateFunctionPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateFunctionPayload ¶
func NewNullableUpdateFunctionPayload(val *UpdateFunctionPayload) *NullableUpdateFunctionPayload
func (NullableUpdateFunctionPayload) Get ¶
func (v NullableUpdateFunctionPayload) Get() *UpdateFunctionPayload
func (NullableUpdateFunctionPayload) IsSet ¶
func (v NullableUpdateFunctionPayload) IsSet() bool
func (NullableUpdateFunctionPayload) MarshalJSON ¶
func (v NullableUpdateFunctionPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateFunctionPayload) Set ¶
func (v *NullableUpdateFunctionPayload) Set(val *UpdateFunctionPayload)
func (*NullableUpdateFunctionPayload) UnmarshalJSON ¶
func (v *NullableUpdateFunctionPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateFunctionPayload) Unset ¶
func (v *NullableUpdateFunctionPayload) Unset()
type NullableUpdateFunctionPayloadState ¶
type NullableUpdateFunctionPayloadState struct {
// contains filtered or unexported fields
}
func NewNullableUpdateFunctionPayloadState ¶
func NewNullableUpdateFunctionPayloadState(val *UpdateFunctionPayloadState) *NullableUpdateFunctionPayloadState
func (NullableUpdateFunctionPayloadState) Get ¶
func (v NullableUpdateFunctionPayloadState) Get() *UpdateFunctionPayloadState
func (NullableUpdateFunctionPayloadState) IsSet ¶
func (v NullableUpdateFunctionPayloadState) IsSet() bool
func (NullableUpdateFunctionPayloadState) MarshalJSON ¶
func (v NullableUpdateFunctionPayloadState) MarshalJSON() ([]byte, error)
func (*NullableUpdateFunctionPayloadState) Set ¶
func (v *NullableUpdateFunctionPayloadState) Set(val *UpdateFunctionPayloadState)
func (*NullableUpdateFunctionPayloadState) UnmarshalJSON ¶
func (v *NullableUpdateFunctionPayloadState) UnmarshalJSON(src []byte) error
func (*NullableUpdateFunctionPayloadState) Unset ¶
func (v *NullableUpdateFunctionPayloadState) Unset()
type NullableUpdatePullSecretPayload ¶
type NullableUpdatePullSecretPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdatePullSecretPayload ¶
func NewNullableUpdatePullSecretPayload(val *UpdatePullSecretPayload) *NullableUpdatePullSecretPayload
func (NullableUpdatePullSecretPayload) Get ¶
func (v NullableUpdatePullSecretPayload) Get() *UpdatePullSecretPayload
func (NullableUpdatePullSecretPayload) IsSet ¶
func (v NullableUpdatePullSecretPayload) IsSet() bool
func (NullableUpdatePullSecretPayload) MarshalJSON ¶
func (v NullableUpdatePullSecretPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdatePullSecretPayload) Set ¶
func (v *NullableUpdatePullSecretPayload) Set(val *UpdatePullSecretPayload)
func (*NullableUpdatePullSecretPayload) UnmarshalJSON ¶
func (v *NullableUpdatePullSecretPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdatePullSecretPayload) Unset ¶
func (v *NullableUpdatePullSecretPayload) Unset()
type NullableUpdateRevisionPayload ¶
type NullableUpdateRevisionPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRevisionPayload ¶
func NewNullableUpdateRevisionPayload(val *UpdateRevisionPayload) *NullableUpdateRevisionPayload
func (NullableUpdateRevisionPayload) Get ¶
func (v NullableUpdateRevisionPayload) Get() *UpdateRevisionPayload
func (NullableUpdateRevisionPayload) IsSet ¶
func (v NullableUpdateRevisionPayload) IsSet() bool
func (NullableUpdateRevisionPayload) MarshalJSON ¶
func (v NullableUpdateRevisionPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRevisionPayload) Set ¶
func (v *NullableUpdateRevisionPayload) Set(val *UpdateRevisionPayload)
func (*NullableUpdateRevisionPayload) UnmarshalJSON ¶
func (v *NullableUpdateRevisionPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRevisionPayload) Unset ¶
func (v *NullableUpdateRevisionPayload) Unset()
type NullableUpdateRevisionPayloadState ¶
type NullableUpdateRevisionPayloadState struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRevisionPayloadState ¶
func NewNullableUpdateRevisionPayloadState(val *UpdateRevisionPayloadState) *NullableUpdateRevisionPayloadState
func (NullableUpdateRevisionPayloadState) Get ¶
func (v NullableUpdateRevisionPayloadState) Get() *UpdateRevisionPayloadState
func (NullableUpdateRevisionPayloadState) IsSet ¶
func (v NullableUpdateRevisionPayloadState) IsSet() bool
func (NullableUpdateRevisionPayloadState) MarshalJSON ¶
func (v NullableUpdateRevisionPayloadState) MarshalJSON() ([]byte, error)
func (*NullableUpdateRevisionPayloadState) Set ¶
func (v *NullableUpdateRevisionPayloadState) Set(val *UpdateRevisionPayloadState)
func (*NullableUpdateRevisionPayloadState) UnmarshalJSON ¶
func (v *NullableUpdateRevisionPayloadState) UnmarshalJSON(src []byte) error
func (*NullableUpdateRevisionPayloadState) Unset ¶
func (v *NullableUpdateRevisionPayloadState) Unset()
type PullSecret ¶
type PullSecret struct {
// The OCI registry address.
Address string `json:"address"`
// Unique identifier for the OCI registry pull secret.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// Unique name for the OCI registry pull secret.
Name *string `json:"name,omitempty"`
// The password for the OCI registry pull-secret.
Password string `json:"password"`
// The username for the OCI registry pull-secret.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
PullSecret struct for PullSecret
func NewPullSecret ¶
func NewPullSecret(address string, password string, username string) *PullSecret
NewPullSecret instantiates a new PullSecret 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 NewPullSecretWithDefaults ¶
func NewPullSecretWithDefaults() *PullSecret
NewPullSecretWithDefaults instantiates a new PullSecret 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 (*PullSecret) GetAddress ¶
func (o *PullSecret) GetAddress() string
GetAddress returns the Address field value
func (*PullSecret) GetAddressOk ¶
func (o *PullSecret) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*PullSecret) GetId ¶
func (o *PullSecret) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PullSecret) GetIdOk ¶
func (o *PullSecret) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PullSecret) GetLabels ¶
func (o *PullSecret) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*PullSecret) GetLabelsOk ¶
func (o *PullSecret) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PullSecret) GetName ¶
func (o *PullSecret) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PullSecret) GetNameOk ¶
func (o *PullSecret) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PullSecret) GetPassword ¶
func (o *PullSecret) GetPassword() string
GetPassword returns the Password field value
func (*PullSecret) GetPasswordOk ¶
func (o *PullSecret) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*PullSecret) GetUsername ¶
func (o *PullSecret) GetUsername() string
GetUsername returns the Username field value
func (*PullSecret) GetUsernameOk ¶
func (o *PullSecret) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*PullSecret) HasId ¶
func (o *PullSecret) HasId() bool
HasId returns a boolean if a field has been set.
func (*PullSecret) HasLabels ¶
func (o *PullSecret) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*PullSecret) HasName ¶
func (o *PullSecret) HasName() bool
HasName returns a boolean if a field has been set.
func (PullSecret) MarshalJSON ¶
func (o PullSecret) MarshalJSON() ([]byte, error)
func (*PullSecret) SetAddress ¶
func (o *PullSecret) SetAddress(v string)
SetAddress sets field value
func (*PullSecret) SetId ¶
func (o *PullSecret) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PullSecret) SetLabels ¶
func (o *PullSecret) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*PullSecret) SetName ¶
func (o *PullSecret) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PullSecret) SetPassword ¶
func (o *PullSecret) SetPassword(v string)
SetPassword sets field value
func (*PullSecret) SetUsername ¶
func (o *PullSecret) SetUsername(v string)
SetUsername sets field value
func (PullSecret) ToMap ¶
func (o PullSecret) ToMap() (map[string]interface{}, error)
func (*PullSecret) UnmarshalJSON ¶
func (o *PullSecret) UnmarshalJSON(data []byte) (err error)
type ResourceLimits ¶
type ResourceLimits struct {
Concurrency int32 `json:"concurrency"`
Plan string `json:"plan"`
AdditionalProperties map[string]interface{}
}
ResourceLimits Resource utilization limitations
func NewResourceLimits ¶
func NewResourceLimits(concurrency int32, plan string) *ResourceLimits
NewResourceLimits instantiates a new ResourceLimits 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 NewResourceLimitsWithDefaults ¶
func NewResourceLimitsWithDefaults() *ResourceLimits
NewResourceLimitsWithDefaults instantiates a new ResourceLimits 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 (*ResourceLimits) GetConcurrency ¶
func (o *ResourceLimits) GetConcurrency() int32
GetConcurrency returns the Concurrency field value
func (*ResourceLimits) GetConcurrencyOk ¶
func (o *ResourceLimits) GetConcurrencyOk() (*int32, bool)
GetConcurrencyOk returns a tuple with the Concurrency field value and a boolean to check if the value has been set.
func (*ResourceLimits) GetPlan ¶
func (o *ResourceLimits) GetPlan() string
GetPlan returns the Plan field value
func (*ResourceLimits) GetPlanOk ¶
func (o *ResourceLimits) GetPlanOk() (*string, bool)
GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.
func (ResourceLimits) MarshalJSON ¶
func (o ResourceLimits) MarshalJSON() ([]byte, error)
func (*ResourceLimits) SetConcurrency ¶
func (o *ResourceLimits) SetConcurrency(v int32)
SetConcurrency sets field value
func (*ResourceLimits) SetPlan ¶
func (o *ResourceLimits) SetPlan(v string)
SetPlan sets field value
func (ResourceLimits) ToMap ¶
func (o ResourceLimits) ToMap() (map[string]interface{}, error)
func (*ResourceLimits) UnmarshalJSON ¶
func (o *ResourceLimits) UnmarshalJSON(data []byte) (err error)
type Revision ¶
type Revision struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// A hashed fingerprint of the revision artifact.
Digest *string `json:"digest,omitempty"`
// The ID of the function associated with this revision.
FunctionId *string `json:"function_id,omitempty"`
// The revision identifier.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Limits ResourceLimits `json:"limits"`
// Revision message
Message *string `json:"message,omitempty"`
// The name of the the revision. Must be unique within the function.
Name *string `json:"name,omitempty"`
// OCI Registry pull secret to use for pulling the revision's image.
OciPullSecretId *string `json:"oci_pull_secret_id,omitempty"`
// OCI reference for the revision.
OciReference string `` /* 139-byte string literal not displayed */
State *RevisionState `json:"state,omitempty"`
// Error message related to this revision.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Variable values for this revision. Each variable must reference a variable definition on the function.
Variables []RevisionVariable `json:"variables,omitempty"`
// The version number of the revision.
Version *int64 `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
Revision The function revision
func NewRevision ¶
func NewRevision(limits ResourceLimits, ociReference string) *Revision
NewRevision instantiates a new Revision 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 NewRevisionWithDefaults ¶
func NewRevisionWithDefaults() *Revision
NewRevisionWithDefaults instantiates a new Revision 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 (*Revision) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Revision) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetDigestOk ¶
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetFunctionId ¶
GetFunctionId returns the FunctionId field value if set, zero value otherwise.
func (*Revision) GetFunctionIdOk ¶
GetFunctionIdOk returns a tuple with the FunctionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetLabelsOk ¶
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetLimits ¶
func (o *Revision) GetLimits() ResourceLimits
GetLimits returns the Limits field value
func (*Revision) GetLimitsOk ¶
func (o *Revision) GetLimitsOk() (*ResourceLimits, bool)
GetLimitsOk returns a tuple with the Limits field value and a boolean to check if the value has been set.
func (*Revision) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Revision) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetOciPullSecretId ¶
GetOciPullSecretId returns the OciPullSecretId field value if set, zero value otherwise.
func (*Revision) GetOciPullSecretIdOk ¶
GetOciPullSecretIdOk returns a tuple with the OciPullSecretId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetOciReference ¶
GetOciReference returns the OciReference field value
func (*Revision) GetOciReferenceOk ¶
GetOciReferenceOk returns a tuple with the OciReference field value and a boolean to check if the value has been set.
func (*Revision) GetState ¶
func (o *Revision) GetState() RevisionState
GetState returns the State field value if set, zero value otherwise.
func (*Revision) GetStateError ¶
GetStateError returns the StateError field value if set, zero value otherwise.
func (*Revision) GetStateErrorOk ¶
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetStateOk ¶
func (o *Revision) GetStateOk() (*RevisionState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Revision) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetVariables ¶
func (o *Revision) GetVariables() []RevisionVariable
GetVariables returns the Variables field value if set, zero value otherwise.
func (*Revision) GetVariablesOk ¶
func (o *Revision) GetVariablesOk() ([]RevisionVariable, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Revision) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Revision) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Revision) HasFunctionId ¶
HasFunctionId returns a boolean if a field has been set.
func (*Revision) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Revision) HasOciPullSecretId ¶
HasOciPullSecretId returns a boolean if a field has been set.
func (*Revision) HasStateError ¶
HasStateError returns a boolean if a field has been set.
func (*Revision) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Revision) HasVariables ¶
HasVariables returns a boolean if a field has been set.
func (*Revision) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Revision) MarshalJSON ¶
func (*Revision) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Revision) SetDigest ¶
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*Revision) SetFunctionId ¶
SetFunctionId gets a reference to the given string and assigns it to the FunctionId field.
func (*Revision) SetLabels ¶
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*Revision) SetLimits ¶
func (o *Revision) SetLimits(v ResourceLimits)
SetLimits sets field value
func (*Revision) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Revision) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Revision) SetOciPullSecretId ¶
SetOciPullSecretId gets a reference to the given string and assigns it to the OciPullSecretId field.
func (*Revision) SetOciReference ¶
SetOciReference sets field value
func (*Revision) SetState ¶
func (o *Revision) SetState(v RevisionState)
SetState gets a reference to the given RevisionState and assigns it to the State field.
func (*Revision) SetStateError ¶
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*Revision) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Revision) SetVariables ¶
func (o *Revision) SetVariables(v []RevisionVariable)
SetVariables gets a reference to the given []RevisionVariable and assigns it to the Variables field.
func (*Revision) SetVersion ¶
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*Revision) UnmarshalJSON ¶
type RevisionState ¶
type RevisionState string
RevisionState Status of this revision.
const ( REVISIONSTATE_CANCELLED RevisionState = "CANCELLED" REVISIONSTATE_CREATING RevisionState = "CREATING" REVISIONSTATE_ACTIVE RevisionState = "ACTIVE" REVISIONSTATE_FAILED RevisionState = "FAILED" REVISIONSTATE_UNKNOWN_DEFAULT_OPEN_API RevisionState = "unknown_default_open_api" )
List of Revision_state
func NewRevisionStateFromValue ¶
func NewRevisionStateFromValue(v string) (*RevisionState, error)
NewRevisionStateFromValue returns a pointer to a valid RevisionState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RevisionState) IsValid ¶
func (v RevisionState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RevisionState) Ptr ¶
func (v RevisionState) Ptr() *RevisionState
Ptr returns reference to Revision_state value
func (*RevisionState) UnmarshalJSON ¶
func (v *RevisionState) UnmarshalJSON(src []byte) error
type RevisionVariable ¶
type RevisionVariable struct {
// Name of the variable (must match a variable definition on the function).
Name string `json:"name" validate:"regexp=^[a-zA-Z_][a-zA-Z0-9_]*$"`
// The value of the variable. Only present for normal variables. Secrets will have a vault reference instead.
Value NullableString `json:"value,omitempty"`
// Reference to the vault secret. Only present for secret variables.
VaultReference NullableString `json:"vault_reference,omitempty"`
AdditionalProperties map[string]interface{}
}
RevisionVariable Represents a variable value for a specific revision.
func NewRevisionVariable ¶
func NewRevisionVariable(name string) *RevisionVariable
NewRevisionVariable instantiates a new RevisionVariable 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 NewRevisionVariableWithDefaults ¶
func NewRevisionVariableWithDefaults() *RevisionVariable
NewRevisionVariableWithDefaults instantiates a new RevisionVariable 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 (*RevisionVariable) GetName ¶
func (o *RevisionVariable) GetName() string
GetName returns the Name field value
func (*RevisionVariable) GetNameOk ¶
func (o *RevisionVariable) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RevisionVariable) GetValue ¶
func (o *RevisionVariable) GetValue() string
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RevisionVariable) GetValueOk ¶
func (o *RevisionVariable) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RevisionVariable) GetVaultReference ¶
func (o *RevisionVariable) GetVaultReference() string
GetVaultReference returns the VaultReference field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RevisionVariable) GetVaultReferenceOk ¶
func (o *RevisionVariable) GetVaultReferenceOk() (*string, bool)
GetVaultReferenceOk returns a tuple with the VaultReference field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RevisionVariable) HasValue ¶
func (o *RevisionVariable) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*RevisionVariable) HasVaultReference ¶
func (o *RevisionVariable) HasVaultReference() bool
HasVaultReference returns a boolean if a field has been set.
func (RevisionVariable) MarshalJSON ¶
func (o RevisionVariable) MarshalJSON() ([]byte, error)
func (*RevisionVariable) SetName ¶
func (o *RevisionVariable) SetName(v string)
SetName sets field value
func (*RevisionVariable) SetValue ¶
func (o *RevisionVariable) SetValue(v string)
SetValue gets a reference to the given NullableString and assigns it to the Value field.
func (*RevisionVariable) SetValueNil ¶
func (o *RevisionVariable) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil
func (*RevisionVariable) SetVaultReference ¶
func (o *RevisionVariable) SetVaultReference(v string)
SetVaultReference gets a reference to the given NullableString and assigns it to the VaultReference field.
func (*RevisionVariable) SetVaultReferenceNil ¶
func (o *RevisionVariable) SetVaultReferenceNil()
SetVaultReferenceNil sets the value for VaultReference to be an explicit nil
func (RevisionVariable) ToMap ¶
func (o RevisionVariable) ToMap() (map[string]interface{}, error)
func (*RevisionVariable) UnmarshalJSON ¶
func (o *RevisionVariable) UnmarshalJSON(data []byte) (err error)
func (*RevisionVariable) UnsetValue ¶
func (o *RevisionVariable) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
func (*RevisionVariable) UnsetVaultReference ¶
func (o *RevisionVariable) UnsetVaultReference()
UnsetVaultReference ensures that no value is present for VaultReference, not even an explicit nil
type UpdateFunctionPayload ¶
type UpdateFunctionPayload struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// The ID of the currently-deployed revision associated with this function.
CurrentRevision *string `json:"current_revision,omitempty"`
// Unique identifier for the function.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// User-defined name of the function.
Name string `json:"name"`
State *UpdateFunctionPayloadState `json:"state,omitempty"`
// Error message related to this function's status.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// URLs that resolve to the function.
Url []string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateFunctionPayload Represents a STACKIT Functions function.
func NewUpdateFunctionPayload ¶
func NewUpdateFunctionPayload(name string) *UpdateFunctionPayload
NewUpdateFunctionPayload instantiates a new UpdateFunctionPayload 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 NewUpdateFunctionPayloadWithDefaults ¶
func NewUpdateFunctionPayloadWithDefaults() *UpdateFunctionPayload
NewUpdateFunctionPayloadWithDefaults instantiates a new UpdateFunctionPayload 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 (*UpdateFunctionPayload) GetCreatedAt ¶
func (o *UpdateFunctionPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetCreatedAtOk ¶
func (o *UpdateFunctionPayload) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetCurrentRevision ¶
func (o *UpdateFunctionPayload) GetCurrentRevision() string
GetCurrentRevision returns the CurrentRevision field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetCurrentRevisionOk ¶
func (o *UpdateFunctionPayload) GetCurrentRevisionOk() (*string, bool)
GetCurrentRevisionOk returns a tuple with the CurrentRevision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetId ¶
func (o *UpdateFunctionPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetIdOk ¶
func (o *UpdateFunctionPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetLabels ¶
func (o *UpdateFunctionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetLabelsOk ¶
func (o *UpdateFunctionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetName ¶
func (o *UpdateFunctionPayload) GetName() string
GetName returns the Name field value
func (*UpdateFunctionPayload) GetNameOk ¶
func (o *UpdateFunctionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetState ¶
func (o *UpdateFunctionPayload) GetState() UpdateFunctionPayloadState
GetState returns the State field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetStateError ¶
func (o *UpdateFunctionPayload) GetStateError() string
GetStateError returns the StateError field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetStateErrorOk ¶
func (o *UpdateFunctionPayload) GetStateErrorOk() (*string, bool)
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetStateOk ¶
func (o *UpdateFunctionPayload) GetStateOk() (*UpdateFunctionPayloadState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetUpdatedAt ¶
func (o *UpdateFunctionPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetUpdatedAtOk ¶
func (o *UpdateFunctionPayload) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) GetUrl ¶
func (o *UpdateFunctionPayload) GetUrl() []string
GetUrl returns the Url field value if set, zero value otherwise.
func (*UpdateFunctionPayload) GetUrlOk ¶
func (o *UpdateFunctionPayload) GetUrlOk() ([]string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateFunctionPayload) HasCreatedAt ¶
func (o *UpdateFunctionPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasCurrentRevision ¶
func (o *UpdateFunctionPayload) HasCurrentRevision() bool
HasCurrentRevision returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasId ¶
func (o *UpdateFunctionPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasLabels ¶
func (o *UpdateFunctionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasState ¶
func (o *UpdateFunctionPayload) HasState() bool
HasState returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasStateError ¶
func (o *UpdateFunctionPayload) HasStateError() bool
HasStateError returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasUpdatedAt ¶
func (o *UpdateFunctionPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*UpdateFunctionPayload) HasUrl ¶
func (o *UpdateFunctionPayload) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (UpdateFunctionPayload) MarshalJSON ¶
func (o UpdateFunctionPayload) MarshalJSON() ([]byte, error)
func (*UpdateFunctionPayload) SetCreatedAt ¶
func (o *UpdateFunctionPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UpdateFunctionPayload) SetCurrentRevision ¶
func (o *UpdateFunctionPayload) SetCurrentRevision(v string)
SetCurrentRevision gets a reference to the given string and assigns it to the CurrentRevision field.
func (*UpdateFunctionPayload) SetId ¶
func (o *UpdateFunctionPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdateFunctionPayload) SetLabels ¶
func (o *UpdateFunctionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateFunctionPayload) SetName ¶
func (o *UpdateFunctionPayload) SetName(v string)
SetName sets field value
func (*UpdateFunctionPayload) SetState ¶
func (o *UpdateFunctionPayload) SetState(v UpdateFunctionPayloadState)
SetState gets a reference to the given UpdateFunctionPayloadState and assigns it to the State field.
func (*UpdateFunctionPayload) SetStateError ¶
func (o *UpdateFunctionPayload) SetStateError(v string)
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*UpdateFunctionPayload) SetUpdatedAt ¶
func (o *UpdateFunctionPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*UpdateFunctionPayload) SetUrl ¶
func (o *UpdateFunctionPayload) SetUrl(v []string)
SetUrl gets a reference to the given []string and assigns it to the Url field.
func (UpdateFunctionPayload) ToMap ¶
func (o UpdateFunctionPayload) ToMap() (map[string]interface{}, error)
func (*UpdateFunctionPayload) UnmarshalJSON ¶
func (o *UpdateFunctionPayload) UnmarshalJSON(data []byte) (err error)
type UpdateFunctionPayloadState ¶
type UpdateFunctionPayloadState string
UpdateFunctionPayloadState Status of this function's latest revision.
const ( UPDATEFUNCTIONPAYLOADSTATE_CREATING UpdateFunctionPayloadState = "CREATING" UPDATEFUNCTIONPAYLOADSTATE_ACTIVE UpdateFunctionPayloadState = "ACTIVE" UPDATEFUNCTIONPAYLOADSTATE_FAILED UpdateFunctionPayloadState = "FAILED" UPDATEFUNCTIONPAYLOADSTATE_UNKNOWN_DEFAULT_OPEN_API UpdateFunctionPayloadState = "unknown_default_open_api" )
List of UpdateFunctionPayload_state
func NewUpdateFunctionPayloadStateFromValue ¶
func NewUpdateFunctionPayloadStateFromValue(v string) (*UpdateFunctionPayloadState, error)
NewUpdateFunctionPayloadStateFromValue returns a pointer to a valid UpdateFunctionPayloadState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateFunctionPayloadState) IsValid ¶
func (v UpdateFunctionPayloadState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateFunctionPayloadState) Ptr ¶
func (v UpdateFunctionPayloadState) Ptr() *UpdateFunctionPayloadState
Ptr returns reference to UpdateFunctionPayload_state value
func (*UpdateFunctionPayloadState) UnmarshalJSON ¶
func (v *UpdateFunctionPayloadState) UnmarshalJSON(src []byte) error
type UpdatePullSecretPayload ¶
type UpdatePullSecretPayload struct {
// The OCI registry address.
Address string `json:"address"`
// Unique identifier for the OCI registry pull secret.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
// Unique name for the OCI registry pull secret.
Name *string `json:"name,omitempty"`
// The password for the OCI registry pull-secret.
Password string `json:"password"`
// The username for the OCI registry pull-secret.
Username string `json:"username"`
AdditionalProperties map[string]interface{}
}
UpdatePullSecretPayload struct for UpdatePullSecretPayload
func NewUpdatePullSecretPayload ¶
func NewUpdatePullSecretPayload(address string, password string, username string) *UpdatePullSecretPayload
NewUpdatePullSecretPayload instantiates a new UpdatePullSecretPayload 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 NewUpdatePullSecretPayloadWithDefaults ¶
func NewUpdatePullSecretPayloadWithDefaults() *UpdatePullSecretPayload
NewUpdatePullSecretPayloadWithDefaults instantiates a new UpdatePullSecretPayload 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 (*UpdatePullSecretPayload) GetAddress ¶
func (o *UpdatePullSecretPayload) GetAddress() string
GetAddress returns the Address field value
func (*UpdatePullSecretPayload) GetAddressOk ¶
func (o *UpdatePullSecretPayload) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) GetId ¶
func (o *UpdatePullSecretPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdatePullSecretPayload) GetIdOk ¶
func (o *UpdatePullSecretPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) GetLabels ¶
func (o *UpdatePullSecretPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdatePullSecretPayload) GetLabelsOk ¶
func (o *UpdatePullSecretPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) GetName ¶
func (o *UpdatePullSecretPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdatePullSecretPayload) GetNameOk ¶
func (o *UpdatePullSecretPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) GetPassword ¶
func (o *UpdatePullSecretPayload) GetPassword() string
GetPassword returns the Password field value
func (*UpdatePullSecretPayload) GetPasswordOk ¶
func (o *UpdatePullSecretPayload) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) GetUsername ¶
func (o *UpdatePullSecretPayload) GetUsername() string
GetUsername returns the Username field value
func (*UpdatePullSecretPayload) GetUsernameOk ¶
func (o *UpdatePullSecretPayload) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*UpdatePullSecretPayload) HasId ¶
func (o *UpdatePullSecretPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdatePullSecretPayload) HasLabels ¶
func (o *UpdatePullSecretPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdatePullSecretPayload) HasName ¶
func (o *UpdatePullSecretPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdatePullSecretPayload) MarshalJSON ¶
func (o UpdatePullSecretPayload) MarshalJSON() ([]byte, error)
func (*UpdatePullSecretPayload) SetAddress ¶
func (o *UpdatePullSecretPayload) SetAddress(v string)
SetAddress sets field value
func (*UpdatePullSecretPayload) SetId ¶
func (o *UpdatePullSecretPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdatePullSecretPayload) SetLabels ¶
func (o *UpdatePullSecretPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdatePullSecretPayload) SetName ¶
func (o *UpdatePullSecretPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdatePullSecretPayload) SetPassword ¶
func (o *UpdatePullSecretPayload) SetPassword(v string)
SetPassword sets field value
func (*UpdatePullSecretPayload) SetUsername ¶
func (o *UpdatePullSecretPayload) SetUsername(v string)
SetUsername sets field value
func (UpdatePullSecretPayload) ToMap ¶
func (o UpdatePullSecretPayload) ToMap() (map[string]interface{}, error)
func (*UpdatePullSecretPayload) UnmarshalJSON ¶
func (o *UpdatePullSecretPayload) UnmarshalJSON(data []byte) (err error)
type UpdateRevisionPayload ¶
type UpdateRevisionPayload struct {
// Time the function was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// A hashed fingerprint of the revision artifact.
Digest *string `json:"digest,omitempty"`
// The ID of the function associated with this revision.
FunctionId *string `json:"function_id,omitempty"`
// The revision identifier.
Id *string `json:"id,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
Limits ResourceLimits `json:"limits"`
// Revision message
Message *string `json:"message,omitempty"`
// The name of the the revision. Must be unique within the function.
Name *string `json:"name,omitempty"`
// OCI Registry pull secret to use for pulling the revision's image.
OciPullSecretId *string `json:"oci_pull_secret_id,omitempty"`
// OCI reference for the revision.
OciReference string `` /* 139-byte string literal not displayed */
State *UpdateRevisionPayloadState `json:"state,omitempty"`
// Error message related to this revision.
StateError *string `json:"state_error,omitempty"`
// Time the function was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Variable values for this revision. Each variable must reference a variable definition on the function.
Variables []RevisionVariable `json:"variables,omitempty"`
// The version number of the revision.
Version *int64 `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateRevisionPayload The function revision
func NewUpdateRevisionPayload ¶
func NewUpdateRevisionPayload(limits ResourceLimits, ociReference string) *UpdateRevisionPayload
NewUpdateRevisionPayload instantiates a new UpdateRevisionPayload 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 NewUpdateRevisionPayloadWithDefaults ¶
func NewUpdateRevisionPayloadWithDefaults() *UpdateRevisionPayload
NewUpdateRevisionPayloadWithDefaults instantiates a new UpdateRevisionPayload 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 (*UpdateRevisionPayload) GetCreatedAt ¶
func (o *UpdateRevisionPayload) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetCreatedAtOk ¶
func (o *UpdateRevisionPayload) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetDigest ¶
func (o *UpdateRevisionPayload) GetDigest() string
GetDigest returns the Digest field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetDigestOk ¶
func (o *UpdateRevisionPayload) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetFunctionId ¶
func (o *UpdateRevisionPayload) GetFunctionId() string
GetFunctionId returns the FunctionId field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetFunctionIdOk ¶
func (o *UpdateRevisionPayload) GetFunctionIdOk() (*string, bool)
GetFunctionIdOk returns a tuple with the FunctionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetId ¶
func (o *UpdateRevisionPayload) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetIdOk ¶
func (o *UpdateRevisionPayload) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetLabels ¶
func (o *UpdateRevisionPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetLabelsOk ¶
func (o *UpdateRevisionPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetLimits ¶
func (o *UpdateRevisionPayload) GetLimits() ResourceLimits
GetLimits returns the Limits field value
func (*UpdateRevisionPayload) GetLimitsOk ¶
func (o *UpdateRevisionPayload) GetLimitsOk() (*ResourceLimits, bool)
GetLimitsOk returns a tuple with the Limits field value and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetMessage ¶
func (o *UpdateRevisionPayload) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetMessageOk ¶
func (o *UpdateRevisionPayload) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetName ¶
func (o *UpdateRevisionPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetNameOk ¶
func (o *UpdateRevisionPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetOciPullSecretId ¶
func (o *UpdateRevisionPayload) GetOciPullSecretId() string
GetOciPullSecretId returns the OciPullSecretId field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetOciPullSecretIdOk ¶
func (o *UpdateRevisionPayload) GetOciPullSecretIdOk() (*string, bool)
GetOciPullSecretIdOk returns a tuple with the OciPullSecretId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetOciReference ¶
func (o *UpdateRevisionPayload) GetOciReference() string
GetOciReference returns the OciReference field value
func (*UpdateRevisionPayload) GetOciReferenceOk ¶
func (o *UpdateRevisionPayload) GetOciReferenceOk() (*string, bool)
GetOciReferenceOk returns a tuple with the OciReference field value and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetState ¶
func (o *UpdateRevisionPayload) GetState() UpdateRevisionPayloadState
GetState returns the State field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetStateError ¶
func (o *UpdateRevisionPayload) GetStateError() string
GetStateError returns the StateError field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetStateErrorOk ¶
func (o *UpdateRevisionPayload) GetStateErrorOk() (*string, bool)
GetStateErrorOk returns a tuple with the StateError field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetStateOk ¶
func (o *UpdateRevisionPayload) GetStateOk() (*UpdateRevisionPayloadState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetUpdatedAt ¶
func (o *UpdateRevisionPayload) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetUpdatedAtOk ¶
func (o *UpdateRevisionPayload) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetVariables ¶
func (o *UpdateRevisionPayload) GetVariables() []RevisionVariable
GetVariables returns the Variables field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetVariablesOk ¶
func (o *UpdateRevisionPayload) GetVariablesOk() ([]RevisionVariable, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) GetVersion ¶
func (o *UpdateRevisionPayload) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateRevisionPayload) GetVersionOk ¶
func (o *UpdateRevisionPayload) GetVersionOk() (*int64, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRevisionPayload) HasCreatedAt ¶
func (o *UpdateRevisionPayload) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasDigest ¶
func (o *UpdateRevisionPayload) HasDigest() bool
HasDigest returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasFunctionId ¶
func (o *UpdateRevisionPayload) HasFunctionId() bool
HasFunctionId returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasId ¶
func (o *UpdateRevisionPayload) HasId() bool
HasId returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasLabels ¶
func (o *UpdateRevisionPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasMessage ¶
func (o *UpdateRevisionPayload) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasName ¶
func (o *UpdateRevisionPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasOciPullSecretId ¶
func (o *UpdateRevisionPayload) HasOciPullSecretId() bool
HasOciPullSecretId returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasState ¶
func (o *UpdateRevisionPayload) HasState() bool
HasState returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasStateError ¶
func (o *UpdateRevisionPayload) HasStateError() bool
HasStateError returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasUpdatedAt ¶
func (o *UpdateRevisionPayload) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasVariables ¶
func (o *UpdateRevisionPayload) HasVariables() bool
HasVariables returns a boolean if a field has been set.
func (*UpdateRevisionPayload) HasVersion ¶
func (o *UpdateRevisionPayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateRevisionPayload) MarshalJSON ¶
func (o UpdateRevisionPayload) MarshalJSON() ([]byte, error)
func (*UpdateRevisionPayload) SetCreatedAt ¶
func (o *UpdateRevisionPayload) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UpdateRevisionPayload) SetDigest ¶
func (o *UpdateRevisionPayload) SetDigest(v string)
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*UpdateRevisionPayload) SetFunctionId ¶
func (o *UpdateRevisionPayload) SetFunctionId(v string)
SetFunctionId gets a reference to the given string and assigns it to the FunctionId field.
func (*UpdateRevisionPayload) SetId ¶
func (o *UpdateRevisionPayload) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UpdateRevisionPayload) SetLabels ¶
func (o *UpdateRevisionPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateRevisionPayload) SetLimits ¶
func (o *UpdateRevisionPayload) SetLimits(v ResourceLimits)
SetLimits sets field value
func (*UpdateRevisionPayload) SetMessage ¶
func (o *UpdateRevisionPayload) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*UpdateRevisionPayload) SetName ¶
func (o *UpdateRevisionPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateRevisionPayload) SetOciPullSecretId ¶
func (o *UpdateRevisionPayload) SetOciPullSecretId(v string)
SetOciPullSecretId gets a reference to the given string and assigns it to the OciPullSecretId field.
func (*UpdateRevisionPayload) SetOciReference ¶
func (o *UpdateRevisionPayload) SetOciReference(v string)
SetOciReference sets field value
func (*UpdateRevisionPayload) SetState ¶
func (o *UpdateRevisionPayload) SetState(v UpdateRevisionPayloadState)
SetState gets a reference to the given UpdateRevisionPayloadState and assigns it to the State field.
func (*UpdateRevisionPayload) SetStateError ¶
func (o *UpdateRevisionPayload) SetStateError(v string)
SetStateError gets a reference to the given string and assigns it to the StateError field.
func (*UpdateRevisionPayload) SetUpdatedAt ¶
func (o *UpdateRevisionPayload) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*UpdateRevisionPayload) SetVariables ¶
func (o *UpdateRevisionPayload) SetVariables(v []RevisionVariable)
SetVariables gets a reference to the given []RevisionVariable and assigns it to the Variables field.
func (*UpdateRevisionPayload) SetVersion ¶
func (o *UpdateRevisionPayload) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (UpdateRevisionPayload) ToMap ¶
func (o UpdateRevisionPayload) ToMap() (map[string]interface{}, error)
func (*UpdateRevisionPayload) UnmarshalJSON ¶
func (o *UpdateRevisionPayload) UnmarshalJSON(data []byte) (err error)
type UpdateRevisionPayloadState ¶
type UpdateRevisionPayloadState string
UpdateRevisionPayloadState Status of this revision.
const ( UPDATEREVISIONPAYLOADSTATE_CANCELLED UpdateRevisionPayloadState = "CANCELLED" UPDATEREVISIONPAYLOADSTATE_CREATING UpdateRevisionPayloadState = "CREATING" UPDATEREVISIONPAYLOADSTATE_ACTIVE UpdateRevisionPayloadState = "ACTIVE" UPDATEREVISIONPAYLOADSTATE_FAILED UpdateRevisionPayloadState = "FAILED" UPDATEREVISIONPAYLOADSTATE_UNKNOWN_DEFAULT_OPEN_API UpdateRevisionPayloadState = "unknown_default_open_api" )
List of UpdateRevisionPayload_state
func NewUpdateRevisionPayloadStateFromValue ¶
func NewUpdateRevisionPayloadStateFromValue(v string) (*UpdateRevisionPayloadState, error)
NewUpdateRevisionPayloadStateFromValue returns a pointer to a valid UpdateRevisionPayloadState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateRevisionPayloadState) IsValid ¶
func (v UpdateRevisionPayloadState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateRevisionPayloadState) Ptr ¶
func (v UpdateRevisionPayloadState) Ptr() *UpdateRevisionPayloadState
Ptr returns reference to UpdateRevisionPayload_state value
func (*UpdateRevisionPayloadState) UnmarshalJSON ¶
func (v *UpdateRevisionPayloadState) UnmarshalJSON(src []byte) error
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_create_function_payload.go
- model_create_function_payload_state.go
- model_create_function_revision_payload.go
- model_create_function_revision_payload_state.go
- model_create_pull_secret_payload.go
- model_error.go
- model_error_details_inner.go
- model_error_info.go
- model_function.go
- model_function_state.go
- model_help.go
- model_help_message.go
- model_list_functions.go
- model_list_functions_401_response.go
- model_list_pull_secrets.go
- model_list_revisions.go
- model_pull_secret.go
- model_resource_limits.go
- model_revision.go
- model_revision_state.go
- model_revision_variable.go
- model_update_function_payload.go
- model_update_function_payload_state.go
- model_update_pull_secret_payload.go
- model_update_revision_payload.go
- model_update_revision_payload_state.go
- response.go
- utils.go