Documentation ¶
Overview ¶
+groupName=ots.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 InstanceAttachment
- func (in *InstanceAttachment) DeepCopy() *InstanceAttachment
- func (in *InstanceAttachment) DeepCopyInto(out *InstanceAttachment)
- func (in *InstanceAttachment) DeepCopyObject() runtime.Object
- func (r *InstanceAttachment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *InstanceAttachment) ValidateCreate() error
- func (r *InstanceAttachment) ValidateDelete() error
- func (r *InstanceAttachment) ValidateUpdate(old runtime.Object) error
- type InstanceAttachmentList
- type InstanceAttachmentSpec
- type InstanceAttachmentSpecResource
- type InstanceAttachmentStatus
- type InstanceList
- type InstanceSpec
- type InstanceSpecResource
- type InstanceStatus
- type Table
- func (in *Table) DeepCopy() *Table
- func (in *Table) DeepCopyInto(out *Table)
- func (in *Table) DeepCopyObject() runtime.Object
- func (r *Table) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Table) ValidateCreate() error
- func (r *Table) ValidateDelete() error
- func (r *Table) ValidateUpdate(old runtime.Object) error
- type TableList
- type TableSpec
- type TableSpecPrimaryKey
- type TableSpecResource
- type TableStatus
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: ots.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 InstanceAttachment ¶
type InstanceAttachment struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceAttachmentSpec `json:"spec,omitempty"` Status InstanceAttachmentStatus `json:"status,omitempty"` }
func (*InstanceAttachment) DeepCopy ¶
func (in *InstanceAttachment) DeepCopy() *InstanceAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachment.
func (*InstanceAttachment) DeepCopyInto ¶
func (in *InstanceAttachment) DeepCopyInto(out *InstanceAttachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceAttachment) DeepCopyObject ¶
func (in *InstanceAttachment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceAttachment) SetupWebhookWithManager ¶
func (r *InstanceAttachment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InstanceAttachment) ValidateCreate ¶
func (r *InstanceAttachment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*InstanceAttachment) ValidateDelete ¶
func (r *InstanceAttachment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*InstanceAttachment) ValidateUpdate ¶
func (r *InstanceAttachment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type InstanceAttachmentList ¶
type InstanceAttachmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of InstanceAttachment CRD objects Items []InstanceAttachment `json:"items,omitempty"` }
InstanceAttachmentList is a list of InstanceAttachments
func (*InstanceAttachmentList) DeepCopy ¶
func (in *InstanceAttachmentList) DeepCopy() *InstanceAttachmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentList.
func (*InstanceAttachmentList) DeepCopyInto ¶
func (in *InstanceAttachmentList) DeepCopyInto(out *InstanceAttachmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceAttachmentList) DeepCopyObject ¶
func (in *InstanceAttachmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceAttachmentSpec ¶
type InstanceAttachmentSpec struct { State *InstanceAttachmentSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceAttachmentSpecResource `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 (*InstanceAttachmentSpec) DeepCopy ¶
func (in *InstanceAttachmentSpec) DeepCopy() *InstanceAttachmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentSpec.
func (*InstanceAttachmentSpec) DeepCopyInto ¶
func (in *InstanceAttachmentSpec) DeepCopyInto(out *InstanceAttachmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceAttachmentSpecResource ¶
type InstanceAttachmentSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` InstanceName *string `json:"instanceName" tf:"instance_name"` // +optional VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"` VpcName *string `json:"vpcName" tf:"vpc_name"` VswitchID *string `json:"vswitchID" tf:"vswitch_id"` }
func (*InstanceAttachmentSpecResource) DeepCopy ¶
func (in *InstanceAttachmentSpecResource) DeepCopy() *InstanceAttachmentSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentSpecResource.
func (*InstanceAttachmentSpecResource) DeepCopyInto ¶
func (in *InstanceAttachmentSpecResource) DeepCopyInto(out *InstanceAttachmentSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceAttachmentStatus ¶
type InstanceAttachmentStatus 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 (*InstanceAttachmentStatus) DeepCopy ¶
func (in *InstanceAttachmentStatus) DeepCopy() *InstanceAttachmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentStatus.
func (*InstanceAttachmentStatus) DeepCopyInto ¶
func (in *InstanceAttachmentStatus) DeepCopyInto(out *InstanceAttachmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AccessedBy *string `json:"accessedBy,omitempty" tf:"accessed_by"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"` Name *string `json:"name" tf:"name"` // +optional Tags map[string]string `json:"tags,omitempty" tf:"tags"` }
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.
type Table ¶
type Table struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TableSpec `json:"spec,omitempty"` Status TableStatus `json:"status,omitempty"` }
func (*Table) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (*Table) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Table) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Table) SetupWebhookWithManager ¶
func (*Table) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Table) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TableList ¶
type TableList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Table CRD objects Items []Table `json:"items,omitempty"` }
TableList is a list of Tables
func (*TableList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableList.
func (*TableList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableSpec ¶
type TableSpec struct { State *TableSpecResource `json:"state,omitempty" tf:"-"` Resource TableSpecResource `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 (*TableSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpec.
type TableSpecPrimaryKey ¶
type TableSpecPrimaryKey struct { Name *string `json:"name" tf:"name"` Type *string `json:"type" tf:"type"` }
func (*TableSpecPrimaryKey) DeepCopy ¶
func (in *TableSpecPrimaryKey) DeepCopy() *TableSpecPrimaryKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpecPrimaryKey.
func (*TableSpecPrimaryKey) DeepCopyInto ¶
func (in *TableSpecPrimaryKey) DeepCopyInto(out *TableSpecPrimaryKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableSpecResource ¶
type TableSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional DeviationCellVersionInSec *string `json:"deviationCellVersionInSec,omitempty" tf:"deviation_cell_version_in_sec"` InstanceName *string `json:"instanceName" tf:"instance_name"` MaxVersion *int64 `json:"maxVersion" tf:"max_version"` // +kubebuilder:validation:MaxItems=4 PrimaryKey []TableSpecPrimaryKey `json:"primaryKey" tf:"primary_key"` TableName *string `json:"tableName" tf:"table_name"` TimeToLive *int64 `json:"timeToLive" tf:"time_to_live"` }
func (*TableSpecResource) DeepCopy ¶
func (in *TableSpecResource) DeepCopy() *TableSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpecResource.
func (*TableSpecResource) DeepCopyInto ¶
func (in *TableSpecResource) DeepCopyInto(out *TableSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableStatus ¶
type TableStatus 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 (*TableStatus) DeepCopy ¶
func (in *TableStatus) DeepCopy() *TableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableStatus.
func (*TableStatus) DeepCopyInto ¶
func (in *TableStatus) DeepCopyInto(out *TableStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.