Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=event.mongodbatlas.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AwsEventbridgeObservation
- type AwsEventbridgeParameters
- type EventProcessorsObservation
- type EventProcessorsParameters
- type Trigger
- func (in *Trigger) DeepCopy() *Trigger
- func (in *Trigger) DeepCopyInto(out *Trigger)
- func (in *Trigger) DeepCopyObject() runtime.Object
- func (mg *Trigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Trigger) GetConnectionDetailsMapping() map[string]string
- func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Trigger) GetID() string
- func (tr *Trigger) GetObservation() (map[string]any, error)
- func (tr *Trigger) GetParameters() (map[string]any, error)
- func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference
- func (mg *Trigger) GetProviderReference() *xpv1.Reference
- func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Trigger) GetTerraformResourceType() string
- func (tr *Trigger) GetTerraformSchemaVersion() int
- func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Trigger) LateInitialize(attrs []byte) (bool, error)
- func (mg *Trigger) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Trigger) SetConditions(c ...xpv1.Condition)
- func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Trigger) SetObservation(obs map[string]any) error
- func (tr *Trigger) SetParameters(params map[string]any) error
- func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Trigger) SetProviderReference(r *xpv1.Reference)
- func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Trigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TriggerList
- type TriggerObservation
- type TriggerParameters
- type TriggerSpec
- type TriggerStatus
Constants ¶
const ( CRDGroup = "event.mongodbatlas.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 AwsEventbridgeObservation ¶
type AwsEventbridgeObservation struct { }
func (*AwsEventbridgeObservation) DeepCopy ¶
func (in *AwsEventbridgeObservation) DeepCopy() *AwsEventbridgeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsEventbridgeObservation.
func (*AwsEventbridgeObservation) DeepCopyInto ¶
func (in *AwsEventbridgeObservation) DeepCopyInto(out *AwsEventbridgeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AwsEventbridgeParameters ¶
type AwsEventbridgeParameters struct { // +kubebuilder:validation:Optional ConfigAccountID *string `json:"configAccountId,omitempty" tf:"config_account_id,omitempty"` // +kubebuilder:validation:Optional ConfigRegion *string `json:"configRegion,omitempty" tf:"config_region,omitempty"` }
func (*AwsEventbridgeParameters) DeepCopy ¶
func (in *AwsEventbridgeParameters) DeepCopy() *AwsEventbridgeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsEventbridgeParameters.
func (*AwsEventbridgeParameters) DeepCopyInto ¶
func (in *AwsEventbridgeParameters) DeepCopyInto(out *AwsEventbridgeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventProcessorsObservation ¶
type EventProcessorsObservation struct { }
func (*EventProcessorsObservation) DeepCopy ¶
func (in *EventProcessorsObservation) DeepCopy() *EventProcessorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventProcessorsObservation.
func (*EventProcessorsObservation) DeepCopyInto ¶
func (in *EventProcessorsObservation) DeepCopyInto(out *EventProcessorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventProcessorsParameters ¶
type EventProcessorsParameters struct { // +kubebuilder:validation:Optional AwsEventbridge []AwsEventbridgeParameters `json:"awsEventbridge,omitempty" tf:"aws_eventbridge,omitempty"` }
func (*EventProcessorsParameters) DeepCopy ¶
func (in *EventProcessorsParameters) DeepCopy() *EventProcessorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventProcessorsParameters.
func (*EventProcessorsParameters) DeepCopyInto ¶
func (in *EventProcessorsParameters) DeepCopyInto(out *EventProcessorsParameters)
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"` Spec TriggerSpec `json:"spec"` Status TriggerStatus `json:"status,omitempty"` }
Trigger is the Schema for the Triggers API. <no value> +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,mongodbatlas}
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Trigger
func (*Trigger) GetDeletionPolicy ¶
func (mg *Trigger) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Trigger.
func (*Trigger) GetObservation ¶
GetObservation of this Trigger
func (*Trigger) GetParameters ¶
GetParameters of this Trigger
func (*Trigger) GetProviderConfigReference ¶
GetProviderConfigReference of this Trigger.
func (*Trigger) GetProviderReference ¶
GetProviderReference of this Trigger. Deprecated: Use GetProviderConfigReference.
func (*Trigger) GetPublishConnectionDetailsTo ¶
func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Trigger.
func (*Trigger) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Trigger
func (*Trigger) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Trigger) GetWriteConnectionSecretToReference ¶
func (mg *Trigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Trigger.
func (*Trigger) LateInitialize ¶
LateInitialize this Trigger using its observed tfState. returns True if there are any spec changes for the resource.
func (*Trigger) ResolveReferences ¶
ResolveReferences of this Trigger.
func (*Trigger) SetConditions ¶
SetConditions of this Trigger.
func (*Trigger) SetDeletionPolicy ¶
func (mg *Trigger) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Trigger.
func (*Trigger) SetObservation ¶
SetObservation for this Trigger
func (*Trigger) SetParameters ¶
SetParameters for this Trigger
func (*Trigger) SetProviderConfigReference ¶
SetProviderConfigReference of this Trigger.
func (*Trigger) SetProviderReference ¶
SetProviderReference of this Trigger. Deprecated: Use SetProviderConfigReference.
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 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 { ConfigScheduleType *string `json:"configScheduleType,omitempty" tf:"config_schedule_type,omitempty"` FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` TriggerID *string `json:"triggerId,omitempty" tf:"trigger_id,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 { // +kubebuilder:validation:Required AppID *string `json:"appId" tf:"app_id,omitempty"` // +kubebuilder:validation:Optional ConfigCollection *string `json:"configCollection,omitempty" tf:"config_collection,omitempty"` // +kubebuilder:validation:Optional ConfigDatabase *string `json:"configDatabase,omitempty" tf:"config_database,omitempty"` // +kubebuilder:validation:Optional ConfigFullDocument *bool `json:"configFullDocument,omitempty" tf:"config_full_document,omitempty"` // +kubebuilder:validation:Optional ConfigFullDocumentBefore *bool `json:"configFullDocumentBefore,omitempty" tf:"config_full_document_before,omitempty"` // +kubebuilder:validation:Optional ConfigMatch *string `json:"configMatch,omitempty" tf:"config_match,omitempty"` // +kubebuilder:validation:Optional ConfigOperationType *string `json:"configOperationType,omitempty" tf:"config_operation_type,omitempty"` // +kubebuilder:validation:Optional ConfigOperationTypes []*string `json:"configOperationTypes,omitempty" tf:"config_operation_types,omitempty"` // +kubebuilder:validation:Optional ConfigProject *string `json:"configProject,omitempty" tf:"config_project,omitempty"` // +kubebuilder:validation:Optional ConfigProviders []*string `json:"configProviders,omitempty" tf:"config_providers,omitempty"` // +kubebuilder:validation:Optional ConfigSchedule *string `json:"configSchedule,omitempty" tf:"config_schedule,omitempty"` // +kubebuilder:validation:Optional ConfigServiceID *string `json:"configServiceId,omitempty" tf:"config_service_id,omitempty"` // +kubebuilder:validation:Optional Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // +kubebuilder:validation:Optional EventProcessors []EventProcessorsParameters `json:"eventProcessors,omitempty" tf:"event_processors,omitempty"` // +kubebuilder:validation:Optional FunctionID *string `json:"functionId,omitempty" tf:"function_id,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-mongodbatlas/apis/mongodbatlas/v1alpha1.Project // +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-mongodbatlas/config/common.ExtractResourceID() // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Reference to a Project in mongodbatlas to populate projectId. // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // Selector for a Project in mongodbatlas to populate projectId. // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // +kubebuilder:validation:Optional Unordered *bool `json:"unordered,omitempty" tf:"unordered,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"` }
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.