v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=scf.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "scf.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Function_Kind             = "Function"
	Function_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Function_Kind}.String()
	Function_KindAPIVersion   = Function_Kind + "." + CRDGroupVersion.String()
	Function_GroupVersionKind = CRDGroupVersion.WithKind(Function_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Layer_Kind             = "Layer"
	Layer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Layer_Kind}.String()
	Layer_KindAPIVersion   = Layer_Kind + "." + CRDGroupVersion.String()
	Layer_GroupVersionKind = CRDGroupVersion.WithKind(Layer_Kind)
)

Repository type metadata.

View Source
var (
	Namespace_Kind             = "Namespace"
	Namespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Namespace_Kind}.String()
	Namespace_KindAPIVersion   = Namespace_Kind + "." + CRDGroupVersion.String()
	Namespace_GroupVersionKind = CRDGroupVersion.WithKind(Namespace_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CfsConfigObservation

type CfsConfigObservation struct {
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	MountSubnetID *string `json:"mountSubnetId,omitempty" tf:"mount_subnet_id,omitempty"`

	MountVPCID *string `json:"mountVpcId,omitempty" tf:"mount_vpc_id,omitempty"`
}

func (*CfsConfigObservation) DeepCopy

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

func (*CfsConfigObservation) DeepCopyInto

func (in *CfsConfigObservation) DeepCopyInto(out *CfsConfigObservation)

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

type CfsConfigParameters

type CfsConfigParameters struct {

	// File system instance ID.
	// +kubebuilder:validation:Required
	CfsID *string `json:"cfsId" tf:"cfs_id,omitempty"`

	// Local mount directory.
	// +kubebuilder:validation:Required
	LocalMountDir *string `json:"localMountDir" tf:"local_mount_dir,omitempty"`

	// File system mount instance ID.
	// +kubebuilder:validation:Required
	MountInsID *string `json:"mountInsId" tf:"mount_ins_id,omitempty"`

	// Remote mount directory.
	// +kubebuilder:validation:Required
	RemoteMountDir *string `json:"remoteMountDir" tf:"remote_mount_dir,omitempty"`

	// ID of user group.
	// +kubebuilder:validation:Required
	UserGroupID *string `json:"userGroupId" tf:"user_group_id,omitempty"`

	// ID of user.
	// +kubebuilder:validation:Required
	UserID *string `json:"userId" tf:"user_id,omitempty"`
}

func (*CfsConfigParameters) DeepCopy

func (in *CfsConfigParameters) DeepCopy() *CfsConfigParameters

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

func (*CfsConfigParameters) DeepCopyInto

func (in *CfsConfigParameters) DeepCopyInto(out *CfsConfigParameters)

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

type ContentObservation

type ContentObservation struct {
}

func (*ContentObservation) DeepCopy

func (in *ContentObservation) DeepCopy() *ContentObservation

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

func (*ContentObservation) DeepCopyInto

func (in *ContentObservation) DeepCopyInto(out *ContentObservation)

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

type ContentParameters

type ContentParameters struct {

	// Cos bucket name of the SCF layer, such as `cos-1234567890`, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"`

	// Cos bucket region of the SCF layer, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosBucketRegion *string `json:"cosBucketRegion,omitempty" tf:"cos_bucket_region,omitempty"`

	// Cos object name of the SCF layer, should have suffix `.zip` or `.jar`, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosObjectName *string `json:"cosObjectName,omitempty" tf:"cos_object_name,omitempty"`

	// Zip file of the SCF layer, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`.
	// +kubebuilder:validation:Optional
	ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"`
}

func (*ContentParameters) DeepCopy

func (in *ContentParameters) DeepCopy() *ContentParameters

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

func (*ContentParameters) DeepCopyInto

func (in *ContentParameters) DeepCopyInto(out *ContentParameters)

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"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FunctionSpec   `json:"spec"`
	Status            FunctionStatus `json:"status,omitempty"`
}

Function is the Schema for the Functions API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

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

func (mg *Function) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Function.

func (*Function) GetConnectionDetailsMapping

func (tr *Function) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Function

func (*Function) GetDeletionPolicy

func (mg *Function) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Function.

func (*Function) GetID

func (tr *Function) GetID() string

GetID returns ID of underlying Terraform resource of this Function

func (*Function) GetObservation

func (tr *Function) GetObservation() (map[string]interface{}, error)

GetObservation of this Function

func (*Function) GetParameters

func (tr *Function) GetParameters() (map[string]interface{}, error)

GetParameters of this Function

func (*Function) GetProviderConfigReference

func (mg *Function) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Function.

func (*Function) GetProviderReference

func (mg *Function) GetProviderReference() *xpv1.Reference

GetProviderReference of this Function. Deprecated: Use GetProviderConfigReference.

func (*Function) GetPublishConnectionDetailsTo

func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetTerraformResourceType

func (mg *Function) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Function

func (*Function) GetTerraformSchemaVersion

func (tr *Function) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Function) GetWriteConnectionSecretToReference

func (mg *Function) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Function.

func (*Function) LateInitialize

func (tr *Function) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Function using its observed tfState. returns True if there are any spec changes for the resource.

func (*Function) SetConditions

func (mg *Function) SetConditions(c ...xpv1.Condition)

SetConditions of this Function.

func (*Function) SetDeletionPolicy

func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Function.

func (*Function) SetObservation

func (tr *Function) SetObservation(obs map[string]interface{}) error

SetObservation for this Function

func (*Function) SetParameters

func (tr *Function) SetParameters(params map[string]interface{}) error

SetParameters for this Function

func (*Function) SetProviderConfigReference

func (mg *Function) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Function.

func (*Function) SetProviderReference

func (mg *Function) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Function. Deprecated: Use SetProviderConfigReference.

func (*Function) SetPublishConnectionDetailsTo

func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

func (mg *Function) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Function.

type FunctionList

type FunctionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Function `json:"items"`
}

FunctionList contains 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.

func (*FunctionList) GetItems

func (l *FunctionList) GetItems() []resource.Managed

GetItems of this FunctionList.

type FunctionObservation

type FunctionObservation struct {
	CfsConfig []CfsConfigObservation `json:"cfsConfig,omitempty" tf:"cfs_config,omitempty"`

	CodeError *string `json:"codeError,omitempty" tf:"code_error,omitempty"`

	CodeResult *string `json:"codeResult,omitempty" tf:"code_result,omitempty"`

	CodeSize *float64 `json:"codeSize,omitempty" tf:"code_size,omitempty"`

	EIPFixed *bool `json:"eipFixed,omitempty" tf:"eip_fixed,omitempty"`

	Eips []*string `json:"eips,omitempty" tf:"eips,omitempty"`

	ErrNo *float64 `json:"errNo,omitempty" tf:"err_no,omitempty"`

	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	InstallDependency *bool `json:"installDependency,omitempty" tf:"install_dependency,omitempty"`

	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	StatusDesc *string `json:"statusDesc,omitempty" tf:"status_desc,omitempty"`

	TriggerInfo []TriggerInfoObservation `json:"triggerInfo,omitempty" tf:"trigger_info,omitempty"`

	Vip *string `json:"vip,omitempty" tf:"vip,omitempty"`
}

func (*FunctionObservation) DeepCopy

func (in *FunctionObservation) DeepCopy() *FunctionObservation

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

func (*FunctionObservation) DeepCopyInto

func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation)

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

type FunctionParameters

type FunctionParameters struct {

	// List of CFS configurations.
	// +kubebuilder:validation:Optional
	CfsConfig []CfsConfigParameters `json:"cfsConfig,omitempty" tf:"cfs_config,omitempty"`

	// cls logset id of the SCF function.
	// +kubebuilder:validation:Optional
	ClsLogsetID *string `json:"clsLogsetId,omitempty" tf:"cls_logset_id,omitempty"`

	// cls topic id of the SCF function.
	// +kubebuilder:validation:Optional
	ClsTopicID *string `json:"clsTopicId,omitempty" tf:"cls_topic_id,omitempty"`

	// Cos bucket name of the SCF function, such as `cos-1234567890`, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"`

	// Cos bucket region of the SCF function, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosBucketRegion *string `json:"cosBucketRegion,omitempty" tf:"cos_bucket_region,omitempty"`

	// Cos object name of the SCF function, should have suffix `.zip` or `.jar`, conflict with `zip_file`.
	// +kubebuilder:validation:Optional
	CosObjectName *string `json:"cosObjectName,omitempty" tf:"cos_object_name,omitempty"`

	// Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true.
	// +kubebuilder:validation:Optional
	EnableEIPConfig *bool `json:"enableEipConfig,omitempty" tf:"enable_eip_config,omitempty"`

	// Indicates whether public net config enabled. NOTE: only `vpc_id` specified can disable public net config.
	// +kubebuilder:validation:Optional
	EnablePublicNet *bool `json:"enablePublicNet,omitempty" tf:"enable_public_net,omitempty"`

	// Environment of the SCF function.
	// +kubebuilder:validation:Optional
	Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// Handler of the SCF function. The format of name is `<filename>.<method_name>`, and it supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60.
	// +kubebuilder:validation:Required
	Handler *string `json:"handler" tf:"handler,omitempty"`

	// Image of the SCF function, conflict with “.
	// +kubebuilder:validation:Optional
	ImageConfig []ImageConfigParameters `json:"imageConfig,omitempty" tf:"image_config,omitempty"`

	// Enable L5 for SCF function, default is `false`.
	// +kubebuilder:validation:Optional
	L5Enable *bool `json:"l5Enable,omitempty" tf:"l5_enable,omitempty"`

	// The list of association layers.
	// +kubebuilder:validation:Optional
	Layers []LayersParameters `json:"layers,omitempty" tf:"layers,omitempty"`

	// Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M.
	// +kubebuilder:validation:Optional
	MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"`

	// Name of the SCF function. Name supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Namespace of the SCF function, default is `default`.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Role of the SCF function.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `PHP5`, `PHP7`, `Golang1`, and `Java8`.
	// +kubebuilder:validation:Required
	Runtime *string `json:"runtime" tf:"runtime,omitempty"`

	// Subnet ID of the SCF function.
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Tags of the SCF function.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Trigger list of the SCF function, note that if you modify the trigger list, all existing triggers will be deleted, and then create triggers in the new list. Each element contains the following attributes:
	// +kubebuilder:validation:Optional
	Triggers []TriggersParameters `json:"triggers,omitempty" tf:"triggers,omitempty"`

	// VPC ID of the SCF function.
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Zip file of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`.
	// +kubebuilder:validation:Optional
	ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"`
}

func (*FunctionParameters) DeepCopy

func (in *FunctionParameters) DeepCopy() *FunctionParameters

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

func (*FunctionParameters) DeepCopyInto

func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters)

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

type FunctionSpec

type FunctionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FunctionParameters `json:"forProvider"`
}

FunctionSpec defines the desired state of Function

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 FunctionStatus

type FunctionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FunctionObservation `json:"atProvider,omitempty"`
}

FunctionStatus defines the observed state of Function.

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 ImageConfigObservation

type ImageConfigObservation struct {
}

func (*ImageConfigObservation) DeepCopy

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

func (*ImageConfigObservation) DeepCopyInto

func (in *ImageConfigObservation) DeepCopyInto(out *ImageConfigObservation)

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

type ImageConfigParameters

type ImageConfigParameters struct {

	// the parameters of command.
	// +kubebuilder:validation:Optional
	Args *string `json:"args,omitempty" tf:"args,omitempty"`

	// The command of entrypoint.
	// +kubebuilder:validation:Optional
	Command *string `json:"command,omitempty" tf:"command,omitempty"`

	// The entrypoint of app.
	// +kubebuilder:validation:Optional
	EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// The image type. personal or enterprise.
	// +kubebuilder:validation:Required
	ImageType *string `json:"imageType" tf:"image_type,omitempty"`

	// The uri of image.
	// +kubebuilder:validation:Required
	ImageURI *string `json:"imageUri" tf:"image_uri,omitempty"`

	// The registry id of TCR. When image type is enterprise, it must be set.
	// +kubebuilder:validation:Optional
	RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"`
}

func (*ImageConfigParameters) DeepCopy

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

func (*ImageConfigParameters) DeepCopyInto

func (in *ImageConfigParameters) DeepCopyInto(out *ImageConfigParameters)

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

type Layer

type Layer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LayerSpec   `json:"spec"`
	Status            LayerStatus `json:"status,omitempty"`
}

Layer is the Schema for the Layers API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Layer) DeepCopy

func (in *Layer) DeepCopy() *Layer

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

func (*Layer) DeepCopyInto

func (in *Layer) DeepCopyInto(out *Layer)

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

func (*Layer) DeepCopyObject

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

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

func (*Layer) GetCondition

func (mg *Layer) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Layer.

func (*Layer) GetConnectionDetailsMapping

func (tr *Layer) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Layer

func (*Layer) GetDeletionPolicy

func (mg *Layer) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Layer.

func (*Layer) GetID

func (tr *Layer) GetID() string

GetID returns ID of underlying Terraform resource of this Layer

func (*Layer) GetObservation

func (tr *Layer) GetObservation() (map[string]interface{}, error)

GetObservation of this Layer

func (*Layer) GetParameters

func (tr *Layer) GetParameters() (map[string]interface{}, error)

GetParameters of this Layer

func (*Layer) GetProviderConfigReference

func (mg *Layer) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Layer.

func (*Layer) GetProviderReference

func (mg *Layer) GetProviderReference() *xpv1.Reference

GetProviderReference of this Layer. Deprecated: Use GetProviderConfigReference.

func (*Layer) GetPublishConnectionDetailsTo

func (mg *Layer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Layer.

func (*Layer) GetTerraformResourceType

func (mg *Layer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Layer

func (*Layer) GetTerraformSchemaVersion

func (tr *Layer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Layer) GetWriteConnectionSecretToReference

func (mg *Layer) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Layer.

func (*Layer) LateInitialize

func (tr *Layer) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Layer using its observed tfState. returns True if there are any spec changes for the resource.

func (*Layer) SetConditions

func (mg *Layer) SetConditions(c ...xpv1.Condition)

SetConditions of this Layer.

func (*Layer) SetDeletionPolicy

func (mg *Layer) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Layer.

func (*Layer) SetObservation

func (tr *Layer) SetObservation(obs map[string]interface{}) error

SetObservation for this Layer

func (*Layer) SetParameters

func (tr *Layer) SetParameters(params map[string]interface{}) error

SetParameters for this Layer

func (*Layer) SetProviderConfigReference

func (mg *Layer) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Layer.

func (*Layer) SetProviderReference

func (mg *Layer) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Layer. Deprecated: Use SetProviderConfigReference.

func (*Layer) SetPublishConnectionDetailsTo

func (mg *Layer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Layer.

func (*Layer) SetWriteConnectionSecretToReference

func (mg *Layer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Layer.

type LayerList

type LayerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Layer `json:"items"`
}

LayerList contains a list of Layers

func (*LayerList) DeepCopy

func (in *LayerList) DeepCopy() *LayerList

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

func (*LayerList) DeepCopyInto

func (in *LayerList) DeepCopyInto(out *LayerList)

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

func (*LayerList) DeepCopyObject

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

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

func (*LayerList) GetItems

func (l *LayerList) GetItems() []resource.Managed

GetItems of this LayerList.

type LayerObservation

type LayerObservation struct {
	CodeSha256 *string `json:"codeSha256,omitempty" tf:"code_sha_256,omitempty"`

	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	LayerVersion *float64 `json:"layerVersion,omitempty" tf:"layer_version,omitempty"`

	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*LayerObservation) DeepCopy

func (in *LayerObservation) DeepCopy() *LayerObservation

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

func (*LayerObservation) DeepCopyInto

func (in *LayerObservation) DeepCopyInto(out *LayerObservation)

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

type LayerParameters

type LayerParameters struct {

	// The compatible runtimes of layer.
	// +kubebuilder:validation:Required
	CompatibleRuntimes []*string `json:"compatibleRuntimes" tf:"compatible_runtimes,omitempty"`

	// The source code of layer.
	// +kubebuilder:validation:Required
	Content []ContentParameters `json:"content" tf:"content,omitempty"`

	// The description of layer.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of layer.
	// +kubebuilder:validation:Required
	LayerName *string `json:"layerName" tf:"layer_name,omitempty"`

	// The license info of layer.
	// +kubebuilder:validation:Optional
	LicenseInfo *string `json:"licenseInfo,omitempty" tf:"license_info,omitempty"`
}

func (*LayerParameters) DeepCopy

func (in *LayerParameters) DeepCopy() *LayerParameters

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

func (*LayerParameters) DeepCopyInto

func (in *LayerParameters) DeepCopyInto(out *LayerParameters)

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

type LayerSpec

type LayerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LayerParameters `json:"forProvider"`
}

LayerSpec defines the desired state of Layer

func (*LayerSpec) DeepCopy

func (in *LayerSpec) DeepCopy() *LayerSpec

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

func (*LayerSpec) DeepCopyInto

func (in *LayerSpec) DeepCopyInto(out *LayerSpec)

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

type LayerStatus

type LayerStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LayerObservation `json:"atProvider,omitempty"`
}

LayerStatus defines the observed state of Layer.

func (*LayerStatus) DeepCopy

func (in *LayerStatus) DeepCopy() *LayerStatus

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

func (*LayerStatus) DeepCopyInto

func (in *LayerStatus) DeepCopyInto(out *LayerStatus)

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

type LayersObservation

type LayersObservation struct {
}

func (*LayersObservation) DeepCopy

func (in *LayersObservation) DeepCopy() *LayersObservation

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

func (*LayersObservation) DeepCopyInto

func (in *LayersObservation) DeepCopyInto(out *LayersObservation)

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

type LayersParameters

type LayersParameters struct {

	// The name of Layer.
	// +kubebuilder:validation:Required
	LayerName *string `json:"layerName" tf:"layer_name,omitempty"`

	// The version of layer.
	// +kubebuilder:validation:Required
	LayerVersion *float64 `json:"layerVersion" tf:"layer_version,omitempty"`
}

func (*LayersParameters) DeepCopy

func (in *LayersParameters) DeepCopy() *LayersParameters

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

func (*LayersParameters) DeepCopyInto

func (in *LayersParameters) DeepCopyInto(out *LayersParameters)

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

type Namespace

type Namespace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NamespaceSpec   `json:"spec"`
	Status            NamespaceStatus `json:"status,omitempty"`
}

Namespace is the Schema for the Namespaces API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*Namespace) DeepCopy

func (in *Namespace) DeepCopy() *Namespace

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

func (*Namespace) DeepCopyInto

func (in *Namespace) DeepCopyInto(out *Namespace)

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

func (*Namespace) DeepCopyObject

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

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

func (*Namespace) GetCondition

func (mg *Namespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Namespace.

func (*Namespace) GetConnectionDetailsMapping

func (tr *Namespace) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Namespace

func (*Namespace) GetDeletionPolicy

func (mg *Namespace) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Namespace.

func (*Namespace) GetID

func (tr *Namespace) GetID() string

GetID returns ID of underlying Terraform resource of this Namespace

func (*Namespace) GetObservation

func (tr *Namespace) GetObservation() (map[string]interface{}, error)

GetObservation of this Namespace

func (*Namespace) GetParameters

func (tr *Namespace) GetParameters() (map[string]interface{}, error)

GetParameters of this Namespace

func (*Namespace) GetProviderConfigReference

func (mg *Namespace) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Namespace.

func (*Namespace) GetProviderReference

func (mg *Namespace) GetProviderReference() *xpv1.Reference

GetProviderReference of this Namespace. Deprecated: Use GetProviderConfigReference.

func (*Namespace) GetPublishConnectionDetailsTo

func (mg *Namespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Namespace.

func (*Namespace) GetTerraformResourceType

func (mg *Namespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Namespace

func (*Namespace) GetTerraformSchemaVersion

func (tr *Namespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Namespace) GetWriteConnectionSecretToReference

func (mg *Namespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Namespace.

func (*Namespace) LateInitialize

func (tr *Namespace) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Namespace using its observed tfState. returns True if there are any spec changes for the resource.

func (*Namespace) SetConditions

func (mg *Namespace) SetConditions(c ...xpv1.Condition)

SetConditions of this Namespace.

func (*Namespace) SetDeletionPolicy

func (mg *Namespace) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Namespace.

func (*Namespace) SetObservation

func (tr *Namespace) SetObservation(obs map[string]interface{}) error

SetObservation for this Namespace

func (*Namespace) SetParameters

func (tr *Namespace) SetParameters(params map[string]interface{}) error

SetParameters for this Namespace

func (*Namespace) SetProviderConfigReference

func (mg *Namespace) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Namespace.

func (*Namespace) SetProviderReference

func (mg *Namespace) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Namespace. Deprecated: Use SetProviderConfigReference.

func (*Namespace) SetPublishConnectionDetailsTo

func (mg *Namespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Namespace.

func (*Namespace) SetWriteConnectionSecretToReference

func (mg *Namespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Namespace.

type NamespaceList

type NamespaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Namespace `json:"items"`
}

NamespaceList contains a list of Namespaces

func (*NamespaceList) DeepCopy

func (in *NamespaceList) DeepCopy() *NamespaceList

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

func (*NamespaceList) DeepCopyInto

func (in *NamespaceList) DeepCopyInto(out *NamespaceList)

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

func (*NamespaceList) DeepCopyObject

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

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

func (*NamespaceList) GetItems

func (l *NamespaceList) GetItems() []resource.Managed

GetItems of this NamespaceList.

type NamespaceObservation

type NamespaceObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NamespaceObservation) DeepCopy

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

func (*NamespaceObservation) DeepCopyInto

func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation)

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

type NamespaceParameters

type NamespaceParameters struct {

	// Description of the SCF namespace.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Name of the SCF namespace.
	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`
}

func (*NamespaceParameters) DeepCopy

func (in *NamespaceParameters) DeepCopy() *NamespaceParameters

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

func (*NamespaceParameters) DeepCopyInto

func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters)

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

type NamespaceSpec

type NamespaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NamespaceParameters `json:"forProvider"`
}

NamespaceSpec defines the desired state of Namespace

func (*NamespaceSpec) DeepCopy

func (in *NamespaceSpec) DeepCopy() *NamespaceSpec

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

func (*NamespaceSpec) DeepCopyInto

func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec)

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

type NamespaceStatus

type NamespaceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        NamespaceObservation `json:"atProvider,omitempty"`
}

NamespaceStatus defines the observed state of Namespace.

func (*NamespaceStatus) DeepCopy

func (in *NamespaceStatus) DeepCopy() *NamespaceStatus

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

func (*NamespaceStatus) DeepCopyInto

func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus)

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

type TriggerInfoObservation

type TriggerInfoObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	CustomArgument *string `json:"customArgument,omitempty" tf:"custom_argument,omitempty"`

	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`

	ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	TriggerDesc *string `json:"triggerDesc,omitempty" tf:"trigger_desc,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*TriggerInfoObservation) DeepCopy

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

func (*TriggerInfoObservation) DeepCopyInto

func (in *TriggerInfoObservation) DeepCopyInto(out *TriggerInfoObservation)

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

type TriggerInfoParameters

type TriggerInfoParameters struct {
}

func (*TriggerInfoParameters) DeepCopy

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

func (*TriggerInfoParameters) DeepCopyInto

func (in *TriggerInfoParameters) DeepCopyInto(out *TriggerInfoParameters)

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

type TriggersObservation

type TriggersObservation struct {
}

func (*TriggersObservation) DeepCopy

func (in *TriggersObservation) DeepCopy() *TriggersObservation

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

func (*TriggersObservation) DeepCopyInto

func (in *TriggersObservation) DeepCopyInto(out *TriggersObservation)

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

type TriggersParameters

type TriggersParameters struct {

	// Region of cos bucket. if `type` is `cos`, `cos_region` is required.
	// +kubebuilder:validation:Optional
	CosRegion *string `json:"cosRegion,omitempty" tf:"cos_region,omitempty"`

	// Name of the SCF function trigger, if `type` is `ckafka`, the format of name must be `<ckafkaInstanceId>-<topicId>`; if `type` is `cos`, the name is cos bucket id, other In any case, it can be combined arbitrarily. It can only contain English letters, numbers, connectors and underscores. The maximum length is 100.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// TriggerDesc of the SCF function trigger, parameter format of `timer` is linux cron expression; parameter of `cos` type is json string `{"bucketUrl":"<name-appid>.cos.<region>.myqcloud.com","event":"cos:ObjectCreated:*","filter":{"Prefix":"","Suffix":""}}`, where `bucketUrl` is cos bucket (optional), `event` is the cos event trigger, `Prefix` is the corresponding file prefix filter condition, `Suffix` is the suffix filter condition, if not need filter condition can not pass; `cmq` type does not pass this parameter; `ckafka` type parameter format is json string `{"maxMsgNum":"1","offset":"latest"}`; `apigw` type parameter format is json string `{"api":{"authRequired":"FALSE","requestConfig":{"method":"ANY"},"isIntegratedResponse":"FALSE"},"service":{"serviceId":"service-dqzh68sg"},"release":{"environmentName":"test"}}`.
	// +kubebuilder:validation:Required
	TriggerDesc *string `json:"triggerDesc" tf:"trigger_desc,omitempty"`

	// Type of the SCF function trigger, support `cos`, `cmq`, `timer`, `ckafka`, `apigw`.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*TriggersParameters) DeepCopy

func (in *TriggersParameters) DeepCopy() *TriggersParameters

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

func (*TriggersParameters) DeepCopyInto

func (in *TriggersParameters) DeepCopyInto(out *TriggersParameters)

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