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=cddc.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: cddc.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 DedicatedHost added in v0.5.0

type DedicatedHost struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DedicatedHostSpec   `json:"spec,omitempty"`
	Status            DedicatedHostStatus `json:"status,omitempty"`
}

func (*DedicatedHost) DeepCopy added in v0.5.0

func (in *DedicatedHost) DeepCopy() *DedicatedHost

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

func (*DedicatedHost) DeepCopyInto added in v0.5.0

func (in *DedicatedHost) DeepCopyInto(out *DedicatedHost)

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

func (*DedicatedHost) DeepCopyObject added in v0.5.0

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

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

func (*DedicatedHost) SetupWebhookWithManager added in v0.5.0

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

func (*DedicatedHost) ValidateCreate added in v0.5.0

func (r *DedicatedHost) ValidateCreate() error

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

func (*DedicatedHost) ValidateDelete added in v0.5.0

func (r *DedicatedHost) ValidateDelete() error

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

func (*DedicatedHost) ValidateUpdate added in v0.5.0

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

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

type DedicatedHostAccount added in v0.5.0

type DedicatedHostAccount struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DedicatedHostAccountSpec   `json:"spec,omitempty"`
	Status            DedicatedHostAccountStatus `json:"status,omitempty"`
}

func (*DedicatedHostAccount) DeepCopy added in v0.5.0

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

func (*DedicatedHostAccount) DeepCopyInto added in v0.5.0

func (in *DedicatedHostAccount) DeepCopyInto(out *DedicatedHostAccount)

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

func (*DedicatedHostAccount) DeepCopyObject added in v0.5.0

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

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

func (*DedicatedHostAccount) SetupWebhookWithManager added in v0.5.0

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

func (*DedicatedHostAccount) ValidateCreate added in v0.5.0

func (r *DedicatedHostAccount) ValidateCreate() error

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

func (*DedicatedHostAccount) ValidateDelete added in v0.5.0

func (r *DedicatedHostAccount) ValidateDelete() error

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

func (*DedicatedHostAccount) ValidateUpdate added in v0.5.0

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

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

type DedicatedHostAccountList added in v0.5.0

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

DedicatedHostAccountList is a list of DedicatedHostAccounts

func (*DedicatedHostAccountList) DeepCopy added in v0.5.0

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

func (*DedicatedHostAccountList) DeepCopyInto added in v0.5.0

func (in *DedicatedHostAccountList) DeepCopyInto(out *DedicatedHostAccountList)

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

func (*DedicatedHostAccountList) DeepCopyObject added in v0.5.0

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

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

type DedicatedHostAccountSpec added in v0.5.0

type DedicatedHostAccountSpec struct {
	State *DedicatedHostAccountSpecResource `json:"state,omitempty" tf:"-"`

	Resource DedicatedHostAccountSpecResource `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 (*DedicatedHostAccountSpec) DeepCopy added in v0.5.0

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

func (*DedicatedHostAccountSpec) DeepCopyInto added in v0.5.0

func (in *DedicatedHostAccountSpec) DeepCopyInto(out *DedicatedHostAccountSpec)

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

type DedicatedHostAccountSpecResource added in v0.5.0

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

	AccountName     *string `json:"accountName" tf:"account_name"`
	AccountPassword *string `json:"-" sensitive:"true" tf:"account_password"`
	// +optional
	AccountType     *string `json:"accountType,omitempty" tf:"account_type"`
	DedicatedHostID *string `json:"dedicatedHostID" tf:"dedicated_host_id"`
}

func (*DedicatedHostAccountSpecResource) DeepCopy added in v0.5.0

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

func (*DedicatedHostAccountSpecResource) DeepCopyInto added in v0.5.0

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

type DedicatedHostAccountStatus added in v0.5.0

type DedicatedHostAccountStatus 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 (*DedicatedHostAccountStatus) DeepCopy added in v0.5.0

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

func (*DedicatedHostAccountStatus) DeepCopyInto added in v0.5.0

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

type DedicatedHostGroup

type DedicatedHostGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DedicatedHostGroupSpec   `json:"spec,omitempty"`
	Status            DedicatedHostGroupStatus `json:"status,omitempty"`
}

func (*DedicatedHostGroup) DeepCopy

func (in *DedicatedHostGroup) DeepCopy() *DedicatedHostGroup

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

func (*DedicatedHostGroup) DeepCopyInto

func (in *DedicatedHostGroup) DeepCopyInto(out *DedicatedHostGroup)

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

func (*DedicatedHostGroup) DeepCopyObject

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

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

func (*DedicatedHostGroup) SetupWebhookWithManager

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

func (*DedicatedHostGroup) ValidateCreate

func (r *DedicatedHostGroup) ValidateCreate() error

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

func (*DedicatedHostGroup) ValidateDelete

func (r *DedicatedHostGroup) ValidateDelete() error

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

func (*DedicatedHostGroup) ValidateUpdate

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

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

type DedicatedHostGroupList

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

DedicatedHostGroupList is a list of DedicatedHostGroups

func (*DedicatedHostGroupList) DeepCopy

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

func (*DedicatedHostGroupList) DeepCopyInto

func (in *DedicatedHostGroupList) DeepCopyInto(out *DedicatedHostGroupList)

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

func (*DedicatedHostGroupList) DeepCopyObject

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

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

type DedicatedHostGroupSpec

type DedicatedHostGroupSpec struct {
	State *DedicatedHostGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource DedicatedHostGroupSpecResource `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 (*DedicatedHostGroupSpec) DeepCopy

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

func (*DedicatedHostGroupSpec) DeepCopyInto

func (in *DedicatedHostGroupSpec) DeepCopyInto(out *DedicatedHostGroupSpec)

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

type DedicatedHostGroupSpecResource

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

	// +optional
	AllocationPolicy *string `json:"allocationPolicy,omitempty" tf:"allocation_policy"`
	// +optional
	CpuAllocationRatio *int64 `json:"cpuAllocationRatio,omitempty" tf:"cpu_allocation_ratio"`
	// +optional
	DedicatedHostGroupDesc *string `json:"dedicatedHostGroupDesc,omitempty" tf:"dedicated_host_group_desc"`
	// +optional
	DiskAllocationRatio *int64  `json:"diskAllocationRatio,omitempty" tf:"disk_allocation_ratio"`
	Engine              *string `json:"engine" tf:"engine"`
	// +optional
	HostReplacePolicy *string `json:"hostReplacePolicy,omitempty" tf:"host_replace_policy"`
	// +optional
	MemAllocationRatio *int64 `json:"memAllocationRatio,omitempty" tf:"mem_allocation_ratio"`
	// +optional
	OpenPermission *bool   `json:"openPermission,omitempty" tf:"open_permission"`
	VpcID          *string `json:"vpcID" tf:"vpc_id"`
}

func (*DedicatedHostGroupSpecResource) DeepCopy

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

func (*DedicatedHostGroupSpecResource) DeepCopyInto

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

type DedicatedHostGroupStatus

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

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

func (*DedicatedHostGroupStatus) DeepCopyInto

func (in *DedicatedHostGroupStatus) DeepCopyInto(out *DedicatedHostGroupStatus)

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

type DedicatedHostList added in v0.5.0

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

DedicatedHostList is a list of DedicatedHosts

func (*DedicatedHostList) DeepCopy added in v0.5.0

func (in *DedicatedHostList) DeepCopy() *DedicatedHostList

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

func (*DedicatedHostList) DeepCopyInto added in v0.5.0

func (in *DedicatedHostList) DeepCopyInto(out *DedicatedHostList)

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

func (*DedicatedHostList) DeepCopyObject added in v0.5.0

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

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

type DedicatedHostSpec added in v0.5.0

type DedicatedHostSpec struct {
	State *DedicatedHostSpecResource `json:"state,omitempty" tf:"-"`

	Resource DedicatedHostSpecResource `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 (*DedicatedHostSpec) DeepCopy added in v0.5.0

func (in *DedicatedHostSpec) DeepCopy() *DedicatedHostSpec

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

func (*DedicatedHostSpec) DeepCopyInto added in v0.5.0

func (in *DedicatedHostSpec) DeepCopyInto(out *DedicatedHostSpec)

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

type DedicatedHostSpecResource added in v0.5.0

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

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

	// +optional
	AllocationStatus *string `json:"allocationStatus,omitempty" tf:"allocation_status"`
	// +optional
	AutoRenew            *bool   `json:"autoRenew,omitempty" tf:"auto_renew"`
	DedicatedHostGroupID *string `json:"dedicatedHostGroupID" tf:"dedicated_host_group_id"`
	// +optional
	DedicatedHostID *string `json:"dedicatedHostID,omitempty" tf:"dedicated_host_id"`
	HostClass       *string `json:"hostClass" tf:"host_class"`
	// +optional
	HostName *string `json:"hostName,omitempty" tf:"host_name"`
	// +optional
	ImageCategory *string `json:"imageCategory,omitempty" tf:"image_category"`
	// +optional
	OsPassword  *string `json:"-" sensitive:"true" tf:"os_password"`
	PaymentType *string `json:"paymentType" tf:"payment_type"`
	// +optional
	Period *string `json:"period,omitempty" tf:"period"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	UsedTime  *int64  `json:"usedTime,omitempty" tf:"used_time"`
	VswitchID *string `json:"vswitchID" tf:"vswitch_id"`
	ZoneID    *string `json:"zoneID" tf:"zone_id"`
}

func (*DedicatedHostSpecResource) DeepCopy added in v0.5.0

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

func (*DedicatedHostSpecResource) DeepCopyInto added in v0.5.0

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

type DedicatedHostStatus added in v0.5.0

type DedicatedHostStatus 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 (*DedicatedHostStatus) DeepCopy added in v0.5.0

func (in *DedicatedHostStatus) DeepCopy() *DedicatedHostStatus

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

func (*DedicatedHostStatus) DeepCopyInto added in v0.5.0

func (in *DedicatedHostStatus) DeepCopyInto(out *DedicatedHostStatus)

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