Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudfunctions.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ConditionInitParameters
- type ConditionObservation
- type ConditionParameters
- type EventTriggerInitParameters
- type EventTriggerObservation
- type EventTriggerParameters
- type FailurePolicyInitParameters
- type FailurePolicyObservation
- type FailurePolicyParameters
- type Function
- func (tr *Function) ConvertFrom(srcRaw conversion.Hub) error
- func (tr *Function) ConvertTo(dstRaw conversion.Hub) error
- 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) 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 (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 FunctionIAMMember
- func (tr *FunctionIAMMember) ConvertFrom(srcRaw conversion.Hub) error
- func (tr *FunctionIAMMember) ConvertTo(dstRaw conversion.Hub) error
- func (in *FunctionIAMMember) DeepCopy() *FunctionIAMMember
- func (in *FunctionIAMMember) DeepCopyInto(out *FunctionIAMMember)
- func (in *FunctionIAMMember) DeepCopyObject() runtime.Object
- func (mg *FunctionIAMMember) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *FunctionIAMMember) GetConnectionDetailsMapping() map[string]string
- func (mg *FunctionIAMMember) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *FunctionIAMMember) GetID() string
- func (tr *FunctionIAMMember) GetInitParameters() (map[string]any, error)
- func (mg *FunctionIAMMember) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *FunctionIAMMember) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *FunctionIAMMember) GetObservation() (map[string]any, error)
- func (tr *FunctionIAMMember) GetParameters() (map[string]any, error)
- func (mg *FunctionIAMMember) GetProviderConfigReference() *xpv1.Reference
- func (mg *FunctionIAMMember) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *FunctionIAMMember) GetTerraformResourceType() string
- func (tr *FunctionIAMMember) GetTerraformSchemaVersion() int
- func (mg *FunctionIAMMember) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *FunctionIAMMember) LateInitialize(attrs []byte) (bool, error)
- func (mg *FunctionIAMMember) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *FunctionIAMMember) SetConditions(c ...xpv1.Condition)
- func (mg *FunctionIAMMember) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *FunctionIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *FunctionIAMMember) SetObservation(obs map[string]any) error
- func (tr *FunctionIAMMember) SetParameters(params map[string]any) error
- func (mg *FunctionIAMMember) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *FunctionIAMMember) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *FunctionIAMMember) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FunctionIAMMemberInitParameters
- type FunctionIAMMemberList
- type FunctionIAMMemberObservation
- type FunctionIAMMemberParameters
- type FunctionIAMMemberSpec
- type FunctionIAMMemberStatus
- type FunctionInitParameters
- type FunctionList
- type FunctionObservation
- type FunctionParameters
- type FunctionSpec
- type FunctionStatus
- type SecretEnvironmentVariablesInitParameters
- type SecretEnvironmentVariablesObservation
- type SecretEnvironmentVariablesParameters
- type SecretVolumesInitParameters
- type SecretVolumesObservation
- type SecretVolumesParameters
- type SourceRepositoryInitParameters
- type SourceRepositoryObservation
- type SourceRepositoryParameters
- type VersionsInitParameters
- type VersionsObservation
- type VersionsParameters
Constants ¶
const ( CRDGroup = "cloudfunctions.gcp.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 ( FunctionIAMMember_Kind = "FunctionIAMMember" FunctionIAMMember_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FunctionIAMMember_Kind}.String() FunctionIAMMember_KindAPIVersion = FunctionIAMMember_Kind + "." + CRDGroupVersion.String() FunctionIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(FunctionIAMMember_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 )
Functions ¶
This section is empty.
Types ¶
type ConditionInitParameters ¶ added in v0.35.0
type ConditionInitParameters struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ConditionInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ConditionInitParameters) DeepCopy() *ConditionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionInitParameters.
func (*ConditionInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ConditionInitParameters) DeepCopyInto(out *ConditionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionObservation ¶
type ConditionObservation struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ConditionObservation) DeepCopy ¶
func (in *ConditionObservation) DeepCopy() *ConditionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionObservation.
func (*ConditionObservation) DeepCopyInto ¶
func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionParameters ¶
type ConditionParameters struct { // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional Expression *string `json:"expression" tf:"expression,omitempty"` // +kubebuilder:validation:Optional Title *string `json:"title" tf:"title,omitempty"` }
func (*ConditionParameters) DeepCopy ¶
func (in *ConditionParameters) DeepCopy() *ConditionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionParameters.
func (*ConditionParameters) DeepCopyInto ¶
func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventTriggerInitParameters ¶ added in v0.35.0
type EventTriggerInitParameters struct { // The type of event to observe. For example: "google.storage.object.finalize". // See the documentation on calling Cloud Functions for a // full reference of accepted triggers. EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` // Specifies policy for failed executions. Structure is documented below. FailurePolicy []FailurePolicyInitParameters `json:"failurePolicy,omitempty" tf:"failure_policy,omitempty"` // Required. The name or partial URI of the resource from // which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic" Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` }
func (*EventTriggerInitParameters) DeepCopy ¶ added in v0.35.0
func (in *EventTriggerInitParameters) DeepCopy() *EventTriggerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventTriggerInitParameters.
func (*EventTriggerInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *EventTriggerInitParameters) DeepCopyInto(out *EventTriggerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventTriggerObservation ¶
type EventTriggerObservation struct { // The type of event to observe. For example: "google.storage.object.finalize". // See the documentation on calling Cloud Functions for a // full reference of accepted triggers. EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` // Specifies policy for failed executions. Structure is documented below. FailurePolicy []FailurePolicyObservation `json:"failurePolicy,omitempty" tf:"failure_policy,omitempty"` // Required. The name or partial URI of the resource from // which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic" Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` }
func (*EventTriggerObservation) DeepCopy ¶
func (in *EventTriggerObservation) DeepCopy() *EventTriggerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventTriggerObservation.
func (*EventTriggerObservation) DeepCopyInto ¶
func (in *EventTriggerObservation) DeepCopyInto(out *EventTriggerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventTriggerParameters ¶
type EventTriggerParameters struct { // The type of event to observe. For example: "google.storage.object.finalize". // See the documentation on calling Cloud Functions for a // full reference of accepted triggers. // +kubebuilder:validation:Optional EventType *string `json:"eventType" tf:"event_type,omitempty"` // Specifies policy for failed executions. Structure is documented below. // +kubebuilder:validation:Optional FailurePolicy []FailurePolicyParameters `json:"failurePolicy,omitempty" tf:"failure_policy,omitempty"` // Required. The name or partial URI of the resource from // which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic" // +kubebuilder:validation:Optional Resource *string `json:"resource" tf:"resource,omitempty"` }
func (*EventTriggerParameters) DeepCopy ¶
func (in *EventTriggerParameters) DeepCopy() *EventTriggerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventTriggerParameters.
func (*EventTriggerParameters) DeepCopyInto ¶
func (in *EventTriggerParameters) DeepCopyInto(out *EventTriggerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailurePolicyInitParameters ¶ added in v0.35.0
type FailurePolicyInitParameters struct { // Whether the function should be retried on failure. Defaults to false. Retry *bool `json:"retry,omitempty" tf:"retry,omitempty"` }
func (*FailurePolicyInitParameters) DeepCopy ¶ added in v0.35.0
func (in *FailurePolicyInitParameters) DeepCopy() *FailurePolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailurePolicyInitParameters.
func (*FailurePolicyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *FailurePolicyInitParameters) DeepCopyInto(out *FailurePolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailurePolicyObservation ¶
type FailurePolicyObservation struct { // Whether the function should be retried on failure. Defaults to false. Retry *bool `json:"retry,omitempty" tf:"retry,omitempty"` }
func (*FailurePolicyObservation) DeepCopy ¶
func (in *FailurePolicyObservation) DeepCopy() *FailurePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailurePolicyObservation.
func (*FailurePolicyObservation) DeepCopyInto ¶
func (in *FailurePolicyObservation) DeepCopyInto(out *FailurePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailurePolicyParameters ¶
type FailurePolicyParameters struct { // Whether the function should be retried on failure. Defaults to false. // +kubebuilder:validation:Optional Retry *bool `json:"retry" tf:"retry,omitempty"` }
func (*FailurePolicyParameters) DeepCopy ¶
func (in *FailurePolicyParameters) DeepCopy() *FailurePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailurePolicyParameters.
func (*FailurePolicyParameters) DeepCopyInto ¶
func (in *FailurePolicyParameters) DeepCopyInto(out *FailurePolicyParameters)
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.runtime) || (has(self.initProvider) && has(self.initProvider.runtime))",message="spec.forProvider.runtime is a required parameter" Spec FunctionSpec `json:"spec"` Status FunctionStatus `json:"status,omitempty"` }
Function is the Schema for the Functions API. Creates a new Cloud Function. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,gcp}
func (*Function) ConvertFrom ¶ added in v1.2.0
func (tr *Function) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub type to the Function type.
func (*Function) ConvertTo ¶ added in v1.2.0
func (tr *Function) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this Function to the hub type.
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.35.0
GetInitParameters of this Function
func (*Function) GetManagementPolicies ¶ added in v0.35.0
func (mg *Function) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Function.
func (*Function) GetMergedParameters ¶ added in v0.40.0
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) LateInitialize ¶
LateInitialize this Function using its observed tfState. returns True if there are any spec changes for the resource.
func (*Function) ResolveReferences ¶
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.35.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 FunctionIAMMember ¶
type FunctionIAMMember 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.member) || (has(self.initProvider) && has(self.initProvider.member))",message="spec.forProvider.member is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter" Spec FunctionIAMMemberSpec `json:"spec"` Status FunctionIAMMemberStatus `json:"status,omitempty"` }
FunctionIAMMember is the Schema for the FunctionIAMMembers API. <no value> +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,gcp}
func (*FunctionIAMMember) ConvertFrom ¶ added in v1.2.0
func (tr *FunctionIAMMember) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub type to the FunctionIAMMember type.
func (*FunctionIAMMember) ConvertTo ¶ added in v1.2.0
func (tr *FunctionIAMMember) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this FunctionIAMMember to the hub type.
func (*FunctionIAMMember) DeepCopy ¶
func (in *FunctionIAMMember) DeepCopy() *FunctionIAMMember
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMember.
func (*FunctionIAMMember) DeepCopyInto ¶
func (in *FunctionIAMMember) DeepCopyInto(out *FunctionIAMMember)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionIAMMember) DeepCopyObject ¶
func (in *FunctionIAMMember) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FunctionIAMMember) GetCondition ¶
func (mg *FunctionIAMMember) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this FunctionIAMMember.
func (*FunctionIAMMember) GetConnectionDetailsMapping ¶
func (tr *FunctionIAMMember) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this FunctionIAMMember
func (*FunctionIAMMember) GetDeletionPolicy ¶
func (mg *FunctionIAMMember) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this FunctionIAMMember.
func (*FunctionIAMMember) GetID ¶
func (tr *FunctionIAMMember) GetID() string
GetID returns ID of underlying Terraform resource of this FunctionIAMMember
func (*FunctionIAMMember) GetInitParameters ¶ added in v0.35.0
func (tr *FunctionIAMMember) GetInitParameters() (map[string]any, error)
GetInitParameters of this FunctionIAMMember
func (*FunctionIAMMember) GetManagementPolicies ¶ added in v0.35.0
func (mg *FunctionIAMMember) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this FunctionIAMMember.
func (*FunctionIAMMember) GetMergedParameters ¶ added in v0.40.0
func (tr *FunctionIAMMember) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this FunctionIAMMember
func (*FunctionIAMMember) GetObservation ¶
func (tr *FunctionIAMMember) GetObservation() (map[string]any, error)
GetObservation of this FunctionIAMMember
func (*FunctionIAMMember) GetParameters ¶
func (tr *FunctionIAMMember) GetParameters() (map[string]any, error)
GetParameters of this FunctionIAMMember
func (*FunctionIAMMember) GetProviderConfigReference ¶
func (mg *FunctionIAMMember) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this FunctionIAMMember.
func (*FunctionIAMMember) GetPublishConnectionDetailsTo ¶
func (mg *FunctionIAMMember) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this FunctionIAMMember.
func (*FunctionIAMMember) GetTerraformResourceType ¶
func (mg *FunctionIAMMember) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this FunctionIAMMember
func (*FunctionIAMMember) GetTerraformSchemaVersion ¶
func (tr *FunctionIAMMember) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*FunctionIAMMember) GetWriteConnectionSecretToReference ¶
func (mg *FunctionIAMMember) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this FunctionIAMMember.
func (*FunctionIAMMember) LateInitialize ¶
func (tr *FunctionIAMMember) LateInitialize(attrs []byte) (bool, error)
LateInitialize this FunctionIAMMember using its observed tfState. returns True if there are any spec changes for the resource.
func (*FunctionIAMMember) ResolveReferences ¶
ResolveReferences of this FunctionIAMMember.
func (*FunctionIAMMember) SetConditions ¶
func (mg *FunctionIAMMember) SetConditions(c ...xpv1.Condition)
SetConditions of this FunctionIAMMember.
func (*FunctionIAMMember) SetDeletionPolicy ¶
func (mg *FunctionIAMMember) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this FunctionIAMMember.
func (*FunctionIAMMember) SetManagementPolicies ¶ added in v0.35.0
func (mg *FunctionIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this FunctionIAMMember.
func (*FunctionIAMMember) SetObservation ¶
func (tr *FunctionIAMMember) SetObservation(obs map[string]any) error
SetObservation for this FunctionIAMMember
func (*FunctionIAMMember) SetParameters ¶
func (tr *FunctionIAMMember) SetParameters(params map[string]any) error
SetParameters for this FunctionIAMMember
func (*FunctionIAMMember) SetProviderConfigReference ¶
func (mg *FunctionIAMMember) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this FunctionIAMMember.
func (*FunctionIAMMember) SetPublishConnectionDetailsTo ¶
func (mg *FunctionIAMMember) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this FunctionIAMMember.
func (*FunctionIAMMember) SetWriteConnectionSecretToReference ¶
func (mg *FunctionIAMMember) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this FunctionIAMMember.
type FunctionIAMMemberInitParameters ¶ added in v0.35.0
type FunctionIAMMemberInitParameters struct { // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudfunctions/v1beta1.Function CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"` // Reference to a Function in cloudfunctions to populate cloudFunction. // +kubebuilder:validation:Optional CloudFunctionRef *v1.Reference `json:"cloudFunctionRef,omitempty" tf:"-"` // Selector for a Function in cloudfunctions to populate cloudFunction. // +kubebuilder:validation:Optional CloudFunctionSelector *v1.Selector `json:"cloudFunctionSelector,omitempty" tf:"-"` Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"` Member *string `json:"member,omitempty" tf:"member,omitempty"` Project *string `json:"project,omitempty" tf:"project,omitempty"` Region *string `json:"region,omitempty" tf:"region,omitempty"` Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*FunctionIAMMemberInitParameters) DeepCopy ¶ added in v0.35.0
func (in *FunctionIAMMemberInitParameters) DeepCopy() *FunctionIAMMemberInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberInitParameters.
func (*FunctionIAMMemberInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *FunctionIAMMemberInitParameters) DeepCopyInto(out *FunctionIAMMemberInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionIAMMemberList ¶
type FunctionIAMMemberList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FunctionIAMMember `json:"items"` }
FunctionIAMMemberList contains a list of FunctionIAMMembers
func (*FunctionIAMMemberList) DeepCopy ¶
func (in *FunctionIAMMemberList) DeepCopy() *FunctionIAMMemberList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberList.
func (*FunctionIAMMemberList) DeepCopyInto ¶
func (in *FunctionIAMMemberList) DeepCopyInto(out *FunctionIAMMemberList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionIAMMemberList) DeepCopyObject ¶
func (in *FunctionIAMMemberList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FunctionIAMMemberList) GetItems ¶
func (l *FunctionIAMMemberList) GetItems() []resource.Managed
GetItems of this FunctionIAMMemberList.
type FunctionIAMMemberObservation ¶
type FunctionIAMMemberObservation struct { CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"` Condition []ConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"` Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Member *string `json:"member,omitempty" tf:"member,omitempty"` Project *string `json:"project,omitempty" tf:"project,omitempty"` Region *string `json:"region,omitempty" tf:"region,omitempty"` Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*FunctionIAMMemberObservation) DeepCopy ¶
func (in *FunctionIAMMemberObservation) DeepCopy() *FunctionIAMMemberObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberObservation.
func (*FunctionIAMMemberObservation) DeepCopyInto ¶
func (in *FunctionIAMMemberObservation) DeepCopyInto(out *FunctionIAMMemberObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionIAMMemberParameters ¶
type FunctionIAMMemberParameters struct { // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudfunctions/v1beta1.Function // +kubebuilder:validation:Optional CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"` // Reference to a Function in cloudfunctions to populate cloudFunction. // +kubebuilder:validation:Optional CloudFunctionRef *v1.Reference `json:"cloudFunctionRef,omitempty" tf:"-"` // Selector for a Function in cloudfunctions to populate cloudFunction. // +kubebuilder:validation:Optional CloudFunctionSelector *v1.Selector `json:"cloudFunctionSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"` // +kubebuilder:validation:Optional Member *string `json:"member,omitempty" tf:"member,omitempty"` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,omitempty"` // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*FunctionIAMMemberParameters) DeepCopy ¶
func (in *FunctionIAMMemberParameters) DeepCopy() *FunctionIAMMemberParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberParameters.
func (*FunctionIAMMemberParameters) DeepCopyInto ¶
func (in *FunctionIAMMemberParameters) DeepCopyInto(out *FunctionIAMMemberParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionIAMMemberSpec ¶
type FunctionIAMMemberSpec struct { v1.ResourceSpec `json:",inline"` ForProvider FunctionIAMMemberParameters `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 FunctionIAMMemberInitParameters `json:"initProvider,omitempty"` }
FunctionIAMMemberSpec defines the desired state of FunctionIAMMember
func (*FunctionIAMMemberSpec) DeepCopy ¶
func (in *FunctionIAMMemberSpec) DeepCopy() *FunctionIAMMemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberSpec.
func (*FunctionIAMMemberSpec) DeepCopyInto ¶
func (in *FunctionIAMMemberSpec) DeepCopyInto(out *FunctionIAMMemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionIAMMemberStatus ¶
type FunctionIAMMemberStatus struct { v1.ResourceStatus `json:",inline"` AtProvider FunctionIAMMemberObservation `json:"atProvider,omitempty"` }
FunctionIAMMemberStatus defines the observed state of FunctionIAMMember.
func (*FunctionIAMMemberStatus) DeepCopy ¶
func (in *FunctionIAMMemberStatus) DeepCopy() *FunctionIAMMemberStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionIAMMemberStatus.
func (*FunctionIAMMemberStatus) DeepCopyInto ¶
func (in *FunctionIAMMemberStatus) DeepCopyInto(out *FunctionIAMMemberStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionInitParameters ¶ added in v0.35.0
type FunctionInitParameters struct { // Memory (in MB), available to the function. Default value is 256. Possible values include 128, 256, 512, 1024, etc. AvailableMemoryMb *float64 `json:"availableMemoryMb,omitempty" tf:"available_memory_mb,omitempty"` // A set of key/value environment variable pairs available during build time. BuildEnvironmentVariables map[string]string `json:"buildEnvironmentVariables,omitempty" tf:"build_environment_variables,omitempty"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. BuildWorkerPool *string `json:"buildWorkerPool,omitempty" tf:"build_worker_pool,omitempty"` // Description of the function. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY. DockerRegistry *string `json:"dockerRegistry,omitempty" tf:"docker_registry,omitempty"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means. DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"` // Name of the function that will be executed when the Google Cloud Function is triggered. EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // A set of key/value environment variable pairs to assign to the function. EnvironmentVariables map[string]string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"` // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with trigger_http. EventTrigger []EventTriggerInitParameters `json:"eventTrigger,omitempty" tf:"event_trigger,omitempty"` // The security level for the function. The following options are available: HTTPSTriggerSecurityLevel *string `json:"httpsTriggerSecurityLevel,omitempty" tf:"https_trigger_security_level,omitempty"` // URL which triggers function execution. Returned only if trigger_http is used. HTTPSTriggerURL *string `json:"httpsTriggerUrl,omitempty" tf:"https_trigger_url,omitempty"` // String value that controls what traffic can reach the function. Allowed values are ALLOW_ALL, ALLOW_INTERNAL_AND_GCLB and ALLOW_INTERNAL_ONLY. Check ingress documentation to see the impact of each settings value. Changes to this field will recreate the cloud function. IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"` // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. // If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. Before deploying, please complete all pre-requisites described in https://cloud.google.com/functions/docs/securing/cmek#granting_service_accounts_access_to_the_key KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"` // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances *float64 `json:"maxInstances,omitempty" tf:"max_instances,omitempty"` // The limit on the minimum number of function instances that may coexist at a given time. MinInstances *float64 `json:"minInstances,omitempty" tf:"min_instances,omitempty"` // Project of the function. If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The runtime in which the function is going to run. // Eg. "nodejs16", "python39", "dotnet3", "go116", "java11", "ruby30", "php74", etc. Check the official doc for the up-to-date list. Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // Secret environment variables configuration. Structure is documented below. SecretEnvironmentVariables []SecretEnvironmentVariablesInitParameters `json:"secretEnvironmentVariables,omitempty" tf:"secret_environment_variables,omitempty"` // Secret volumes configuration. Structure is documented below. SecretVolumes []SecretVolumesInitParameters `json:"secretVolumes,omitempty" tf:"secret_volumes,omitempty"` // If provided, the self-provided service account to run the function with. ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"` // The GCS bucket containing the zip archive which contains the function. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta1.Bucket SourceArchiveBucket *string `json:"sourceArchiveBucket,omitempty" tf:"source_archive_bucket,omitempty"` // Reference to a Bucket in storage to populate sourceArchiveBucket. // +kubebuilder:validation:Optional SourceArchiveBucketRef *v1.Reference `json:"sourceArchiveBucketRef,omitempty" tf:"-"` // Selector for a Bucket in storage to populate sourceArchiveBucket. // +kubebuilder:validation:Optional SourceArchiveBucketSelector *v1.Selector `json:"sourceArchiveBucketSelector,omitempty" tf:"-"` // The source archive object (file) in archive bucket. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta1.BucketObject // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) SourceArchiveObject *string `json:"sourceArchiveObject,omitempty" tf:"source_archive_object,omitempty"` // Reference to a BucketObject in storage to populate sourceArchiveObject. // +kubebuilder:validation:Optional SourceArchiveObjectRef *v1.Reference `json:"sourceArchiveObjectRef,omitempty" tf:"-"` // Selector for a BucketObject in storage to populate sourceArchiveObject. // +kubebuilder:validation:Optional SourceArchiveObjectSelector *v1.Selector `json:"sourceArchiveObjectSelector,omitempty" tf:"-"` // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside source_archive_bucket or source_archive_object. Structure is documented below. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}.* SourceRepository []SourceRepositoryInitParameters `json:"sourceRepository,omitempty" tf:"source_repository,omitempty"` // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as https_trigger_url. Cannot be used with event_trigger. TriggerHTTP *bool `json:"triggerHttp,omitempty" tf:"trigger_http,omitempty"` // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is projects/*/locations/*/connectors/*. VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"` // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value. VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,omitempty"` }
func (*FunctionInitParameters) DeepCopy ¶ added in v0.35.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.35.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 { // Memory (in MB), available to the function. Default value is 256. Possible values include 128, 256, 512, 1024, etc. AvailableMemoryMb *float64 `json:"availableMemoryMb,omitempty" tf:"available_memory_mb,omitempty"` // A set of key/value environment variable pairs available during build time. BuildEnvironmentVariables map[string]string `json:"buildEnvironmentVariables,omitempty" tf:"build_environment_variables,omitempty"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. BuildWorkerPool *string `json:"buildWorkerPool,omitempty" tf:"build_worker_pool,omitempty"` // Description of the function. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY. DockerRegistry *string `json:"dockerRegistry,omitempty" tf:"docker_registry,omitempty"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means. DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // Name of the function that will be executed when the Google Cloud Function is triggered. EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // A set of key/value environment variable pairs to assign to the function. EnvironmentVariables map[string]string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"` // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with trigger_http. EventTrigger []EventTriggerObservation `json:"eventTrigger,omitempty" tf:"event_trigger,omitempty"` // The security level for the function. The following options are available: HTTPSTriggerSecurityLevel *string `json:"httpsTriggerSecurityLevel,omitempty" tf:"https_trigger_security_level,omitempty"` // URL which triggers function execution. Returned only if trigger_http is used. HTTPSTriggerURL *string `json:"httpsTriggerUrl,omitempty" tf:"https_trigger_url,omitempty"` // an identifier for the resource with format {{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // String value that controls what traffic can reach the function. Allowed values are ALLOW_ALL, ALLOW_INTERNAL_AND_GCLB and ALLOW_INTERNAL_ONLY. Check ingress documentation to see the impact of each settings value. Changes to this field will recreate the cloud function. IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"` // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. // If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. Before deploying, please complete all pre-requisites described in https://cloud.google.com/functions/docs/securing/cmek#granting_service_accounts_access_to_the_key KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"` // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances *float64 `json:"maxInstances,omitempty" tf:"max_instances,omitempty"` // The limit on the minimum number of function instances that may coexist at a given time. MinInstances *float64 `json:"minInstances,omitempty" tf:"min_instances,omitempty"` // Project of the function. If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Region of function. If it is not provided, the provider region is used. Region *string `json:"region,omitempty" tf:"region,omitempty"` // The runtime in which the function is going to run. // Eg. "nodejs16", "python39", "dotnet3", "go116", "java11", "ruby30", "php74", etc. Check the official doc for the up-to-date list. Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // Secret environment variables configuration. Structure is documented below. SecretEnvironmentVariables []SecretEnvironmentVariablesObservation `json:"secretEnvironmentVariables,omitempty" tf:"secret_environment_variables,omitempty"` // Secret volumes configuration. Structure is documented below. SecretVolumes []SecretVolumesObservation `json:"secretVolumes,omitempty" tf:"secret_volumes,omitempty"` // If provided, the self-provided service account to run the function with. ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"` // The GCS bucket containing the zip archive which contains the function. SourceArchiveBucket *string `json:"sourceArchiveBucket,omitempty" tf:"source_archive_bucket,omitempty"` // The source archive object (file) in archive bucket. SourceArchiveObject *string `json:"sourceArchiveObject,omitempty" tf:"source_archive_object,omitempty"` // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside source_archive_bucket or source_archive_object. Structure is documented below. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}.* SourceRepository []SourceRepositoryObservation `json:"sourceRepository,omitempty" tf:"source_repository,omitempty"` Status *string `json:"status,omitempty" tf:"status,omitempty"` // The combination of labels configured directly on the resource and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as https_trigger_url. Cannot be used with event_trigger. TriggerHTTP *bool `json:"triggerHttp,omitempty" tf:"trigger_http,omitempty"` // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is projects/*/locations/*/connectors/*. VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"` // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value. VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,omitempty"` // an identifier for the resource with format {{name}} VersionID *string `json:"versionId,omitempty" tf:"version_id,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 { // Memory (in MB), available to the function. Default value is 256. Possible values include 128, 256, 512, 1024, etc. // +kubebuilder:validation:Optional AvailableMemoryMb *float64 `json:"availableMemoryMb,omitempty" tf:"available_memory_mb,omitempty"` // A set of key/value environment variable pairs available during build time. // +kubebuilder:validation:Optional BuildEnvironmentVariables map[string]string `json:"buildEnvironmentVariables,omitempty" tf:"build_environment_variables,omitempty"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. // +kubebuilder:validation:Optional BuildWorkerPool *string `json:"buildWorkerPool,omitempty" tf:"build_worker_pool,omitempty"` // Description of the function. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY. // +kubebuilder:validation:Optional DockerRegistry *string `json:"dockerRegistry,omitempty" tf:"docker_registry,omitempty"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means. // +kubebuilder:validation:Optional DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"` // Name of the function that will be executed when the Google Cloud Function is triggered. // +kubebuilder:validation:Optional EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"` // A set of key/value environment variable pairs to assign to the function. // +kubebuilder:validation:Optional EnvironmentVariables map[string]string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"` // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with trigger_http. // +kubebuilder:validation:Optional EventTrigger []EventTriggerParameters `json:"eventTrigger,omitempty" tf:"event_trigger,omitempty"` // The security level for the function. The following options are available: // +kubebuilder:validation:Optional HTTPSTriggerSecurityLevel *string `json:"httpsTriggerSecurityLevel,omitempty" tf:"https_trigger_security_level,omitempty"` // URL which triggers function execution. Returned only if trigger_http is used. // +kubebuilder:validation:Optional HTTPSTriggerURL *string `json:"httpsTriggerUrl,omitempty" tf:"https_trigger_url,omitempty"` // String value that controls what traffic can reach the function. Allowed values are ALLOW_ALL, ALLOW_INTERNAL_AND_GCLB and ALLOW_INTERNAL_ONLY. Check ingress documentation to see the impact of each settings value. Changes to this field will recreate the cloud function. // +kubebuilder:validation:Optional IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"` // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. // If specified, you must also provide an artifact registry repository using the docker_repository field that was created with the same KMS crypto key. Before deploying, please complete all pre-requisites described in https://cloud.google.com/functions/docs/securing/cmek#granting_service_accounts_access_to_the_key // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty" tf:"labels,omitempty"` // The limit on the maximum number of function instances that may coexist at a given time. // +kubebuilder:validation:Optional MaxInstances *float64 `json:"maxInstances,omitempty" tf:"max_instances,omitempty"` // The limit on the minimum number of function instances that may coexist at a given time. // +kubebuilder:validation:Optional MinInstances *float64 `json:"minInstances,omitempty" tf:"min_instances,omitempty"` // Project of the function. If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Region of function. If it is not provided, the provider region is used. // +kubebuilder:validation:Required Region *string `json:"region" tf:"region,omitempty"` // The runtime in which the function is going to run. // Eg. "nodejs16", "python39", "dotnet3", "go116", "java11", "ruby30", "php74", etc. Check the official doc for the up-to-date list. // +kubebuilder:validation:Optional Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"` // Secret environment variables configuration. Structure is documented below. // +kubebuilder:validation:Optional SecretEnvironmentVariables []SecretEnvironmentVariablesParameters `json:"secretEnvironmentVariables,omitempty" tf:"secret_environment_variables,omitempty"` // Secret volumes configuration. Structure is documented below. // +kubebuilder:validation:Optional SecretVolumes []SecretVolumesParameters `json:"secretVolumes,omitempty" tf:"secret_volumes,omitempty"` // If provided, the self-provided service account to run the function with. // +kubebuilder:validation:Optional ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"` // The GCS bucket containing the zip archive which contains the function. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta1.Bucket // +kubebuilder:validation:Optional SourceArchiveBucket *string `json:"sourceArchiveBucket,omitempty" tf:"source_archive_bucket,omitempty"` // Reference to a Bucket in storage to populate sourceArchiveBucket. // +kubebuilder:validation:Optional SourceArchiveBucketRef *v1.Reference `json:"sourceArchiveBucketRef,omitempty" tf:"-"` // Selector for a Bucket in storage to populate sourceArchiveBucket. // +kubebuilder:validation:Optional SourceArchiveBucketSelector *v1.Selector `json:"sourceArchiveBucketSelector,omitempty" tf:"-"` // The source archive object (file) in archive bucket. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta1.BucketObject // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false) // +kubebuilder:validation:Optional SourceArchiveObject *string `json:"sourceArchiveObject,omitempty" tf:"source_archive_object,omitempty"` // Reference to a BucketObject in storage to populate sourceArchiveObject. // +kubebuilder:validation:Optional SourceArchiveObjectRef *v1.Reference `json:"sourceArchiveObjectRef,omitempty" tf:"-"` // Selector for a BucketObject in storage to populate sourceArchiveObject. // +kubebuilder:validation:Optional SourceArchiveObjectSelector *v1.Selector `json:"sourceArchiveObjectSelector,omitempty" tf:"-"` // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside source_archive_bucket or source_archive_object. Structure is documented below. It must match the pattern projects/{project}/locations/{location}/repositories/{repository}.* // +kubebuilder:validation:Optional SourceRepository []SourceRepositoryParameters `json:"sourceRepository,omitempty" tf:"source_repository,omitempty"` // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. // +kubebuilder:validation:Optional Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"` // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as https_trigger_url. Cannot be used with event_trigger. // +kubebuilder:validation:Optional TriggerHTTP *bool `json:"triggerHttp,omitempty" tf:"trigger_http,omitempty"` // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is projects/*/locations/*/connectors/*. // +kubebuilder:validation:Optional VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"` // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value. // +kubebuilder:validation:Optional VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,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 SecretEnvironmentVariablesInitParameters ¶ added in v0.35.0
type SecretEnvironmentVariablesInitParameters struct { // Name of the environment variable. Key *string `json:"key,omitempty" tf:"key,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // Version of the secret (version number or the string "latest"). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new clones start. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*SecretEnvironmentVariablesInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SecretEnvironmentVariablesInitParameters) DeepCopy() *SecretEnvironmentVariablesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvironmentVariablesInitParameters.
func (*SecretEnvironmentVariablesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SecretEnvironmentVariablesInitParameters) DeepCopyInto(out *SecretEnvironmentVariablesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretEnvironmentVariablesObservation ¶
type SecretEnvironmentVariablesObservation struct { // Name of the environment variable. Key *string `json:"key,omitempty" tf:"key,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // Version of the secret (version number or the string "latest"). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new clones start. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*SecretEnvironmentVariablesObservation) DeepCopy ¶
func (in *SecretEnvironmentVariablesObservation) DeepCopy() *SecretEnvironmentVariablesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvironmentVariablesObservation.
func (*SecretEnvironmentVariablesObservation) DeepCopyInto ¶
func (in *SecretEnvironmentVariablesObservation) DeepCopyInto(out *SecretEnvironmentVariablesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretEnvironmentVariablesParameters ¶
type SecretEnvironmentVariablesParameters struct { // Name of the environment variable. // +kubebuilder:validation:Optional Key *string `json:"key" tf:"key,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). // +kubebuilder:validation:Optional Secret *string `json:"secret" tf:"secret,omitempty"` // Version of the secret (version number or the string "latest"). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new clones start. // +kubebuilder:validation:Optional Version *string `json:"version" tf:"version,omitempty"` }
func (*SecretEnvironmentVariablesParameters) DeepCopy ¶
func (in *SecretEnvironmentVariablesParameters) DeepCopy() *SecretEnvironmentVariablesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvironmentVariablesParameters.
func (*SecretEnvironmentVariablesParameters) DeepCopyInto ¶
func (in *SecretEnvironmentVariablesParameters) DeepCopyInto(out *SecretEnvironmentVariablesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVolumesInitParameters ¶ added in v0.35.0
type SecretVolumesInitParameters struct { // The path within the container to mount the secret volume. For example, setting the mount_path as "/etc/secrets" would mount the secret value files under the "/etc/secrets" directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log". MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // List of secret versions to mount for this secret. If empty, the "latest" version of the secret will be made available in a file named after the secret under the mount point. Structure is documented below. Versions []VersionsInitParameters `json:"versions,omitempty" tf:"versions,omitempty"` }
func (*SecretVolumesInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SecretVolumesInitParameters) DeepCopy() *SecretVolumesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumesInitParameters.
func (*SecretVolumesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SecretVolumesInitParameters) DeepCopyInto(out *SecretVolumesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVolumesObservation ¶
type SecretVolumesObservation struct { // The path within the container to mount the secret volume. For example, setting the mount_path as "/etc/secrets" would mount the secret value files under the "/etc/secrets" directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log". MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // List of secret versions to mount for this secret. If empty, the "latest" version of the secret will be made available in a file named after the secret under the mount point. Structure is documented below. Versions []VersionsObservation `json:"versions,omitempty" tf:"versions,omitempty"` }
func (*SecretVolumesObservation) DeepCopy ¶
func (in *SecretVolumesObservation) DeepCopy() *SecretVolumesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumesObservation.
func (*SecretVolumesObservation) DeepCopyInto ¶
func (in *SecretVolumesObservation) DeepCopyInto(out *SecretVolumesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVolumesParameters ¶
type SecretVolumesParameters struct { // The path within the container to mount the secret volume. For example, setting the mount_path as "/etc/secrets" would mount the secret value files under the "/etc/secrets" directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log". // +kubebuilder:validation:Optional MountPath *string `json:"mountPath" tf:"mount_path,omitempty"` // Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // ID of the secret in secret manager (not the full resource name). // +kubebuilder:validation:Optional Secret *string `json:"secret" tf:"secret,omitempty"` // List of secret versions to mount for this secret. If empty, the "latest" version of the secret will be made available in a file named after the secret under the mount point. Structure is documented below. // +kubebuilder:validation:Optional Versions []VersionsParameters `json:"versions,omitempty" tf:"versions,omitempty"` }
func (*SecretVolumesParameters) DeepCopy ¶
func (in *SecretVolumesParameters) DeepCopy() *SecretVolumesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumesParameters.
func (*SecretVolumesParameters) DeepCopyInto ¶
func (in *SecretVolumesParameters) DeepCopyInto(out *SecretVolumesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepositoryInitParameters ¶ added in v0.35.0
type SourceRepositoryInitParameters struct { // The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SourceRepositoryInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SourceRepositoryInitParameters) DeepCopy() *SourceRepositoryInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryInitParameters.
func (*SourceRepositoryInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SourceRepositoryInitParameters) DeepCopyInto(out *SourceRepositoryInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepositoryObservation ¶
type SourceRepositoryObservation struct { // The URL pointing to the hosted repository where the function was defined at the time of deployment. DeployedURL *string `json:"deployedUrl,omitempty" tf:"deployed_url,omitempty"` // The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*SourceRepositoryObservation) DeepCopy ¶
func (in *SourceRepositoryObservation) DeepCopy() *SourceRepositoryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryObservation.
func (*SourceRepositoryObservation) DeepCopyInto ¶
func (in *SourceRepositoryObservation) DeepCopyInto(out *SourceRepositoryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepositoryParameters ¶
type SourceRepositoryParameters struct { // The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: // +kubebuilder:validation:Optional URL *string `json:"url" tf:"url,omitempty"` }
func (*SourceRepositoryParameters) DeepCopy ¶
func (in *SourceRepositoryParameters) DeepCopy() *SourceRepositoryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryParameters.
func (*SourceRepositoryParameters) DeepCopyInto ¶
func (in *SourceRepositoryParameters) DeepCopyInto(out *SourceRepositoryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionsInitParameters ¶ added in v0.35.0
type VersionsInitParameters struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo". Path *string `json:"path,omitempty" tf:"path,omitempty"` // Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*VersionsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *VersionsInitParameters) DeepCopy() *VersionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsInitParameters.
func (*VersionsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *VersionsInitParameters) DeepCopyInto(out *VersionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionsObservation ¶
type VersionsObservation struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo". Path *string `json:"path,omitempty" tf:"path,omitempty"` // Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*VersionsObservation) DeepCopy ¶
func (in *VersionsObservation) DeepCopy() *VersionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsObservation.
func (*VersionsObservation) DeepCopyInto ¶
func (in *VersionsObservation) DeepCopyInto(out *VersionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionsParameters ¶
type VersionsParameters struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo". // +kubebuilder:validation:Optional Path *string `json:"path" tf:"path,omitempty"` // Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately. // +kubebuilder:validation:Optional Version *string `json:"version" tf:"version,omitempty"` }
func (*VersionsParameters) DeepCopy ¶
func (in *VersionsParameters) DeepCopy() *VersionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsParameters.
func (*VersionsParameters) DeepCopyInto ¶
func (in *VersionsParameters) DeepCopyInto(out *VersionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.