Documentation ¶
Overview ¶
+groupName=elasticsearch.alicloud.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 Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instance) ValidateCreate() error
- func (r *Instance) ValidateDelete() error
- func (r *Instance) ValidateUpdate(old runtime.Object) error
- type InstanceList
- type InstanceSpec
- type InstanceSpecResource
- type InstanceStatus
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: elasticsearch.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
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 Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec,omitempty"` Status InstanceStatus `json:"status,omitempty"` }
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) SetupWebhookWithManager ¶
func (*Instance) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Instance) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Instance CRD objects Items []Instance `json:"items,omitempty"` }
InstanceList is a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceSpec ¶
type InstanceSpec struct { State *InstanceSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ClientNodeAmount *int64 `json:"clientNodeAmount,omitempty" tf:"client_node_amount"` // +optional ClientNodeSpec *string `json:"clientNodeSpec,omitempty" tf:"client_node_spec"` DataNodeAmount *int64 `json:"dataNodeAmount" tf:"data_node_amount"` // +optional DataNodeDiskEncrypted *bool `json:"dataNodeDiskEncrypted,omitempty" tf:"data_node_disk_encrypted"` DataNodeDiskSize *int64 `json:"dataNodeDiskSize" tf:"data_node_disk_size"` DataNodeDiskType *string `json:"dataNodeDiskType" tf:"data_node_disk_type"` DataNodeSpec *string `json:"dataNodeSpec" tf:"data_node_spec"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional Domain *string `json:"domain,omitempty" tf:"domain"` // +optional EnableKibanaPrivateNetwork *bool `json:"enableKibanaPrivateNetwork,omitempty" tf:"enable_kibana_private_network"` // +optional EnableKibanaPublicNetwork *bool `json:"enableKibanaPublicNetwork,omitempty" tf:"enable_kibana_public_network"` // +optional EnablePublic *bool `json:"enablePublic,omitempty" tf:"enable_public"` // +optional InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"` // +optional KibanaDomain *string `json:"kibanaDomain,omitempty" tf:"kibana_domain"` // +optional KibanaPort *int64 `json:"kibanaPort,omitempty" tf:"kibana_port"` // +optional KibanaPrivateWhitelist []string `json:"kibanaPrivateWhitelist,omitempty" tf:"kibana_private_whitelist"` // +optional KibanaWhitelist []string `json:"kibanaWhitelist,omitempty" tf:"kibana_whitelist"` // +optional KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"` // +optional KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"` // +optional MasterNodeSpec *string `json:"masterNodeSpec,omitempty" tf:"master_node_spec"` // +optional Password *string `json:"-" sensitive:"true" tf:"password"` // +optional Period *int64 `json:"period,omitempty" tf:"period"` // +optional Port *int64 `json:"port,omitempty" tf:"port"` // +optional PrivateWhitelist []string `json:"privateWhitelist,omitempty" tf:"private_whitelist"` // +optional Protocol *string `json:"protocol,omitempty" tf:"protocol"` // +optional PublicWhitelist []string `json:"publicWhitelist,omitempty" tf:"public_whitelist"` // +optional ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"` // +optional SettingConfig map[string]string `json:"settingConfig,omitempty" tf:"setting_config"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tags map[string]string `json:"tags,omitempty" tf:"tags"` Version *string `json:"version" tf:"version"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` // +optional ZoneCount *int64 `json:"zoneCount,omitempty" tf:"zone_count"` }
func (*InstanceSpecResource) DeepCopy ¶
func (in *InstanceSpecResource) DeepCopy() *InstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.
func (*InstanceSpecResource) DeepCopyInto ¶
func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus 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 (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.