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=floating.hcloud.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: floating.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 Ip

type Ip struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IpSpec   `json:"spec,omitempty"`
	Status            IpStatus `json:"status,omitempty"`
}

func (*Ip) DeepCopy

func (in *Ip) DeepCopy() *Ip

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

func (*Ip) DeepCopyInto

func (in *Ip) DeepCopyInto(out *Ip)

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

func (*Ip) DeepCopyObject

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

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

func (*Ip) SetupWebhookWithManager

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

func (*Ip) ValidateCreate

func (r *Ip) ValidateCreate() error

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

func (*Ip) ValidateDelete

func (r *Ip) ValidateDelete() error

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

func (*Ip) ValidateUpdate

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

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

type IpAssignment

type IpAssignment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IpAssignmentSpec   `json:"spec,omitempty"`
	Status            IpAssignmentStatus `json:"status,omitempty"`
}

func (*IpAssignment) DeepCopy

func (in *IpAssignment) DeepCopy() *IpAssignment

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

func (*IpAssignment) DeepCopyInto

func (in *IpAssignment) DeepCopyInto(out *IpAssignment)

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

func (*IpAssignment) DeepCopyObject

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

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

func (*IpAssignment) SetupWebhookWithManager

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

func (*IpAssignment) ValidateCreate

func (r *IpAssignment) ValidateCreate() error

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

func (*IpAssignment) ValidateDelete

func (r *IpAssignment) ValidateDelete() error

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

func (*IpAssignment) ValidateUpdate

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

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

type IpAssignmentList

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

IpAssignmentList is a list of IpAssignments

func (*IpAssignmentList) DeepCopy

func (in *IpAssignmentList) DeepCopy() *IpAssignmentList

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

func (*IpAssignmentList) DeepCopyInto

func (in *IpAssignmentList) DeepCopyInto(out *IpAssignmentList)

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

func (*IpAssignmentList) DeepCopyObject

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

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

type IpAssignmentSpec

type IpAssignmentSpec struct {
	State *IpAssignmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource IpAssignmentSpecResource `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 (*IpAssignmentSpec) DeepCopy

func (in *IpAssignmentSpec) DeepCopy() *IpAssignmentSpec

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

func (*IpAssignmentSpec) DeepCopyInto

func (in *IpAssignmentSpec) DeepCopyInto(out *IpAssignmentSpec)

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

type IpAssignmentSpecResource

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

	FloatingIPID *int64 `json:"floatingIPID" tf:"floating_ip_id"`
	ServerID     *int64 `json:"serverID" tf:"server_id"`
}

func (*IpAssignmentSpecResource) DeepCopy

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

func (*IpAssignmentSpecResource) DeepCopyInto

func (in *IpAssignmentSpecResource) DeepCopyInto(out *IpAssignmentSpecResource)

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

type IpAssignmentStatus

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

func (in *IpAssignmentStatus) DeepCopy() *IpAssignmentStatus

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

func (*IpAssignmentStatus) DeepCopyInto

func (in *IpAssignmentStatus) DeepCopyInto(out *IpAssignmentStatus)

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

type IpList

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

IpList is a list of Ips

func (*IpList) DeepCopy

func (in *IpList) DeepCopy() *IpList

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

func (*IpList) DeepCopyInto

func (in *IpList) DeepCopyInto(out *IpList)

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

func (*IpList) DeepCopyObject

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

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

type IpSpec

type IpSpec struct {
	State *IpSpecResource `json:"state,omitempty" tf:"-"`

	Resource IpSpecResource `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 (*IpSpec) DeepCopy

func (in *IpSpec) DeepCopy() *IpSpec

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

func (*IpSpec) DeepCopyInto

func (in *IpSpec) DeepCopyInto(out *IpSpec)

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

type IpSpecResource

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

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	HomeLocation *string `json:"homeLocation,omitempty" tf:"home_location"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// +optional
	IpNetwork *string `json:"ipNetwork,omitempty" tf:"ip_network"`
	// +optional
	Labels map[string]string `json:"labels,omitempty" tf:"labels"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	ServerID *int64  `json:"serverID,omitempty" tf:"server_id"`
	Type     *string `json:"type" tf:"type"`
}

func (*IpSpecResource) DeepCopy

func (in *IpSpecResource) DeepCopy() *IpSpecResource

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

func (*IpSpecResource) DeepCopyInto

func (in *IpSpecResource) DeepCopyInto(out *IpSpecResource)

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

type IpStatus

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

func (in *IpStatus) DeepCopy() *IpStatus

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

func (*IpStatus) DeepCopyInto

func (in *IpStatus) DeepCopyInto(out *IpStatus)

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