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: 0

Documentation

Overview

+groupName=eip.aws.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 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"`

	// +optional
	AllocationID *string `json:"allocationID,omitempty" tf:"allocation_id"`
	// +optional
	AllowReassociation *bool `json:"allowReassociation,omitempty" tf:"allow_reassociation"`
	// +optional
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	// +optional
	NetworkInterfaceID *string `json:"networkInterfaceID,omitempty" tf:"network_interface_id"`
	// +optional
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"`
	// +optional
	PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"`
}

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
	Address *string `json:"address,omitempty" tf:"address"`
	// +optional
	AllocationID *string `json:"allocationID,omitempty" tf:"allocation_id"`
	// +optional
	AssociateWithPrivateIP *string `json:"associateWithPrivateIP,omitempty" tf:"associate_with_private_ip"`
	// +optional
	AssociationID *string `json:"associationID,omitempty" tf:"association_id"`
	// +optional
	CarrierIP *string `json:"carrierIP,omitempty" tf:"carrier_ip"`
	// +optional
	CustomerOwnedIP *string `json:"customerOwnedIP,omitempty" tf:"customer_owned_ip"`
	// +optional
	CustomerOwnedIpv4Pool *string `json:"customerOwnedIpv4Pool,omitempty" tf:"customer_owned_ipv4_pool"`
	// +optional
	Domain *string `json:"domain,omitempty" tf:"domain"`
	// +optional
	Instance *string `json:"instance,omitempty" tf:"instance"`
	// +optional
	NetworkBorderGroup *string `json:"networkBorderGroup,omitempty" tf:"network_border_group"`
	// +optional
	NetworkInterface *string `json:"networkInterface,omitempty" tf:"network_interface"`
	// +optional
	PrivateDNS *string `json:"privateDNS,omitempty" tf:"private_dns"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
	// +optional
	PublicDNS *string `json:"publicDNS,omitempty" tf:"public_dns"`
	// +optional
	PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"`
	// +optional
	PublicIpv4Pool *string `json:"publicIpv4Pool,omitempty" tf:"public_ipv4_pool"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	Vpc *bool `json:"vpc,omitempty" tf:"vpc"`
}

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