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=online.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: online.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 Archive

type Archive struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ArchiveSpec   `json:"spec,omitempty"`
	Status            ArchiveStatus `json:"status,omitempty"`
}

func (*Archive) DeepCopy

func (in *Archive) DeepCopy() *Archive

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

func (*Archive) DeepCopyInto

func (in *Archive) DeepCopyInto(out *Archive)

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

func (*Archive) DeepCopyObject

func (in *Archive) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Archive) SetupWebhookWithManager

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

func (*Archive) ValidateCreate

func (r *Archive) ValidateCreate() error

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

func (*Archive) ValidateDelete

func (r *Archive) ValidateDelete() error

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

func (*Archive) ValidateUpdate

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

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

type ArchiveList

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

ArchiveList is a list of Archives

func (*ArchiveList) DeepCopy

func (in *ArchiveList) DeepCopy() *ArchiveList

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

func (*ArchiveList) DeepCopyInto

func (in *ArchiveList) DeepCopyInto(out *ArchiveList)

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

func (*ArchiveList) DeepCopyObject

func (in *ArchiveList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArchiveSpec

type ArchiveSpec struct {
	State *ArchiveSpecResource `json:"state,omitempty" tf:"-"`

	Resource ArchiveSpecResource `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 (*ArchiveSpec) DeepCopy

func (in *ArchiveSpec) DeepCopy() *ArchiveSpec

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

func (*ArchiveSpec) DeepCopyInto

func (in *ArchiveSpec) DeepCopyInto(out *ArchiveSpec)

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

type ArchiveSpecCriteria

type ArchiveSpecCriteria struct {
	// +optional
	DateField *string `json:"dateField,omitempty" tf:"date_field"`
	// +optional
	DateFormat *string `json:"dateFormat,omitempty" tf:"date_format"`
	// +optional
	ExpireAfterDays *int64 `json:"expireAfterDays,omitempty" tf:"expire_after_days"`
	// +optional
	Query *string `json:"query,omitempty" tf:"query"`
	Type  *string `json:"type" tf:"type"`
}

func (*ArchiveSpecCriteria) DeepCopy

func (in *ArchiveSpecCriteria) DeepCopy() *ArchiveSpecCriteria

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

func (*ArchiveSpecCriteria) DeepCopyInto

func (in *ArchiveSpecCriteria) DeepCopyInto(out *ArchiveSpecCriteria)

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

type ArchiveSpecCriteriaCodec

type ArchiveSpecCriteriaCodec struct {
}

+k8s:deepcopy-gen=false

func (ArchiveSpecCriteriaCodec) Decode

func (ArchiveSpecCriteriaCodec) Encode

func (ArchiveSpecCriteriaCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (ArchiveSpecCriteriaCodec) IsEmpty

type ArchiveSpecPartitionFields

type ArchiveSpecPartitionFields struct {
	FieldName *string `json:"fieldName" tf:"field_name"`
	// +optional
	FieldType *string `json:"fieldType,omitempty" tf:"field_type"`
	Order     *int64  `json:"order" tf:"order"`
}

func (*ArchiveSpecPartitionFields) DeepCopy

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

func (*ArchiveSpecPartitionFields) DeepCopyInto

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

type ArchiveSpecResource

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

	// +optional
	ArchiveID   *string              `json:"archiveID,omitempty" tf:"archive_id"`
	ClusterName *string              `json:"clusterName" tf:"cluster_name"`
	CollName    *string              `json:"collName" tf:"coll_name"`
	Criteria    *ArchiveSpecCriteria `json:"criteria" tf:"criteria"`
	DbName      *string              `json:"dbName" tf:"db_name"`
	// +optional
	PartitionFields []ArchiveSpecPartitionFields `json:"partitionFields,omitempty" tf:"partition_fields"`
	// +optional
	Paused    *bool   `json:"paused,omitempty" tf:"paused"`
	ProjectID *string `json:"projectID" tf:"project_id"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	SyncCreation *bool `json:"syncCreation,omitempty" tf:"sync_creation"`
}

func (*ArchiveSpecResource) DeepCopy

func (in *ArchiveSpecResource) DeepCopy() *ArchiveSpecResource

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

func (*ArchiveSpecResource) DeepCopyInto

func (in *ArchiveSpecResource) DeepCopyInto(out *ArchiveSpecResource)

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

type ArchiveStatus

type ArchiveStatus 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 (*ArchiveStatus) DeepCopy

func (in *ArchiveStatus) DeepCopy() *ArchiveStatus

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

func (*ArchiveStatus) DeepCopyInto

func (in *ArchiveStatus) DeepCopyInto(out *ArchiveStatus)

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