Documentation ¶
Overview ¶
+groupName=lindorm.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: lindorm.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:"-"` 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 ColdStorage *int64 `json:"coldStorage,omitempty" tf:"cold_storage"` // +optional CoreNum *int64 `json:"coreNum,omitempty" tf:"core_num"` // +optional CoreSpec *string `json:"coreSpec,omitempty" tf:"core_spec"` // +optional DeletionProection *bool `json:"deletionProection,omitempty" tf:"deletion_proection"` DiskCategory *string `json:"diskCategory" tf:"disk_category"` // +optional Duration *string `json:"duration,omitempty" tf:"duration"` // +optional FileEngineNodeCount *int64 `json:"fileEngineNodeCount,omitempty" tf:"file_engine_node_count"` // +optional FileEngineSpecification *string `json:"fileEngineSpecification,omitempty" tf:"file_engine_specification"` // +optional GroupName *string `json:"groupName,omitempty" tf:"group_name"` // +optional InstanceName *string `json:"instanceName,omitempty" tf:"instance_name"` // +optional InstanceStorage *string `json:"instanceStorage,omitempty" tf:"instance_storage"` // +optional IpWhiteList []string `json:"ipWhiteList,omitempty" tf:"ip_white_list"` // +optional LtsNodeCount *int64 `json:"ltsNodeCount,omitempty" tf:"lts_node_count"` // +optional LtsNodeSpecification *string `json:"ltsNodeSpecification,omitempty" tf:"lts_node_specification"` PaymentType *string `json:"paymentType" tf:"payment_type"` // +optional PhoenixNodeCount *int64 `json:"phoenixNodeCount,omitempty" tf:"phoenix_node_count"` // +optional PhoenixNodeSpecification *string `json:"phoenixNodeSpecification,omitempty" tf:"phoenix_node_specification"` // +optional PricingCycle *string `json:"pricingCycle,omitempty" tf:"pricing_cycle"` // +optional SearchEngineNodeCount *int64 `json:"searchEngineNodeCount,omitempty" tf:"search_engine_node_count"` // +optional SearchEngineSpecification *string `json:"searchEngineSpecification,omitempty" tf:"search_engine_specification"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional TableEngineNodeCount *int64 `json:"tableEngineNodeCount,omitempty" tf:"table_engine_node_count"` // +optional TableEngineSpecification *string `json:"tableEngineSpecification,omitempty" tf:"table_engine_specification"` // +optional TimeSeriesEngineNodeCount *int64 `json:"timeSeriesEngineNodeCount,omitempty" tf:"time_series_engine_node_count"` // +optional TimeSeriresEngineSpecification *string `json:"timeSeriresEngineSpecification,omitempty" tf:"time_serires_engine_specification"` // +optional UpgradeType *string `json:"upgradeType,omitempty" tf:"upgrade_type"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` // +optional ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"` }
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.