Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=scf.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CfsConfigInitParameters
- type CfsConfigObservation
- type CfsConfigParameters
- type ContentInitParameters
- type ContentObservation
- type ContentParameters
- type Function
- func (in *Function) DeepCopy() *Function
- func (in *Function) DeepCopyInto(out *Function)
- func (in *Function) DeepCopyObject() runtime.Object
- func (mg *Function) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Function) GetConnectionDetailsMapping() map[string]string
- func (mg *Function) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Function) GetID() string
- func (tr *Function) GetInitParameters() (map[string]any, error)
- func (mg *Function) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Function) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Function) GetObservation() (map[string]any, error)
- func (tr *Function) GetParameters() (map[string]any, error)
- func (mg *Function) GetProviderConfigReference() *xpv1.Reference
- func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Function) GetTerraformResourceType() string
- func (tr *Function) GetTerraformSchemaVersion() int
- func (mg *Function) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Function) Hub()
- func (tr *Function) LateInitialize(attrs []byte) (bool, error)
- func (mg *Function) SetConditions(c ...xpv1.Condition)
- func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Function) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Function) SetObservation(obs map[string]any) error
- func (tr *Function) SetParameters(params map[string]any) error
- func (mg *Function) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Function) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FunctionInitParameters
- type FunctionList
- type FunctionObservation
- type FunctionParameters
- type FunctionSpec
- type FunctionStatus
- type ImageConfigInitParameters
- type ImageConfigObservation
- type ImageConfigParameters
- type IntranetConfigInitParameters
- type IntranetConfigObservation
- type IntranetConfigParameters
- type Layer
- func (in *Layer) DeepCopy() *Layer
- func (in *Layer) DeepCopyInto(out *Layer)
- func (in *Layer) DeepCopyObject() runtime.Object
- func (mg *Layer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Layer) GetConnectionDetailsMapping() map[string]string
- func (mg *Layer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Layer) GetID() string
- func (tr *Layer) GetInitParameters() (map[string]any, error)
- func (mg *Layer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Layer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Layer) GetObservation() (map[string]any, error)
- func (tr *Layer) GetParameters() (map[string]any, error)
- func (mg *Layer) GetProviderConfigReference() *xpv1.Reference
- func (mg *Layer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Layer) GetTerraformResourceType() string
- func (tr *Layer) GetTerraformSchemaVersion() int
- func (mg *Layer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Layer) Hub()
- func (tr *Layer) LateInitialize(attrs []byte) (bool, error)
- func (mg *Layer) SetConditions(c ...xpv1.Condition)
- func (mg *Layer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Layer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Layer) SetObservation(obs map[string]any) error
- func (tr *Layer) SetParameters(params map[string]any) error
- func (mg *Layer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Layer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Layer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LayerInitParameters
- type LayerList
- type LayerObservation
- type LayerParameters
- type LayerSpec
- type LayerStatus
- type LayersInitParameters
- type LayersObservation
- type LayersParameters
- type ScfNamespace
- func (in *ScfNamespace) DeepCopy() *ScfNamespace
- func (in *ScfNamespace) DeepCopyInto(out *ScfNamespace)
- func (in *ScfNamespace) DeepCopyObject() runtime.Object
- func (mg *ScfNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ScfNamespace) GetConnectionDetailsMapping() map[string]string
- func (mg *ScfNamespace) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ScfNamespace) GetID() string
- func (tr *ScfNamespace) GetInitParameters() (map[string]any, error)
- func (mg *ScfNamespace) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ScfNamespace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ScfNamespace) GetObservation() (map[string]any, error)
- func (tr *ScfNamespace) GetParameters() (map[string]any, error)
- func (mg *ScfNamespace) GetProviderConfigReference() *xpv1.Reference
- func (mg *ScfNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ScfNamespace) GetTerraformResourceType() string
- func (tr *ScfNamespace) GetTerraformSchemaVersion() int
- func (mg *ScfNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ScfNamespace) Hub()
- func (tr *ScfNamespace) LateInitialize(attrs []byte) (bool, error)
- func (mg *ScfNamespace) SetConditions(c ...xpv1.Condition)
- func (mg *ScfNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ScfNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ScfNamespace) SetObservation(obs map[string]any) error
- func (tr *ScfNamespace) SetParameters(params map[string]any) error
- func (mg *ScfNamespace) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ScfNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ScfNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ScfNamespaceInitParameters
- type ScfNamespaceList
- type ScfNamespaceObservation
- type ScfNamespaceParameters
- type ScfNamespaceSpec
- type ScfNamespaceStatus
- type TriggerInfoInitParameters
- type TriggerInfoObservation
- type TriggerInfoParameters
- type TriggersInitParameters
- type TriggersObservation
- type TriggersParameters
Constants ¶
const ( CRDGroup = "scf.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 )
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.
var ( ScfNamespace_Kind = "ScfNamespace" ScfNamespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ScfNamespace_Kind}.String() ScfNamespace_KindAPIVersion = ScfNamespace_Kind + "." + CRDGroupVersion.String() ScfNamespace_GroupVersionKind = CRDGroupVersion.WithKind(ScfNamespace_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CfsConfigInitParameters ¶ added in v0.8.0
type CfsConfigInitParameters struct { // File system instance ID. // File system instance ID. CfsID *string `json:"cfsId,omitempty" tf:"cfs_id,omitempty"` // Local mount directory. // Local mount directory. LocalMountDir *string `json:"localMountDir,omitempty" tf:"local_mount_dir,omitempty"` // File system mount instance ID. // File system mount instance ID. MountInsID *string `json:"mountInsId,omitempty" tf:"mount_ins_id,omitempty"` // Remote mount directory. // Remote mount directory. RemoteMountDir *string `json:"remoteMountDir,omitempty" tf:"remote_mount_dir,omitempty"` // ID of user group. // ID of user group. UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"` // ID of user. // ID of user. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*CfsConfigInitParameters) DeepCopy ¶ added in v0.8.0
func (in *CfsConfigInitParameters) DeepCopy() *CfsConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CfsConfigInitParameters.
func (*CfsConfigInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *CfsConfigInitParameters) DeepCopyInto(out *CfsConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CfsConfigObservation ¶
type CfsConfigObservation struct { // File system instance ID. // File system instance ID. CfsID *string `json:"cfsId,omitempty" tf:"cfs_id,omitempty"` // (Readonly) File system ip address. IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // Local mount directory. // Local mount directory. LocalMountDir *string `json:"localMountDir,omitempty" tf:"local_mount_dir,omitempty"` // File system mount instance ID. // File system mount instance ID. MountInsID *string `json:"mountInsId,omitempty" tf:"mount_ins_id,omitempty"` // Subnet ID of the SCF function. // (Readonly) File system subnet ID. MountSubnetID *string `json:"mountSubnetId,omitempty" tf:"mount_subnet_id,omitempty"` // VPC ID of the SCF function. // (Readonly) File system virtual private network ID. MountVPCID *string `json:"mountVpcId,omitempty" tf:"mount_vpc_id,omitempty"` // Remote mount directory. // Remote mount directory. RemoteMountDir *string `json:"remoteMountDir,omitempty" tf:"remote_mount_dir,omitempty"` // ID of user group. // ID of user group. UserGroupID *string `json:"userGroupId,omitempty" tf:"user_group_id,omitempty"` // ID of user. // ID of user. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*CfsConfigObservation) DeepCopy ¶
func (in *CfsConfigObservation) DeepCopy() *CfsConfigObservation
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. // File system instance ID. // +kubebuilder:validation:Optional CfsID *string `json:"cfsId" tf:"cfs_id,omitempty"` // Local mount directory. // Local mount directory. // +kubebuilder:validation:Optional LocalMountDir *string `json:"localMountDir" tf:"local_mount_dir,omitempty"` // File system mount instance ID. // File system mount instance ID. // +kubebuilder:validation:Optional MountInsID *string `json:"mountInsId" tf:"mount_ins_id,omitempty"` // Remote mount directory. // Remote mount directory. // +kubebuilder:validation:Optional RemoteMountDir *string `json:"remoteMountDir" tf:"remote_mount_dir,omitempty"` // ID of user group. // ID of user group. // +kubebuilder:validation:Optional UserGroupID *string `json:"userGroupId" tf:"user_group_id,omitempty"` // ID of user. // ID of user. // +kubebuilder:validation:Optional 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 ContentInitParameters ¶ added in v0.8.0
type ContentInitParameters struct { // Cos bucket name of the SCF layer, such as cos-1234567890, conflict with zip_file. // Cos bucket name of the SCF layer, such as `cos-1234567890`, conflict with `zip_file`. CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"` // Cos bucket region of the SCF layer, conflict with zip_file. // Cos bucket region of the SCF layer, conflict with `zip_file`. 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. // Cos object name of the SCF layer, should have suffix `.zip` or `.jar`, conflict with `zip_file`. 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. // Zip file of the SCF layer, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`. ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"` }
func (*ContentInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ContentInitParameters) DeepCopy() *ContentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentInitParameters.
func (*ContentInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ContentInitParameters) DeepCopyInto(out *ContentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContentObservation ¶
type ContentObservation struct { // Cos bucket name of the SCF layer, such as cos-1234567890, conflict with zip_file. // Cos bucket name of the SCF layer, such as `cos-1234567890`, conflict with `zip_file`. CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"` // Cos bucket region of the SCF layer, conflict with zip_file. // Cos bucket region of the SCF layer, conflict with `zip_file`. 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. // Cos object name of the SCF layer, should have suffix `.zip` or `.jar`, conflict with `zip_file`. 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. // Zip file of the SCF layer, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`. ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"` }
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. // 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. // 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. // 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. // 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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FunctionSpec `json:"spec"` Status FunctionStatus `json:"status,omitempty"` }
Function is the Schema for the Functions API. Provide a resource to create a SCF function. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Function
func (*Function) GetDeletionPolicy ¶
func (mg *Function) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Function.
func (*Function) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Function
func (*Function) GetManagementPolicies ¶ added in v0.8.0
func (mg *Function) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Function.
func (*Function) GetMergedParameters ¶ added in v0.8.1
GetInitParameters of this Function
func (*Function) GetObservation ¶
GetObservation of this Function
func (*Function) GetParameters ¶
GetParameters of this Function
func (*Function) GetProviderConfigReference ¶
GetProviderConfigReference of this Function.
func (*Function) GetPublishConnectionDetailsTo ¶
func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Function.
func (*Function) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Function
func (*Function) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Function) GetWriteConnectionSecretToReference ¶
func (mg *Function) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Function.
func (*Function) Hub ¶ added in v0.8.1
func (tr *Function) Hub()
Hub marks this type as a conversion hub.
func (*Function) LateInitialize ¶
LateInitialize this Function using its observed tfState. returns True if there are any spec changes for the resource.
func (*Function) SetConditions ¶
SetConditions of this Function.
func (*Function) SetDeletionPolicy ¶
func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Function.
func (*Function) SetManagementPolicies ¶ added in v0.8.0
func (mg *Function) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Function.
func (*Function) SetObservation ¶
SetObservation for this Function
func (*Function) SetParameters ¶
SetParameters for this Function
func (*Function) SetProviderConfigReference ¶
SetProviderConfigReference of this Function.
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 FunctionInitParameters ¶ added in v0.8.0
type FunctionInitParameters struct { // Whether SCF function asynchronous attribute is enabled. TRUE is open, FALSE is close. // Whether SCF function asynchronous attribute is enabled. `TRUE` is open, `FALSE` is close. AsyncRunEnable *string `json:"asyncRunEnable,omitempty" tf:"async_run_enable,omitempty"` // List of CFS configurations. // List of CFS configurations. CfsConfig []CfsConfigInitParameters `json:"cfsConfig,omitempty" tf:"cfs_config,omitempty"` // cls logset id of the SCF function. // cls logset id of the SCF function. ClsLogsetID *string `json:"clsLogsetId,omitempty" tf:"cls_logset_id,omitempty"` // cls topic id of the SCF function. // cls topic id of the SCF function. 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. // Cos bucket name of the SCF function, such as `cos-1234567890`, conflict with `zip_file`. CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"` // Cos bucket region of the SCF function, conflict with zip_file. // Cos bucket region of the SCF function, conflict with `zip_file`. 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. // Cos object name of the SCF function, should have suffix `.zip` or `.jar`, conflict with `zip_file`. CosObjectName *string `json:"cosObjectName,omitempty" tf:"cos_object_name,omitempty"` // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. DNSCache *bool `json:"dnsCache,omitempty" tf:"dns_cache,omitempty"` // Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. // Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Indicates whether EIP config set to ENABLE when enable_public_net was true. Default false. // Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`. EnableEIPConfig *bool `json:"enableEipConfig,omitempty" tf:"enable_eip_config,omitempty"` // Indicates whether public net config enabled. Default false. NOTE: only vpc_id specified can disable public net config. // Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config. EnablePublicNet *bool `json:"enablePublicNet,omitempty" tf:"enable_public_net,omitempty"` // Environment of the SCF function. // Environment of the SCF function. // +mapType=granular Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"` // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. FuncType *string `json:"funcType,omitempty" tf:"func_type,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. // 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. Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // Image of the SCF function, conflict with cos_bucket_name, cos_object_name, cos_bucket_region, zip_file. // Image of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`, `zip_file`. ImageConfig []ImageConfigInitParameters `json:"imageConfig,omitempty" tf:"image_config,omitempty"` // Intranet access configuration. // Intranet access configuration. IntranetConfig []IntranetConfigInitParameters `json:"intranetConfig,omitempty" tf:"intranet_config,omitempty"` // Enable L5 for SCF function, default is false. // Enable L5 for SCF function, default is `false`. L5Enable *bool `json:"l5Enable,omitempty" tf:"l5_enable,omitempty"` // The list of association layers. // The list of association layers. Layers []LayersInitParameters `json:"layers,omitempty" tf:"layers,omitempty"` // Memory size of the SCF function, unit is MB. The default is 128MB. The ladder is 128M. // Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M. 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. // 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. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Namespace of the SCF function, default is default. // Namespace of the SCF function, default is `default`. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Role of the SCF function. // Role of the SCF function. 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, Nodejs12.16, Php5.2, Php7.4, Go1, Java8, and CustomRuntime, default is Python2.7. // Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `Nodejs12.16`, `Php5.2`, `Php7.4`, `Go1`, `Java8`, and `CustomRuntime`, default is `Python2.7`. Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // Subnet ID of the SCF function. // Subnet ID of the SCF function. SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Tags of the SCF function. // Tags of the SCF function. // +mapType=granular 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. // Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900. 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: // 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: Triggers []TriggersInitParameters `json:"triggers,omitempty" tf:"triggers,omitempty"` // VPC ID of the SCF function. // VPC ID of the SCF function. 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. // Zip file of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`. ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,omitempty"` }
func (*FunctionInitParameters) DeepCopy ¶ added in v0.8.0
func (in *FunctionInitParameters) DeepCopy() *FunctionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionInitParameters.
func (*FunctionInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters)
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 []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 { // Whether SCF function asynchronous attribute is enabled. TRUE is open, FALSE is close. // Whether SCF function asynchronous attribute is enabled. `TRUE` is open, `FALSE` is close. AsyncRunEnable *string `json:"asyncRunEnable,omitempty" tf:"async_run_enable,omitempty"` // List of CFS configurations. // List of CFS configurations. CfsConfig []CfsConfigObservation `json:"cfsConfig,omitempty" tf:"cfs_config,omitempty"` // cls logset id of the SCF function. // cls logset id of the SCF function. ClsLogsetID *string `json:"clsLogsetId,omitempty" tf:"cls_logset_id,omitempty"` // cls topic id of the SCF function. // cls topic id of the SCF function. ClsTopicID *string `json:"clsTopicId,omitempty" tf:"cls_topic_id,omitempty"` // SCF function code error message. // SCF function code error message. CodeError *string `json:"codeError,omitempty" tf:"code_error,omitempty"` // SCF function code is correct. // SCF function code is correct. CodeResult *string `json:"codeResult,omitempty" tf:"code_result,omitempty"` // SCF function code size, unit is M. // SCF function code size, unit is M. CodeSize *float64 `json:"codeSize,omitempty" tf:"code_size,omitempty"` // Cos bucket name of the SCF function, such as cos-1234567890, conflict with zip_file. // Cos bucket name of the SCF function, such as `cos-1234567890`, conflict with `zip_file`. CosBucketName *string `json:"cosBucketName,omitempty" tf:"cos_bucket_name,omitempty"` // Cos bucket region of the SCF function, conflict with zip_file. // Cos bucket region of the SCF function, conflict with `zip_file`. 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. // Cos object name of the SCF function, should have suffix `.zip` or `.jar`, conflict with `zip_file`. CosObjectName *string `json:"cosObjectName,omitempty" tf:"cos_object_name,omitempty"` // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. DNSCache *bool `json:"dnsCache,omitempty" tf:"dns_cache,omitempty"` // Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. // Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Whether EIP is a fixed IP. // Whether EIP is a fixed IP. EIPFixed *bool `json:"eipFixed,omitempty" tf:"eip_fixed,omitempty"` // SCF function EIP list. // SCF function EIP list. Eips []*string `json:"eips,omitempty" tf:"eips,omitempty"` // Indicates whether EIP config set to ENABLE when enable_public_net was true. Default false. // Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`. EnableEIPConfig *bool `json:"enableEipConfig,omitempty" tf:"enable_eip_config,omitempty"` // Indicates whether public net config enabled. Default false. NOTE: only vpc_id specified can disable public net config. // Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config. EnablePublicNet *bool `json:"enablePublicNet,omitempty" tf:"enable_public_net,omitempty"` // Environment of the SCF function. // Environment of the SCF function. // +mapType=granular Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"` // SCF function code error code. // SCF function code error code. ErrNo *float64 `json:"errNo,omitempty" tf:"err_no,omitempty"` // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. FuncType *string `json:"funcType,omitempty" tf:"func_type,omitempty"` // function ID. // function ID. FunctionID *string `json:"functionId,omitempty" tf:"function_id,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. // 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. Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // SCF function domain name. // SCF function domain name. Host *string `json:"host,omitempty" tf:"host,omitempty"` // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Image of the SCF function, conflict with cos_bucket_name, cos_object_name, cos_bucket_region, zip_file. // Image of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`, `zip_file`. ImageConfig []ImageConfigObservation `json:"imageConfig,omitempty" tf:"image_config,omitempty"` // Whether to automatically install dependencies. // Whether to automatically install dependencies. InstallDependency *bool `json:"installDependency,omitempty" tf:"install_dependency,omitempty"` // Intranet access configuration. // Intranet access configuration. IntranetConfig []IntranetConfigObservation `json:"intranetConfig,omitempty" tf:"intranet_config,omitempty"` // Enable L5 for SCF function, default is false. // Enable L5 for SCF function, default is `false`. L5Enable *bool `json:"l5Enable,omitempty" tf:"l5_enable,omitempty"` // The list of association layers. // The list of association layers. Layers []LayersObservation `json:"layers,omitempty" tf:"layers,omitempty"` // Memory size of the SCF function, unit is MB. The default is 128MB. The ladder is 128M. // Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M. MemSize *float64 `json:"memSize,omitempty" tf:"mem_size,omitempty"` // SCF function last modified time. // SCF function last modified time. ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,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. // 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. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Namespace of the SCF function, default is default. // Namespace of the SCF function, default is `default`. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Role of the SCF function. // Role of the SCF function. 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, Nodejs12.16, Php5.2, Php7.4, Go1, Java8, and CustomRuntime, default is Python2.7. // Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `Nodejs12.16`, `Php5.2`, `Php7.4`, `Go1`, `Java8`, and `CustomRuntime`, default is `Python2.7`. Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // SCF function status. // SCF function status. Status *string `json:"status,omitempty" tf:"status,omitempty"` // SCF status description. // SCF status description. StatusDesc *string `json:"statusDesc,omitempty" tf:"status_desc,omitempty"` // Subnet ID of the SCF function. // Subnet ID of the SCF function. SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Tags of the SCF function. // Tags of the SCF function. // +mapType=granular 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. // Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // SCF trigger details list. Each element contains the following attributes: // SCF trigger details list. Each element contains the following attributes: TriggerInfo []TriggerInfoObservation `json:"triggerInfo,omitempty" tf:"trigger_info,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: // 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: Triggers []TriggersObservation `json:"triggers,omitempty" tf:"triggers,omitempty"` // VPC ID of the SCF function. // VPC ID of the SCF function. VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // SCF function vip. // SCF function vip. Vip *string `json:"vip,omitempty" tf:"vip,omitempty"` // Zip file of the SCF function, conflict with cos_bucket_name, cos_object_name, cos_bucket_region. // Zip file of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`. ZipFile *string `json:"zipFile,omitempty" tf:"zip_file,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 { // Whether SCF function asynchronous attribute is enabled. TRUE is open, FALSE is close. // Whether SCF function asynchronous attribute is enabled. `TRUE` is open, `FALSE` is close. // +kubebuilder:validation:Optional AsyncRunEnable *string `json:"asyncRunEnable,omitempty" tf:"async_run_enable,omitempty"` // List of CFS configurations. // List of CFS configurations. // +kubebuilder:validation:Optional CfsConfig []CfsConfigParameters `json:"cfsConfig,omitempty" tf:"cfs_config,omitempty"` // cls logset id of the SCF function. // 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. // 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. // 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. // 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. // 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"` // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. // Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. // +kubebuilder:validation:Optional DNSCache *bool `json:"dnsCache,omitempty" tf:"dns_cache,omitempty"` // Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. // 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. Default false. // Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`. // +kubebuilder:validation:Optional EnableEIPConfig *bool `json:"enableEipConfig,omitempty" tf:"enable_eip_config,omitempty"` // Indicates whether public net config enabled. Default false. NOTE: only vpc_id specified can disable public net config. // Indicates whether public net config enabled. Default `false`. 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. // Environment of the SCF function. // +kubebuilder:validation:Optional // +mapType=granular Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"` // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. // Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. // +kubebuilder:validation:Optional FuncType *string `json:"funcType,omitempty" tf:"func_type,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. // 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:Optional Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // Image of the SCF function, conflict with cos_bucket_name, cos_object_name, cos_bucket_region, zip_file. // Image of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`, `zip_file`. // +kubebuilder:validation:Optional ImageConfig []ImageConfigParameters `json:"imageConfig,omitempty" tf:"image_config,omitempty"` // Intranet access configuration. // Intranet access configuration. // +kubebuilder:validation:Optional IntranetConfig []IntranetConfigParameters `json:"intranetConfig,omitempty" tf:"intranet_config,omitempty"` // Enable L5 for SCF function, default is false. // 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. // 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 128MB. The ladder is 128M. // 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. // 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:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Namespace of the SCF function, default is default. // Namespace of the SCF function, default is `default`. // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Role of the SCF function. // 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, Nodejs12.16, Php5.2, Php7.4, Go1, Java8, and CustomRuntime, default is Python2.7. // Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `Nodejs12.16`, `Php5.2`, `Php7.4`, `Go1`, `Java8`, and `CustomRuntime`, default is `Python2.7`. // +kubebuilder:validation:Optional Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // Subnet ID of the SCF function. // Subnet ID of the SCF function. // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // Tags of the SCF function. // Tags of the SCF function. // +kubebuilder:validation:Optional // +mapType=granular 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. // 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: // 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. // 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. // 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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider FunctionInitParameters `json:"initProvider,omitempty"` }
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 ImageConfigInitParameters ¶ added in v0.8.0
type ImageConfigInitParameters struct { // the parameters of command. // the parameters of command. Args *string `json:"args,omitempty" tf:"args,omitempty"` // The command of entrypoint. // The command of entrypoint. Command *string `json:"command,omitempty" tf:"command,omitempty"` // Image accelerate switch. // Image accelerate switch. ContainerImageAccelerate *bool `json:"containerImageAccelerate,omitempty" tf:"container_image_accelerate,omitempty"` // The entrypoint of app. // The entrypoint of app. EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // Image function port setting. Default is 9000, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. // Image function port setting. Default is `9000`, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. ImagePort *float64 `json:"imagePort,omitempty" tf:"image_port,omitempty"` // The image type. personal or enterprise. // The image type. personal or enterprise. ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"` // The uri of image. // The uri of image. ImageURI *string `json:"imageUri,omitempty" tf:"image_uri,omitempty"` // The registry id of TCR. When image type is enterprise, it must be set. // The registry id of TCR. When image type is enterprise, it must be set. RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"` }
func (*ImageConfigInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ImageConfigInitParameters) DeepCopy() *ImageConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigInitParameters.
func (*ImageConfigInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ImageConfigInitParameters) DeepCopyInto(out *ImageConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageConfigObservation ¶
type ImageConfigObservation struct { // the parameters of command. // the parameters of command. Args *string `json:"args,omitempty" tf:"args,omitempty"` // The command of entrypoint. // The command of entrypoint. Command *string `json:"command,omitempty" tf:"command,omitempty"` // Image accelerate switch. // Image accelerate switch. ContainerImageAccelerate *bool `json:"containerImageAccelerate,omitempty" tf:"container_image_accelerate,omitempty"` // The entrypoint of app. // The entrypoint of app. EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // Image function port setting. Default is 9000, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. // Image function port setting. Default is `9000`, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. ImagePort *float64 `json:"imagePort,omitempty" tf:"image_port,omitempty"` // The image type. personal or enterprise. // The image type. personal or enterprise. ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"` // The uri of image. // The uri of image. ImageURI *string `json:"imageUri,omitempty" tf:"image_uri,omitempty"` // The registry id of TCR. When image type is enterprise, it must be set. // The registry id of TCR. When image type is enterprise, it must be set. RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"` }
func (*ImageConfigObservation) DeepCopy ¶
func (in *ImageConfigObservation) DeepCopy() *ImageConfigObservation
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. // the parameters of command. // +kubebuilder:validation:Optional Args *string `json:"args,omitempty" tf:"args,omitempty"` // The command of entrypoint. // The command of entrypoint. // +kubebuilder:validation:Optional Command *string `json:"command,omitempty" tf:"command,omitempty"` // Image accelerate switch. // Image accelerate switch. // +kubebuilder:validation:Optional ContainerImageAccelerate *bool `json:"containerImageAccelerate,omitempty" tf:"container_image_accelerate,omitempty"` // The entrypoint of app. // The entrypoint of app. // +kubebuilder:validation:Optional EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // Image function port setting. Default is 9000, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. // Image function port setting. Default is `9000`, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. // +kubebuilder:validation:Optional ImagePort *float64 `json:"imagePort,omitempty" tf:"image_port,omitempty"` // The image type. personal or enterprise. // The image type. personal or enterprise. // +kubebuilder:validation:Optional ImageType *string `json:"imageType" tf:"image_type,omitempty"` // The uri of image. // The uri of image. // +kubebuilder:validation:Optional ImageURI *string `json:"imageUri" tf:"image_uri,omitempty"` // The registry id of TCR. When image type is enterprise, it must be set. // 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 ¶
func (in *ImageConfigParameters) DeepCopy() *ImageConfigParameters
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 IntranetConfigInitParameters ¶ added in v0.8.0
type IntranetConfigInitParameters struct { // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. IPFixed *string `json:"ipFixed,omitempty" tf:"ip_fixed,omitempty"` }
func (*IntranetConfigInitParameters) DeepCopy ¶ added in v0.8.0
func (in *IntranetConfigInitParameters) DeepCopy() *IntranetConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntranetConfigInitParameters.
func (*IntranetConfigInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *IntranetConfigInitParameters) DeepCopyInto(out *IntranetConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntranetConfigObservation ¶ added in v0.8.0
type IntranetConfigObservation struct { // If fixed intranet IP is enabled, this field returns the IP list used. IPAddress []*string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. IPFixed *string `json:"ipFixed,omitempty" tf:"ip_fixed,omitempty"` }
func (*IntranetConfigObservation) DeepCopy ¶ added in v0.8.0
func (in *IntranetConfigObservation) DeepCopy() *IntranetConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntranetConfigObservation.
func (*IntranetConfigObservation) DeepCopyInto ¶ added in v0.8.0
func (in *IntranetConfigObservation) DeepCopyInto(out *IntranetConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntranetConfigParameters ¶ added in v0.8.0
type IntranetConfigParameters struct { // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. // Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. // +kubebuilder:validation:Optional IPFixed *string `json:"ipFixed" tf:"ip_fixed,omitempty"` }
func (*IntranetConfigParameters) DeepCopy ¶ added in v0.8.0
func (in *IntranetConfigParameters) DeepCopy() *IntranetConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntranetConfigParameters.
func (*IntranetConfigParameters) DeepCopyInto ¶ added in v0.8.0
func (in *IntranetConfigParameters) DeepCopyInto(out *IntranetConfigParameters)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compatibleRuntimes) || (has(self.initProvider) && has(self.initProvider.compatibleRuntimes))",message="spec.forProvider.compatibleRuntimes is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.layerName) || (has(self.initProvider) && has(self.initProvider.layerName))",message="spec.forProvider.layerName is a required parameter" Spec LayerSpec `json:"spec"` Status LayerStatus `json:"status,omitempty"` }
Layer is the Schema for the Layers API. Provide a resource to create a SCF layer. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}
func (*Layer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Layer.
func (*Layer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Layer) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Layer
func (*Layer) GetDeletionPolicy ¶
func (mg *Layer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Layer.
func (*Layer) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Layer
func (*Layer) GetManagementPolicies ¶ added in v0.8.0
func (mg *Layer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Layer.
func (*Layer) GetMergedParameters ¶ added in v0.8.1
GetInitParameters of this Layer
func (*Layer) GetObservation ¶
GetObservation of this Layer
func (*Layer) GetParameters ¶
GetParameters of this Layer
func (*Layer) GetProviderConfigReference ¶
GetProviderConfigReference of this Layer.
func (*Layer) GetPublishConnectionDetailsTo ¶
func (mg *Layer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Layer.
func (*Layer) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Layer
func (*Layer) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Layer) GetWriteConnectionSecretToReference ¶
func (mg *Layer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Layer.
func (*Layer) LateInitialize ¶
LateInitialize this Layer using its observed tfState. returns True if there are any spec changes for the resource.
func (*Layer) SetConditions ¶
SetConditions of this Layer.
func (*Layer) SetDeletionPolicy ¶
func (mg *Layer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Layer.
func (*Layer) SetManagementPolicies ¶ added in v0.8.0
func (mg *Layer) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Layer.
func (*Layer) SetObservation ¶
SetObservation for this Layer
func (*Layer) SetParameters ¶
SetParameters for this Layer
func (*Layer) SetProviderConfigReference ¶
SetProviderConfigReference of this Layer.
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 LayerInitParameters ¶ added in v0.8.0
type LayerInitParameters struct { // The compatible runtimes of layer. // The compatible runtimes of layer. CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty" tf:"compatible_runtimes,omitempty"` // The source code of layer. // The source code of layer. Content []ContentInitParameters `json:"content,omitempty" tf:"content,omitempty"` // The description of layer. // The description of layer. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The name of layer. // The name of layer. LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"` // The license info of layer. // The license info of layer. LicenseInfo *string `json:"licenseInfo,omitempty" tf:"license_info,omitempty"` }
func (*LayerInitParameters) DeepCopy ¶ added in v0.8.0
func (in *LayerInitParameters) DeepCopy() *LayerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerInitParameters.
func (*LayerInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *LayerInitParameters) DeepCopyInto(out *LayerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerList.
func (*LayerList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerObservation ¶
type LayerObservation struct { // The code type of layer. // The code type of layer. CodeSha256 *string `json:"codeSha256,omitempty" tf:"code_sha_256,omitempty"` // The compatible runtimes of layer. // The compatible runtimes of layer. CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty" tf:"compatible_runtimes,omitempty"` // The source code of layer. // The source code of layer. Content []ContentObservation `json:"content,omitempty" tf:"content,omitempty"` // The create time of layer. // The create time of layer. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // The description of layer. // The description of layer. Description *string `json:"description,omitempty" tf:"description,omitempty"` // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of layer. // The name of layer. LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"` // The version of layer. // The version of layer. LayerVersion *float64 `json:"layerVersion,omitempty" tf:"layer_version,omitempty"` // The license info of layer. // The license info of layer. LicenseInfo *string `json:"licenseInfo,omitempty" tf:"license_info,omitempty"` // The download location url of layer. // The download location url of layer. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The current status of layer. // The current status of layer. 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. // The compatible runtimes of layer. // +kubebuilder:validation:Optional CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty" tf:"compatible_runtimes,omitempty"` // The source code of layer. // The source code of layer. // +kubebuilder:validation:Optional Content []ContentParameters `json:"content,omitempty" tf:"content,omitempty"` // The description of layer. // The description of layer. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The name of layer. // The name of layer. // +kubebuilder:validation:Optional LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"` // The license info of layer. // 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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider LayerInitParameters `json:"initProvider,omitempty"` }
LayerSpec defines the desired state of Layer
func (*LayerSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerSpec.
func (*LayerSpec) DeepCopyInto ¶
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 LayersInitParameters ¶ added in v0.8.0
type LayersInitParameters struct { // The name of Layer. // The name of Layer. LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"` // The version of layer. // The version of layer. LayerVersion *float64 `json:"layerVersion,omitempty" tf:"layer_version,omitempty"` }
func (*LayersInitParameters) DeepCopy ¶ added in v0.8.0
func (in *LayersInitParameters) DeepCopy() *LayersInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayersInitParameters.
func (*LayersInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *LayersInitParameters) DeepCopyInto(out *LayersInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayersObservation ¶
type LayersObservation struct { // The name of Layer. // The name of Layer. LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"` // The version of layer. // The version of layer. LayerVersion *float64 `json:"layerVersion,omitempty" tf:"layer_version,omitempty"` }
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. // The name of Layer. // +kubebuilder:validation:Optional LayerName *string `json:"layerName" tf:"layer_name,omitempty"` // The version of layer. // The version of layer. // +kubebuilder:validation:Optional 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 ScfNamespace ¶ added in v0.6.1
type ScfNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.__namespace__) || (has(self.initProvider) && has(self.initProvider.__namespace__))",message="spec.forProvider.namespace is a required parameter" Spec ScfNamespaceSpec `json:"spec"` Status ScfNamespaceStatus `json:"status,omitempty"` }
ScfNamespace is the Schema for the ScfNamespaces API. Provide a resource to create a SCF namespace. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}
func (*ScfNamespace) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespace) DeepCopy() *ScfNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespace.
func (*ScfNamespace) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespace) DeepCopyInto(out *ScfNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScfNamespace) DeepCopyObject ¶ added in v0.6.1
func (in *ScfNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScfNamespace) GetCondition ¶ added in v0.6.1
func (mg *ScfNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ScfNamespace.
func (*ScfNamespace) GetConnectionDetailsMapping ¶ added in v0.6.1
func (tr *ScfNamespace) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ScfNamespace
func (*ScfNamespace) GetDeletionPolicy ¶ added in v0.6.1
func (mg *ScfNamespace) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ScfNamespace.
func (*ScfNamespace) GetID ¶ added in v0.6.1
func (tr *ScfNamespace) GetID() string
GetID returns ID of underlying Terraform resource of this ScfNamespace
func (*ScfNamespace) GetInitParameters ¶ added in v0.8.0
func (tr *ScfNamespace) GetInitParameters() (map[string]any, error)
GetInitParameters of this ScfNamespace
func (*ScfNamespace) GetManagementPolicies ¶ added in v0.8.0
func (mg *ScfNamespace) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ScfNamespace.
func (*ScfNamespace) GetMergedParameters ¶ added in v0.8.1
func (tr *ScfNamespace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ScfNamespace
func (*ScfNamespace) GetObservation ¶ added in v0.6.1
func (tr *ScfNamespace) GetObservation() (map[string]any, error)
GetObservation of this ScfNamespace
func (*ScfNamespace) GetParameters ¶ added in v0.6.1
func (tr *ScfNamespace) GetParameters() (map[string]any, error)
GetParameters of this ScfNamespace
func (*ScfNamespace) GetProviderConfigReference ¶ added in v0.6.1
func (mg *ScfNamespace) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ScfNamespace.
func (*ScfNamespace) GetPublishConnectionDetailsTo ¶ added in v0.6.1
func (mg *ScfNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ScfNamespace.
func (*ScfNamespace) GetTerraformResourceType ¶ added in v0.6.1
func (mg *ScfNamespace) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ScfNamespace
func (*ScfNamespace) GetTerraformSchemaVersion ¶ added in v0.6.1
func (tr *ScfNamespace) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ScfNamespace) GetWriteConnectionSecretToReference ¶ added in v0.6.1
func (mg *ScfNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ScfNamespace.
func (*ScfNamespace) Hub ¶ added in v0.8.1
func (tr *ScfNamespace) Hub()
Hub marks this type as a conversion hub.
func (*ScfNamespace) LateInitialize ¶ added in v0.6.1
func (tr *ScfNamespace) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ScfNamespace using its observed tfState. returns True if there are any spec changes for the resource.
func (*ScfNamespace) SetConditions ¶ added in v0.6.1
func (mg *ScfNamespace) SetConditions(c ...xpv1.Condition)
SetConditions of this ScfNamespace.
func (*ScfNamespace) SetDeletionPolicy ¶ added in v0.6.1
func (mg *ScfNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ScfNamespace.
func (*ScfNamespace) SetManagementPolicies ¶ added in v0.8.0
func (mg *ScfNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ScfNamespace.
func (*ScfNamespace) SetObservation ¶ added in v0.6.1
func (tr *ScfNamespace) SetObservation(obs map[string]any) error
SetObservation for this ScfNamespace
func (*ScfNamespace) SetParameters ¶ added in v0.6.1
func (tr *ScfNamespace) SetParameters(params map[string]any) error
SetParameters for this ScfNamespace
func (*ScfNamespace) SetProviderConfigReference ¶ added in v0.6.1
func (mg *ScfNamespace) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ScfNamespace.
func (*ScfNamespace) SetPublishConnectionDetailsTo ¶ added in v0.6.1
func (mg *ScfNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ScfNamespace.
func (*ScfNamespace) SetWriteConnectionSecretToReference ¶ added in v0.6.1
func (mg *ScfNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ScfNamespace.
type ScfNamespaceInitParameters ¶ added in v0.8.0
type ScfNamespaceInitParameters struct { // Description of the SCF namespace. // Description of the SCF namespace. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Name of the SCF namespace. // Name of the SCF namespace. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*ScfNamespaceInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ScfNamespaceInitParameters) DeepCopy() *ScfNamespaceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceInitParameters.
func (*ScfNamespaceInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ScfNamespaceInitParameters) DeepCopyInto(out *ScfNamespaceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScfNamespaceList ¶ added in v0.6.1
type ScfNamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScfNamespace `json:"items"` }
ScfNamespaceList contains a list of ScfNamespaces
func (*ScfNamespaceList) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespaceList) DeepCopy() *ScfNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceList.
func (*ScfNamespaceList) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespaceList) DeepCopyInto(out *ScfNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScfNamespaceList) DeepCopyObject ¶ added in v0.6.1
func (in *ScfNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScfNamespaceList) GetItems ¶ added in v0.6.1
func (l *ScfNamespaceList) GetItems() []resource.Managed
GetItems of this ScfNamespaceList.
type ScfNamespaceObservation ¶ added in v0.6.1
type ScfNamespaceObservation struct { // SCF namespace creation time. // SCF namespace creation time. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Description of the SCF namespace. // Description of the SCF namespace. Description *string `json:"description,omitempty" tf:"description,omitempty"` // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // SCF namespace last modified time. // SCF namespace last modified time. ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,omitempty"` // Name of the SCF namespace. // Name of the SCF namespace. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // SCF namespace type. // SCF namespace type. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ScfNamespaceObservation) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespaceObservation) DeepCopy() *ScfNamespaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceObservation.
func (*ScfNamespaceObservation) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespaceObservation) DeepCopyInto(out *ScfNamespaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScfNamespaceParameters ¶ added in v0.6.1
type ScfNamespaceParameters struct { // Description of the SCF namespace. // Description of the SCF namespace. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Name of the SCF namespace. // Name of the SCF namespace. // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*ScfNamespaceParameters) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespaceParameters) DeepCopy() *ScfNamespaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceParameters.
func (*ScfNamespaceParameters) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespaceParameters) DeepCopyInto(out *ScfNamespaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScfNamespaceSpec ¶ added in v0.6.1
type ScfNamespaceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ScfNamespaceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ScfNamespaceInitParameters `json:"initProvider,omitempty"` }
ScfNamespaceSpec defines the desired state of ScfNamespace
func (*ScfNamespaceSpec) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespaceSpec) DeepCopy() *ScfNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceSpec.
func (*ScfNamespaceSpec) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespaceSpec) DeepCopyInto(out *ScfNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScfNamespaceStatus ¶ added in v0.6.1
type ScfNamespaceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ScfNamespaceObservation `json:"atProvider,omitempty"` }
ScfNamespaceStatus defines the observed state of ScfNamespace.
func (*ScfNamespaceStatus) DeepCopy ¶ added in v0.6.1
func (in *ScfNamespaceStatus) DeepCopy() *ScfNamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScfNamespaceStatus.
func (*ScfNamespaceStatus) DeepCopyInto ¶ added in v0.6.1
func (in *ScfNamespaceStatus) DeepCopyInto(out *ScfNamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerInfoInitParameters ¶ added in v0.8.0
type TriggerInfoInitParameters struct { }
func (*TriggerInfoInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TriggerInfoInitParameters) DeepCopy() *TriggerInfoInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerInfoInitParameters.
func (*TriggerInfoInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TriggerInfoInitParameters) DeepCopyInto(out *TriggerInfoInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerInfoObservation ¶
type TriggerInfoObservation struct { // Create time of SCF function trigger. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // User-defined parameters of SCF function trigger. CustomArgument *string `json:"customArgument,omitempty" tf:"custom_argument,omitempty"` // Whether SCF function trigger is enable. Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"` // SCF function last modified time. ModifyTime *string `json:"modifyTime,omitempty" tf:"modify_time,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. Name *string `json:"name,omitempty" 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 , 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"}}. TriggerDesc *string `json:"triggerDesc,omitempty" tf:"trigger_desc,omitempty"` // Type of the SCF function trigger, support cos, cls, timer, ckafka, http, apigw, cmq. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*TriggerInfoObservation) DeepCopy ¶
func (in *TriggerInfoObservation) DeepCopy() *TriggerInfoObservation
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 ¶
func (in *TriggerInfoParameters) DeepCopy() *TriggerInfoParameters
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 TriggersInitParameters ¶ added in v0.8.0
type TriggersInitParameters struct { // Region of cos bucket. if type is cos, cos_region is required. // Region of cos bucket. if `type` is `cos`, `cos_region` is required. CosRegion *string `json:"cosRegion,omitempty" tf:"cos_region,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. // 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. Name *string `json:"name,omitempty" 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 , 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"}}. // 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"}}`. TriggerDesc *string `json:"triggerDesc,omitempty" tf:"trigger_desc,omitempty"` // Type of the SCF function trigger, support cos, cls, timer, ckafka, http, apigw, cmq. // Type of the SCF function trigger, support `cos`, `cls`, `timer`, `ckafka`, `http`, `apigw`, `cmq`. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*TriggersInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TriggersInitParameters) DeepCopy() *TriggersInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggersInitParameters.
func (*TriggersInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TriggersInitParameters) DeepCopyInto(out *TriggersInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggersObservation ¶
type TriggersObservation struct { // Region of cos bucket. if type is cos, cos_region is required. // Region of cos bucket. if `type` is `cos`, `cos_region` is required. CosRegion *string `json:"cosRegion,omitempty" tf:"cos_region,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. // 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. Name *string `json:"name,omitempty" 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 , 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"}}. // 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"}}`. TriggerDesc *string `json:"triggerDesc,omitempty" tf:"trigger_desc,omitempty"` // Type of the SCF function trigger, support cos, cls, timer, ckafka, http, apigw, cmq. // Type of the SCF function trigger, support `cos`, `cls`, `timer`, `ckafka`, `http`, `apigw`, `cmq`. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
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. // 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. 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. // 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:Optional 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 , 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"}}. // 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:Optional TriggerDesc *string `json:"triggerDesc" tf:"trigger_desc,omitempty"` // Type of the SCF function trigger, support cos, cls, timer, ckafka, http, apigw, cmq. // Type of the SCF function trigger, support `cos`, `cls`, `timer`, `ckafka`, `http`, `apigw`, `cmq`. // +kubebuilder:validation:Optional 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.