v1beta2

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 CloudRunServiceInitParameters

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"`

	// Required. Name of the GKE service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudrun/v1beta2.Service
	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 (*CloudRunServiceInitParameters) DeepCopy

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

func (*CloudRunServiceInitParameters) DeepCopyInto

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

type DestinationInitParameters struct {

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

	// An HTTP endpoint destination described by an URI.
	HTTPEndpoint *HTTPEndpointInitParameters `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`

	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	NetworkConfig *NetworkConfigInitParameters `json:"networkConfig,omitempty" tf:"network_config,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

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

func (*DestinationInitParameters) DeepCopyInto

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

type DestinationObservation

type DestinationObservation struct {

	// The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
	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"`

	// An HTTP endpoint destination described by an URI.
	HTTPEndpoint *HTTPEndpointObservation `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`

	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	NetworkConfig *NetworkConfigObservation `json:"networkConfig,omitempty" tf:"network_config,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 {

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

	// An HTTP endpoint destination described by an URI.
	// +kubebuilder:validation:Optional
	HTTPEndpoint *HTTPEndpointParameters `json:"httpEndpoint,omitempty" tf:"http_endpoint,omitempty"`

	// Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
	// +kubebuilder:validation:Optional
	NetworkConfig *NetworkConfigParameters `json:"networkConfig,omitempty" tf:"network_config,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

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

func (in *GkeInitParameters) DeepCopy() *GkeInitParameters

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

func (*GkeInitParameters) DeepCopyInto

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 HTTPEndpointInitParameters

type HTTPEndpointInitParameters struct {

	// Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: http://10.10.10.8:80/route, http://svc.us-central1.p.local:8080/. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*HTTPEndpointInitParameters) DeepCopy

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

func (*HTTPEndpointInitParameters) DeepCopyInto

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

type HTTPEndpointObservation

type HTTPEndpointObservation struct {

	// Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: http://10.10.10.8:80/route, http://svc.us-central1.p.local:8080/. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*HTTPEndpointObservation) DeepCopy

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

func (*HTTPEndpointObservation) DeepCopyInto

func (in *HTTPEndpointObservation) DeepCopyInto(out *HTTPEndpointObservation)

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

type HTTPEndpointParameters

type HTTPEndpointParameters struct {

	// Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: http://10.10.10.8:80/route, http://svc.us-central1.p.local:8080/. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
	// +kubebuilder:validation:Optional
	URI *string `json:"uri" tf:"uri,omitempty"`
}

func (*HTTPEndpointParameters) DeepCopy

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

func (*HTTPEndpointParameters) DeepCopyInto

func (in *HTTPEndpointParameters) DeepCopyInto(out *HTTPEndpointParameters)

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

type MatchingCriteriaInitParameters

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

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

func (*MatchingCriteriaInitParameters) DeepCopyInto

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 NetworkConfigInitParameters

type NetworkConfigInitParameters struct {

	// Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
	NetworkAttachment *string `json:"networkAttachment,omitempty" tf:"network_attachment,omitempty"`
}

func (*NetworkConfigInitParameters) DeepCopy

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

func (*NetworkConfigInitParameters) DeepCopyInto

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

type NetworkConfigObservation

type NetworkConfigObservation struct {

	// Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
	NetworkAttachment *string `json:"networkAttachment,omitempty" tf:"network_attachment,omitempty"`
}

func (*NetworkConfigObservation) DeepCopy

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

func (*NetworkConfigObservation) DeepCopyInto

func (in *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation)

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

type NetworkConfigParameters

type NetworkConfigParameters struct {

	// Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}
	// +kubebuilder:validation:Optional
	NetworkAttachment *string `json:"networkAttachment" tf:"network_attachment,omitempty"`
}

func (*NetworkConfigParameters) DeepCopy

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

func (*NetworkConfigParameters) DeepCopyInto

func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters)

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

type PubsubInitParameters

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

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

func (*PubsubInitParameters) DeepCopyInto

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

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

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

func (*TransportInitParameters) DeepCopyInto

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="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 (*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

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

GetInitParameters of this Trigger

func (*Trigger) GetManagementPolicies

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

GetManagementPolicies of this Trigger.

func (*Trigger) GetMergedParameters

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

GetInitParameters 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) Hub

func (tr *Trigger) Hub()

Hub marks this type as a conversion hub.

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

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

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

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"`

	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined.
	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.
	// +mapType=granular
	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

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

func (*TriggerInitParameters) DeepCopyInto

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.
	// +mapType=granular
	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"`

	// +mapType=granular
	EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,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"`

	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined.
	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.
	// +mapType=granular
	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"`

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

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

	// Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined.
	// +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
	// +mapType=granular
	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