Documentation ¶
Overview ¶
+groupName=online.mongodbatlas.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Archive
- func (in *Archive) DeepCopy() *Archive
- func (in *Archive) DeepCopyInto(out *Archive)
- func (in *Archive) DeepCopyObject() runtime.Object
- func (r *Archive) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Archive) ValidateCreate() error
- func (r *Archive) ValidateDelete() error
- func (r *Archive) ValidateUpdate(old runtime.Object) error
- type ArchiveList
- type ArchiveSpec
- type ArchiveSpecCriteria
- type ArchiveSpecCriteriaCodec
- type ArchiveSpecPartitionFields
- type ArchiveSpecResource
- type ArchiveStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Archive.
func (*Archive) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Archive) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Archive) SetupWebhookWithManager ¶
func (*Archive) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Archive) ValidateDelete ¶
ValidateDelete 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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *ArchiveSpecPartitionFields) DeepCopy() *ArchiveSpecPartitionFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveSpecPartitionFields.
func (*ArchiveSpecPartitionFields) DeepCopyInto ¶
func (in *ArchiveSpecPartitionFields) DeepCopyInto(out *ArchiveSpecPartitionFields)
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.