v1alpha1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=event.mongodbatlas.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "event.mongodbatlas.crossplane.io"
	CRDVersion = "v1alpha1"
)

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 AwsEventbridgeObservation

type AwsEventbridgeObservation struct {
}

func (*AwsEventbridgeObservation) DeepCopy

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

func (*AwsEventbridgeObservation) DeepCopyInto

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

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

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

func (*EventProcessorsObservation) DeepCopyInto

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

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

func (*EventProcessorsParameters) DeepCopyInto

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

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) 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) GetProviderReference

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

GetProviderReference of this Trigger. Deprecated: Use GetProviderConfigReference.

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) 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) SetProviderReference

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

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.

Jump to

Keyboard shortcuts

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