v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Overview

+groupName=fc.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: fc.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Alias

type Alias struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AliasSpec   `json:"spec,omitempty"`
	Status            AliasStatus `json:"status,omitempty"`
}

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias.

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Alias) DeepCopyObject

func (in *Alias) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Alias) SetupWebhookWithManager

func (r *Alias) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Alias) ValidateCreate

func (r *Alias) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Alias) ValidateDelete

func (r *Alias) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Alias) ValidateUpdate

func (r *Alias) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AliasList

type AliasList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Alias CRD objects
	Items []Alias `json:"items,omitempty"`
}

AliasList is a list of Aliass

func (*AliasList) DeepCopy

func (in *AliasList) DeepCopy() *AliasList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasList.

func (*AliasList) DeepCopyInto

func (in *AliasList) DeepCopyInto(out *AliasList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AliasList) DeepCopyObject

func (in *AliasList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AliasSpec

type AliasSpec struct {
	State *AliasSpecResource `json:"state,omitempty" tf:"-"`

	Resource AliasSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AliasSpec) DeepCopy

func (in *AliasSpec) DeepCopy() *AliasSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasSpec.

func (*AliasSpec) DeepCopyInto

func (in *AliasSpec) DeepCopyInto(out *AliasSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AliasSpecResource

type AliasSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AliasName *string `json:"aliasName" tf:"alias_name"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	RoutingConfig  *AliasSpecRoutingConfig `json:"routingConfig,omitempty" tf:"routing_config"`
	ServiceName    *string                 `json:"serviceName" tf:"service_name"`
	ServiceVersion *string                 `json:"serviceVersion" tf:"service_version"`
}

func (*AliasSpecResource) DeepCopy

func (in *AliasSpecResource) DeepCopy() *AliasSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasSpecResource.

func (*AliasSpecResource) DeepCopyInto

func (in *AliasSpecResource) DeepCopyInto(out *AliasSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AliasSpecRoutingConfig

type AliasSpecRoutingConfig struct {
	// +optional
	AdditionalVersionWeights *map[string]float64 `json:"additionalVersionWeights,omitempty" tf:"additional_version_weights"`
}

func (*AliasSpecRoutingConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasSpecRoutingConfig.

func (*AliasSpecRoutingConfig) DeepCopyInto

func (in *AliasSpecRoutingConfig) DeepCopyInto(out *AliasSpecRoutingConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AliasSpecRoutingConfigCodec

type AliasSpecRoutingConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (AliasSpecRoutingConfigCodec) Decode

func (AliasSpecRoutingConfigCodec) Encode

func (AliasSpecRoutingConfigCodec) IsEmpty

type AliasStatus

type AliasStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AliasStatus) DeepCopy

func (in *AliasStatus) DeepCopy() *AliasStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasStatus.

func (*AliasStatus) DeepCopyInto

func (in *AliasStatus) DeepCopyInto(out *AliasStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDomain

type CustomDomain struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CustomDomainSpec   `json:"spec,omitempty"`
	Status            CustomDomainStatus `json:"status,omitempty"`
}

func (*CustomDomain) DeepCopy

func (in *CustomDomain) DeepCopy() *CustomDomain

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomain.

func (*CustomDomain) DeepCopyInto

func (in *CustomDomain) DeepCopyInto(out *CustomDomain)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomDomain) DeepCopyObject

func (in *CustomDomain) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CustomDomain) SetupWebhookWithManager

func (r *CustomDomain) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CustomDomain) ValidateCreate

func (r *CustomDomain) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CustomDomain) ValidateDelete

func (r *CustomDomain) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CustomDomain) ValidateUpdate

func (r *CustomDomain) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CustomDomainList

type CustomDomainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CustomDomain CRD objects
	Items []CustomDomain `json:"items,omitempty"`
}

CustomDomainList is a list of CustomDomains

func (*CustomDomainList) DeepCopy

func (in *CustomDomainList) DeepCopy() *CustomDomainList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainList.

func (*CustomDomainList) DeepCopyInto

func (in *CustomDomainList) DeepCopyInto(out *CustomDomainList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomDomainList) DeepCopyObject

func (in *CustomDomainList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CustomDomainSpec

type CustomDomainSpec struct {
	State *CustomDomainSpecResource `json:"state,omitempty" tf:"-"`

	Resource CustomDomainSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CustomDomainSpec) DeepCopy

func (in *CustomDomainSpec) DeepCopy() *CustomDomainSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainSpec.

func (*CustomDomainSpec) DeepCopyInto

func (in *CustomDomainSpec) DeepCopyInto(out *CustomDomainSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDomainSpecCertConfig

type CustomDomainSpecCertConfig struct {
	CertName    *string `json:"certName" tf:"cert_name"`
	Certificate *string `json:"certificate" tf:"certificate"`
	PrivateKey  *string `json:"-" sensitive:"true" tf:"private_key"`
}

func (*CustomDomainSpecCertConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainSpecCertConfig.

func (*CustomDomainSpecCertConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDomainSpecCertConfigCodec

type CustomDomainSpecCertConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (CustomDomainSpecCertConfigCodec) Decode

func (CustomDomainSpecCertConfigCodec) Encode

func (CustomDomainSpecCertConfigCodec) IsEmpty

type CustomDomainSpecResource

type CustomDomainSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
	// +optional
	ApiVersion *string `json:"apiVersion,omitempty" tf:"api_version"`
	// +optional
	CertConfig *CustomDomainSpecCertConfig `json:"certConfig,omitempty" tf:"cert_config"`
	// +optional
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time"`
	DomainName  *string `json:"domainName" tf:"domain_name"`
	// +optional
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" tf:"last_modified_time"`
	Protocol         *string `json:"protocol" tf:"protocol"`
	// +optional
	RouteConfig []CustomDomainSpecRouteConfig `json:"routeConfig,omitempty" tf:"route_config"`
}

func (*CustomDomainSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainSpecResource.

func (*CustomDomainSpecResource) DeepCopyInto

func (in *CustomDomainSpecResource) DeepCopyInto(out *CustomDomainSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDomainSpecRouteConfig

type CustomDomainSpecRouteConfig struct {
	FunctionName *string `json:"functionName" tf:"function_name"`
	// +optional
	Methods []string `json:"methods,omitempty" tf:"methods"`
	Path    *string  `json:"path" tf:"path"`
	// +optional
	Qualifier   *string `json:"qualifier,omitempty" tf:"qualifier"`
	ServiceName *string `json:"serviceName" tf:"service_name"`
}

func (*CustomDomainSpecRouteConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainSpecRouteConfig.

func (*CustomDomainSpecRouteConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDomainStatus

type CustomDomainStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CustomDomainStatus) DeepCopy

func (in *CustomDomainStatus) DeepCopy() *CustomDomainStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainStatus.

func (*CustomDomainStatus) DeepCopyInto

func (in *CustomDomainStatus) DeepCopyInto(out *CustomDomainStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Function

type Function struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FunctionSpec   `json:"spec,omitempty"`
	Status            FunctionStatus `json:"status,omitempty"`
}

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Function) DeepCopyObject

func (in *Function) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Function) SetupWebhookWithManager

func (r *Function) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Function) ValidateCreate

func (r *Function) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Function) ValidateDelete

func (r *Function) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Function) ValidateUpdate

func (r *Function) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FunctionAsyncInvokeConfig

type FunctionAsyncInvokeConfig struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FunctionAsyncInvokeConfigSpec   `json:"spec,omitempty"`
	Status            FunctionAsyncInvokeConfigStatus `json:"status,omitempty"`
}

func (*FunctionAsyncInvokeConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfig.

func (*FunctionAsyncInvokeConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FunctionAsyncInvokeConfig) DeepCopyObject

func (in *FunctionAsyncInvokeConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FunctionAsyncInvokeConfig) SetupWebhookWithManager

func (r *FunctionAsyncInvokeConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FunctionAsyncInvokeConfig) ValidateCreate

func (r *FunctionAsyncInvokeConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FunctionAsyncInvokeConfig) ValidateDelete

func (r *FunctionAsyncInvokeConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FunctionAsyncInvokeConfig) ValidateUpdate

func (r *FunctionAsyncInvokeConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FunctionAsyncInvokeConfigList

type FunctionAsyncInvokeConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of FunctionAsyncInvokeConfig CRD objects
	Items []FunctionAsyncInvokeConfig `json:"items,omitempty"`
}

FunctionAsyncInvokeConfigList is a list of FunctionAsyncInvokeConfigs

func (*FunctionAsyncInvokeConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigList.

func (*FunctionAsyncInvokeConfigList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FunctionAsyncInvokeConfigList) DeepCopyObject

func (in *FunctionAsyncInvokeConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FunctionAsyncInvokeConfigSpec

type FunctionAsyncInvokeConfigSpec struct {
	State *FunctionAsyncInvokeConfigSpecResource `json:"state,omitempty" tf:"-"`

	Resource FunctionAsyncInvokeConfigSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*FunctionAsyncInvokeConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigSpec.

func (*FunctionAsyncInvokeConfigSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionAsyncInvokeConfigSpecDestinationConfig

type FunctionAsyncInvokeConfigSpecDestinationConfig struct {
	// +optional
	OnFailure *FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure `json:"onFailure,omitempty" tf:"on_failure"`
	// +optional
	OnSuccess *FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess `json:"onSuccess,omitempty" tf:"on_success"`
}

func (*FunctionAsyncInvokeConfigSpecDestinationConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigSpecDestinationConfig.

func (*FunctionAsyncInvokeConfigSpecDestinationConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionAsyncInvokeConfigSpecDestinationConfigCodec

type FunctionAsyncInvokeConfigSpecDestinationConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (FunctionAsyncInvokeConfigSpecDestinationConfigCodec) Decode

func (FunctionAsyncInvokeConfigSpecDestinationConfigCodec) Encode

func (FunctionAsyncInvokeConfigSpecDestinationConfigCodec) IsEmpty

type FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure

type FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure struct {
	Destination *string `json:"destination" tf:"destination"`
}

func (*FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure.

func (*FunctionAsyncInvokeConfigSpecDestinationConfigOnFailure) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionAsyncInvokeConfigSpecDestinationConfigOnFailureCodec

type FunctionAsyncInvokeConfigSpecDestinationConfigOnFailureCodec struct {
}

+k8s:deepcopy-gen=false

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnFailureCodec) Decode

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnFailureCodec) Encode

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnFailureCodec) IsEmpty

type FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess

type FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess struct {
	Destination *string `json:"destination" tf:"destination"`
}

func (*FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess.

func (*FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccess) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccessCodec

type FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccessCodec struct {
}

+k8s:deepcopy-gen=false

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccessCodec) Decode

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccessCodec) Encode

func (FunctionAsyncInvokeConfigSpecDestinationConfigOnSuccessCodec) IsEmpty

type FunctionAsyncInvokeConfigSpecResource

type FunctionAsyncInvokeConfigSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time"`
	// +optional
	DestinationConfig *FunctionAsyncInvokeConfigSpecDestinationConfig `json:"destinationConfig,omitempty" tf:"destination_config"`
	FunctionName      *string                                         `json:"functionName" tf:"function_name"`
	// +optional
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" tf:"last_modified_time"`
	// +optional
	MaximumEventAgeInSeconds *int64 `json:"maximumEventAgeInSeconds,omitempty" tf:"maximum_event_age_in_seconds"`
	// +optional
	MaximumRetryAttempts *int64 `json:"maximumRetryAttempts,omitempty" tf:"maximum_retry_attempts"`
	// +optional
	Qualifier   *string `json:"qualifier,omitempty" tf:"qualifier"`
	ServiceName *string `json:"serviceName" tf:"service_name"`
}

func (*FunctionAsyncInvokeConfigSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigSpecResource.

func (*FunctionAsyncInvokeConfigSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionAsyncInvokeConfigStatus

type FunctionAsyncInvokeConfigStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*FunctionAsyncInvokeConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionAsyncInvokeConfigStatus.

func (*FunctionAsyncInvokeConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionList

type FunctionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Function CRD objects
	Items []Function `json:"items,omitempty"`
}

FunctionList is a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FunctionList) DeepCopyObject

func (in *FunctionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FunctionSpec

type FunctionSpec struct {
	State *FunctionSpecResource `json:"state,omitempty" tf:"-"`

	Resource FunctionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionSpecCustomContainerConfig

type FunctionSpecCustomContainerConfig struct {
	// +optional
	Args *string `json:"args,omitempty" tf:"args"`
	// +optional
	Command *string `json:"command,omitempty" tf:"command"`
	Image   *string `json:"image" tf:"image"`
}

func (*FunctionSpecCustomContainerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpecCustomContainerConfig.

func (*FunctionSpecCustomContainerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionSpecCustomContainerConfigCodec

type FunctionSpecCustomContainerConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (FunctionSpecCustomContainerConfigCodec) Decode

func (FunctionSpecCustomContainerConfigCodec) Encode

func (FunctionSpecCustomContainerConfigCodec) IsEmpty

type FunctionSpecResource

type FunctionSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CaPort *int64 `json:"caPort,omitempty" tf:"ca_port"`
	// +optional
	CodeChecksum *string `json:"codeChecksum,omitempty" tf:"code_checksum"`
	// +optional
	CustomContainerConfig *FunctionSpecCustomContainerConfig `json:"customContainerConfig,omitempty" tf:"custom_container_config"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	EnvironmentVariables map[string]string `json:"environmentVariables,omitempty" tf:"environment_variables"`
	// +optional
	Filename *string `json:"filename,omitempty" tf:"filename"`
	// +optional
	FunctionID *string `json:"functionID,omitempty" tf:"function_id"`
	Handler    *string `json:"handler" tf:"handler"`
	// +optional
	InitializationTimeout *int64 `json:"initializationTimeout,omitempty" tf:"initialization_timeout"`
	// +optional
	Initializer *string `json:"initializer,omitempty" tf:"initializer"`
	// +optional
	InstanceConcurrency *int64 `json:"instanceConcurrency,omitempty" tf:"instance_concurrency"`
	// +optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"`
	// +optional
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified"`
	// +optional
	MemorySize *int64 `json:"memorySize,omitempty" tf:"memory_size"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	OssBucket *string `json:"ossBucket,omitempty" tf:"oss_bucket"`
	// +optional
	OssKey  *string `json:"ossKey,omitempty" tf:"oss_key"`
	Runtime *string `json:"runtime" tf:"runtime"`
	Service *string `json:"service" tf:"service"`
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
}

func (*FunctionSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpecResource.

func (*FunctionSpecResource) DeepCopyInto

func (in *FunctionSpecResource) DeepCopyInto(out *FunctionSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionStatus

type FunctionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec,omitempty"`
	Status            ServiceStatus `json:"status,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Service) DeepCopyObject

func (in *Service) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Service) SetupWebhookWithManager

func (r *Service) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Service) ValidateCreate

func (r *Service) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Service) ValidateDelete

func (r *Service) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Service) ValidateUpdate

func (r *Service) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServiceList

type ServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Service CRD objects
	Items []Service `json:"items,omitempty"`
}

ServiceList is a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceList) DeepCopyObject

func (in *ServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceSpec

type ServiceSpec struct {
	State *ServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecLogConfig

type ServiceSpecLogConfig struct {
	Logstore *string `json:"logstore" tf:"logstore"`
	Project  *string `json:"project" tf:"project"`
}

func (*ServiceSpecLogConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecLogConfig.

func (*ServiceSpecLogConfig) DeepCopyInto

func (in *ServiceSpecLogConfig) DeepCopyInto(out *ServiceSpecLogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecLogConfigCodec

type ServiceSpecLogConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecLogConfigCodec) Decode

func (ServiceSpecLogConfigCodec) Encode

func (ServiceSpecLogConfigCodec) IsEmpty

type ServiceSpecNasConfig

type ServiceSpecNasConfig struct {
	GroupID     *int64                            `json:"groupID" tf:"group_id"`
	MountPoints []ServiceSpecNasConfigMountPoints `json:"mountPoints" tf:"mount_points"`
	UserID      *int64                            `json:"userID" tf:"user_id"`
}

func (*ServiceSpecNasConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecNasConfig.

func (*ServiceSpecNasConfig) DeepCopyInto

func (in *ServiceSpecNasConfig) DeepCopyInto(out *ServiceSpecNasConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecNasConfigCodec

type ServiceSpecNasConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecNasConfigCodec) Decode

func (ServiceSpecNasConfigCodec) Encode

func (ServiceSpecNasConfigCodec) IsEmpty

type ServiceSpecNasConfigMountPoints

type ServiceSpecNasConfigMountPoints struct {
	MountDir   *string `json:"mountDir" tf:"mount_dir"`
	ServerAddr *string `json:"serverAddr" tf:"server_addr"`
}

func (*ServiceSpecNasConfigMountPoints) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecNasConfigMountPoints.

func (*ServiceSpecNasConfigMountPoints) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecResource

type ServiceSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	InternetAccess *bool `json:"internetAccess,omitempty" tf:"internet_access"`
	// +optional
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified"`
	// +optional
	LogConfig *ServiceSpecLogConfig `json:"logConfig,omitempty" tf:"log_config"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NasConfig *ServiceSpecNasConfig `json:"nasConfig,omitempty" tf:"nas_config"`
	// +optional
	Publish *bool `json:"publish,omitempty" tf:"publish"`
	// +optional
	Role *string `json:"role,omitempty" tf:"role"`
	// +optional
	ServiceID *string `json:"serviceID,omitempty" tf:"service_id"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	// +optional
	VpcConfig *ServiceSpecVpcConfig `json:"vpcConfig,omitempty" tf:"vpc_config"`
}

func (*ServiceSpecResource) DeepCopy

func (in *ServiceSpecResource) DeepCopy() *ServiceSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecResource.

func (*ServiceSpecResource) DeepCopyInto

func (in *ServiceSpecResource) DeepCopyInto(out *ServiceSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecVpcConfig

type ServiceSpecVpcConfig struct {
	SecurityGroupID *string `json:"securityGroupID" tf:"security_group_id"`
	// +optional
	VpcID      *string  `json:"vpcID,omitempty" tf:"vpc_id"`
	VswitchIDS []string `json:"vswitchIDS" tf:"vswitch_ids"`
}

func (*ServiceSpecVpcConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpecVpcConfig.

func (*ServiceSpecVpcConfig) DeepCopyInto

func (in *ServiceSpecVpcConfig) DeepCopyInto(out *ServiceSpecVpcConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpecVpcConfigCodec

type ServiceSpecVpcConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecVpcConfigCodec) Decode

func (ServiceSpecVpcConfigCodec) Encode

func (ServiceSpecVpcConfigCodec) IsEmpty

type ServiceStatus

type ServiceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Trigger

type Trigger struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TriggerSpec   `json:"spec,omitempty"`
	Status            TriggerStatus `json:"status,omitempty"`
}

func (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Trigger) DeepCopyObject

func (in *Trigger) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Trigger) SetupWebhookWithManager

func (r *Trigger) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Trigger) ValidateCreate

func (r *Trigger) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Trigger) ValidateDelete

func (r *Trigger) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Trigger) ValidateUpdate

func (r *Trigger) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type TriggerList

type TriggerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Trigger CRD objects
	Items []Trigger `json:"items,omitempty"`
}

TriggerList is a list of Triggers

func (*TriggerList) DeepCopy

func (in *TriggerList) DeepCopy() *TriggerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerList.

func (*TriggerList) DeepCopyInto

func (in *TriggerList) DeepCopyInto(out *TriggerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TriggerList) DeepCopyObject

func (in *TriggerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TriggerSpec

type TriggerSpec struct {
	State *TriggerSpecResource `json:"state,omitempty" tf:"-"`

	Resource TriggerSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*TriggerSpec) DeepCopy

func (in *TriggerSpec) DeepCopy() *TriggerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpec.

func (*TriggerSpec) DeepCopyInto

func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TriggerSpecResource

type TriggerSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	ConfigMns *string `json:"configMns,omitempty" tf:"config_mns"`
	Function  *string `json:"function" tf:"function"`
	// +optional
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	Role    *string `json:"role,omitempty" tf:"role"`
	Service *string `json:"service" tf:"service"`
	// +optional
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn"`
	// +optional
	TriggerID *string `json:"triggerID,omitempty" tf:"trigger_id"`
	Type      *string `json:"type" tf:"type"`
}

func (*TriggerSpecResource) DeepCopy

func (in *TriggerSpecResource) DeepCopy() *TriggerSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpecResource.

func (*TriggerSpecResource) DeepCopyInto

func (in *TriggerSpecResource) DeepCopyInto(out *TriggerSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TriggerStatus

type TriggerStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*TriggerStatus) DeepCopy

func (in *TriggerStatus) DeepCopy() *TriggerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStatus.

func (*TriggerStatus) DeepCopyInto

func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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