v1

package
v0.0.0-...-e602c46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the ddns v1 API group +kubebuilder:object:generate=true +groupName=ddns.mschenck.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ddns.mschenck.com", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DdnsRecord

type DdnsRecord struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DdnsRecordSpec   `json:"spec,omitempty"`
	Status DdnsRecordStatus `json:"status,omitempty"`
}

DdnsRecord is the Schema for the ddnsrecords API

func (*DdnsRecord) DeepCopy

func (in *DdnsRecord) DeepCopy() *DdnsRecord

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

func (*DdnsRecord) DeepCopyInto

func (in *DdnsRecord) DeepCopyInto(out *DdnsRecord)

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

func (*DdnsRecord) DeepCopyObject

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

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

type DdnsRecordList

type DdnsRecordList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DdnsRecord `json:"items"`
}

DdnsRecordList contains a list of DdnsRecord

func (*DdnsRecordList) DeepCopy

func (in *DdnsRecordList) DeepCopy() *DdnsRecordList

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

func (*DdnsRecordList) DeepCopyInto

func (in *DdnsRecordList) DeepCopyInto(out *DdnsRecordList)

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

func (*DdnsRecordList) DeepCopyObject

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

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

type DdnsRecordSpec

type DdnsRecordSpec struct {

	// Record to be updated for the given Zone.
	Record string `json:"record"`

	// Zone (DNS domain) of the record to updated.
	Zone string `json:"zone"`

	// TTL (time-to-live) of the DNS record (and update interval)/
	Ttl *metav1.Duration `json:"ttl,omitempty"`

	// DNS provider (configured via secret "ddns-config")
	Provider string `json:"provider"`
}

DdnsRecordSpec defines the desired state of DdnsRecord

func (*DdnsRecordSpec) DeepCopy

func (in *DdnsRecordSpec) DeepCopy() *DdnsRecordSpec

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

func (*DdnsRecordSpec) DeepCopyInto

func (in *DdnsRecordSpec) DeepCopyInto(out *DdnsRecordSpec)

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

type DdnsRecordStatus

type DdnsRecordStatus struct {
}

DdnsRecordStatus defines the observed state of DdnsRecord

func (*DdnsRecordStatus) DeepCopy

func (in *DdnsRecordStatus) DeepCopy() *DdnsRecordStatus

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

func (*DdnsRecordStatus) DeepCopyInto

func (in *DdnsRecordStatus) DeepCopyInto(out *DdnsRecordStatus)

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