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=dns.civo.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: dns.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 DomainName

type DomainName struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainNameSpec   `json:"spec,omitempty"`
	Status            DomainNameStatus `json:"status,omitempty"`
}

func (*DomainName) DeepCopy

func (in *DomainName) DeepCopy() *DomainName

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

func (*DomainName) DeepCopyInto

func (in *DomainName) DeepCopyInto(out *DomainName)

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

func (*DomainName) DeepCopyObject

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

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

func (*DomainName) SetupWebhookWithManager

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

func (*DomainName) ValidateCreate

func (r *DomainName) ValidateCreate() error

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

func (*DomainName) ValidateDelete

func (r *DomainName) ValidateDelete() error

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

func (*DomainName) ValidateUpdate

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

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

type DomainNameList

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

DomainNameList is a list of DomainNames

func (*DomainNameList) DeepCopy

func (in *DomainNameList) DeepCopy() *DomainNameList

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

func (*DomainNameList) DeepCopyInto

func (in *DomainNameList) DeepCopyInto(out *DomainNameList)

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

func (*DomainNameList) DeepCopyObject

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

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

type DomainNameSpec

type DomainNameSpec struct {
	State *DomainNameSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainNameSpecResource `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 (*DomainNameSpec) DeepCopy

func (in *DomainNameSpec) DeepCopy() *DomainNameSpec

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

func (*DomainNameSpec) DeepCopyInto

func (in *DomainNameSpec) DeepCopyInto(out *DomainNameSpec)

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

type DomainNameSpecResource

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

	// The account ID of the domain
	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
	// The name of the domain
	Name *string `json:"name" tf:"name"`
}

func (*DomainNameSpecResource) DeepCopy

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

func (*DomainNameSpecResource) DeepCopyInto

func (in *DomainNameSpecResource) DeepCopyInto(out *DomainNameSpecResource)

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

type DomainNameStatus

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

func (in *DomainNameStatus) DeepCopy() *DomainNameStatus

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

func (*DomainNameStatus) DeepCopyInto

func (in *DomainNameStatus) DeepCopyInto(out *DomainNameStatus)

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

type DomainRecord

type DomainRecord struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainRecordSpec   `json:"spec,omitempty"`
	Status            DomainRecordStatus `json:"status,omitempty"`
}

func (*DomainRecord) DeepCopy

func (in *DomainRecord) DeepCopy() *DomainRecord

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

func (*DomainRecord) DeepCopyInto

func (in *DomainRecord) DeepCopyInto(out *DomainRecord)

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

func (*DomainRecord) DeepCopyObject

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

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

func (*DomainRecord) SetupWebhookWithManager

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

func (*DomainRecord) ValidateCreate

func (r *DomainRecord) ValidateCreate() error

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

func (*DomainRecord) ValidateDelete

func (r *DomainRecord) ValidateDelete() error

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

func (*DomainRecord) ValidateUpdate

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

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

type DomainRecordList

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

DomainRecordList is a list of DomainRecords

func (*DomainRecordList) DeepCopy

func (in *DomainRecordList) DeepCopy() *DomainRecordList

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

func (*DomainRecordList) DeepCopyInto

func (in *DomainRecordList) DeepCopyInto(out *DomainRecordList)

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

func (*DomainRecordList) DeepCopyObject

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

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

type DomainRecordSpec

type DomainRecordSpec struct {
	State *DomainRecordSpecResource `json:"state,omitempty" tf:"-"`

	Resource DomainRecordSpecResource `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 (*DomainRecordSpec) DeepCopy

func (in *DomainRecordSpec) DeepCopy() *DomainRecordSpec

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

func (*DomainRecordSpec) DeepCopyInto

func (in *DomainRecordSpec) DeepCopyInto(out *DomainRecordSpec)

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

type DomainRecordSpecResource

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

	// The account ID of this resource
	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
	// Timestamp when this resource was created
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// ID from domain name
	DomainID *string `json:"domainID" tf:"domain_id"`
	// The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
	Name *string `json:"name" tf:"name"`
	// Useful for MX records only, the priority mail should be attempted it (defaults to 10)
	// +optional
	Priority *int64 `json:"priority,omitempty" tf:"priority"`
	// How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)
	Ttl *int64 `json:"ttl" tf:"ttl"`
	// The choice of RR type from a, cname, mx or txt
	Type *string `json:"type" tf:"type"`
	// Timestamp when this resource was updated
	// +optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"`
	// The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
	Value *string `json:"value" tf:"value"`
}

func (*DomainRecordSpecResource) DeepCopy

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

func (*DomainRecordSpecResource) DeepCopyInto

func (in *DomainRecordSpecResource) DeepCopyInto(out *DomainRecordSpecResource)

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

type DomainRecordStatus

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

func (in *DomainRecordStatus) DeepCopy() *DomainRecordStatus

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

func (*DomainRecordStatus) DeepCopyInto

func (in *DomainRecordStatus) DeepCopyInto(out *DomainRecordStatus)

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