v1beta2

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudfunctions2.gcp.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "cloudfunctions2.gcp.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

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

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AutomaticUpdatePolicyInitParameters added in v1.7.0

type AutomaticUpdatePolicyInitParameters struct {
}

func (*AutomaticUpdatePolicyInitParameters) DeepCopy added in v1.7.0

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

func (*AutomaticUpdatePolicyInitParameters) DeepCopyInto added in v1.7.0

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

type AutomaticUpdatePolicyObservation added in v1.7.0

type AutomaticUpdatePolicyObservation struct {
}

func (*AutomaticUpdatePolicyObservation) DeepCopy added in v1.7.0

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

func (*AutomaticUpdatePolicyObservation) DeepCopyInto added in v1.7.0

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

type AutomaticUpdatePolicyParameters added in v1.7.0

type AutomaticUpdatePolicyParameters struct {
}

func (*AutomaticUpdatePolicyParameters) DeepCopy added in v1.7.0

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

func (*AutomaticUpdatePolicyParameters) DeepCopyInto added in v1.7.0

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

type BuildConfigInitParameters

type BuildConfigInitParameters struct {

	// Security patches are applied automatically to the runtime without requiring
	// the function to be redeployed.
	AutomaticUpdatePolicy *AutomaticUpdatePolicyInitParameters `json:"automaticUpdatePolicy,omitempty" tf:"automatic_update_policy,omitempty"`

	// User managed repository created in Artifact Registry optionally with a customer managed encryption key.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/artifact/v1beta2.RegistryRepository
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`

	// Reference to a RegistryRepository in artifact to populate dockerRepository.
	// +kubebuilder:validation:Optional
	DockerRepositoryRef *v1.Reference `json:"dockerRepositoryRef,omitempty" tf:"-"`

	// Selector for a RegistryRepository in artifact to populate dockerRepository.
	// +kubebuilder:validation:Optional
	DockerRepositorySelector *v1.Selector `json:"dockerRepositorySelector,omitempty" tf:"-"`

	// The name of the function (as defined in source code) that will be executed.
	// Defaults to the resource name suffix, if not specified. For backward
	// compatibility, if function with given name is not found, then the system
	// will try to use function named "function". For Node.js this is name of a
	// function exported by the module specified in source_location.
	EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// User-provided build-time environment variables for the function.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Security patches are only applied when a function is redeployed.
	// Structure is documented below.
	OnDeployUpdatePolicy *OnDeployUpdatePolicyInitParameters `json:"onDeployUpdatePolicy,omitempty" tf:"on_deploy_update_policy,omitempty"`

	// The runtime in which to run the function. Required when deploying a new
	// function, optional when updating an existing function.
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// The fully-qualified name of the service account to be used for building the container.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// The location of the function source code.
	// Structure is documented below.
	Source *SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"`

	// Name of the Cloud Build Custom Worker Pool that should be used to build the function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudbuild/v1beta2.WorkerPool
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"`

	// Reference to a WorkerPool in cloudbuild to populate workerPool.
	// +kubebuilder:validation:Optional
	WorkerPoolRef *v1.Reference `json:"workerPoolRef,omitempty" tf:"-"`

	// Selector for a WorkerPool in cloudbuild to populate workerPool.
	// +kubebuilder:validation:Optional
	WorkerPoolSelector *v1.Selector `json:"workerPoolSelector,omitempty" tf:"-"`
}

func (*BuildConfigInitParameters) DeepCopy

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

func (*BuildConfigInitParameters) DeepCopyInto

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

type BuildConfigObservation

type BuildConfigObservation struct {

	// Security patches are applied automatically to the runtime without requiring
	// the function to be redeployed.
	AutomaticUpdatePolicy *AutomaticUpdatePolicyParameters `json:"automaticUpdatePolicy,omitempty" tf:"automatic_update_policy,omitempty"`

	// (Output)
	// The Cloud Build name of the latest successful
	// deployment of the function.
	Build *string `json:"build,omitempty" tf:"build,omitempty"`

	// User managed repository created in Artifact Registry optionally with a customer managed encryption key.
	DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`

	// The name of the function (as defined in source code) that will be executed.
	// Defaults to the resource name suffix, if not specified. For backward
	// compatibility, if function with given name is not found, then the system
	// will try to use function named "function". For Node.js this is name of a
	// function exported by the module specified in source_location.
	EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// User-provided build-time environment variables for the function.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Security patches are only applied when a function is redeployed.
	// Structure is documented below.
	OnDeployUpdatePolicy *OnDeployUpdatePolicyObservation `json:"onDeployUpdatePolicy,omitempty" tf:"on_deploy_update_policy,omitempty"`

	// The runtime in which to run the function. Required when deploying a new
	// function, optional when updating an existing function.
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// The fully-qualified name of the service account to be used for building the container.
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// The location of the function source code.
	// Structure is documented below.
	Source *SourceObservation `json:"source,omitempty" tf:"source,omitempty"`

	// Name of the Cloud Build Custom Worker Pool that should be used to build the function.
	WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"`
}

func (*BuildConfigObservation) DeepCopy

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

func (*BuildConfigObservation) DeepCopyInto

func (in *BuildConfigObservation) DeepCopyInto(out *BuildConfigObservation)

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

type BuildConfigParameters

type BuildConfigParameters struct {

	// Security patches are applied automatically to the runtime without requiring
	// the function to be redeployed.
	// +kubebuilder:validation:Optional
	AutomaticUpdatePolicy *AutomaticUpdatePolicyParameters `json:"automaticUpdatePolicy,omitempty" tf:"automatic_update_policy,omitempty"`

	// User managed repository created in Artifact Registry optionally with a customer managed encryption key.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/artifact/v1beta2.RegistryRepository
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DockerRepository *string `json:"dockerRepository,omitempty" tf:"docker_repository,omitempty"`

	// Reference to a RegistryRepository in artifact to populate dockerRepository.
	// +kubebuilder:validation:Optional
	DockerRepositoryRef *v1.Reference `json:"dockerRepositoryRef,omitempty" tf:"-"`

	// Selector for a RegistryRepository in artifact to populate dockerRepository.
	// +kubebuilder:validation:Optional
	DockerRepositorySelector *v1.Selector `json:"dockerRepositorySelector,omitempty" tf:"-"`

	// The name of the function (as defined in source code) that will be executed.
	// Defaults to the resource name suffix, if not specified. For backward
	// compatibility, if function with given name is not found, then the system
	// will try to use function named "function". For Node.js this is name of a
	// function exported by the module specified in source_location.
	// +kubebuilder:validation:Optional
	EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// User-provided build-time environment variables for the function.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Security patches are only applied when a function is redeployed.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	OnDeployUpdatePolicy *OnDeployUpdatePolicyParameters `json:"onDeployUpdatePolicy,omitempty" tf:"on_deploy_update_policy,omitempty"`

	// The runtime in which to run the function. Required when deploying a new
	// function, optional when updating an existing function.
	// +kubebuilder:validation:Optional
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// The fully-qualified name of the service account to be used for building the container.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccount.
	// +kubebuilder:validation:Optional
	ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"`

	// The location of the function source code.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Source *SourceParameters `json:"source,omitempty" tf:"source,omitempty"`

	// Name of the Cloud Build Custom Worker Pool that should be used to build the function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudbuild/v1beta2.WorkerPool
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkerPool *string `json:"workerPool,omitempty" tf:"worker_pool,omitempty"`

	// Reference to a WorkerPool in cloudbuild to populate workerPool.
	// +kubebuilder:validation:Optional
	WorkerPoolRef *v1.Reference `json:"workerPoolRef,omitempty" tf:"-"`

	// Selector for a WorkerPool in cloudbuild to populate workerPool.
	// +kubebuilder:validation:Optional
	WorkerPoolSelector *v1.Selector `json:"workerPoolSelector,omitempty" tf:"-"`
}

func (*BuildConfigParameters) DeepCopy

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

func (*BuildConfigParameters) DeepCopyInto

func (in *BuildConfigParameters) DeepCopyInto(out *BuildConfigParameters)

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

type EventFiltersInitParameters

type EventFiltersInitParameters struct {

	// 'Required. The name of a CloudEvents attribute.
	// Currently, only a subset of attributes are supported for filtering. Use the gcloud eventarc providers describe command to learn more about events and their attributes.
	// Do not filter for the 'type' attribute here, as this is already achieved by the resource's event_type attribute.
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// Optional. The operator used for matching the events with the value of
	// the filter. If not specified, only events that have an exact key-value
	// pair specified in the filter are matched.
	// The only allowed value is match-path-pattern.
	// See documentation on path patterns here'
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute.
	// If the operator field is set as match-path-pattern, this value can be a path pattern instead of an exact value.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Reference to a Bucket in storage to populate value.
	// +kubebuilder:validation:Optional
	ValueRef *v1.Reference `json:"valueRef,omitempty" tf:"-"`

	// Selector for a Bucket in storage to populate value.
	// +kubebuilder:validation:Optional
	ValueSelector *v1.Selector `json:"valueSelector,omitempty" tf:"-"`
}

func (*EventFiltersInitParameters) DeepCopy

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

func (*EventFiltersInitParameters) DeepCopyInto

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

type EventFiltersObservation

type EventFiltersObservation struct {

	// 'Required. The name of a CloudEvents attribute.
	// Currently, only a subset of attributes are supported for filtering. Use the gcloud eventarc providers describe command to learn more about events and their attributes.
	// Do not filter for the 'type' attribute here, as this is already achieved by the resource's event_type attribute.
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// Optional. The operator used for matching the events with the value of
	// the filter. If not specified, only events that have an exact key-value
	// pair specified in the filter are matched.
	// The only allowed value is match-path-pattern.
	// See documentation on path patterns here'
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute.
	// If the operator field is set as match-path-pattern, this value can be a path pattern instead of an exact value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EventFiltersObservation) DeepCopy

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

func (*EventFiltersObservation) DeepCopyInto

func (in *EventFiltersObservation) DeepCopyInto(out *EventFiltersObservation)

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

type EventFiltersParameters

type EventFiltersParameters struct {

	// 'Required. The name of a CloudEvents attribute.
	// Currently, only a subset of attributes are supported for filtering. Use the gcloud eventarc providers describe command to learn more about events and their attributes.
	// Do not filter for the 'type' attribute here, as this is already achieved by the resource's event_type attribute.
	// +kubebuilder:validation:Optional
	Attribute *string `json:"attribute" tf:"attribute,omitempty"`

	// Optional. The operator used for matching the events with the value of
	// the filter. If not specified, only events that have an exact key-value
	// pair specified in the filter are matched.
	// The only allowed value is match-path-pattern.
	// See documentation on path patterns here'
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute.
	// If the operator field is set as match-path-pattern, this value can be a path pattern instead of an exact value.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`

	// Reference to a Bucket in storage to populate value.
	// +kubebuilder:validation:Optional
	ValueRef *v1.Reference `json:"valueRef,omitempty" tf:"-"`

	// Selector for a Bucket in storage to populate value.
	// +kubebuilder:validation:Optional
	ValueSelector *v1.Selector `json:"valueSelector,omitempty" tf:"-"`
}

func (*EventFiltersParameters) DeepCopy

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

func (*EventFiltersParameters) DeepCopyInto

func (in *EventFiltersParameters) DeepCopyInto(out *EventFiltersParameters)

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

type EventTriggerInitParameters

type EventTriggerInitParameters struct {

	// Criteria used to filter events.
	// Structure is documented below.
	EventFilters []EventFiltersInitParameters `json:"eventFilters,omitempty" tf:"event_filters,omitempty"`

	// Required. The type of event to observe.
	EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// The name of a Pub/Sub topic in the same project that will be used
	// as the transport topic for the event delivery.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta2.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PubsubTopic *string `json:"pubsubTopic,omitempty" tf:"pubsub_topic,omitempty"`

	// Reference to a Topic in pubsub to populate pubsubTopic.
	// +kubebuilder:validation:Optional
	PubsubTopicRef *v1.Reference `json:"pubsubTopicRef,omitempty" tf:"-"`

	// Selector for a Topic in pubsub to populate pubsubTopic.
	// +kubebuilder:validation:Optional
	PubsubTopicSelector *v1.Selector `json:"pubsubTopicSelector,omitempty" tf:"-"`

	// Describes the retry policy in case of function's execution failure.
	// Retried execution is charged as any other execution.
	// Possible values are: RETRY_POLICY_UNSPECIFIED, RETRY_POLICY_DO_NOT_RETRY, RETRY_POLICY_RETRY.
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Optional. The email of the trigger's service account. The service account
	// must have permission to invoke Cloud Run services. If empty, defaults to the
	// Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailRef *v1.Reference `json:"serviceAccountEmailRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailSelector *v1.Selector `json:"serviceAccountEmailSelector,omitempty" tf:"-"`

	// The region that the trigger will be in. The trigger will only receive
	// events originating in this region. It can be the same
	// region as the function, a different region or multi-region, or the global
	// region. If not provided, defaults to the same region as the function.
	TriggerRegion *string `json:"triggerRegion,omitempty" tf:"trigger_region,omitempty"`
}

func (*EventTriggerInitParameters) DeepCopy

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

func (*EventTriggerInitParameters) DeepCopyInto

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

type EventTriggerObservation

type EventTriggerObservation struct {

	// Criteria used to filter events.
	// Structure is documented below.
	EventFilters []EventFiltersObservation `json:"eventFilters,omitempty" tf:"event_filters,omitempty"`

	// Required. The type of event to observe.
	EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// The name of a Pub/Sub topic in the same project that will be used
	// as the transport topic for the event delivery.
	PubsubTopic *string `json:"pubsubTopic,omitempty" tf:"pubsub_topic,omitempty"`

	// Describes the retry policy in case of function's execution failure.
	// Retried execution is charged as any other execution.
	// Possible values are: RETRY_POLICY_UNSPECIFIED, RETRY_POLICY_DO_NOT_RETRY, RETRY_POLICY_RETRY.
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Optional. The email of the trigger's service account. The service account
	// must have permission to invoke Cloud Run services. If empty, defaults to the
	// Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// (Output)
	// Output only. The resource name of the Eventarc trigger.
	Trigger *string `json:"trigger,omitempty" tf:"trigger,omitempty"`

	// The region that the trigger will be in. The trigger will only receive
	// events originating in this region. It can be the same
	// region as the function, a different region or multi-region, or the global
	// region. If not provided, defaults to the same region as the function.
	TriggerRegion *string `json:"triggerRegion,omitempty" tf:"trigger_region,omitempty"`
}

func (*EventTriggerObservation) DeepCopy

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 {

	// Criteria used to filter events.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	EventFilters []EventFiltersParameters `json:"eventFilters,omitempty" tf:"event_filters,omitempty"`

	// Required. The type of event to observe.
	// +kubebuilder:validation:Optional
	EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// The name of a Pub/Sub topic in the same project that will be used
	// as the transport topic for the event delivery.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta2.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PubsubTopic *string `json:"pubsubTopic,omitempty" tf:"pubsub_topic,omitempty"`

	// Reference to a Topic in pubsub to populate pubsubTopic.
	// +kubebuilder:validation:Optional
	PubsubTopicRef *v1.Reference `json:"pubsubTopicRef,omitempty" tf:"-"`

	// Selector for a Topic in pubsub to populate pubsubTopic.
	// +kubebuilder:validation:Optional
	PubsubTopicSelector *v1.Selector `json:"pubsubTopicSelector,omitempty" tf:"-"`

	// Describes the retry policy in case of function's execution failure.
	// Retried execution is charged as any other execution.
	// Possible values are: RETRY_POLICY_UNSPECIFIED, RETRY_POLICY_DO_NOT_RETRY, RETRY_POLICY_RETRY.
	// +kubebuilder:validation:Optional
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Optional. The email of the trigger's service account. The service account
	// must have permission to invoke Cloud Run services. If empty, defaults to the
	// Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
	// +kubebuilder:validation:Optional
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailRef *v1.Reference `json:"serviceAccountEmailRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailSelector *v1.Selector `json:"serviceAccountEmailSelector,omitempty" tf:"-"`

	// The region that the trigger will be in. The trigger will only receive
	// events originating in this region. It can be the same
	// region as the function, a different region or multi-region, or the global
	// region. If not provided, defaults to the same region as the function.
	// +kubebuilder:validation:Optional
	TriggerRegion *string `json:"triggerRegion,omitempty" tf:"trigger_region,omitempty"`
}

func (*EventTriggerParameters) DeepCopy

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 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. A Cloud Function that contains user computation executed in response to an event. +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) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

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

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

func (*Function) DeepCopyObject

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

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

func (*Function) GetCondition

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

GetCondition of this Function.

func (*Function) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Function

func (*Function) GetDeletionPolicy

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

GetDeletionPolicy of this Function.

func (*Function) GetID

func (tr *Function) GetID() string

GetID returns ID of underlying Terraform resource of this Function

func (*Function) GetInitParameters

func (tr *Function) GetInitParameters() (map[string]any, error)

GetInitParameters of this Function

func (*Function) GetManagementPolicies

func (mg *Function) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Function.

func (*Function) GetMergedParameters

func (tr *Function) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Function

func (*Function) GetObservation

func (tr *Function) GetObservation() (map[string]any, error)

GetObservation of this Function

func (*Function) GetParameters

func (tr *Function) GetParameters() (map[string]any, error)

GetParameters of this Function

func (*Function) GetProviderConfigReference

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

GetProviderConfigReference of this Function.

func (*Function) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetTerraformResourceType

func (mg *Function) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Function

func (*Function) GetTerraformSchemaVersion

func (tr *Function) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Function) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Function.

func (*Function) Hub

func (tr *Function) Hub()

Hub marks this type as a conversion hub.

func (*Function) LateInitialize

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

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

func (*Function) ResolveReferences

func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Function) SetConditions

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

SetConditions of this Function.

func (*Function) SetDeletionPolicy

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

SetDeletionPolicy of this Function.

func (*Function) SetManagementPolicies

func (mg *Function) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Function.

func (*Function) SetObservation

func (tr *Function) SetObservation(obs map[string]any) error

SetObservation for this Function

func (*Function) SetParameters

func (tr *Function) SetParameters(params map[string]any) error

SetParameters for this Function

func (*Function) SetProviderConfigReference

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

SetProviderConfigReference of this Function.

func (*Function) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Function.

type FunctionInitParameters

type FunctionInitParameters struct {

	// Describes the Build step of the function that builds a container
	// from the given source.
	// Structure is documented below.
	BuildConfig *BuildConfigInitParameters `json:"buildConfig,omitempty" tf:"build_config,omitempty"`

	// User-provided description of a function.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An Eventarc trigger managed by Google Cloud Functions that fires events in
	// response to a condition in another service.
	// Structure is documented below.
	EventTrigger *EventTriggerInitParameters `json:"eventTrigger,omitempty" tf:"event_trigger,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}.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// A set of key/value label pairs associated with this Cloud Function.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Describes the Service being deployed.
	// Structure is documented below.
	ServiceConfig *ServiceConfigInitParameters `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`
}

func (*FunctionInitParameters) DeepCopy

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

func (*FunctionInitParameters) DeepCopyInto

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 {

	// Describes the Build step of the function that builds a container
	// from the given source.
	// Structure is documented below.
	BuildConfig *BuildConfigObservation `json:"buildConfig,omitempty" tf:"build_config,omitempty"`

	// User-provided description of a function.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// for all of the labels present on the resource.
	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"`

	// The environment the function is hosted on.
	Environment *string `json:"environment,omitempty" tf:"environment,omitempty"`

	// An Eventarc trigger managed by Google Cloud Functions that fires events in
	// response to a condition in another service.
	// Structure is documented below.
	EventTrigger *EventTriggerObservation `json:"eventTrigger,omitempty" tf:"event_trigger,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/functions/{{name}}
	ID *string `json:"id,omitempty" tf:"id,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}.
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// A set of key/value label pairs associated with this Cloud Function.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location of this cloud function.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Describes the Service being deployed.
	// Structure is documented below.
	ServiceConfig *ServiceConfigObservation `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// Describes the current state of the function.
	State *string `json:"state,omitempty" tf:"state,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"`

	// Output only. The deployed url for the function.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// The last update timestamp of a Cloud Function.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,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 {

	// Describes the Build step of the function that builds a container
	// from the given source.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	BuildConfig *BuildConfigParameters `json:"buildConfig,omitempty" tf:"build_config,omitempty"`

	// User-provided description of a function.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// An Eventarc trigger managed by Google Cloud Functions that fires events in
	// response to a condition in another service.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	EventTrigger *EventTriggerParameters `json:"eventTrigger,omitempty" tf:"event_trigger,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}.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// A set of key/value label pairs associated with this Cloud Function.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location of this cloud function.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Describes the Service being deployed.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	ServiceConfig *ServiceConfigParameters `json:"serviceConfig,omitempty" tf:"service_config,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 OnDeployUpdatePolicyInitParameters added in v1.7.0

type OnDeployUpdatePolicyInitParameters struct {
}

func (*OnDeployUpdatePolicyInitParameters) DeepCopy added in v1.7.0

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

func (*OnDeployUpdatePolicyInitParameters) DeepCopyInto added in v1.7.0

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

type OnDeployUpdatePolicyObservation added in v1.7.0

type OnDeployUpdatePolicyObservation struct {

	// (Output)
	// The runtime version which was used during latest function deployment.
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`
}

func (*OnDeployUpdatePolicyObservation) DeepCopy added in v1.7.0

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

func (*OnDeployUpdatePolicyObservation) DeepCopyInto added in v1.7.0

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

type OnDeployUpdatePolicyParameters added in v1.7.0

type OnDeployUpdatePolicyParameters struct {
}

func (*OnDeployUpdatePolicyParameters) DeepCopy added in v1.7.0

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

func (*OnDeployUpdatePolicyParameters) DeepCopyInto added in v1.7.0

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

type RepoSourceInitParameters

type RepoSourceInitParameters struct {

	// Regex matching branches to build.
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Regex matching tags to build.
	CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"`

	// Directory, relative to the source root, in which to run the build.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does
	// NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name of the Cloud Source Repository.
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// Regex matching tags to build.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*RepoSourceInitParameters) DeepCopy

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

func (*RepoSourceInitParameters) DeepCopyInto

func (in *RepoSourceInitParameters) DeepCopyInto(out *RepoSourceInitParameters)

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

type RepoSourceObservation

type RepoSourceObservation struct {

	// Regex matching branches to build.
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Regex matching tags to build.
	CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"`

	// Directory, relative to the source root, in which to run the build.
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does
	// NOT match the revision regex.
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name of the Cloud Source Repository.
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// Regex matching tags to build.
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*RepoSourceObservation) DeepCopy

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

func (*RepoSourceObservation) DeepCopyInto

func (in *RepoSourceObservation) DeepCopyInto(out *RepoSourceObservation)

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

type RepoSourceParameters

type RepoSourceParameters struct {

	// Regex matching branches to build.
	// +kubebuilder:validation:Optional
	BranchName *string `json:"branchName,omitempty" tf:"branch_name,omitempty"`

	// Regex matching tags to build.
	// +kubebuilder:validation:Optional
	CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"`

	// Directory, relative to the source root, in which to run the build.
	// +kubebuilder:validation:Optional
	Dir *string `json:"dir,omitempty" tf:"dir,omitempty"`

	// Only trigger a build if the revision regex does
	// NOT match the revision regex.
	// +kubebuilder:validation:Optional
	InvertRegex *bool `json:"invertRegex,omitempty" tf:"invert_regex,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name of the Cloud Source Repository.
	// +kubebuilder:validation:Optional
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`

	// Regex matching tags to build.
	// +kubebuilder:validation:Optional
	TagName *string `json:"tagName,omitempty" tf:"tag_name,omitempty"`
}

func (*RepoSourceParameters) DeepCopy

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

func (*RepoSourceParameters) DeepCopyInto

func (in *RepoSourceParameters) DeepCopyInto(out *RepoSourceParameters)

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

type SecretEnvironmentVariablesInitParameters

type SecretEnvironmentVariablesInitParameters struct {

	// Name of the environment variable.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name of the secret in secret manager (not the full resource name).
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`

	// 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 (*SecretEnvironmentVariablesInitParameters) DeepCopy

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

func (*SecretEnvironmentVariablesInitParameters) DeepCopyInto

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 (preferrably project number but can also be the project ID) 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"`

	// Name 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 preferable to use latest version with secret volumes as secret value changes are reflected immediately.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*SecretEnvironmentVariablesObservation) DeepCopy

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

func (*SecretEnvironmentVariablesObservation) DeepCopyInto

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 (preferrably project number but can also be the project ID) 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" tf:"project_id,omitempty"`

	// Name of the secret in secret manager (not the full resource name).
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`

	// 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 (*SecretEnvironmentVariablesParameters) DeepCopy

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

func (*SecretEnvironmentVariablesParameters) DeepCopyInto

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

type SecretVolumesInitParameters

type SecretVolumesInitParameters struct {

	// The path within the container to mount the secret volume. For example, setting the mountPath 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 path: /etc/secrets
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name of the secret in secret manager (not the full resource name).
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`

	// 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

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

func (*SecretVolumesInitParameters) DeepCopyInto

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 mountPath 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 path: /etc/secrets
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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"`

	// Name 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

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 mountPath 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 path: /etc/secrets
	// +kubebuilder:validation:Optional
	MountPath *string `json:"mountPath" tf:"mount_path,omitempty"`

	// Project identifier (preferrably project number but can also be the project ID) 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" tf:"project_id,omitempty"`

	// Name of the secret in secret manager (not the full resource name).
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/secretmanager/v1beta2.Secret
	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

	// Reference to a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"`

	// Selector for a Secret in secretmanager to populate secret.
	// +kubebuilder:validation:Optional
	SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"`

	// 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

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 ServiceConfigInitParameters

type ServiceConfigInitParameters struct {

	// Whether 100% of traffic is routed to the latest revision. Defaults to true.
	AllTrafficOnLatestRevision *bool `json:"allTrafficOnLatestRevision,omitempty" tf:"all_traffic_on_latest_revision,omitempty"`

	// The number of CPUs used in a single container instance. Default value is calculated from available memory.
	AvailableCPU *string `json:"availableCpu,omitempty" tf:"available_cpu,omitempty"`

	// The amount of memory available for a function.
	// Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
	// supplied the value is interpreted as bytes.
	AvailableMemory *string `json:"availableMemory,omitempty" tf:"available_memory,omitempty"`

	// Environment variables that shall be available during function execution.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Available ingress settings. Defaults to "ALLOW_ALL" if unspecified.
	// Default value is ALLOW_ALL.
	// Possible values are: ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB.
	IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"`

	// The limit on the maximum number of function instances that may coexist at a
	// given time.
	MaxInstanceCount *float64 `json:"maxInstanceCount,omitempty" tf:"max_instance_count,omitempty"`

	// Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	MaxInstanceRequestConcurrency *float64 `json:"maxInstanceRequestConcurrency,omitempty" tf:"max_instance_request_concurrency,omitempty"`

	// The limit on the minimum number of function instances that may coexist at a
	// given time.
	MinInstanceCount *float64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,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"`

	// Name of the service associated with a Function.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// The email of the service account for this function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailRef *v1.Reference `json:"serviceAccountEmailRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailSelector *v1.Selector `json:"serviceAccountEmailSelector,omitempty" tf:"-"`

	// The function execution timeout. Execution is considered failed and
	// can be terminated if the function is not completed at the end of the
	// timeout period. Defaults to 60 seconds.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// The Serverless VPC Access connector that this cloud function can connect to.
	VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"`

	// Available egress settings.
	// Possible values are: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC.
	VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,omitempty"`
}

func (*ServiceConfigInitParameters) DeepCopy

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

func (*ServiceConfigInitParameters) DeepCopyInto

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

type ServiceConfigObservation

type ServiceConfigObservation struct {

	// Whether 100% of traffic is routed to the latest revision. Defaults to true.
	AllTrafficOnLatestRevision *bool `json:"allTrafficOnLatestRevision,omitempty" tf:"all_traffic_on_latest_revision,omitempty"`

	// The number of CPUs used in a single container instance. Default value is calculated from available memory.
	AvailableCPU *string `json:"availableCpu,omitempty" tf:"available_cpu,omitempty"`

	// The amount of memory available for a function.
	// Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
	// supplied the value is interpreted as bytes.
	AvailableMemory *string `json:"availableMemory,omitempty" tf:"available_memory,omitempty"`

	// Environment variables that shall be available during function execution.
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// (Output)
	// URIs of the Service deployed
	GcfURI *string `json:"gcfUri,omitempty" tf:"gcf_uri,omitempty"`

	// Available ingress settings. Defaults to "ALLOW_ALL" if unspecified.
	// Default value is ALLOW_ALL.
	// Possible values are: ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB.
	IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"`

	// The limit on the maximum number of function instances that may coexist at a
	// given time.
	MaxInstanceCount *float64 `json:"maxInstanceCount,omitempty" tf:"max_instance_count,omitempty"`

	// Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	MaxInstanceRequestConcurrency *float64 `json:"maxInstanceRequestConcurrency,omitempty" tf:"max_instance_request_concurrency,omitempty"`

	// The limit on the minimum number of function instances that may coexist at a
	// given time.
	MinInstanceCount *float64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,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"`

	// Name of the service associated with a Function.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// The email of the service account for this function.
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// The function execution timeout. Execution is considered failed and
	// can be terminated if the function is not completed at the end of the
	// timeout period. Defaults to 60 seconds.
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// (Output)
	// URI of the Service deployed.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`

	// The Serverless VPC Access connector that this cloud function can connect to.
	VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"`

	// Available egress settings.
	// Possible values are: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC.
	VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,omitempty"`
}

func (*ServiceConfigObservation) DeepCopy

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

func (*ServiceConfigObservation) DeepCopyInto

func (in *ServiceConfigObservation) DeepCopyInto(out *ServiceConfigObservation)

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

type ServiceConfigParameters

type ServiceConfigParameters struct {

	// Whether 100% of traffic is routed to the latest revision. Defaults to true.
	// +kubebuilder:validation:Optional
	AllTrafficOnLatestRevision *bool `json:"allTrafficOnLatestRevision,omitempty" tf:"all_traffic_on_latest_revision,omitempty"`

	// The number of CPUs used in a single container instance. Default value is calculated from available memory.
	// +kubebuilder:validation:Optional
	AvailableCPU *string `json:"availableCpu,omitempty" tf:"available_cpu,omitempty"`

	// The amount of memory available for a function.
	// Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
	// supplied the value is interpreted as bytes.
	// +kubebuilder:validation:Optional
	AvailableMemory *string `json:"availableMemory,omitempty" tf:"available_memory,omitempty"`

	// Environment variables that shall be available during function execution.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// Available ingress settings. Defaults to "ALLOW_ALL" if unspecified.
	// Default value is ALLOW_ALL.
	// Possible values are: ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB.
	// +kubebuilder:validation:Optional
	IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings,omitempty"`

	// The limit on the maximum number of function instances that may coexist at a
	// given time.
	// +kubebuilder:validation:Optional
	MaxInstanceCount *float64 `json:"maxInstanceCount,omitempty" tf:"max_instance_count,omitempty"`

	// Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
	// +kubebuilder:validation:Optional
	MaxInstanceRequestConcurrency *float64 `json:"maxInstanceRequestConcurrency,omitempty" tf:"max_instance_request_concurrency,omitempty"`

	// The limit on the minimum number of function instances that may coexist at a
	// given time.
	// +kubebuilder:validation:Optional
	MinInstanceCount *float64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,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"`

	// Name of the service associated with a Function.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// The email of the service account for this function.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.ServiceAccount
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("email",true)
	// +kubebuilder:validation:Optional
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email,omitempty"`

	// Reference to a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailRef *v1.Reference `json:"serviceAccountEmailRef,omitempty" tf:"-"`

	// Selector for a ServiceAccount in cloudplatform to populate serviceAccountEmail.
	// +kubebuilder:validation:Optional
	ServiceAccountEmailSelector *v1.Selector `json:"serviceAccountEmailSelector,omitempty" tf:"-"`

	// The function execution timeout. Execution is considered failed and
	// can be terminated if the function is not completed at the end of the
	// timeout period. Defaults to 60 seconds.
	// +kubebuilder:validation:Optional
	TimeoutSeconds *float64 `json:"timeoutSeconds,omitempty" tf:"timeout_seconds,omitempty"`

	// The Serverless VPC Access connector that this cloud function can connect to.
	// +kubebuilder:validation:Optional
	VPCConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector,omitempty"`

	// Available egress settings.
	// Possible values are: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC.
	// +kubebuilder:validation:Optional
	VPCConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings,omitempty"`
}

func (*ServiceConfigParameters) DeepCopy

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

func (*ServiceConfigParameters) DeepCopyInto

func (in *ServiceConfigParameters) DeepCopyInto(out *ServiceConfigParameters)

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

type SourceInitParameters

type SourceInitParameters struct {

	// If provided, get the source from this location in a Cloud Source Repository.
	// Structure is documented below.
	RepoSource *RepoSourceInitParameters `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// If provided, get the source from this location in Google Cloud Storage.
	// Structure is documented below.
	StorageSource *StorageSourceInitParameters `json:"storageSource,omitempty" tf:"storage_source,omitempty"`
}

func (*SourceInitParameters) DeepCopy

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

func (*SourceInitParameters) DeepCopyInto

func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters)

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

type SourceObservation

type SourceObservation struct {

	// If provided, get the source from this location in a Cloud Source Repository.
	// Structure is documented below.
	RepoSource *RepoSourceObservation `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// If provided, get the source from this location in Google Cloud Storage.
	// Structure is documented below.
	StorageSource *StorageSourceObservation `json:"storageSource,omitempty" tf:"storage_source,omitempty"`
}

func (*SourceObservation) DeepCopy

func (in *SourceObservation) DeepCopy() *SourceObservation

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

func (*SourceObservation) DeepCopyInto

func (in *SourceObservation) DeepCopyInto(out *SourceObservation)

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

type SourceParameters

type SourceParameters struct {

	// If provided, get the source from this location in a Cloud Source Repository.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	RepoSource *RepoSourceParameters `json:"repoSource,omitempty" tf:"repo_source,omitempty"`

	// If provided, get the source from this location in Google Cloud Storage.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	StorageSource *StorageSourceParameters `json:"storageSource,omitempty" tf:"storage_source,omitempty"`
}

func (*SourceParameters) DeepCopy

func (in *SourceParameters) DeepCopy() *SourceParameters

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

func (*SourceParameters) DeepCopyInto

func (in *SourceParameters) DeepCopyInto(out *SourceParameters)

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

type StorageSourceInitParameters

type StorageSourceInitParameters struct {

	// Google Cloud Storage bucket containing the source
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Reference to a Bucket in storage to populate bucket.
	// +kubebuilder:validation:Optional
	BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"`

	// Selector for a Bucket in storage to populate bucket.
	// +kubebuilder:validation:Optional
	BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"`

	// Google Cloud Storage generation for the object. If the generation
	// is omitted, the latest generation will be used.
	Generation *float64 `json:"generation,omitempty" tf:"generation,omitempty"`

	// Google Cloud Storage object containing the source.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.BucketObject
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false)
	Object *string `json:"object,omitempty" tf:"object,omitempty"`

	// Reference to a BucketObject in storage to populate object.
	// +kubebuilder:validation:Optional
	ObjectRef *v1.Reference `json:"objectRef,omitempty" tf:"-"`

	// Selector for a BucketObject in storage to populate object.
	// +kubebuilder:validation:Optional
	ObjectSelector *v1.Selector `json:"objectSelector,omitempty" tf:"-"`
}

func (*StorageSourceInitParameters) DeepCopy

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

func (*StorageSourceInitParameters) DeepCopyInto

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

type StorageSourceObservation

type StorageSourceObservation struct {

	// Google Cloud Storage bucket containing the source
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Google Cloud Storage generation for the object. If the generation
	// is omitted, the latest generation will be used.
	Generation *float64 `json:"generation,omitempty" tf:"generation,omitempty"`

	// Google Cloud Storage object containing the source.
	Object *string `json:"object,omitempty" tf:"object,omitempty"`
}

func (*StorageSourceObservation) DeepCopy

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

func (*StorageSourceObservation) DeepCopyInto

func (in *StorageSourceObservation) DeepCopyInto(out *StorageSourceObservation)

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

type StorageSourceParameters

type StorageSourceParameters struct {

	// Google Cloud Storage bucket containing the source
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.Bucket
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Reference to a Bucket in storage to populate bucket.
	// +kubebuilder:validation:Optional
	BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"`

	// Selector for a Bucket in storage to populate bucket.
	// +kubebuilder:validation:Optional
	BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"`

	// Google Cloud Storage generation for the object. If the generation
	// is omitted, the latest generation will be used.
	// +kubebuilder:validation:Optional
	Generation *float64 `json:"generation,omitempty" tf:"generation,omitempty"`

	// Google Cloud Storage object containing the source.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/storage/v1beta2.BucketObject
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false)
	// +kubebuilder:validation:Optional
	Object *string `json:"object,omitempty" tf:"object,omitempty"`

	// Reference to a BucketObject in storage to populate object.
	// +kubebuilder:validation:Optional
	ObjectRef *v1.Reference `json:"objectRef,omitempty" tf:"-"`

	// Selector for a BucketObject in storage to populate object.
	// +kubebuilder:validation:Optional
	ObjectSelector *v1.Selector `json:"objectSelector,omitempty" tf:"-"`
}

func (*StorageSourceParameters) DeepCopy

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

func (*StorageSourceParameters) DeepCopyInto

func (in *StorageSourceParameters) DeepCopyInto(out *StorageSourceParameters)

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

type VersionsInitParameters

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 mountPath 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

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

func (*VersionsInitParameters) DeepCopyInto

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 mountPath 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 mountPath 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.

Jump to

Keyboard shortcuts

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