v1alphaapi

package
v0.0.0-...-5f42f70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedCreateFunctionPayloadStateEnumValues = []CreateFunctionPayloadState{
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of CreateFunctionPayloadState enum

View Source
var AllowedCreateFunctionRevisionPayloadStateEnumValues = []CreateFunctionRevisionPayloadState{
	"CANCELLED",
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of CreateFunctionRevisionPayloadState enum

View Source
var AllowedFunctionStateEnumValues = []FunctionState{
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of FunctionState enum

View Source
var AllowedRevisionStateEnumValues = []RevisionState{
	"CANCELLED",
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of RevisionState enum

View Source
var AllowedUpdateFunctionPayloadStateEnumValues = []UpdateFunctionPayloadState{
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of UpdateFunctionPayloadState enum

View Source
var AllowedUpdateRevisionPayloadStateEnumValues = []UpdateRevisionPayloadState{
	"CANCELLED",
	"CREATING",
	"ACTIVE",
	"FAILED",
	"unknown_default_open_api",
}

All allowed values of UpdateRevisionPayloadState enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

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

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

type ApiListPullSecretsRequest

type ApiListPullSecretsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListPullSecretsRequest) Execute

type ApiListRevisionsRequest

type ApiListRevisionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListRevisionsRequest) Execute

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 (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

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

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

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

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

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

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

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

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

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

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

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

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

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

IsValid return true if the value is valid for the enum, false otherwise

func (CreateFunctionRevisionPayloadState) Ptr

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) GetCode

func (o *Error) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*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

func (o *Error) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Error) GetMessageOk

func (o *Error) 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 (*Error) HasCode

func (o *Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Error) HasDetails

func (o *Error) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Error) HasMessage

func (o *Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v int32)

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

func (o *Error) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Error) ToMap

func (o Error) ToMap() (map[string]interface{}, error)

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

type ErrorDetailsInner

type ErrorDetailsInner struct {
	ErrorInfo *ErrorInfo
	Help      *Help
}

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

func (o *ErrorInfo) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*ErrorInfo) GetDomainOk

func (o *ErrorInfo) GetDomainOk() (*string, bool)

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

func (o *ErrorInfo) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*ErrorInfo) GetMetadataOk

func (o *ErrorInfo) GetMetadataOk() (*map[string]string, bool)

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

func (o *ErrorInfo) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*ErrorInfo) GetReasonOk

func (o *ErrorInfo) GetReasonOk() (*string, bool)

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) GetType

func (o *ErrorInfo) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ErrorInfo) GetTypeOk

func (o *ErrorInfo) GetTypeOk() (*string, bool)

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) HasDomain

func (o *ErrorInfo) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ErrorInfo) HasMetadata

func (o *ErrorInfo) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ErrorInfo) HasReason

func (o *ErrorInfo) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*ErrorInfo) HasType

func (o *ErrorInfo) HasType() bool

HasType returns a boolean if a field has been set.

func (ErrorInfo) MarshalJSON

func (o ErrorInfo) MarshalJSON() ([]byte, error)

func (*ErrorInfo) SetDomain

func (o *ErrorInfo) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*ErrorInfo) SetMetadata

func (o *ErrorInfo) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*ErrorInfo) SetReason

func (o *ErrorInfo) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*ErrorInfo) SetType

func (o *ErrorInfo) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (ErrorInfo) ToMap

func (o ErrorInfo) ToMap() (map[string]interface{}, error)

func (*ErrorInfo) UnmarshalJSON

func (o *ErrorInfo) UnmarshalJSON(data []byte) (err error)

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

func NewFunction(name string) *Function

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

func (o *Function) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Function) GetCreatedAtOk

func (o *Function) 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 (*Function) GetCurrentRevision

func (o *Function) GetCurrentRevision() string

GetCurrentRevision returns the CurrentRevision field value if set, zero value otherwise.

func (*Function) GetCurrentRevisionOk

func (o *Function) 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 (*Function) GetId

func (o *Function) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Function) GetIdOk

func (o *Function) 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 (*Function) GetLabels

func (o *Function) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Function) GetLabelsOk

func (o *Function) 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 (*Function) GetName

func (o *Function) GetName() string

GetName returns the Name field value

func (*Function) GetNameOk

func (o *Function) GetNameOk() (*string, bool)

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

func (o *Function) GetStateError() string

GetStateError returns the StateError field value if set, zero value otherwise.

func (*Function) GetStateErrorOk

func (o *Function) 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 (*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

func (o *Function) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Function) GetUpdatedAtOk

func (o *Function) 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 (*Function) GetUrl

func (o *Function) GetUrl() []string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Function) GetUrlOk

func (o *Function) 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 (*Function) HasCreatedAt

func (o *Function) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Function) HasCurrentRevision

func (o *Function) HasCurrentRevision() bool

HasCurrentRevision returns a boolean if a field has been set.

func (*Function) HasId

func (o *Function) HasId() bool

HasId returns a boolean if a field has been set.

func (*Function) HasLabels

func (o *Function) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Function) HasState

func (o *Function) HasState() bool

HasState returns a boolean if a field has been set.

func (*Function) HasStateError

func (o *Function) HasStateError() bool

HasStateError returns a boolean if a field has been set.

func (*Function) HasUpdatedAt

func (o *Function) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Function) HasUrl

func (o *Function) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Function) MarshalJSON

func (o Function) MarshalJSON() ([]byte, error)

func (*Function) SetCreatedAt

func (o *Function) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Function) SetCurrentRevision

func (o *Function) SetCurrentRevision(v string)

SetCurrentRevision gets a reference to the given string and assigns it to the CurrentRevision field.

func (*Function) SetId

func (o *Function) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Function) SetLabels

func (o *Function) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Function) SetName

func (o *Function) SetName(v string)

SetName sets field value

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

func (o *Function) SetStateError(v string)

SetStateError gets a reference to the given string and assigns it to the StateError field.

func (*Function) SetUpdatedAt

func (o *Function) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Function) SetUrl

func (o *Function) SetUrl(v []string)

SetUrl gets a reference to the given []string and assigns it to the Url field.

func (Function) ToMap

func (o Function) ToMap() (map[string]interface{}, error)

func (*Function) UnmarshalJSON

func (o *Function) UnmarshalJSON(data []byte) (err error)

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 (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) GetType

func (o *Help) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Help) GetTypeOk

func (o *Help) GetTypeOk() (*string, bool)

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 (o *Help) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Help) HasType

func (o *Help) HasType() bool

HasType returns a boolean if a field has been set.

func (Help) MarshalJSON

func (o Help) MarshalJSON() ([]byte, error)
func (o *Help) SetLinks(v []HelpMessage)

SetLinks gets a reference to the given []HelpMessage and assigns it to the Links field.

func (*Help) SetType

func (o *Help) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Help) ToMap

func (o Help) ToMap() (map[string]interface{}, error)

func (*Help) UnmarshalJSON

func (o *Help) UnmarshalJSON(data []byte) (err error)

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (NullableCreateFunctionPayload) Get

func (NullableCreateFunctionPayload) IsSet

func (NullableCreateFunctionPayload) MarshalJSON

func (v NullableCreateFunctionPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateFunctionPayload) Set

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 (NullableCreateFunctionPayloadState) Get

func (NullableCreateFunctionPayloadState) IsSet

func (NullableCreateFunctionPayloadState) MarshalJSON

func (v NullableCreateFunctionPayloadState) MarshalJSON() ([]byte, error)

func (*NullableCreateFunctionPayloadState) Set

func (*NullableCreateFunctionPayloadState) UnmarshalJSON

func (v *NullableCreateFunctionPayloadState) UnmarshalJSON(src []byte) error

func (*NullableCreateFunctionPayloadState) Unset

type NullableCreateFunctionRevisionPayload

type NullableCreateFunctionRevisionPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreateFunctionRevisionPayload) Get

func (NullableCreateFunctionRevisionPayload) IsSet

func (NullableCreateFunctionRevisionPayload) MarshalJSON

func (v NullableCreateFunctionRevisionPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateFunctionRevisionPayload) Set

func (*NullableCreateFunctionRevisionPayload) UnmarshalJSON

func (v *NullableCreateFunctionRevisionPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateFunctionRevisionPayload) Unset

type NullableCreateFunctionRevisionPayloadState

type NullableCreateFunctionRevisionPayloadState struct {
	// contains filtered or unexported fields
}

func (NullableCreateFunctionRevisionPayloadState) Get

func (NullableCreateFunctionRevisionPayloadState) IsSet

func (NullableCreateFunctionRevisionPayloadState) MarshalJSON

func (*NullableCreateFunctionRevisionPayloadState) Set

func (*NullableCreateFunctionRevisionPayloadState) UnmarshalJSON

func (v *NullableCreateFunctionRevisionPayloadState) UnmarshalJSON(src []byte) error

func (*NullableCreateFunctionRevisionPayloadState) Unset

type NullableCreatePullSecretPayload

type NullableCreatePullSecretPayload struct {
	// contains filtered or unexported fields
}

func (NullableCreatePullSecretPayload) Get

func (NullableCreatePullSecretPayload) IsSet

func (NullableCreatePullSecretPayload) MarshalJSON

func (v NullableCreatePullSecretPayload) MarshalJSON() ([]byte, error)

func (*NullableCreatePullSecretPayload) Set

func (*NullableCreatePullSecretPayload) UnmarshalJSON

func (v *NullableCreatePullSecretPayload) UnmarshalJSON(src []byte) error

func (*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 (NullableErrorDetailsInner) IsSet

func (v NullableErrorDetailsInner) IsSet() bool

func (NullableErrorDetailsInner) MarshalJSON

func (v NullableErrorDetailsInner) MarshalJSON() ([]byte, error)

func (*NullableErrorDetailsInner) Set

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 (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 (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 (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 (NullableListFunctions401Response) Get

func (NullableListFunctions401Response) IsSet

func (NullableListFunctions401Response) MarshalJSON

func (v NullableListFunctions401Response) MarshalJSON() ([]byte, error)

func (*NullableListFunctions401Response) Set

func (*NullableListFunctions401Response) UnmarshalJSON

func (v *NullableListFunctions401Response) UnmarshalJSON(src []byte) error

func (*NullableListFunctions401Response) Unset

type NullableListPullSecrets

type NullableListPullSecrets struct {
	// contains filtered or unexported fields
}

func NewNullableListPullSecrets

func NewNullableListPullSecrets(val *ListPullSecrets) *NullableListPullSecrets

func (NullableListPullSecrets) Get

func (NullableListPullSecrets) IsSet

func (v NullableListPullSecrets) IsSet() bool

func (NullableListPullSecrets) MarshalJSON

func (v NullableListPullSecrets) MarshalJSON() ([]byte, error)

func (*NullableListPullSecrets) Set

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 (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 (NullableResourceLimits) IsSet

func (v NullableResourceLimits) IsSet() bool

func (NullableResourceLimits) MarshalJSON

func (v NullableResourceLimits) MarshalJSON() ([]byte, error)

func (*NullableResourceLimits) Set

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 (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 (NullableRevisionVariable) IsSet

func (v NullableRevisionVariable) IsSet() bool

func (NullableRevisionVariable) MarshalJSON

func (v NullableRevisionVariable) MarshalJSON() ([]byte, error)

func (*NullableRevisionVariable) Set

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 (NullableUpdateFunctionPayload) Get

func (NullableUpdateFunctionPayload) IsSet

func (NullableUpdateFunctionPayload) MarshalJSON

func (v NullableUpdateFunctionPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateFunctionPayload) Set

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 (NullableUpdateFunctionPayloadState) Get

func (NullableUpdateFunctionPayloadState) IsSet

func (NullableUpdateFunctionPayloadState) MarshalJSON

func (v NullableUpdateFunctionPayloadState) MarshalJSON() ([]byte, error)

func (*NullableUpdateFunctionPayloadState) Set

func (*NullableUpdateFunctionPayloadState) UnmarshalJSON

func (v *NullableUpdateFunctionPayloadState) UnmarshalJSON(src []byte) error

func (*NullableUpdateFunctionPayloadState) Unset

type NullableUpdatePullSecretPayload

type NullableUpdatePullSecretPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdatePullSecretPayload) Get

func (NullableUpdatePullSecretPayload) IsSet

func (NullableUpdatePullSecretPayload) MarshalJSON

func (v NullableUpdatePullSecretPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdatePullSecretPayload) Set

func (*NullableUpdatePullSecretPayload) UnmarshalJSON

func (v *NullableUpdatePullSecretPayload) UnmarshalJSON(src []byte) error

func (*NullableUpdatePullSecretPayload) Unset

type NullableUpdateRevisionPayload

type NullableUpdateRevisionPayload struct {
	// contains filtered or unexported fields
}

func (NullableUpdateRevisionPayload) Get

func (NullableUpdateRevisionPayload) IsSet

func (NullableUpdateRevisionPayload) MarshalJSON

func (v NullableUpdateRevisionPayload) MarshalJSON() ([]byte, error)

func (*NullableUpdateRevisionPayload) Set

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 (NullableUpdateRevisionPayloadState) Get

func (NullableUpdateRevisionPayloadState) IsSet

func (NullableUpdateRevisionPayloadState) MarshalJSON

func (v NullableUpdateRevisionPayloadState) MarshalJSON() ([]byte, error)

func (*NullableUpdateRevisionPayloadState) Set

func (*NullableUpdateRevisionPayloadState) UnmarshalJSON

func (v *NullableUpdateRevisionPayloadState) UnmarshalJSON(src []byte) error

func (*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

func (o *Revision) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Revision) GetCreatedAtOk

func (o *Revision) 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 (*Revision) GetDigest

func (o *Revision) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*Revision) GetDigestOk

func (o *Revision) 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 (*Revision) GetFunctionId

func (o *Revision) GetFunctionId() string

GetFunctionId returns the FunctionId field value if set, zero value otherwise.

func (*Revision) GetFunctionIdOk

func (o *Revision) 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 (*Revision) GetId

func (o *Revision) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Revision) GetIdOk

func (o *Revision) 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 (*Revision) GetLabels

func (o *Revision) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Revision) GetLabelsOk

func (o *Revision) 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 (*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

func (o *Revision) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Revision) GetMessageOk

func (o *Revision) 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 (*Revision) GetName

func (o *Revision) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Revision) GetNameOk

func (o *Revision) 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 (*Revision) GetOciPullSecretId

func (o *Revision) GetOciPullSecretId() string

GetOciPullSecretId returns the OciPullSecretId field value if set, zero value otherwise.

func (*Revision) GetOciPullSecretIdOk

func (o *Revision) 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 (*Revision) GetOciReference

func (o *Revision) GetOciReference() string

GetOciReference returns the OciReference field value

func (*Revision) GetOciReferenceOk

func (o *Revision) GetOciReferenceOk() (*string, bool)

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

func (o *Revision) GetStateError() string

GetStateError returns the StateError field value if set, zero value otherwise.

func (*Revision) GetStateErrorOk

func (o *Revision) 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 (*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

func (o *Revision) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Revision) GetUpdatedAtOk

func (o *Revision) 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 (*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

func (o *Revision) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*Revision) GetVersionOk

func (o *Revision) 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 (*Revision) HasCreatedAt

func (o *Revision) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Revision) HasDigest

func (o *Revision) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*Revision) HasFunctionId

func (o *Revision) HasFunctionId() bool

HasFunctionId returns a boolean if a field has been set.

func (*Revision) HasId

func (o *Revision) HasId() bool

HasId returns a boolean if a field has been set.

func (*Revision) HasLabels

func (o *Revision) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Revision) HasMessage

func (o *Revision) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Revision) HasName

func (o *Revision) HasName() bool

HasName returns a boolean if a field has been set.

func (*Revision) HasOciPullSecretId

func (o *Revision) HasOciPullSecretId() bool

HasOciPullSecretId returns a boolean if a field has been set.

func (*Revision) HasState

func (o *Revision) HasState() bool

HasState returns a boolean if a field has been set.

func (*Revision) HasStateError

func (o *Revision) HasStateError() bool

HasStateError returns a boolean if a field has been set.

func (*Revision) HasUpdatedAt

func (o *Revision) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Revision) HasVariables

func (o *Revision) HasVariables() bool

HasVariables returns a boolean if a field has been set.

func (*Revision) HasVersion

func (o *Revision) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Revision) MarshalJSON

func (o Revision) MarshalJSON() ([]byte, error)

func (*Revision) SetCreatedAt

func (o *Revision) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Revision) SetDigest

func (o *Revision) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*Revision) SetFunctionId

func (o *Revision) SetFunctionId(v string)

SetFunctionId gets a reference to the given string and assigns it to the FunctionId field.

func (*Revision) SetId

func (o *Revision) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Revision) SetLabels

func (o *Revision) SetLabels(v map[string]string)

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

func (o *Revision) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Revision) SetName

func (o *Revision) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Revision) SetOciPullSecretId

func (o *Revision) SetOciPullSecretId(v string)

SetOciPullSecretId gets a reference to the given string and assigns it to the OciPullSecretId field.

func (*Revision) SetOciReference

func (o *Revision) SetOciReference(v string)

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

func (o *Revision) SetStateError(v string)

SetStateError gets a reference to the given string and assigns it to the StateError field.

func (*Revision) SetUpdatedAt

func (o *Revision) SetUpdatedAt(v time.Time)

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

func (o *Revision) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (Revision) ToMap

func (o Revision) ToMap() (map[string]interface{}, error)

func (*Revision) UnmarshalJSON

func (o *Revision) UnmarshalJSON(data []byte) (err error)

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

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

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

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

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

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

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

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

Ptr returns reference to UpdateRevisionPayload_state value

func (*UpdateRevisionPayloadState) UnmarshalJSON

func (v *UpdateRevisionPayloadState) UnmarshalJSON(src []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL