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=rdns.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: rdns.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 Rdns

type Rdns struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RdnsSpec   `json:"spec,omitempty"`
	Status            RdnsStatus `json:"status,omitempty"`
}

func (*Rdns) DeepCopy

func (in *Rdns) DeepCopy() *Rdns

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

func (*Rdns) DeepCopyInto

func (in *Rdns) DeepCopyInto(out *Rdns)

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

func (*Rdns) DeepCopyObject

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

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

func (*Rdns) SetupWebhookWithManager

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

func (*Rdns) ValidateCreate

func (r *Rdns) ValidateCreate() error

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

func (*Rdns) ValidateDelete

func (r *Rdns) ValidateDelete() error

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

func (*Rdns) ValidateUpdate

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

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

type RdnsList

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

RdnsList is a list of Rdnss

func (*RdnsList) DeepCopy

func (in *RdnsList) DeepCopy() *RdnsList

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

func (*RdnsList) DeepCopyInto

func (in *RdnsList) DeepCopyInto(out *RdnsList)

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

func (*RdnsList) DeepCopyObject

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

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

type RdnsSpec

type RdnsSpec struct {
	State *RdnsSpecResource `json:"state,omitempty" tf:"-"`

	Resource RdnsSpecResource `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 (*RdnsSpec) DeepCopy

func (in *RdnsSpec) DeepCopy() *RdnsSpec

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

func (*RdnsSpec) DeepCopyInto

func (in *RdnsSpec) DeepCopyInto(out *RdnsSpec)

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

type RdnsSpecResource

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

	DnsPtr *string `json:"dnsPtr" tf:"dns_ptr"`
	// +optional
	FloatingIPID *int64  `json:"floatingIPID,omitempty" tf:"floating_ip_id"`
	IpAddress    *string `json:"ipAddress" tf:"ip_address"`
	// +optional
	ServerID *int64 `json:"serverID,omitempty" tf:"server_id"`
}

func (*RdnsSpecResource) DeepCopy

func (in *RdnsSpecResource) DeepCopy() *RdnsSpecResource

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

func (*RdnsSpecResource) DeepCopyInto

func (in *RdnsSpecResource) DeepCopyInto(out *RdnsSpecResource)

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

type RdnsStatus

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

func (in *RdnsStatus) DeepCopy() *RdnsStatus

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

func (*RdnsStatus) DeepCopyInto

func (in *RdnsStatus) DeepCopyInto(out *RdnsStatus)

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