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=common.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: common.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 BandwidthPackage

type BandwidthPackage struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BandwidthPackageSpec   `json:"spec,omitempty"`
	Status            BandwidthPackageStatus `json:"status,omitempty"`
}

func (*BandwidthPackage) DeepCopy

func (in *BandwidthPackage) DeepCopy() *BandwidthPackage

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

func (*BandwidthPackage) DeepCopyInto

func (in *BandwidthPackage) DeepCopyInto(out *BandwidthPackage)

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

func (*BandwidthPackage) DeepCopyObject

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

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

func (*BandwidthPackage) SetupWebhookWithManager

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

func (*BandwidthPackage) ValidateCreate

func (r *BandwidthPackage) ValidateCreate() error

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

func (*BandwidthPackage) ValidateDelete

func (r *BandwidthPackage) ValidateDelete() error

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

func (*BandwidthPackage) ValidateUpdate

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

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

type BandwidthPackageAttachment

type BandwidthPackageAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BandwidthPackageAttachmentSpec   `json:"spec,omitempty"`
	Status            BandwidthPackageAttachmentStatus `json:"status,omitempty"`
}

func (*BandwidthPackageAttachment) DeepCopy

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

func (*BandwidthPackageAttachment) DeepCopyInto

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

func (*BandwidthPackageAttachment) DeepCopyObject

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

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

func (*BandwidthPackageAttachment) SetupWebhookWithManager

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

func (*BandwidthPackageAttachment) ValidateCreate

func (r *BandwidthPackageAttachment) ValidateCreate() error

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

func (*BandwidthPackageAttachment) ValidateDelete

func (r *BandwidthPackageAttachment) ValidateDelete() error

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

func (*BandwidthPackageAttachment) ValidateUpdate

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

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

type BandwidthPackageAttachmentList

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

BandwidthPackageAttachmentList is a list of BandwidthPackageAttachments

func (*BandwidthPackageAttachmentList) DeepCopy

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

func (*BandwidthPackageAttachmentList) DeepCopyInto

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

func (*BandwidthPackageAttachmentList) DeepCopyObject

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

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

type BandwidthPackageAttachmentSpec

type BandwidthPackageAttachmentSpec struct {
	State *BandwidthPackageAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource BandwidthPackageAttachmentSpecResource `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 (*BandwidthPackageAttachmentSpec) DeepCopy

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

func (*BandwidthPackageAttachmentSpec) DeepCopyInto

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

type BandwidthPackageAttachmentSpecResource

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

	BandwidthPackageID *string `json:"bandwidthPackageID" tf:"bandwidth_package_id"`
	InstanceID         *string `json:"instanceID" tf:"instance_id"`
}

func (*BandwidthPackageAttachmentSpecResource) DeepCopy

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

func (*BandwidthPackageAttachmentSpecResource) DeepCopyInto

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

type BandwidthPackageAttachmentStatus

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

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

func (*BandwidthPackageAttachmentStatus) DeepCopyInto

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

type BandwidthPackageList

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

BandwidthPackageList is a list of BandwidthPackages

func (*BandwidthPackageList) DeepCopy

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

func (*BandwidthPackageList) DeepCopyInto

func (in *BandwidthPackageList) DeepCopyInto(out *BandwidthPackageList)

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

func (*BandwidthPackageList) DeepCopyObject

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

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

type BandwidthPackageSpec

type BandwidthPackageSpec struct {
	State *BandwidthPackageSpecResource `json:"state,omitempty" tf:"-"`

	Resource BandwidthPackageSpecResource `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 (*BandwidthPackageSpec) DeepCopy

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

func (*BandwidthPackageSpec) DeepCopyInto

func (in *BandwidthPackageSpec) DeepCopyInto(out *BandwidthPackageSpec)

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

type BandwidthPackageSpecResource

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

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

	Bandwidth *string `json:"bandwidth" tf:"bandwidth"`
	// +optional
	BandwidthPackageName *string `json:"bandwidthPackageName,omitempty" tf:"bandwidth_package_name"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Force *string `json:"force,omitempty" tf:"force"`
	// +optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"`
	// +optional
	Isp *string `json:"isp,omitempty" tf:"isp"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Ratio *int64 `json:"ratio,omitempty" tf:"ratio"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Zone *string `json:"zone,omitempty" tf:"zone"`
}

func (*BandwidthPackageSpecResource) DeepCopy

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

func (*BandwidthPackageSpecResource) DeepCopyInto

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

type BandwidthPackageStatus

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

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

func (*BandwidthPackageStatus) DeepCopyInto

func (in *BandwidthPackageStatus) DeepCopyInto(out *BandwidthPackageStatus)

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