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=reserved.vultr.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: reserved.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 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
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	IpType     *string `json:"ipType" tf:"ip_type"`
	// +optional
	Label  *string `json:"label,omitempty" tf:"label"`
	Region *string `json:"region" tf:"region"`
	// +optional
	Subnet *string `json:"subnet,omitempty" tf:"subnet"`
	// +optional
	SubnetSize *int64 `json:"subnetSize,omitempty" tf:"subnet_size"`
}

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