Documentation ¶
Overview ¶
+groupName=global.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 ClusterConfig
- func (in *ClusterConfig) DeepCopy() *ClusterConfig
- func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
- func (in *ClusterConfig) DeepCopyObject() runtime.Object
- func (r *ClusterConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ClusterConfig) ValidateCreate() error
- func (r *ClusterConfig) ValidateDelete() error
- func (r *ClusterConfig) ValidateUpdate(old runtime.Object) error
- type ClusterConfigList
- type ClusterConfigSpec
- type ClusterConfigSpecCustomZoneMappings
- type ClusterConfigSpecManagedNamespaces
- type ClusterConfigSpecResource
- type ClusterConfigStatus
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: global.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 ClusterConfig ¶
type ClusterConfig struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterConfigSpec `json:"spec,omitempty"` Status ClusterConfigStatus `json:"status,omitempty"` }
func (*ClusterConfig) DeepCopy ¶
func (in *ClusterConfig) DeepCopy() *ClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfig.
func (*ClusterConfig) DeepCopyInto ¶
func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterConfig) DeepCopyObject ¶
func (in *ClusterConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterConfig) SetupWebhookWithManager ¶
func (r *ClusterConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterConfig) ValidateCreate ¶
func (r *ClusterConfig) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ClusterConfig) ValidateDelete ¶
func (r *ClusterConfig) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ClusterConfig) ValidateUpdate ¶
func (r *ClusterConfig) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ClusterConfigList ¶
type ClusterConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ClusterConfig CRD objects Items []ClusterConfig `json:"items,omitempty"` }
ClusterConfigList is a list of ClusterConfigs
func (*ClusterConfigList) DeepCopy ¶
func (in *ClusterConfigList) DeepCopy() *ClusterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigList.
func (*ClusterConfigList) DeepCopyInto ¶
func (in *ClusterConfigList) DeepCopyInto(out *ClusterConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterConfigList) DeepCopyObject ¶
func (in *ClusterConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterConfigSpec ¶
type ClusterConfigSpec struct { State *ClusterConfigSpecResource `json:"state,omitempty" tf:"-"` Resource ClusterConfigSpecResource `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 (*ClusterConfigSpec) DeepCopy ¶
func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigSpec.
func (*ClusterConfigSpec) DeepCopyInto ¶
func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfigSpecCustomZoneMappings ¶
type ClusterConfigSpecCustomZoneMappings struct { // +optional Location *string `json:"location,omitempty" tf:"location"` // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*ClusterConfigSpecCustomZoneMappings) DeepCopy ¶
func (in *ClusterConfigSpecCustomZoneMappings) DeepCopy() *ClusterConfigSpecCustomZoneMappings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigSpecCustomZoneMappings.
func (*ClusterConfigSpecCustomZoneMappings) DeepCopyInto ¶
func (in *ClusterConfigSpecCustomZoneMappings) DeepCopyInto(out *ClusterConfigSpecCustomZoneMappings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfigSpecManagedNamespaces ¶
type ClusterConfigSpecManagedNamespaces struct { Collection *string `json:"collection" tf:"collection"` CustomShardKey *string `json:"customShardKey" tf:"custom_shard_key"` Db *string `json:"db" tf:"db"` // +optional IsCustomShardKeyHashed *bool `json:"isCustomShardKeyHashed,omitempty" tf:"is_custom_shard_key_hashed"` // +optional IsShardKeyUnique *bool `json:"isShardKeyUnique,omitempty" tf:"is_shard_key_unique"` }
func (*ClusterConfigSpecManagedNamespaces) DeepCopy ¶
func (in *ClusterConfigSpecManagedNamespaces) DeepCopy() *ClusterConfigSpecManagedNamespaces
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigSpecManagedNamespaces.
func (*ClusterConfigSpecManagedNamespaces) DeepCopyInto ¶
func (in *ClusterConfigSpecManagedNamespaces) DeepCopyInto(out *ClusterConfigSpecManagedNamespaces)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfigSpecResource ¶
type ClusterConfigSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterName *string `json:"clusterName" tf:"cluster_name"` // +optional CustomZoneMapping map[string]string `json:"customZoneMapping,omitempty" tf:"custom_zone_mapping"` // +optional CustomZoneMappings []ClusterConfigSpecCustomZoneMappings `json:"customZoneMappings,omitempty" tf:"custom_zone_mappings"` // +optional ManagedNamespaces []ClusterConfigSpecManagedNamespaces `json:"managedNamespaces,omitempty" tf:"managed_namespaces"` ProjectID *string `json:"projectID" tf:"project_id"` }
func (*ClusterConfigSpecResource) DeepCopy ¶
func (in *ClusterConfigSpecResource) DeepCopy() *ClusterConfigSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigSpecResource.
func (*ClusterConfigSpecResource) DeepCopyInto ¶
func (in *ClusterConfigSpecResource) DeepCopyInto(out *ClusterConfigSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfigStatus ¶
type ClusterConfigStatus 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 (*ClusterConfigStatus) DeepCopy ¶
func (in *ClusterConfigStatus) DeepCopy() *ClusterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigStatus.
func (*ClusterConfigStatus) DeepCopyInto ¶
func (in *ClusterConfigStatus) DeepCopyInto(out *ClusterConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.