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=dms.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: dms.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 EnterpriseInstance

type EnterpriseInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnterpriseInstanceSpec   `json:"spec,omitempty"`
	Status            EnterpriseInstanceStatus `json:"status,omitempty"`
}

func (*EnterpriseInstance) DeepCopy

func (in *EnterpriseInstance) DeepCopy() *EnterpriseInstance

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

func (*EnterpriseInstance) DeepCopyInto

func (in *EnterpriseInstance) DeepCopyInto(out *EnterpriseInstance)

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

func (*EnterpriseInstance) DeepCopyObject

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

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

func (*EnterpriseInstance) SetupWebhookWithManager

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

func (*EnterpriseInstance) ValidateCreate

func (r *EnterpriseInstance) ValidateCreate() error

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

func (*EnterpriseInstance) ValidateDelete

func (r *EnterpriseInstance) ValidateDelete() error

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

func (*EnterpriseInstance) ValidateUpdate

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

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

type EnterpriseInstanceList

type EnterpriseInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EnterpriseInstance CRD objects
	Items []EnterpriseInstance `json:"items,omitempty"`
}

EnterpriseInstanceList is a list of EnterpriseInstances

func (*EnterpriseInstanceList) DeepCopy

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

func (*EnterpriseInstanceList) DeepCopyInto

func (in *EnterpriseInstanceList) DeepCopyInto(out *EnterpriseInstanceList)

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

func (*EnterpriseInstanceList) DeepCopyObject

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

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

type EnterpriseInstanceSpec

type EnterpriseInstanceSpec struct {
	State *EnterpriseInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnterpriseInstanceSpecResource `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 (*EnterpriseInstanceSpec) DeepCopy

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

func (*EnterpriseInstanceSpec) DeepCopyInto

func (in *EnterpriseInstanceSpec) DeepCopyInto(out *EnterpriseInstanceSpec)

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

type EnterpriseInstanceSpecResource

type EnterpriseInstanceSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	DataLinkName     *string `json:"dataLinkName,omitempty" tf:"data_link_name"`
	DatabasePassword *string `json:"-" sensitive:"true" tf:"database_password"`
	DatabaseUser     *string `json:"databaseUser" tf:"database_user"`
	// +optional
	DbaID *string `json:"dbaID,omitempty" tf:"dba_id"`
	// +optional
	DbaNickName *string `json:"dbaNickName,omitempty" tf:"dba_nick_name"`
	DbaUid      *int64  `json:"dbaUid" tf:"dba_uid"`
	// +optional
	DdlOnline *int64 `json:"ddlOnline,omitempty" tf:"ddl_online"`
	// +optional
	EcsInstanceID *string `json:"ecsInstanceID,omitempty" tf:"ecs_instance_id"`
	// +optional
	EcsRegion     *string `json:"ecsRegion,omitempty" tf:"ecs_region"`
	EnvType       *string `json:"envType" tf:"env_type"`
	ExportTimeout *int64  `json:"exportTimeout" tf:"export_timeout"`
	Host          *string `json:"host" tf:"host"`
	// +optional
	// Deprecated
	InstanceAlias *string `json:"instanceAlias,omitempty" tf:"instance_alias"`
	// +optional
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	// +optional
	InstanceName   *string `json:"instanceName,omitempty" tf:"instance_name"`
	InstanceSource *string `json:"instanceSource" tf:"instance_source"`
	InstanceType   *string `json:"instanceType" tf:"instance_type"`
	NetworkType    *string `json:"networkType" tf:"network_type"`
	Port           *int64  `json:"port" tf:"port"`
	QueryTimeout   *int64  `json:"queryTimeout" tf:"query_timeout"`
	SafeRule       *string `json:"safeRule" tf:"safe_rule"`
	// +optional
	SafeRuleID *string `json:"safeRuleID,omitempty" tf:"safe_rule_id"`
	// +optional
	Sid *string `json:"sid,omitempty" tf:"sid"`
	// +optional
	SkipTest *bool `json:"skipTest,omitempty" tf:"skip_test"`
	// +optional
	// Deprecated
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tid *int64 `json:"tid,omitempty" tf:"tid"`
	// +optional
	UseDsql *int64 `json:"useDsql,omitempty" tf:"use_dsql"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}

func (*EnterpriseInstanceSpecResource) DeepCopy

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

func (*EnterpriseInstanceSpecResource) DeepCopyInto

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

type EnterpriseInstanceStatus

type EnterpriseInstanceStatus 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 (*EnterpriseInstanceStatus) DeepCopy

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

func (*EnterpriseInstanceStatus) DeepCopyInto

func (in *EnterpriseInstanceStatus) DeepCopyInto(out *EnterpriseInstanceStatus)

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

type EnterpriseUser

type EnterpriseUser struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnterpriseUserSpec   `json:"spec,omitempty"`
	Status            EnterpriseUserStatus `json:"status,omitempty"`
}

func (*EnterpriseUser) DeepCopy

func (in *EnterpriseUser) DeepCopy() *EnterpriseUser

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

func (*EnterpriseUser) DeepCopyInto

func (in *EnterpriseUser) DeepCopyInto(out *EnterpriseUser)

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

func (*EnterpriseUser) DeepCopyObject

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

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

func (*EnterpriseUser) SetupWebhookWithManager

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

func (*EnterpriseUser) ValidateCreate

func (r *EnterpriseUser) ValidateCreate() error

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

func (*EnterpriseUser) ValidateDelete

func (r *EnterpriseUser) ValidateDelete() error

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

func (*EnterpriseUser) ValidateUpdate

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

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

type EnterpriseUserList

type EnterpriseUserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EnterpriseUser CRD objects
	Items []EnterpriseUser `json:"items,omitempty"`
}

EnterpriseUserList is a list of EnterpriseUsers

func (*EnterpriseUserList) DeepCopy

func (in *EnterpriseUserList) DeepCopy() *EnterpriseUserList

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

func (*EnterpriseUserList) DeepCopyInto

func (in *EnterpriseUserList) DeepCopyInto(out *EnterpriseUserList)

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

func (*EnterpriseUserList) DeepCopyObject

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

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

type EnterpriseUserSpec

type EnterpriseUserSpec struct {
	State *EnterpriseUserSpecResource `json:"state,omitempty" tf:"-"`

	Resource EnterpriseUserSpecResource `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 (*EnterpriseUserSpec) DeepCopy

func (in *EnterpriseUserSpec) DeepCopy() *EnterpriseUserSpec

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

func (*EnterpriseUserSpec) DeepCopyInto

func (in *EnterpriseUserSpec) DeepCopyInto(out *EnterpriseUserSpec)

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

type EnterpriseUserSpecResource

type EnterpriseUserSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	MaxExecuteCount *int64 `json:"maxExecuteCount,omitempty" tf:"max_execute_count"`
	// +optional
	MaxResultCount *int64 `json:"maxResultCount,omitempty" tf:"max_result_count"`
	// +optional
	Mobile *string `json:"mobile,omitempty" tf:"mobile"`
	// +optional
	// Deprecated
	NickName *string `json:"nickName,omitempty" tf:"nick_name"`
	// +optional
	RoleNames []string `json:"roleNames,omitempty" tf:"role_names"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tid *int64  `json:"tid,omitempty" tf:"tid"`
	Uid *string `json:"uid" tf:"uid"`
	// +optional
	UserName *string `json:"userName,omitempty" tf:"user_name"`
}

func (*EnterpriseUserSpecResource) DeepCopy

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

func (*EnterpriseUserSpecResource) DeepCopyInto

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

type EnterpriseUserStatus

type EnterpriseUserStatus 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 (*EnterpriseUserStatus) DeepCopy

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

func (*EnterpriseUserStatus) DeepCopyInto

func (in *EnterpriseUserStatus) DeepCopyInto(out *EnterpriseUserStatus)

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