Documentation ¶
Overview ¶
Generate deepcopy object for eventarc/v1beta1 API group
Package v1beta1 contains API Schema definitions for the eventarc v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/eventarc +k8s:defaulter-gen=TypeMeta +groupName=eventarc.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "eventarc.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme EventarcTriggerGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(EventarcTrigger{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type EventarcTrigger ¶
type EventarcTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventarcTriggerSpec `json:"spec,omitempty"` Status EventarcTriggerStatus `json:"status,omitempty"` }
EventarcTrigger is the Schema for the eventarc API +k8s:openapi-gen=true
func (*EventarcTrigger) DeepCopy ¶
func (in *EventarcTrigger) DeepCopy() *EventarcTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventarcTrigger.
func (*EventarcTrigger) DeepCopyInto ¶
func (in *EventarcTrigger) DeepCopyInto(out *EventarcTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventarcTrigger) DeepCopyObject ¶
func (in *EventarcTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventarcTriggerList ¶
type EventarcTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventarcTrigger `json:"items"` }
EventarcTriggerList contains a list of EventarcTrigger
func (*EventarcTriggerList) DeepCopy ¶
func (in *EventarcTriggerList) DeepCopy() *EventarcTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventarcTriggerList.
func (*EventarcTriggerList) DeepCopyInto ¶
func (in *EventarcTriggerList) DeepCopyInto(out *EventarcTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventarcTriggerList) DeepCopyObject ¶
func (in *EventarcTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventarcTriggerSpec ¶
type EventarcTriggerSpec struct { /* Required. Destination specifies where the events should be sent to. */ Destination TriggerDestination `json:"destination"` /* The location for the resource */ Location string `json:"location"` /* 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 []TriggerMatchingCriteria `json:"matchingCriteria"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* */ // +optional ServiceAccountRef *v1alpha1.ResourceRef `json:"serviceAccountRef,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. */ // +optional Transport *TriggerTransport `json:"transport,omitempty"` }
func (*EventarcTriggerSpec) DeepCopy ¶
func (in *EventarcTriggerSpec) DeepCopy() *EventarcTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventarcTriggerSpec.
func (*EventarcTriggerSpec) DeepCopyInto ¶
func (in *EventarcTriggerSpec) DeepCopyInto(out *EventarcTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventarcTriggerStatus ¶
type EventarcTriggerStatus struct { /* Conditions represent the latest available observations of the EventarcTrigger's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The creation time. */ CreateTime string `json:"createTime,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"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* */ Transport TriggerTransportStatus `json:"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"` /* Output only. The last-modified time. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*EventarcTriggerStatus) DeepCopy ¶
func (in *EventarcTriggerStatus) DeepCopy() *EventarcTriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventarcTriggerStatus.
func (*EventarcTriggerStatus) DeepCopyInto ¶
func (in *EventarcTriggerStatus) DeepCopyInto(out *EventarcTriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerCloudRunService ¶
type TriggerCloudRunService struct { /* Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". */ // +optional Path *string `json:"path,omitempty"` /* Required. The region the Cloud Run service is deployed in. */ Region string `json:"region"` /* */ ServiceRef v1alpha1.ResourceRef `json:"serviceRef"` }
func (*TriggerCloudRunService) DeepCopy ¶
func (in *TriggerCloudRunService) DeepCopy() *TriggerCloudRunService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerCloudRunService.
func (*TriggerCloudRunService) DeepCopyInto ¶
func (in *TriggerCloudRunService) DeepCopyInto(out *TriggerCloudRunService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerDestination ¶
type TriggerDestination struct { /* */ // +optional CloudFunctionRef *v1alpha1.ResourceRef `json:"cloudFunctionRef,omitempty"` /* Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger. */ // +optional CloudRunService *TriggerCloudRunService `json:"cloudRunService,omitempty"` }
func (*TriggerDestination) DeepCopy ¶
func (in *TriggerDestination) DeepCopy() *TriggerDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerDestination.
func (*TriggerDestination) DeepCopyInto ¶
func (in *TriggerDestination) DeepCopyInto(out *TriggerDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerMatchingCriteria ¶
type TriggerMatchingCriteria 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"` /* Required. The value for the attribute. */ Value string `json:"value"` }
func (*TriggerMatchingCriteria) DeepCopy ¶
func (in *TriggerMatchingCriteria) DeepCopy() *TriggerMatchingCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerMatchingCriteria.
func (*TriggerMatchingCriteria) DeepCopyInto ¶
func (in *TriggerMatchingCriteria) DeepCopyInto(out *TriggerMatchingCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerPubsub ¶
type TriggerPubsub struct { /* */ // +optional TopicRef *v1alpha1.ResourceRef `json:"topicRef,omitempty"` }
func (*TriggerPubsub) DeepCopy ¶
func (in *TriggerPubsub) DeepCopy() *TriggerPubsub
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPubsub.
func (*TriggerPubsub) DeepCopyInto ¶
func (in *TriggerPubsub) DeepCopyInto(out *TriggerPubsub)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerPubsubStatus ¶
type TriggerPubsubStatus 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"` }
func (*TriggerPubsubStatus) DeepCopy ¶
func (in *TriggerPubsubStatus) DeepCopy() *TriggerPubsubStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPubsubStatus.
func (*TriggerPubsubStatus) DeepCopyInto ¶
func (in *TriggerPubsubStatus) DeepCopyInto(out *TriggerPubsubStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerTransport ¶
type TriggerTransport struct { /* The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. */ // +optional Pubsub *TriggerPubsub `json:"pubsub,omitempty"` }
func (*TriggerTransport) DeepCopy ¶
func (in *TriggerTransport) DeepCopy() *TriggerTransport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTransport.
func (*TriggerTransport) DeepCopyInto ¶
func (in *TriggerTransport) DeepCopyInto(out *TriggerTransport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerTransportStatus ¶
type TriggerTransportStatus struct { /* */ Pubsub TriggerPubsubStatus `json:"pubsub,omitempty"` }
func (*TriggerTransportStatus) DeepCopy ¶
func (in *TriggerTransportStatus) DeepCopy() *TriggerTransportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTransportStatus.
func (*TriggerTransportStatus) DeepCopyInto ¶
func (in *TriggerTransportStatus) DeepCopyInto(out *TriggerTransportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.