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=reverse.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: reverse.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 Ipv4

type Ipv4 struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Ipv4Spec   `json:"spec,omitempty"`
	Status            Ipv4Status `json:"status,omitempty"`
}

func (*Ipv4) DeepCopy

func (in *Ipv4) DeepCopy() *Ipv4

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

func (*Ipv4) DeepCopyInto

func (in *Ipv4) DeepCopyInto(out *Ipv4)

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

func (*Ipv4) DeepCopyObject

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

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

func (*Ipv4) SetupWebhookWithManager

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

func (*Ipv4) ValidateCreate

func (r *Ipv4) ValidateCreate() error

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

func (*Ipv4) ValidateDelete

func (r *Ipv4) ValidateDelete() error

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

func (*Ipv4) ValidateUpdate

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

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

type Ipv4List

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

Ipv4List is a list of Ipv4s

func (*Ipv4List) DeepCopy

func (in *Ipv4List) DeepCopy() *Ipv4List

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

func (*Ipv4List) DeepCopyInto

func (in *Ipv4List) DeepCopyInto(out *Ipv4List)

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

func (*Ipv4List) DeepCopyObject

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

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

type Ipv4Spec

type Ipv4Spec struct {
	State *Ipv4SpecResource `json:"state,omitempty" tf:"-"`

	Resource Ipv4SpecResource `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 (*Ipv4Spec) DeepCopy

func (in *Ipv4Spec) DeepCopy() *Ipv4Spec

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

func (*Ipv4Spec) DeepCopyInto

func (in *Ipv4Spec) DeepCopyInto(out *Ipv4Spec)

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

type Ipv4SpecResource

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

	// +optional
	Gateway    *string `json:"gateway,omitempty" tf:"gateway"`
	InstanceID *string `json:"instanceID" tf:"instance_id"`
	Ip         *string `json:"ip" tf:"ip"`
	// +optional
	Netmask *string `json:"netmask,omitempty" tf:"netmask"`
	Reverse *string `json:"reverse" tf:"reverse"`
}

func (*Ipv4SpecResource) DeepCopy

func (in *Ipv4SpecResource) DeepCopy() *Ipv4SpecResource

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

func (*Ipv4SpecResource) DeepCopyInto

func (in *Ipv4SpecResource) DeepCopyInto(out *Ipv4SpecResource)

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

type Ipv4Status

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

func (in *Ipv4Status) DeepCopy() *Ipv4Status

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

func (*Ipv4Status) DeepCopyInto

func (in *Ipv4Status) DeepCopyInto(out *Ipv4Status)

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

type Ipv6

type Ipv6 struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Ipv6Spec   `json:"spec,omitempty"`
	Status            Ipv6Status `json:"status,omitempty"`
}

func (*Ipv6) DeepCopy

func (in *Ipv6) DeepCopy() *Ipv6

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

func (*Ipv6) DeepCopyInto

func (in *Ipv6) DeepCopyInto(out *Ipv6)

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

func (*Ipv6) DeepCopyObject

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

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

func (*Ipv6) SetupWebhookWithManager

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

func (*Ipv6) ValidateCreate

func (r *Ipv6) ValidateCreate() error

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

func (*Ipv6) ValidateDelete

func (r *Ipv6) ValidateDelete() error

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

func (*Ipv6) ValidateUpdate

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

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

type Ipv6List

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

Ipv6List is a list of Ipv6s

func (*Ipv6List) DeepCopy

func (in *Ipv6List) DeepCopy() *Ipv6List

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

func (*Ipv6List) DeepCopyInto

func (in *Ipv6List) DeepCopyInto(out *Ipv6List)

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

func (*Ipv6List) DeepCopyObject

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

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

type Ipv6Spec

type Ipv6Spec struct {
	State *Ipv6SpecResource `json:"state,omitempty" tf:"-"`

	Resource Ipv6SpecResource `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 (*Ipv6Spec) DeepCopy

func (in *Ipv6Spec) DeepCopy() *Ipv6Spec

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

func (*Ipv6Spec) DeepCopyInto

func (in *Ipv6Spec) DeepCopyInto(out *Ipv6Spec)

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

type Ipv6SpecResource

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

	InstanceID *string `json:"instanceID" tf:"instance_id"`
	Ip         *string `json:"ip" tf:"ip"`
	Reverse    *string `json:"reverse" tf:"reverse"`
}

func (*Ipv6SpecResource) DeepCopy

func (in *Ipv6SpecResource) DeepCopy() *Ipv6SpecResource

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

func (*Ipv6SpecResource) DeepCopyInto

func (in *Ipv6SpecResource) DeepCopyInto(out *Ipv6SpecResource)

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

type Ipv6Status

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

func (in *Ipv6Status) DeepCopy() *Ipv6Status

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

func (*Ipv6Status) DeepCopyInto

func (in *Ipv6Status) DeepCopyInto(out *Ipv6Status)

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