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=eip.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: eip.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 Address

type Address struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddressSpec   `json:"spec,omitempty"`
	Status            AddressStatus `json:"status,omitempty"`
}

func (*Address) DeepCopy

func (in *Address) DeepCopy() *Address

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

func (*Address) DeepCopyInto

func (in *Address) DeepCopyInto(out *Address)

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

func (*Address) DeepCopyObject

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

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

func (*Address) SetupWebhookWithManager

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

func (*Address) ValidateCreate

func (r *Address) ValidateCreate() error

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

func (*Address) ValidateDelete

func (r *Address) ValidateDelete() error

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

func (*Address) ValidateUpdate

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

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

type AddressList

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

AddressList is a list of Addresss

func (*AddressList) DeepCopy

func (in *AddressList) DeepCopy() *AddressList

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

func (*AddressList) DeepCopyInto

func (in *AddressList) DeepCopyInto(out *AddressList)

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

func (*AddressList) DeepCopyObject

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

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

type AddressSpec

type AddressSpec struct {
	State *AddressSpecResource `json:"state,omitempty" tf:"-"`

	Resource AddressSpecResource `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 (*AddressSpec) DeepCopy

func (in *AddressSpec) DeepCopy() *AddressSpec

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

func (*AddressSpec) DeepCopyInto

func (in *AddressSpec) DeepCopyInto(out *AddressSpec)

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

type AddressSpecResource

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

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

	// +optional
	ActivityID *string `json:"activityID,omitempty" tf:"activity_id"`
	// +optional
	AddressName *string `json:"addressName,omitempty" tf:"address_name"`
	// +optional
	AutoPay *bool `json:"autoPay,omitempty" tf:"auto_pay"`
	// +optional
	Bandwidth *string `json:"bandwidth,omitempty" tf:"bandwidth"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	// Deprecated
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"`
	// +optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// +optional
	Isp *string `json:"isp,omitempty" tf:"isp"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Netmode *string `json:"netmode,omitempty" tf:"netmode"`
	// +optional
	PaymentType *string `json:"paymentType,omitempty" tf:"payment_type"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*AddressSpecResource) DeepCopy

func (in *AddressSpecResource) DeepCopy() *AddressSpecResource

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

func (*AddressSpecResource) DeepCopyInto

func (in *AddressSpecResource) DeepCopyInto(out *AddressSpecResource)

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

type AddressStatus

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

func (in *AddressStatus) DeepCopy() *AddressStatus

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

func (*AddressStatus) DeepCopyInto

func (in *AddressStatus) DeepCopyInto(out *AddressStatus)

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

type Association

type Association struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssociationSpec   `json:"spec,omitempty"`
	Status            AssociationStatus `json:"status,omitempty"`
}

func (*Association) DeepCopy

func (in *Association) DeepCopy() *Association

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

func (*Association) DeepCopyInto

func (in *Association) DeepCopyInto(out *Association)

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

func (*Association) DeepCopyObject

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

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

func (*Association) SetupWebhookWithManager

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

func (*Association) ValidateCreate

func (r *Association) ValidateCreate() error

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

func (*Association) ValidateDelete

func (r *Association) ValidateDelete() error

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

func (*Association) ValidateUpdate

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

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

type AssociationList

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

AssociationList is a list of Associations

func (*AssociationList) DeepCopy

func (in *AssociationList) DeepCopy() *AssociationList

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

func (*AssociationList) DeepCopyInto

func (in *AssociationList) DeepCopyInto(out *AssociationList)

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

func (*AssociationList) DeepCopyObject

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

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

type AssociationSpec

type AssociationSpec struct {
	State *AssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource AssociationSpecResource `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 (*AssociationSpec) DeepCopy

func (in *AssociationSpec) DeepCopy() *AssociationSpec

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

func (*AssociationSpec) DeepCopyInto

func (in *AssociationSpec) DeepCopyInto(out *AssociationSpec)

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

type AssociationSpecResource

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

	AllocationID *string `json:"allocationID" tf:"allocation_id"`
	// +optional
	Force      *bool   `json:"force,omitempty" tf:"force"`
	InstanceID *string `json:"instanceID" tf:"instance_id"`
	// +optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"`
	// +optional
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"`
}

func (*AssociationSpecResource) DeepCopy

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

func (*AssociationSpecResource) DeepCopyInto

func (in *AssociationSpecResource) DeepCopyInto(out *AssociationSpecResource)

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

type AssociationStatus

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

func (in *AssociationStatus) DeepCopy() *AssociationStatus

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

func (*AssociationStatus) DeepCopyInto

func (in *AssociationStatus) DeepCopyInto(out *AssociationStatus)

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

type Eip

type Eip struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EipSpec   `json:"spec,omitempty"`
	Status            EipStatus `json:"status,omitempty"`
}

func (*Eip) DeepCopy

func (in *Eip) DeepCopy() *Eip

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

func (*Eip) DeepCopyInto

func (in *Eip) DeepCopyInto(out *Eip)

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

func (*Eip) DeepCopyObject

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

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

func (*Eip) SetupWebhookWithManager

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

func (*Eip) ValidateCreate

func (r *Eip) ValidateCreate() error

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

func (*Eip) ValidateDelete

func (r *Eip) ValidateDelete() error

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

func (*Eip) ValidateUpdate

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

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

type EipList

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

EipList is a list of Eips

func (*EipList) DeepCopy

func (in *EipList) DeepCopy() *EipList

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

func (*EipList) DeepCopyInto

func (in *EipList) DeepCopyInto(out *EipList)

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

func (*EipList) DeepCopyObject

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

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

type EipSpec

type EipSpec struct {
	State *EipSpecResource `json:"state,omitempty" tf:"-"`

	Resource EipSpecResource `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 (*EipSpec) DeepCopy

func (in *EipSpec) DeepCopy() *EipSpec

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

func (*EipSpec) DeepCopyInto

func (in *EipSpec) DeepCopyInto(out *EipSpec)

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

type EipSpecResource

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

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

	// +optional
	ActivityID *string `json:"activityID,omitempty" tf:"activity_id"`
	// +optional
	AddressName *string `json:"addressName,omitempty" tf:"address_name"`
	// +optional
	AutoPay *bool `json:"autoPay,omitempty" tf:"auto_pay"`
	// +optional
	Bandwidth *string `json:"bandwidth,omitempty" tf:"bandwidth"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	// Deprecated
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"`
	// +optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// +optional
	Isp *string `json:"isp,omitempty" tf:"isp"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Netmode *string `json:"netmode,omitempty" tf:"netmode"`
	// +optional
	PaymentType *string `json:"paymentType,omitempty" tf:"payment_type"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*EipSpecResource) DeepCopy

func (in *EipSpecResource) DeepCopy() *EipSpecResource

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

func (*EipSpecResource) DeepCopyInto

func (in *EipSpecResource) DeepCopyInto(out *EipSpecResource)

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

type EipStatus

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

func (in *EipStatus) DeepCopy() *EipStatus

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

func (*EipStatus) DeepCopyInto

func (in *EipStatus) DeepCopyInto(out *EipStatus)

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