v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

+groupName=yundun.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: yundun.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 BastionhostInstance

type BastionhostInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BastionhostInstanceSpec   `json:"spec,omitempty"`
	Status            BastionhostInstanceStatus `json:"status,omitempty"`
}

func (*BastionhostInstance) DeepCopy

func (in *BastionhostInstance) DeepCopy() *BastionhostInstance

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

func (*BastionhostInstance) DeepCopyInto

func (in *BastionhostInstance) DeepCopyInto(out *BastionhostInstance)

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

func (*BastionhostInstance) DeepCopyObject

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

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

func (*BastionhostInstance) SetupWebhookWithManager

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

func (*BastionhostInstance) ValidateCreate

func (r *BastionhostInstance) ValidateCreate() error

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

func (*BastionhostInstance) ValidateDelete

func (r *BastionhostInstance) ValidateDelete() error

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

func (*BastionhostInstance) ValidateUpdate

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

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

type BastionhostInstanceList

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

BastionhostInstanceList is a list of BastionhostInstances

func (*BastionhostInstanceList) DeepCopy

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

func (*BastionhostInstanceList) DeepCopyInto

func (in *BastionhostInstanceList) DeepCopyInto(out *BastionhostInstanceList)

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

func (*BastionhostInstanceList) DeepCopyObject

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

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

type BastionhostInstanceSpec

type BastionhostInstanceSpec struct {
	State *BastionhostInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource BastionhostInstanceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*BastionhostInstanceSpec) DeepCopy

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

func (*BastionhostInstanceSpec) DeepCopyInto

func (in *BastionhostInstanceSpec) DeepCopyInto(out *BastionhostInstanceSpec)

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

type BastionhostInstanceSpecResource

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

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

	Description *string `json:"description" tf:"description"`
	LicenseCode *string `json:"licenseCode" tf:"license_code"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	ResourceGroupID  *string  `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	SecurityGroupIDS []string `json:"securityGroupIDS" tf:"security_group_ids"`
	// +optional
	Tags      map[string]string `json:"tags,omitempty" tf:"tags"`
	VswitchID *string           `json:"vswitchID" tf:"vswitch_id"`
}

func (*BastionhostInstanceSpecResource) DeepCopy

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

func (*BastionhostInstanceSpecResource) DeepCopyInto

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

type BastionhostInstanceStatus

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

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

func (*BastionhostInstanceStatus) DeepCopyInto

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

type DbauditInstance

type DbauditInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DbauditInstanceSpec   `json:"spec,omitempty"`
	Status            DbauditInstanceStatus `json:"status,omitempty"`
}

func (*DbauditInstance) DeepCopy

func (in *DbauditInstance) DeepCopy() *DbauditInstance

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

func (*DbauditInstance) DeepCopyInto

func (in *DbauditInstance) DeepCopyInto(out *DbauditInstance)

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

func (*DbauditInstance) DeepCopyObject

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

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

func (*DbauditInstance) SetupWebhookWithManager

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

func (*DbauditInstance) ValidateCreate

func (r *DbauditInstance) ValidateCreate() error

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

func (*DbauditInstance) ValidateDelete

func (r *DbauditInstance) ValidateDelete() error

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

func (*DbauditInstance) ValidateUpdate

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

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

type DbauditInstanceList

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

DbauditInstanceList is a list of DbauditInstances

func (*DbauditInstanceList) DeepCopy

func (in *DbauditInstanceList) DeepCopy() *DbauditInstanceList

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

func (*DbauditInstanceList) DeepCopyInto

func (in *DbauditInstanceList) DeepCopyInto(out *DbauditInstanceList)

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

func (*DbauditInstanceList) DeepCopyObject

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

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

type DbauditInstanceSpec

type DbauditInstanceSpec struct {
	State *DbauditInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource DbauditInstanceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*DbauditInstanceSpec) DeepCopy

func (in *DbauditInstanceSpec) DeepCopy() *DbauditInstanceSpec

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

func (*DbauditInstanceSpec) DeepCopyInto

func (in *DbauditInstanceSpec) DeepCopyInto(out *DbauditInstanceSpec)

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

type DbauditInstanceSpecResource

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

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

	Description *string `json:"description" tf:"description"`
	// +optional
	Period   *int64  `json:"period,omitempty" tf:"period"`
	PlanCode *string `json:"planCode" tf:"plan_code"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Tags      map[string]string `json:"tags,omitempty" tf:"tags"`
	VswitchID *string           `json:"vswitchID" tf:"vswitch_id"`
}

func (*DbauditInstanceSpecResource) DeepCopy

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

func (*DbauditInstanceSpecResource) DeepCopyInto

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

type DbauditInstanceStatus

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

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

func (*DbauditInstanceStatus) DeepCopyInto

func (in *DbauditInstanceStatus) DeepCopyInto(out *DbauditInstanceStatus)

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