v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+groupName=ots.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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

func Kind(kind string) schema.GroupKind

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

func (in *Instance) DeepCopy() *Instance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Instance) DeepCopyObject

func (in *Instance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Instance) SetupWebhookWithManager

func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Instance) ValidateCreate

func (r *Instance) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Instance) ValidateDelete

func (r *Instance) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Instance) ValidateUpdate

func (r *Instance) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceAttachmentSpecResource.

func (*InstanceAttachmentSpecResource) DeepCopyInto

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

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

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

func (in *Table) DeepCopy() *Table

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.

func (*Table) DeepCopyInto

func (in *Table) DeepCopyInto(out *Table)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Table) DeepCopyObject

func (in *Table) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Table) SetupWebhookWithManager

func (r *Table) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Table) ValidateCreate

func (r *Table) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Table) ValidateDelete

func (r *Table) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Table) ValidateUpdate

func (r *Table) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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

func (in *TableList) DeepCopy() *TableList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableList.

func (*TableList) DeepCopyInto

func (in *TableList) DeepCopyInto(out *TableList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TableList) DeepCopyObject

func (in *TableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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

func (in *TableSpec) DeepCopy() *TableSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpec.

func (*TableSpec) DeepCopyInto

func (in *TableSpec) DeepCopyInto(out *TableSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL