v1beta1

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=eventarc.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "eventarc.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Channel_Kind             = "Channel"
	Channel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Channel_Kind}.String()
	Channel_KindAPIVersion   = Channel_Kind + "." + CRDGroupVersion.String()
	Channel_GroupVersionKind = CRDGroupVersion.WithKind(Channel_Kind)
)

Repository type metadata.

View Source
var (
	GoogleChannelConfig_Kind             = "GoogleChannelConfig"
	GoogleChannelConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GoogleChannelConfig_Kind}.String()
	GoogleChannelConfig_KindAPIVersion   = GoogleChannelConfig_Kind + "." + CRDGroupVersion.String()
	GoogleChannelConfig_GroupVersionKind = CRDGroupVersion.WithKind(GoogleChannelConfig_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Trigger_Kind             = "Trigger"
	Trigger_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Trigger_Kind}.String()
	Trigger_KindAPIVersion   = Trigger_Kind + "." + CRDGroupVersion.String()
	Trigger_GroupVersionKind = CRDGroupVersion.WithKind(Trigger_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Channel added in v0.27.0

type Channel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ChannelSpec   `json:"spec"`
	Status            ChannelStatus `json:"status,omitempty"`
}

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

func (*Channel) DeepCopy added in v0.27.0

func (in *Channel) DeepCopy() *Channel

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

func (*Channel) DeepCopyInto added in v0.27.0

func (in *Channel) DeepCopyInto(out *Channel)

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

func (*Channel) DeepCopyObject added in v0.27.0

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

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

func (*Channel) GetCondition added in v0.27.0

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

GetCondition of this Channel.

func (*Channel) GetConnectionDetailsMapping added in v0.27.0

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

GetConnectionDetailsMapping for this Channel

func (*Channel) GetDeletionPolicy added in v0.27.0

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

GetDeletionPolicy of this Channel.

func (*Channel) GetID added in v0.27.0

func (tr *Channel) GetID() string

GetID returns ID of underlying Terraform resource of this Channel

func (*Channel) GetInitParameters added in v0.35.0

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

GetInitParameters of this Channel

func (*Channel) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Channel.

func (*Channel) GetObservation added in v0.27.0

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

GetObservation of this Channel

func (*Channel) GetParameters added in v0.27.0

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

GetParameters of this Channel

func (*Channel) GetProviderConfigReference added in v0.27.0

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

GetProviderConfigReference of this Channel.

func (*Channel) GetPublishConnectionDetailsTo added in v0.27.0

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

GetPublishConnectionDetailsTo of this Channel.

func (*Channel) GetTerraformResourceType added in v0.27.0

func (mg *Channel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Channel

func (*Channel) GetTerraformSchemaVersion added in v0.27.0

func (tr *Channel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Channel) GetWriteConnectionSecretToReference added in v0.27.0

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

GetWriteConnectionSecretToReference of this Channel.

func (*Channel) LateInitialize added in v0.27.0

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

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

func (*Channel) SetConditions added in v0.27.0

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

SetConditions of this Channel.

func (*Channel) SetDeletionPolicy added in v0.27.0

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

SetDeletionPolicy of this Channel.

func (*Channel) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Channel.

func (*Channel) SetObservation added in v0.27.0

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

SetObservation for this Channel

func (*Channel) SetParameters added in v0.27.0

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

SetParameters for this Channel

func (*Channel) SetProviderConfigReference added in v0.27.0

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

SetProviderConfigReference of this Channel.

func (*Channel) SetPublishConnectionDetailsTo added in v0.27.0

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

SetPublishConnectionDetailsTo of this Channel.

func (*Channel) SetWriteConnectionSecretToReference added in v0.27.0

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

SetWriteConnectionSecretToReference of this Channel.

type ChannelInitParameters added in v0.35.0

type ChannelInitParameters struct {

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.
	ThirdPartyProvider *string `json:"thirdPartyProvider,omitempty" tf:"third_party_provider,omitempty"`
}

func (*ChannelInitParameters) DeepCopy added in v0.35.0

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

func (*ChannelInitParameters) DeepCopyInto added in v0.35.0

func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters)

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

type ChannelList added in v0.27.0

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

ChannelList contains a list of Channels

func (*ChannelList) DeepCopy added in v0.27.0

func (in *ChannelList) DeepCopy() *ChannelList

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

func (*ChannelList) DeepCopyInto added in v0.27.0

func (in *ChannelList) DeepCopyInto(out *ChannelList)

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

func (*ChannelList) DeepCopyObject added in v0.27.0

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

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

func (*ChannelList) GetItems added in v0.27.0

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

GetItems of this ChannelList.

type ChannelObservation added in v0.27.0

type ChannelObservation struct {

	// Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
	ActivationToken *string `json:"activationToken,omitempty" tf:"activation_token,omitempty"`

	// Output only. The creation time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/channels/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{project}/topics/{topic_id}.
	PubsubTopic *string `json:"pubsubTopic,omitempty" tf:"pubsub_topic,omitempty"`

	// Output only. The state of a Channel. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE, INACTIVE
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.
	ThirdPartyProvider *string `json:"thirdPartyProvider,omitempty" tf:"third_party_provider,omitempty"`

	// Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. The last-modified time.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*ChannelObservation) DeepCopy added in v0.27.0

func (in *ChannelObservation) DeepCopy() *ChannelObservation

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

func (*ChannelObservation) DeepCopyInto added in v0.27.0

func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation)

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

type ChannelParameters added in v0.27.0

type ChannelParameters struct {

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	// +kubebuilder:validation:Optional
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: projects/{project}/locations/{location}/providers/{provider_id}.
	// +kubebuilder:validation:Optional
	ThirdPartyProvider *string `json:"thirdPartyProvider,omitempty" tf:"third_party_provider,omitempty"`
}

func (*ChannelParameters) DeepCopy added in v0.27.0

func (in *ChannelParameters) DeepCopy() *ChannelParameters

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

func (*ChannelParameters) DeepCopyInto added in v0.27.0

func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters)

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

type ChannelSpec added in v0.27.0

type ChannelSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ChannelParameters `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 ChannelInitParameters `json:"initProvider,omitempty"`
}

ChannelSpec defines the desired state of Channel

func (*ChannelSpec) DeepCopy added in v0.27.0

func (in *ChannelSpec) DeepCopy() *ChannelSpec

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

func (*ChannelSpec) DeepCopyInto added in v0.27.0

func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec)

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

type ChannelStatus added in v0.27.0

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

ChannelStatus defines the observed state of Channel.

func (*ChannelStatus) DeepCopy added in v0.27.0

func (in *ChannelStatus) DeepCopy() *ChannelStatus

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

func (*ChannelStatus) DeepCopyInto added in v0.27.0

func (in *ChannelStatus) DeepCopyInto(out *ChannelStatus)

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

type CloudRunServiceInitParameters added in v0.35.0

type CloudRunServiceInitParameters struct {

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. The region the Cloud Run service is deployed in.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*CloudRunServiceInitParameters) DeepCopy added in v0.35.0

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

func (*CloudRunServiceInitParameters) DeepCopyInto added in v0.35.0

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

type CloudRunServiceObservation

type CloudRunServiceObservation struct {

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. The region the Cloud Run service is deployed in.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Required. Name of the GKE service.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*CloudRunServiceObservation) DeepCopy

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

func (*CloudRunServiceObservation) DeepCopyInto

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

type CloudRunServiceParameters

type CloudRunServiceParameters struct {

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. The region the Cloud Run service is deployed in.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Required. Name of the GKE service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudrun/v1beta1.Service
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`

	// Reference to a Service in cloudrun to populate service.
	// +kubebuilder:validation:Optional
	ServiceRef *v1.Reference `json:"serviceRef,omitempty" tf:"-"`

	// Selector for a Service in cloudrun to populate service.
	// +kubebuilder:validation:Optional
	ServiceSelector *v1.Selector `json:"serviceSelector,omitempty" tf:"-"`
}

func (*CloudRunServiceParameters) DeepCopy

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

func (*CloudRunServiceParameters) DeepCopyInto

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

type DestinationInitParameters added in v0.35.0

type DestinationInitParameters struct {

	// [WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
	CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`

	// Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
	CloudRunService []CloudRunServiceInitParameters `json:"cloudRunService,omitempty" tf:"cloud_run_service,omitempty"`

	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke []GkeInitParameters `json:"gke,omitempty" tf:"gke,omitempty"`

	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*DestinationInitParameters) DeepCopy added in v0.35.0

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

func (*DestinationInitParameters) DeepCopyInto added in v0.35.0

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

type DestinationObservation

type DestinationObservation struct {

	// [WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
	CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`

	// Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
	CloudRunService []CloudRunServiceObservation `json:"cloudRunService,omitempty" tf:"cloud_run_service,omitempty"`

	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke []GkeObservation `json:"gke,omitempty" tf:"gke,omitempty"`

	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*DestinationObservation) DeepCopy

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

func (*DestinationObservation) DeepCopyInto

func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)

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

type DestinationParameters

type DestinationParameters struct {

	// [WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
	// +kubebuilder:validation:Optional
	CloudFunction *string `json:"cloudFunction,omitempty" tf:"cloud_function,omitempty"`

	// Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
	// +kubebuilder:validation:Optional
	CloudRunService []CloudRunServiceParameters `json:"cloudRunService,omitempty" tf:"cloud_run_service,omitempty"`

	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	// +kubebuilder:validation:Optional
	Gke []GkeParameters `json:"gke,omitempty" tf:"gke,omitempty"`

	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
	// +kubebuilder:validation:Optional
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*DestinationParameters) DeepCopy

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

func (*DestinationParameters) DeepCopyInto

func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)

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

type GkeInitParameters added in v0.35.0

type GkeInitParameters struct {

	// Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"`

	// Required. The namespace the GKE service is running in.
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. Name of the GKE service.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*GkeInitParameters) DeepCopy added in v0.35.0

func (in *GkeInitParameters) DeepCopy() *GkeInitParameters

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

func (*GkeInitParameters) DeepCopyInto added in v0.35.0

func (in *GkeInitParameters) DeepCopyInto(out *GkeInitParameters)

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

type GkeObservation

type GkeObservation struct {

	// Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster *string `json:"cluster,omitempty" tf:"cluster,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Required. The namespace the GKE service is running in.
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. Name of the GKE service.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*GkeObservation) DeepCopy

func (in *GkeObservation) DeepCopy() *GkeObservation

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

func (*GkeObservation) DeepCopyInto

func (in *GkeObservation) DeepCopyInto(out *GkeObservation)

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

type GkeParameters

type GkeParameters struct {

	// Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	// +kubebuilder:validation:Optional
	Cluster *string `json:"cluster" tf:"cluster,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Required. The namespace the GKE service is running in.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`

	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// Required. Name of the GKE service.
	// +kubebuilder:validation:Optional
	Service *string `json:"service" tf:"service,omitempty"`
}

func (*GkeParameters) DeepCopy

func (in *GkeParameters) DeepCopy() *GkeParameters

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

func (*GkeParameters) DeepCopyInto

func (in *GkeParameters) DeepCopyInto(out *GkeParameters)

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

type GoogleChannelConfig added in v0.27.0

type GoogleChannelConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GoogleChannelConfigSpec   `json:"spec"`
	Status            GoogleChannelConfigStatus `json:"status,omitempty"`
}

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

func (*GoogleChannelConfig) DeepCopy added in v0.27.0

func (in *GoogleChannelConfig) DeepCopy() *GoogleChannelConfig

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

func (*GoogleChannelConfig) DeepCopyInto added in v0.27.0

func (in *GoogleChannelConfig) DeepCopyInto(out *GoogleChannelConfig)

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

func (*GoogleChannelConfig) DeepCopyObject added in v0.27.0

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

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

func (*GoogleChannelConfig) GetCondition added in v0.27.0

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

GetCondition of this GoogleChannelConfig.

func (*GoogleChannelConfig) GetConnectionDetailsMapping added in v0.27.0

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

GetConnectionDetailsMapping for this GoogleChannelConfig

func (*GoogleChannelConfig) GetDeletionPolicy added in v0.27.0

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

GetDeletionPolicy of this GoogleChannelConfig.

func (*GoogleChannelConfig) GetID added in v0.27.0

func (tr *GoogleChannelConfig) GetID() string

GetID returns ID of underlying Terraform resource of this GoogleChannelConfig

func (*GoogleChannelConfig) GetInitParameters added in v0.35.0

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

GetInitParameters of this GoogleChannelConfig

func (*GoogleChannelConfig) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this GoogleChannelConfig.

func (*GoogleChannelConfig) GetObservation added in v0.27.0

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

GetObservation of this GoogleChannelConfig

func (*GoogleChannelConfig) GetParameters added in v0.27.0

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

GetParameters of this GoogleChannelConfig

func (*GoogleChannelConfig) GetProviderConfigReference added in v0.27.0

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

GetProviderConfigReference of this GoogleChannelConfig.

func (*GoogleChannelConfig) GetPublishConnectionDetailsTo added in v0.27.0

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

GetPublishConnectionDetailsTo of this GoogleChannelConfig.

func (*GoogleChannelConfig) GetTerraformResourceType added in v0.27.0

func (mg *GoogleChannelConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GoogleChannelConfig

func (*GoogleChannelConfig) GetTerraformSchemaVersion added in v0.27.0

func (tr *GoogleChannelConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GoogleChannelConfig) GetWriteConnectionSecretToReference added in v0.27.0

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

GetWriteConnectionSecretToReference of this GoogleChannelConfig.

func (*GoogleChannelConfig) LateInitialize added in v0.27.0

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

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

func (*GoogleChannelConfig) SetConditions added in v0.27.0

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

SetConditions of this GoogleChannelConfig.

func (*GoogleChannelConfig) SetDeletionPolicy added in v0.27.0

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

SetDeletionPolicy of this GoogleChannelConfig.

func (*GoogleChannelConfig) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this GoogleChannelConfig.

func (*GoogleChannelConfig) SetObservation added in v0.27.0

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

SetObservation for this GoogleChannelConfig

func (*GoogleChannelConfig) SetParameters added in v0.27.0

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

SetParameters for this GoogleChannelConfig

func (*GoogleChannelConfig) SetProviderConfigReference added in v0.27.0

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

SetProviderConfigReference of this GoogleChannelConfig.

func (*GoogleChannelConfig) SetPublishConnectionDetailsTo added in v0.27.0

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

SetPublishConnectionDetailsTo of this GoogleChannelConfig.

func (*GoogleChannelConfig) SetWriteConnectionSecretToReference added in v0.27.0

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

SetWriteConnectionSecretToReference of this GoogleChannelConfig.

type GoogleChannelConfigInitParameters added in v0.35.0

type GoogleChannelConfigInitParameters struct {

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*GoogleChannelConfigInitParameters) DeepCopy added in v0.35.0

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

func (*GoogleChannelConfigInitParameters) DeepCopyInto added in v0.35.0

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

type GoogleChannelConfigList added in v0.27.0

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

GoogleChannelConfigList contains a list of GoogleChannelConfigs

func (*GoogleChannelConfigList) DeepCopy added in v0.27.0

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

func (*GoogleChannelConfigList) DeepCopyInto added in v0.27.0

func (in *GoogleChannelConfigList) DeepCopyInto(out *GoogleChannelConfigList)

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

func (*GoogleChannelConfigList) DeepCopyObject added in v0.27.0

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

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

func (*GoogleChannelConfigList) GetItems added in v0.27.0

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

GetItems of this GoogleChannelConfigList.

type GoogleChannelConfigObservation added in v0.27.0

type GoogleChannelConfigObservation struct {

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/googleChannelConfig
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Output only. The last-modified time.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*GoogleChannelConfigObservation) DeepCopy added in v0.27.0

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

func (*GoogleChannelConfigObservation) DeepCopyInto added in v0.27.0

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

type GoogleChannelConfigParameters added in v0.27.0

type GoogleChannelConfigParameters struct {

	// Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.
	// +kubebuilder:validation:Optional
	CryptoKeyName *string `json:"cryptoKeyName,omitempty" tf:"crypto_key_name,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*GoogleChannelConfigParameters) DeepCopy added in v0.27.0

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

func (*GoogleChannelConfigParameters) DeepCopyInto added in v0.27.0

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

type GoogleChannelConfigSpec added in v0.27.0

type GoogleChannelConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GoogleChannelConfigParameters `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 GoogleChannelConfigInitParameters `json:"initProvider,omitempty"`
}

GoogleChannelConfigSpec defines the desired state of GoogleChannelConfig

func (*GoogleChannelConfigSpec) DeepCopy added in v0.27.0

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

func (*GoogleChannelConfigSpec) DeepCopyInto added in v0.27.0

func (in *GoogleChannelConfigSpec) DeepCopyInto(out *GoogleChannelConfigSpec)

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

type GoogleChannelConfigStatus added in v0.27.0

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

GoogleChannelConfigStatus defines the observed state of GoogleChannelConfig.

func (*GoogleChannelConfigStatus) DeepCopy added in v0.27.0

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

func (*GoogleChannelConfigStatus) DeepCopyInto added in v0.27.0

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

type MatchingCriteriaInitParameters added in v0.35.0

type MatchingCriteriaInitParameters struct {

	// Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the '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.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*MatchingCriteriaInitParameters) DeepCopy added in v0.35.0

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

func (*MatchingCriteriaInitParameters) DeepCopyInto added in v0.35.0

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

type MatchingCriteriaObservation

type MatchingCriteriaObservation struct {

	// Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the '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.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*MatchingCriteriaObservation) DeepCopy

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

func (*MatchingCriteriaObservation) DeepCopyInto

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

type MatchingCriteriaParameters

type MatchingCriteriaParameters struct {

	// Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the '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.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*MatchingCriteriaParameters) DeepCopy

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

func (*MatchingCriteriaParameters) DeepCopyInto

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

type PubsubInitParameters added in v0.35.0

type PubsubInitParameters struct {

	// Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*PubsubInitParameters) DeepCopy added in v0.35.0

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

func (*PubsubInitParameters) DeepCopyInto added in v0.35.0

func (in *PubsubInitParameters) DeepCopyInto(out *PubsubInitParameters)

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

type PubsubObservation

type PubsubObservation struct {

	// Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}.
	Subscription *string `json:"subscription,omitempty" tf:"subscription,omitempty"`

	// Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*PubsubObservation) DeepCopy

func (in *PubsubObservation) DeepCopy() *PubsubObservation

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

func (*PubsubObservation) DeepCopyInto

func (in *PubsubObservation) DeepCopyInto(out *PubsubObservation)

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

type PubsubParameters

type PubsubParameters struct {

	// Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
	// +kubebuilder:validation:Optional
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*PubsubParameters) DeepCopy

func (in *PubsubParameters) DeepCopy() *PubsubParameters

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

func (*PubsubParameters) DeepCopyInto

func (in *PubsubParameters) DeepCopyInto(out *PubsubParameters)

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

type TransportInitParameters added in v0.35.0

type TransportInitParameters struct {

	// The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
	Pubsub []PubsubInitParameters `json:"pubsub,omitempty" tf:"pubsub,omitempty"`
}

func (*TransportInitParameters) DeepCopy added in v0.35.0

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

func (*TransportInitParameters) DeepCopyInto added in v0.35.0

func (in *TransportInitParameters) DeepCopyInto(out *TransportInitParameters)

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

type TransportObservation

type TransportObservation struct {

	// The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
	Pubsub []PubsubObservation `json:"pubsub,omitempty" tf:"pubsub,omitempty"`
}

func (*TransportObservation) DeepCopy

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

func (*TransportObservation) DeepCopyInto

func (in *TransportObservation) DeepCopyInto(out *TransportObservation)

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

type TransportParameters

type TransportParameters struct {

	// The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
	// +kubebuilder:validation:Optional
	Pubsub []PubsubParameters `json:"pubsub,omitempty" tf:"pubsub,omitempty"`
}

func (*TransportParameters) DeepCopy

func (in *TransportParameters) DeepCopy() *TransportParameters

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

func (*TransportParameters) DeepCopyInto

func (in *TransportParameters) DeepCopyInto(out *TransportParameters)

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

type Trigger

type Trigger struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.matchingCriteria) || (has(self.initProvider) && has(self.initProvider.matchingCriteria))",message="spec.forProvider.matchingCriteria is a required parameter"
	Spec   TriggerSpec   `json:"spec"`
	Status TriggerStatus `json:"status,omitempty"`
}

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

func (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

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

func (*Trigger) DeepCopyObject

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

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

func (*Trigger) GetCondition

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

GetCondition of this Trigger.

func (*Trigger) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Trigger

func (*Trigger) GetDeletionPolicy

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

GetDeletionPolicy of this Trigger.

func (*Trigger) GetID

func (tr *Trigger) GetID() string

GetID returns ID of underlying Terraform resource of this Trigger

func (*Trigger) GetInitParameters added in v0.35.0

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

GetInitParameters of this Trigger

func (*Trigger) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Trigger.

func (*Trigger) GetObservation

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

GetObservation of this Trigger

func (*Trigger) GetParameters

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

GetParameters of this Trigger

func (*Trigger) GetProviderConfigReference

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

GetProviderConfigReference of this Trigger.

func (*Trigger) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Trigger.

func (*Trigger) GetTerraformResourceType

func (mg *Trigger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Trigger

func (*Trigger) GetTerraformSchemaVersion

func (tr *Trigger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Trigger) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Trigger.

func (*Trigger) LateInitialize

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

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

func (*Trigger) ResolveReferences

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

ResolveReferences of this Trigger.

func (*Trigger) SetConditions

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

SetConditions of this Trigger.

func (*Trigger) SetDeletionPolicy

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

SetDeletionPolicy of this Trigger.

func (*Trigger) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Trigger.

func (*Trigger) SetObservation

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

SetObservation for this Trigger

func (*Trigger) SetParameters

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

SetParameters for this Trigger

func (*Trigger) SetProviderConfigReference

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

SetProviderConfigReference of this Trigger.

func (*Trigger) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Trigger.

func (*Trigger) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Trigger.

type TriggerInitParameters added in v0.35.0

type TriggerInitParameters struct {

	// Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.
	Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`

	// Required. Destination specifies where the events should be sent to.
	Destination []DestinationInitParameters `json:"destination,omitempty" tf:"destination,omitempty"`

	EventDataContentType *string `json:"eventDataContentType,omitempty" tf:"event_data_content_type,omitempty"`

	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
	MatchingCriteria []MatchingCriteriaInitParameters `json:"matchingCriteria,omitempty" tf:"matching_criteria,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have roles/eventarc.eventReceiver IAM role.
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	Transport []TransportInitParameters `json:"transport,omitempty" tf:"transport,omitempty"`
}

func (*TriggerInitParameters) DeepCopy added in v0.35.0

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

func (*TriggerInitParameters) DeepCopyInto added in v0.35.0

func (in *TriggerInitParameters) DeepCopyInto(out *TriggerInitParameters)

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

type TriggerList

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

TriggerList contains a list of Triggers

func (*TriggerList) DeepCopy

func (in *TriggerList) DeepCopy() *TriggerList

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

func (*TriggerList) DeepCopyInto

func (in *TriggerList) DeepCopyInto(out *TriggerList)

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

func (*TriggerList) DeepCopyObject

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

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

func (*TriggerList) GetItems

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

GetItems of this TriggerList.

type TriggerObservation

type TriggerObservation struct {

	// Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.
	Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`

	// Output only. The reason(s) why a trigger is in FAILED state.
	Conditions map[string]*string `json:"conditions,omitempty" tf:"conditions,omitempty"`

	// Output only. The creation time.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Required. Destination specifies where the events should be sent to.
	Destination []DestinationObservation `json:"destination,omitempty" tf:"destination,omitempty"`

	// Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	EventDataContentType *string `json:"eventDataContentType,omitempty" tf:"event_data_content_type,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/triggers/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location for the resource
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
	MatchingCriteria []MatchingCriteriaObservation `json:"matchingCriteria,omitempty" tf:"matching_criteria,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have roles/eventarc.eventReceiver IAM role.
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	Transport []TransportObservation `json:"transport,omitempty" tf:"transport,omitempty"`

	// Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Output only. The last-modified time.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*TriggerObservation) DeepCopy

func (in *TriggerObservation) DeepCopy() *TriggerObservation

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

func (*TriggerObservation) DeepCopyInto

func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation)

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

type TriggerParameters

type TriggerParameters struct {

	// Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.
	// +kubebuilder:validation:Optional
	Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`

	// Required. Destination specifies where the events should be sent to.
	// +kubebuilder:validation:Optional
	Destination []DestinationParameters `json:"destination,omitempty" tf:"destination,omitempty"`

	// +kubebuilder:validation:Optional
	EventDataContentType *string `json:"eventDataContentType,omitempty" tf:"event_data_content_type,omitempty"`

	// Optional. User labels attached to the triggers that can be used to group resources.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The location for the resource
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
	// +kubebuilder:validation:Optional
	MatchingCriteria []MatchingCriteriaParameters `json:"matchingCriteria,omitempty" tf:"matching_criteria,omitempty"`

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have roles/eventarc.eventReceiver IAM role.
	// +kubebuilder:validation:Optional
	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
	// +kubebuilder:validation:Optional
	Transport []TransportParameters `json:"transport,omitempty" tf:"transport,omitempty"`
}

func (*TriggerParameters) DeepCopy

func (in *TriggerParameters) DeepCopy() *TriggerParameters

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

func (*TriggerParameters) DeepCopyInto

func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters)

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

type TriggerSpec

type TriggerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TriggerParameters `json:"forProvider"`
	// 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 TriggerInitParameters `json:"initProvider,omitempty"`
}

TriggerSpec defines the desired state of Trigger

func (*TriggerSpec) DeepCopy

func (in *TriggerSpec) DeepCopy() *TriggerSpec

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

func (*TriggerSpec) DeepCopyInto

func (in *TriggerSpec) DeepCopyInto(out *TriggerSpec)

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

type TriggerStatus

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

TriggerStatus defines the observed state of Trigger.

func (*TriggerStatus) DeepCopy

func (in *TriggerStatus) DeepCopy() *TriggerStatus

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

func (*TriggerStatus) DeepCopyInto

func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus)

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

Jump to

Keyboard shortcuts

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