v1alpha1

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=event.mongodbatlas.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: event.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Trigger

type Trigger struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TriggerSpec   `json:"spec,omitempty"`
	Status            TriggerStatus `json:"status,omitempty"`
}

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

func (r *Trigger) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Trigger) ValidateCreate

func (r *Trigger) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Trigger) ValidateDelete

func (r *Trigger) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Trigger) ValidateUpdate

func (r *Trigger) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type TriggerList

type TriggerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Trigger CRD objects
	Items []Trigger `json:"items,omitempty"`
}

TriggerList is 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.

type TriggerSpec

type TriggerSpec struct {
	State *TriggerSpecResource `json:"state,omitempty" tf:"-"`

	Resource TriggerSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 TriggerSpecEventProcessors

type TriggerSpecEventProcessors struct {
	// +optional
	AwsEventbridge *TriggerSpecEventProcessorsAwsEventbridge `json:"awsEventbridge,omitempty" tf:"aws_eventbridge"`
}

func (*TriggerSpecEventProcessors) DeepCopy

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

func (*TriggerSpecEventProcessors) DeepCopyInto

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

type TriggerSpecEventProcessorsAwsEventbridge

type TriggerSpecEventProcessorsAwsEventbridge struct {
	// +optional
	ConfigAccountID *string `json:"configAccountID,omitempty" tf:"config_account_id"`
	// +optional
	ConfigRegion *string `json:"configRegion,omitempty" tf:"config_region"`
}

func (*TriggerSpecEventProcessorsAwsEventbridge) DeepCopy

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

func (*TriggerSpecEventProcessorsAwsEventbridge) DeepCopyInto

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

type TriggerSpecEventProcessorsAwsEventbridgeCodec

type TriggerSpecEventProcessorsAwsEventbridgeCodec struct {
}

+k8s:deepcopy-gen=false

func (TriggerSpecEventProcessorsAwsEventbridgeCodec) Decode

func (TriggerSpecEventProcessorsAwsEventbridgeCodec) Encode

func (TriggerSpecEventProcessorsAwsEventbridgeCodec) IsEmpty

type TriggerSpecEventProcessorsCodec

type TriggerSpecEventProcessorsCodec struct {
}

+k8s:deepcopy-gen=false

func (TriggerSpecEventProcessorsCodec) Decode

func (TriggerSpecEventProcessorsCodec) Encode

func (TriggerSpecEventProcessorsCodec) IsEmpty

type TriggerSpecResource

type TriggerSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AppID *string `json:"appID" tf:"app_id"`
	// +optional
	ConfigCollection *string `json:"configCollection,omitempty" tf:"config_collection"`
	// +optional
	ConfigDatabase *string `json:"configDatabase,omitempty" tf:"config_database"`
	// +optional
	ConfigFullDocument *bool `json:"configFullDocument,omitempty" tf:"config_full_document"`
	// +optional
	ConfigFullDocumentBefore *bool `json:"configFullDocumentBefore,omitempty" tf:"config_full_document_before"`
	// +optional
	ConfigMatch *string `json:"configMatch,omitempty" tf:"config_match"`
	// +optional
	ConfigOperationType *string `json:"configOperationType,omitempty" tf:"config_operation_type"`
	// +optional
	ConfigOperationTypes []string `json:"configOperationTypes,omitempty" tf:"config_operation_types"`
	// +optional
	ConfigProject *string `json:"configProject,omitempty" tf:"config_project"`
	// +optional
	ConfigProviders []string `json:"configProviders,omitempty" tf:"config_providers"`
	// +optional
	ConfigSchedule *string `json:"configSchedule,omitempty" tf:"config_schedule"`
	// +optional
	ConfigScheduleType *string `json:"configScheduleType,omitempty" tf:"config_schedule_type"`
	// +optional
	ConfigServiceID *string `json:"configServiceID,omitempty" tf:"config_service_id"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	EventProcessors *TriggerSpecEventProcessors `json:"eventProcessors,omitempty" tf:"event_processors"`
	// +optional
	FunctionID *string `json:"functionID,omitempty" tf:"function_id"`
	// +optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name"`
	Name         *string `json:"name" tf:"name"`
	ProjectID    *string `json:"projectID" tf:"project_id"`
	// +optional
	TriggerID *string `json:"triggerID,omitempty" tf:"trigger_id"`
	Type      *string `json:"type" tf:"type"`
}

func (*TriggerSpecResource) DeepCopy

func (in *TriggerSpecResource) DeepCopy() *TriggerSpecResource

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

func (*TriggerSpecResource) DeepCopyInto

func (in *TriggerSpecResource) DeepCopyInto(out *TriggerSpecResource)

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

type TriggerStatus

type TriggerStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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