Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=fgs.flexibleengine.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ApigObservation
- type ApigParameters
- type CustomImageObservation
- type CustomImageParameters
- type DisObservation
- type DisParameters
- type FuncMountsObservation
- type FuncMountsParameters
- 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) GetObservation() (map[string]any, error)
- func (tr *Function) GetParameters() (map[string]any, error)
- func (mg *Function) GetProviderConfigReference() *xpv1.Reference
- func (mg *Function) GetProviderReference() *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) LateInitialize(attrs []byte) (bool, error)
- func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Function) SetConditions(c ...xpv1.Condition)
- func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)
- 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) SetProviderReference(r *xpv1.Reference)
- func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Function) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FunctionList
- type FunctionObservation
- type FunctionParameters
- type FunctionSpec
- type FunctionStatus
- type KafkaObservation
- type KafkaParameters
- type LtsObservation
- type LtsParameters
- type ObsObservation
- type ObsParameters
- type SmnObservation
- type SmnParameters
- type TimerObservation
- type TimerParameters
- type Trigger
- func (in *Trigger) DeepCopy() *Trigger
- func (in *Trigger) DeepCopyInto(out *Trigger)
- func (in *Trigger) DeepCopyObject() runtime.Object
- func (mg *Trigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Trigger) GetConnectionDetailsMapping() map[string]string
- func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Trigger) GetID() string
- func (tr *Trigger) GetObservation() (map[string]any, error)
- func (tr *Trigger) GetParameters() (map[string]any, error)
- func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference
- func (mg *Trigger) GetProviderReference() *xpv1.Reference
- func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Trigger) GetTerraformResourceType() string
- func (tr *Trigger) GetTerraformSchemaVersion() int
- func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Trigger) LateInitialize(attrs []byte) (bool, error)
- func (mg *Trigger) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Trigger) SetConditions(c ...xpv1.Condition)
- func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Trigger) SetObservation(obs map[string]any) error
- func (tr *Trigger) SetParameters(params map[string]any) error
- func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Trigger) SetProviderReference(r *xpv1.Reference)
- func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Trigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TriggerList
- type TriggerObservation
- type TriggerParameters
- type TriggerSpec
- type TriggerStatus
Constants ¶
const ( CRDGroup = "fgs.flexibleengine.upbound.io" CRDVersion = "v1beta1" )
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 ( Trigger_Kind = "Trigger" Trigger_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Trigger_Kind}.String() Trigger_KindAPIVersion = Trigger_Kind + "." + CRDGroupVersion.String() Trigger_GroupVersionKind = CRDGroupVersion.WithKind(Trigger_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ApigObservation ¶
type ApigObservation struct { }
func (*ApigObservation) DeepCopy ¶
func (in *ApigObservation) DeepCopy() *ApigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApigObservation.
func (*ApigObservation) DeepCopyInto ¶
func (in *ApigObservation) DeepCopyInto(out *ApigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApigParameters ¶
type ApigParameters struct { // Specifies the API name. Changing this will create a new trigger resource. // +kubebuilder:validation:Required APIName *string `json:"apiName" tf:"api_name,omitempty"` // Specifies the API environment name. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required EnvName *string `json:"envName" tf:"env_name,omitempty"` // Specifies the ID of the APIG group to which the API belongs. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required GroupID *string `json:"groupId" tf:"group_id,omitempty"` // resource ID in UUID format. // +kubebuilder:validation:Optional InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` // Specifies the request protocol of the API. The valid value are // HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource. // +kubebuilder:validation:Optional RequestProtocol *string `json:"requestProtocol,omitempty" tf:"request_protocol,omitempty"` // Specifies the security authentication mode. The valid values // are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource. // +kubebuilder:validation:Optional SecurityAuthentication *string `json:"securityAuthentication,omitempty" tf:"security_authentication,omitempty"` // Specifies the timeout for request sending. The valid value is range form // 1 to 60,000, default to 5,000. Changing this will create a new trigger resource. // +kubebuilder:validation:Optional Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` }
func (*ApigParameters) DeepCopy ¶
func (in *ApigParameters) DeepCopy() *ApigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApigParameters.
func (*ApigParameters) DeepCopyInto ¶
func (in *ApigParameters) DeepCopyInto(out *ApigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomImageObservation ¶
type CustomImageObservation struct { }
func (*CustomImageObservation) DeepCopy ¶
func (in *CustomImageObservation) DeepCopy() *CustomImageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageObservation.
func (*CustomImageObservation) DeepCopyInto ¶
func (in *CustomImageObservation) DeepCopyInto(out *CustomImageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomImageParameters ¶
type CustomImageParameters struct { // +kubebuilder:validation:Required URL *string `json:"url" tf:"url,omitempty"` }
func (*CustomImageParameters) DeepCopy ¶
func (in *CustomImageParameters) DeepCopy() *CustomImageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomImageParameters.
func (*CustomImageParameters) DeepCopyInto ¶
func (in *CustomImageParameters) DeepCopyInto(out *CustomImageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisObservation ¶
type DisObservation struct { }
func (*DisObservation) DeepCopy ¶
func (in *DisObservation) DeepCopy() *DisObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisObservation.
func (*DisObservation) DeepCopyInto ¶
func (in *DisObservation) DeepCopyInto(out *DisObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisParameters ¶
type DisParameters struct { // Specifies the maximum volume of data that can be obtained for a single // request, in Byte. Only the records with a size smaller than this value can be obtained. // The valid value is range from 1,024 to 4,194,304. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required MaxFetchBytes *float64 `json:"maxFetchBytes" tf:"max_fetch_bytes,omitempty"` // Specifies the interval at which data is pulled from the specified stream. // The valid value is range from 2 to 60,000. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required PullPeriod *float64 `json:"pullPeriod" tf:"pull_period,omitempty"` // Specifies the determines whether to pull data only after the data pulled // in the last period has been processed. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required SerialEnable *bool `json:"serialEnable" tf:"serial_enable,omitempty"` // Specifies the type of starting position for DIS queue. // The valid values are as follows: // +kubebuilder:validation:Required StartingPosition *string `json:"startingPosition" tf:"starting_position,omitempty"` // Specifies the name of the DIS stream resource. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required StreamName *string `json:"streamName" tf:"stream_name,omitempty"` }
func (*DisParameters) DeepCopy ¶
func (in *DisParameters) DeepCopy() *DisParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisParameters.
func (*DisParameters) DeepCopyInto ¶
func (in *DisParameters) DeepCopyInto(out *DisParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FuncMountsObservation ¶
type FuncMountsObservation struct {
Status *string `json:"status,omitempty" tf:"status,omitempty"`
}
func (*FuncMountsObservation) DeepCopy ¶
func (in *FuncMountsObservation) DeepCopy() *FuncMountsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FuncMountsObservation.
func (*FuncMountsObservation) DeepCopyInto ¶
func (in *FuncMountsObservation) DeepCopyInto(out *FuncMountsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FuncMountsParameters ¶
type FuncMountsParameters struct { // Specifies the function access path. // +kubebuilder:validation:Required LocalMountPath *string `json:"localMountPath" tf:"local_mount_path,omitempty"` // Specifies the ID of the mounted resource (corresponding cloud service). // +kubebuilder:validation:Required MountResource *string `json:"mountResource" tf:"mount_resource,omitempty"` // +kubebuilder:validation:Required MountSharePath *string `json:"mountSharePath" tf:"mount_share_path,omitempty"` // Specifies the mount type. Options: sfs, sfsTurbo, and ecs. // +kubebuilder:validation:Required MountType *string `json:"mountType" tf:"mount_type,omitempty"` }
func (*FuncMountsParameters) DeepCopy ¶
func (in *FuncMountsParameters) DeepCopy() *FuncMountsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FuncMountsParameters.
func (*FuncMountsParameters) DeepCopyInto ¶
func (in *FuncMountsParameters) DeepCopyInto(out *FuncMountsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FunctionSpec `json:"spec"` Status FunctionStatus `json:"status,omitempty"` }
Function is the Schema for the Functions API. ""page_title: "flexibleengine_fgs_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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}
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) GetObservation ¶
GetObservation of this Function
func (*Function) GetParameters ¶
GetParameters of this Function
func (*Function) GetProviderConfigReference ¶
GetProviderConfigReference of this Function.
func (*Function) GetProviderReference ¶
GetProviderReference of this Function. Deprecated: Use GetProviderConfigReference.
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) LateInitialize ¶
LateInitialize this Function using its observed tfState. returns True if there are any spec changes for the resource.
func (*Function) ResolveReferences ¶
ResolveReferences of this Function.
func (*Function) SetConditions ¶
SetConditions of this Function.
func (*Function) SetDeletionPolicy ¶
func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy 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) SetProviderReference ¶
SetProviderReference of this Function. Deprecated: Use SetProviderConfigReference.
func (*Function) SetPublishConnectionDetailsTo ¶
func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Function.
func (*Function) SetWriteConnectionSecretToReference ¶
func (mg *Function) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Function.
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Function `json:"items"` }
FunctionList contains a list of Functions
func (*FunctionList) DeepCopy ¶
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FunctionList) GetItems ¶
func (l *FunctionList) GetItems() []resource.Managed
GetItems of this FunctionList.
type FunctionObservation ¶
type FunctionObservation struct { // Specifies the file system list. The func_mounts object structure is documented // below. // +kubebuilder:validation:Optional FuncMounts []FuncMountsObservation `json:"funcMounts,omitempty" tf:"func_mounts,omitempty"` // Specifies a resource ID in UUID format. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Uniform Resource Name Urn *string `json:"urn,omitempty" tf:"urn,omitempty"` // The version of the function Version *string `json:"version,omitempty" tf:"version,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 { // Specifies the agency. This parameter is mandatory if the function needs to access other // cloud services. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/iam/v1beta1.Agency // +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(false, "name") // +kubebuilder:validation:Optional Agency *string `json:"agency,omitempty" tf:"agency,omitempty"` // Reference to a Agency in iam to populate agency. // +kubebuilder:validation:Optional AgencyRef *v1.Reference `json:"agencyRef,omitempty" tf:"-"` // Selector for a Agency in iam to populate agency. // +kubebuilder:validation:Optional AgencySelector *v1.Selector `json:"agencySelector,omitempty" tf:"-"` // Specifies the group to which the function belongs. // +kubebuilder:validation:Optional App *string `json:"app,omitempty" tf:"app,omitempty"` // Specifies An execution agency enables you to obtain a token or an AK/SK for // accessing other cloud services. // +kubebuilder:validation:Optional AppAgency *string `json:"appAgency,omitempty" tf:"app_agency,omitempty"` // Specifies the name of a function file, This field is mandatory only when coe_type // is set to jar or zip. // +kubebuilder:validation:Optional CodeFilename *string `json:"codeFilename,omitempty" tf:"code_filename,omitempty"` // Specifies the function code type, which can be inline: inline code, zip: ZIP file, // jar: JAR file or java functions, obs: function code stored in an OBS bucket. // +kubebuilder:validation:Optional CodeType *string `json:"codeType,omitempty" tf:"code_type,omitempty"` // Specifies the code url. This parameter is mandatory when code_type is set to obs. // +kubebuilder:validation:Optional CodeURL *string `json:"codeUrl,omitempty" tf:"code_url,omitempty"` // +kubebuilder:validation:Optional CustomImage []CustomImageParameters `json:"customImage,omitempty" tf:"custom_image,omitempty"` // Specifies the ID list of the dependencies. // +kubebuilder:validation:Optional DependList []*string `json:"dependList,omitempty" tf:"depend_list,omitempty"` // Specifies the description of the function. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specifies the key/value information defined to be encrypted for the // function. The format is the same as user_data. // +kubebuilder:validation:Optional EncryptedUserDataSecretRef *v1.SecretKeySelector `json:"encryptedUserDataSecretRef,omitempty" tf:"-"` // Specifies the enterprise project id of the function. Changing // this creates a new function. // +kubebuilder:validation:Optional EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"` // Specifies the function code. When code_type is set to inline, zip, or jar, this // parameter is mandatory, and the code can be encoded using Base64 or just with the text code. // +kubebuilder:validation:Optional FuncCode *string `json:"funcCode,omitempty" tf:"func_code,omitempty"` // Specifies the file system list. The func_mounts object structure is documented // below. // +kubebuilder:validation:Optional FuncMounts []FuncMountsParameters `json:"funcMounts,omitempty" tf:"func_mounts,omitempty"` // The version of the function // +kubebuilder:validation:Optional FunctiongraphVersion *string `json:"functiongraphVersion,omitempty" tf:"functiongraph_version,omitempty"` // Specifies the entry point of the function. // +kubebuilder:validation:Optional Handler *string `json:"handler,omitempty" tf:"handler,omitempty"` // Specifies the initializer of the function. // +kubebuilder:validation:Optional InitializerHandler *string `json:"initializerHandler,omitempty" tf:"initializer_handler,omitempty"` // Specifies the maximum duration the function can be initialized. Value range: // 1s to 300s. // +kubebuilder:validation:Optional InitializerTimeout *float64 `json:"initializerTimeout,omitempty" tf:"initializer_timeout,omitempty"` // Specifies the memory size(MB) allocated to the function. // +kubebuilder:validation:Required MemorySize *float64 `json:"memorySize" tf:"memory_size,omitempty"` // Specifies the user group ID, a non-0 integer from –1 to 65534. Default to // -1. // +kubebuilder:validation:Optional MountUserGroupID *float64 `json:"mountUserGroupId,omitempty" tf:"mount_user_group_id,omitempty"` // Specifies the user ID, a non-0 integer from –1 to 65534. Default to -1. // +kubebuilder:validation:Optional MountUserID *float64 `json:"mountUserId,omitempty" tf:"mount_user_id,omitempty"` // Specifies the name of the function. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Specifies the network ID of subnet. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet // +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id") // +crossplane:generate:reference:refFieldName=NetworkIDRef // +crossplane:generate:reference:selectorFieldName=NetworkIDSelector // +kubebuilder:validation:Optional NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"` // Reference to a VPCSubnet in vpc to populate networkId. // +kubebuilder:validation:Optional NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"` // Selector for a VPCSubnet in vpc to populate networkId. // +kubebuilder:validation:Optional NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Package *string `json:"package,omitempty" tf:"package,omitempty"` // Specifies the region in which to create the Function resource. If omitted, the // provider-level region will be used. Changing this creates a new Function resource. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // Specifies the environment for executing the function. Changing this creates a // new Function resource. // +kubebuilder:validation:Required Runtime *string `json:"runtime" tf:"runtime,omitempty"` // Specifies the timeout interval of the function, ranges from 3s to 900s. // +kubebuilder:validation:Required Timeout *float64 `json:"timeout" tf:"timeout,omitempty"` // Specifies the Key/Value information defined for the function. // +kubebuilder:validation:Optional UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"` // Specifies the ID of VPC. // +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // Reference to a VPC in vpc to populate vpcId. // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"` // Selector for a VPC in vpc to populate vpcId. // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Xrole *string `json:"xrole,omitempty" tf:"xrole,omitempty"` }
func (*FunctionParameters) DeepCopy ¶
func (in *FunctionParameters) DeepCopy() *FunctionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionParameters.
func (*FunctionParameters) DeepCopyInto ¶
func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionSpec ¶
type FunctionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider FunctionParameters `json:"forProvider"` }
FunctionSpec defines the desired state of Function
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionStatus ¶
type FunctionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider FunctionObservation `json:"atProvider,omitempty"` }
FunctionStatus defines the observed state of Function.
func (*FunctionStatus) DeepCopy ¶
func (in *FunctionStatus) DeepCopy() *FunctionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.
func (*FunctionStatus) DeepCopyInto ¶
func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaObservation ¶
type KafkaObservation struct { }
func (*KafkaObservation) DeepCopy ¶
func (in *KafkaObservation) DeepCopy() *KafkaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaObservation.
func (*KafkaObservation) DeepCopyInto ¶
func (in *KafkaObservation) DeepCopyInto(out *KafkaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaParameters ¶
type KafkaParameters struct { // +kubebuilder:validation:Optional BatchSize *float64 `json:"batchSize,omitempty" tf:"batch_size,omitempty"` // resource ID in UUID format. // +kubebuilder:validation:Required InstanceID *string `json:"instanceId" tf:"instance_id,omitempty"` // +kubebuilder:validation:Required TopicIds []*string `json:"topicIds" tf:"topic_ids,omitempty"` }
func (*KafkaParameters) DeepCopy ¶
func (in *KafkaParameters) DeepCopy() *KafkaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaParameters.
func (*KafkaParameters) DeepCopyInto ¶
func (in *KafkaParameters) DeepCopyInto(out *KafkaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LtsObservation ¶
type LtsObservation struct { }
func (*LtsObservation) DeepCopy ¶
func (in *LtsObservation) DeepCopy() *LtsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LtsObservation.
func (*LtsObservation) DeepCopyInto ¶
func (in *LtsObservation) DeepCopyInto(out *LtsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LtsParameters ¶
type LtsParameters struct { // resource ID in UUID format. // +kubebuilder:validation:Required LogGroupID *string `json:"logGroupId" tf:"log_group_id,omitempty"` // resource ID in UUID format. // +kubebuilder:validation:Required LogTopicID *string `json:"logTopicId" tf:"log_topic_id,omitempty"` }
func (*LtsParameters) DeepCopy ¶
func (in *LtsParameters) DeepCopy() *LtsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LtsParameters.
func (*LtsParameters) DeepCopyInto ¶
func (in *LtsParameters) DeepCopyInto(out *LtsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsObservation ¶
type ObsObservation struct { }
func (*ObsObservation) DeepCopy ¶
func (in *ObsObservation) DeepCopy() *ObsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsObservation.
func (*ObsObservation) DeepCopyInto ¶
func (in *ObsObservation) DeepCopyInto(out *ObsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObsParameters ¶
type ObsParameters struct { // Specifies the OBS bucket name. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"` // Specifies the event notification name. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required EventNotificationName *string `json:"eventNotificationName" tf:"event_notification_name,omitempty"` // Specifies the events that can trigger functions. // Changing this will create a new trigger resource. // The valid values are as follows: // +kubebuilder:validation:Required Events []*string `json:"events" tf:"events,omitempty"` // Specifies the prefix to limit notifications to objects beginning with this keyword. // Changing this will create a new trigger resource. // +kubebuilder:validation:Optional Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"` // Specifies the suffix to limit notifications to objects ending with this keyword. // Changing this will create a new trigger resource. // +kubebuilder:validation:Optional Suffix *string `json:"suffix,omitempty" tf:"suffix,omitempty"` }
func (*ObsParameters) DeepCopy ¶
func (in *ObsParameters) DeepCopy() *ObsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObsParameters.
func (*ObsParameters) DeepCopyInto ¶
func (in *ObsParameters) DeepCopyInto(out *ObsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SmnObservation ¶
type SmnObservation struct { }
func (*SmnObservation) DeepCopy ¶
func (in *SmnObservation) DeepCopy() *SmnObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmnObservation.
func (*SmnObservation) DeepCopyInto ¶
func (in *SmnObservation) DeepCopyInto(out *SmnObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SmnParameters ¶
type SmnParameters struct { // Specifies the Uniform Resource Name (URN) for SMN topic. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required TopicUrn *string `json:"topicUrn" tf:"topic_urn,omitempty"` }
func (*SmnParameters) DeepCopy ¶
func (in *SmnParameters) DeepCopy() *SmnParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmnParameters.
func (*SmnParameters) DeepCopyInto ¶
func (in *SmnParameters) DeepCopyInto(out *SmnParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimerObservation ¶
type TimerObservation struct { }
func (*TimerObservation) DeepCopy ¶
func (in *TimerObservation) DeepCopy() *TimerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimerObservation.
func (*TimerObservation) DeepCopyInto ¶
func (in *TimerObservation) DeepCopyInto(out *TimerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimerParameters ¶
type TimerParameters struct { // Specifies the event used by the timer to trigger the function. // Changing this will create a new trigger resource. // +kubebuilder:validation:Optional AdditionalInformation *string `json:"additionalInformation,omitempty" tf:"additional_information,omitempty"` // Specifies the trigger name, which can contains of 1 to 64 characters. // The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Specifies the time schedule. // For the rate type, schedule is composed of time and time unit. // The time unit supports minutes (m), hours (h) and days (d). // For the corn expression, please refer to the // User Guide. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required Schedule *string `json:"schedule" tf:"schedule,omitempty"` // Specifies the type of the time schedule. // The valid values are Rate and Cron. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required ScheduleType *string `json:"scheduleType" tf:"schedule_type,omitempty"` }
func (*TimerParameters) DeepCopy ¶
func (in *TimerParameters) DeepCopy() *TimerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimerParameters.
func (*TimerParameters) DeepCopyInto ¶
func (in *TimerParameters) DeepCopyInto(out *TimerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TriggerSpec `json:"spec"` Status TriggerStatus `json:"status,omitempty"` }
Trigger is the Schema for the Triggers API. ""page_title: "flexibleengine_fgs_trigger" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,flexibleengine}
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Trigger) GetCondition ¶
func (mg *Trigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Trigger.
func (*Trigger) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Trigger
func (*Trigger) GetDeletionPolicy ¶
func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Trigger.
func (*Trigger) GetObservation ¶
GetObservation of this Trigger
func (*Trigger) GetParameters ¶
GetParameters of this Trigger
func (*Trigger) GetProviderConfigReference ¶
GetProviderConfigReference of this Trigger.
func (*Trigger) GetProviderReference ¶
GetProviderReference of this Trigger. Deprecated: Use GetProviderConfigReference.
func (*Trigger) GetPublishConnectionDetailsTo ¶
func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Trigger.
func (*Trigger) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Trigger
func (*Trigger) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Trigger) GetWriteConnectionSecretToReference ¶
func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Trigger.
func (*Trigger) LateInitialize ¶
LateInitialize this Trigger using its observed tfState. returns True if there are any spec changes for the resource.
func (*Trigger) ResolveReferences ¶
ResolveReferences of this Trigger.
func (*Trigger) SetConditions ¶
SetConditions of this Trigger.
func (*Trigger) SetDeletionPolicy ¶
func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Trigger.
func (*Trigger) SetObservation ¶
SetObservation for this Trigger
func (*Trigger) SetParameters ¶
SetParameters for this Trigger
func (*Trigger) SetProviderConfigReference ¶
SetProviderConfigReference of this Trigger.
func (*Trigger) SetProviderReference ¶
SetProviderReference of this Trigger. Deprecated: Use SetProviderConfigReference.
func (*Trigger) SetPublishConnectionDetailsTo ¶
func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Trigger.
func (*Trigger) SetWriteConnectionSecretToReference ¶
func (mg *Trigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Trigger.
type TriggerList ¶
type TriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Trigger `json:"items"` }
TriggerList contains a list of Triggers
func (*TriggerList) DeepCopy ¶
func (in *TriggerList) DeepCopy() *TriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerList.
func (*TriggerList) DeepCopyInto ¶
func (in *TriggerList) DeepCopyInto(out *TriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerList) DeepCopyObject ¶
func (in *TriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TriggerList) GetItems ¶
func (l *TriggerList) GetItems() []resource.Managed
GetItems of this TriggerList.
type TriggerObservation ¶
type TriggerObservation struct { // resource ID in UUID format. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*TriggerObservation) DeepCopy ¶
func (in *TriggerObservation) DeepCopy() *TriggerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObservation.
func (*TriggerObservation) DeepCopyInto ¶
func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerParameters ¶
type TriggerParameters struct { // Specifies the configuration of the shared APIG trigger. // Changing this will create a new trigger resource. // The object structure is documented below. // +kubebuilder:validation:Optional Apig []ApigParameters `json:"apig,omitempty" tf:"apig,omitempty"` // Specifies the configuration of the DIS trigger. // Changing this will create a new trigger resource. // The object structure is documented below. // +kubebuilder:validation:Optional Dis []DisParameters `json:"dis,omitempty" tf:"dis,omitempty"` // Specifies the Uniform Resource Name (URN) of the function. // Changing this will create a new trigger resource. // +crossplane:generate:reference:type=Function // +kubebuilder:validation:Optional FunctionUrn *string `json:"functionUrn,omitempty" tf:"function_urn,omitempty"` // Reference to a Function to populate functionUrn. // +kubebuilder:validation:Optional FunctionUrnRef *v1.Reference `json:"functionUrnRef,omitempty" tf:"-"` // Selector for a Function to populate functionUrn. // +kubebuilder:validation:Optional FunctionUrnSelector *v1.Selector `json:"functionUrnSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Kafka []KafkaParameters `json:"kafka,omitempty" tf:"kafka,omitempty"` // +kubebuilder:validation:Optional Lts []LtsParameters `json:"lts,omitempty" tf:"lts,omitempty"` // Specifies the configuration of the OBS trigger. // Changing this will create a new trigger resource. // The object structure is documented below. // +kubebuilder:validation:Optional Obs []ObsParameters `json:"obs,omitempty" tf:"obs,omitempty"` // Specifies the region in which to create the trigger resource. // If omitted, the provider-level region will be used. // Changing this will create a new trigger resource. // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // Specifies the configuration of the SMN trigger. // Changing this will create a new trigger resource. // The object structure is documented below. // +kubebuilder:validation:Optional Smn []SmnParameters `json:"smn,omitempty" tf:"smn,omitempty"` // Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED. // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` // Specifies the configuration of the timing trigger. // Changing this will create a new trigger resource. // The object structure is documented below. // +kubebuilder:validation:Optional Timer []TimerParameters `json:"timer,omitempty" tf:"timer,omitempty"` // Specifies the type of the function. // The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. // Changing this will create a new trigger resource. // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*TriggerParameters) DeepCopy ¶
func (in *TriggerParameters) DeepCopy() *TriggerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameters.
func (*TriggerParameters) DeepCopyInto ¶
func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerSpec ¶
type TriggerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TriggerParameters `json:"forProvider"` }
TriggerSpec defines the desired state of Trigger
func (*TriggerSpec) DeepCopy ¶
func (in *TriggerSpec) DeepCopy() *TriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerSpec.
func (*TriggerSpec) DeepCopyInto ¶
func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerStatus ¶
type TriggerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TriggerObservation `json:"atProvider,omitempty"` }
TriggerStatus defines the observed state of Trigger.
func (*TriggerStatus) DeepCopy ¶
func (in *TriggerStatus) DeepCopy() *TriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerStatus.
func (*TriggerStatus) DeepCopyInto ¶
func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.