v1alpha1

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 12

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=dns.gardener.cloud

Index

Constants

View Source
const (
	Version   = "v1alpha1"
	GroupName = dns.GroupName

	DNSOwnerKind   = "DNSOwner"
	DNSOwnerPlural = "dnsowners"

	DNSProviderKind   = "DNSProvider"
	DNSProviderPlural = "dnsproviders"

	DNSEntryKind   = "DNSEntry"
	DNSEntryPlural = "dnsentries"

	DNSAnnotationKind   = "DNSAnnotation"
	DNSAnnotationPlural = "dnsannotations"
)
View Source
const STATE_DELETING = "Deleting"
View Source
const STATE_ERROR = "Error"
View Source
const STATE_INVALID = "Invalid"
View Source
const STATE_PENDING = "Pending"
View Source
const STATE_READY = "Ready"
View Source
const STATE_STALE = "Stale"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dns.GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resources and returns a Group qualified GroupResource

Types

type DNSAnnotation added in v0.7.12

type DNSAnnotation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSAnnotationSpec `json:"spec"`
	// +optional
	Status DNSAnnotationStatus `json:"status,omitempty"`
}

func (*DNSAnnotation) DeepCopy added in v0.7.12

func (in *DNSAnnotation) DeepCopy() *DNSAnnotation

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

func (*DNSAnnotation) DeepCopyInto added in v0.7.12

func (in *DNSAnnotation) DeepCopyInto(out *DNSAnnotation)

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

func (*DNSAnnotation) DeepCopyObject added in v0.7.12

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

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

type DNSAnnotationList added in v0.7.12

type DNSAnnotationList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DNSAnnotation `json:"items"`
}

func (*DNSAnnotationList) DeepCopy added in v0.7.12

func (in *DNSAnnotationList) DeepCopy() *DNSAnnotationList

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

func (*DNSAnnotationList) DeepCopyInto added in v0.7.12

func (in *DNSAnnotationList) DeepCopyInto(out *DNSAnnotationList)

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

func (*DNSAnnotationList) DeepCopyObject added in v0.7.12

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

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

type DNSAnnotationSpec added in v0.7.12

type DNSAnnotationSpec struct {
	ResourceRef ResourceReference `json:"resourceRef"`
	Annotations map[string]string `json:"annotations"`
}

func (*DNSAnnotationSpec) DeepCopy added in v0.7.12

func (in *DNSAnnotationSpec) DeepCopy() *DNSAnnotationSpec

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

func (*DNSAnnotationSpec) DeepCopyInto added in v0.7.12

func (in *DNSAnnotationSpec) DeepCopyInto(out *DNSAnnotationSpec)

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

type DNSAnnotationStatus added in v0.7.12

type DNSAnnotationStatus struct {
	// Indicates that annotation is observed by a DNS sorce controller
	// +optional
	Active bool `json:"active,omitempty"`
	// In case of a configuration problem this field describes the reason
	// +optional
	Message string `json:"message,omitempty"`
}

func (*DNSAnnotationStatus) DeepCopy added in v0.7.12

func (in *DNSAnnotationStatus) DeepCopy() *DNSAnnotationStatus

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

func (*DNSAnnotationStatus) DeepCopyInto added in v0.7.12

func (in *DNSAnnotationStatus) DeepCopyInto(out *DNSAnnotationStatus)

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

type DNSEntry

type DNSEntry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSEntrySpec `json:"spec"`
	// +optional
	Status DNSEntryStatus `json:"status,omitempty"`
}

func (*DNSEntry) DeepCopy

func (in *DNSEntry) DeepCopy() *DNSEntry

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

func (*DNSEntry) DeepCopyInto

func (in *DNSEntry) DeepCopyInto(out *DNSEntry)

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

func (*DNSEntry) DeepCopyObject

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

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

type DNSEntryList

type DNSEntryList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DNSEntry `json:"items"`
}

func (*DNSEntryList) DeepCopy

func (in *DNSEntryList) DeepCopy() *DNSEntryList

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

func (*DNSEntryList) DeepCopyInto

func (in *DNSEntryList) DeepCopyInto(out *DNSEntryList)

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

func (*DNSEntryList) DeepCopyObject

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

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

type DNSEntrySpec

type DNSEntrySpec struct {
	// full qualified domain name
	DNSName string `json:"dnsName"`
	// reference to base entry used to inherit attributes from
	// +optional
	Reference *EntryReference `json:"reference,omitempty"`
	// owner id used to tag entries in external DNS system
	// +optional
	OwnerId *string `json:"ownerId,omitempty"`
	// time to live for records in external DNS system
	// +optional
	TTL *int64 `json:"ttl,omitempty"`
	// lookup interval for CNAMEs that must be resolved to IP addresses
	// +optional
	CNameLookupInterval *int64 `json:"cnameLookupInterval,omitempty"`
	// text records, either text or targets must be specified
	// +optional
	Text []string `json:"text,omitempty"`
	// target records (CNAME or A records), either text or targets must be specified
	// +optional
	Targets []string `json:"targets,omitempty"`
}

func (*DNSEntrySpec) DeepCopy

func (in *DNSEntrySpec) DeepCopy() *DNSEntrySpec

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

func (*DNSEntrySpec) DeepCopyInto

func (in *DNSEntrySpec) DeepCopyInto(out *DNSEntrySpec)

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

type DNSEntryStatus

type DNSEntryStatus struct {
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// entry state
	// +optional
	State string `json:"state"`
	// message describing the reason for the state
	// +optional
	Message *string `json:"message,omitempty"`
	// lastUpdateTime contains the timestamp of the last status update
	// +optional
	LastUptimeTime *metav1.Time `json:"lastUpdateTime,omitempty"`
	// provider type used for the entry
	// +optional
	ProviderType *string `json:"providerType,omitempty"`
	// assigned provider
	// +optional
	Provider *string `json:"provider,omitempty"`
	// zone used for the entry
	// +optional
	Zone *string `json:"zone,omitempty"`
	// time to live used for the entry
	// +optional
	TTL *int64 `json:"ttl,omitempty"`
	// effective targets generated for the entry
	// +optional
	Targets []string `json:"targets,omitempty"`
}

func (*DNSEntryStatus) DeepCopy

func (in *DNSEntryStatus) DeepCopy() *DNSEntryStatus

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

func (*DNSEntryStatus) DeepCopyInto

func (in *DNSEntryStatus) DeepCopyInto(out *DNSEntryStatus)

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

type DNSOwner

type DNSOwner struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSOwnerSpec `json:"spec"`
	// +optional
	Status DNSOwnerStatus `json:"status,omitempty"`
}

func (*DNSOwner) DeepCopy

func (in *DNSOwner) DeepCopy() *DNSOwner

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

func (*DNSOwner) DeepCopyInto

func (in *DNSOwner) DeepCopyInto(out *DNSOwner)

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

func (*DNSOwner) DeepCopyObject

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

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

type DNSOwnerList

type DNSOwnerList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DNSOwner `json:"items"`
}

func (*DNSOwnerList) DeepCopy

func (in *DNSOwnerList) DeepCopy() *DNSOwnerList

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

func (*DNSOwnerList) DeepCopyInto

func (in *DNSOwnerList) DeepCopyInto(out *DNSOwnerList)

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

func (*DNSOwnerList) DeepCopyObject

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

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

type DNSOwnerSpec

type DNSOwnerSpec struct {
	// owner id used to tag entries in external DNS system
	OwnerId string `json:"ownerId"`
	// state of the ownerid for the DNS controller observing entry using this owner id
	// (default:true)
	// +optional
	Active *bool `json:"active,omitempty"`
}

func (*DNSOwnerSpec) DeepCopy

func (in *DNSOwnerSpec) DeepCopy() *DNSOwnerSpec

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

func (*DNSOwnerSpec) DeepCopyInto

func (in *DNSOwnerSpec) DeepCopyInto(out *DNSOwnerSpec)

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

type DNSOwnerStatus added in v0.7.12

type DNSOwnerStatus struct {
	// Entry statistic for this owner id
	// +optional
	Entries DNSOwnerStatusEntries `json:"entries,omitempty"`
}

func (*DNSOwnerStatus) DeepCopy added in v0.7.12

func (in *DNSOwnerStatus) DeepCopy() *DNSOwnerStatus

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

func (*DNSOwnerStatus) DeepCopyInto added in v0.7.12

func (in *DNSOwnerStatus) DeepCopyInto(out *DNSOwnerStatus)

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

type DNSOwnerStatusEntries added in v0.7.12

type DNSOwnerStatusEntries struct {
	// number of entries using this owner id
	// +optional
	Amount int `json:"amount"`
	// number of entries per provider type
	// +optional
	ByType map[string]int `json:"types,omitempty"`
}

func (*DNSOwnerStatusEntries) DeepCopy added in v0.7.12

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

func (*DNSOwnerStatusEntries) DeepCopyInto added in v0.7.12

func (in *DNSOwnerStatusEntries) DeepCopyInto(out *DNSOwnerStatusEntries)

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

type DNSProvider

type DNSProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSProviderSpec `json:"spec"`
	// +optional
	Status DNSProviderStatus `json:"status,omitempty"`
}

func (*DNSProvider) DeepCopy

func (in *DNSProvider) DeepCopy() *DNSProvider

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

func (*DNSProvider) DeepCopyInto

func (in *DNSProvider) DeepCopyInto(out *DNSProvider)

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

func (*DNSProvider) DeepCopyObject

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

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

type DNSProviderList

type DNSProviderList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DNSProvider `json:"items"`
}

func (*DNSProviderList) DeepCopy

func (in *DNSProviderList) DeepCopy() *DNSProviderList

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

func (*DNSProviderList) DeepCopyInto

func (in *DNSProviderList) DeepCopyInto(out *DNSProviderList)

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

func (*DNSProviderList) DeepCopyObject

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

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

type DNSProviderSpec

type DNSProviderSpec struct {
	// type of the provider (selecting the responsible type of DNS controller)
	Type string `json:"type,omitempty"`
	// optional additional provider specific configuration values
	// +kubebuilder:validation:XPreserveUnknownFields
	// +kubebuilder:pruning:PreserveUnknownFields
	// +optional
	ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"`
	// access credential for the external DNS system of the given type
	SecretRef *corev1.SecretReference `json:"secretRef,omitempty"`
	// desired selection of usable domains
	// (by default all zones and domains in those zones will be served)
	// +optional
	Domains *DNSSelection `json:"domains,omitempty"`
	// desired selection of usable domains
	// the domain selection is used for served zones, only
	// (by default all zones will be served)
	// +optional
	Zones *DNSSelection `json:"zones,omitempty"`
	// default TTL used for DNS entries if not specified explicitly
	// +optional
	DefaultTTL *int64 `json:"defaultTTL,omitempty"`
}

func (*DNSProviderSpec) DeepCopy

func (in *DNSProviderSpec) DeepCopy() *DNSProviderSpec

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

func (*DNSProviderSpec) DeepCopyInto

func (in *DNSProviderSpec) DeepCopyInto(out *DNSProviderSpec)

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

type DNSProviderStatus

type DNSProviderStatus struct {
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// state of the provider
	// +optional
	State string `json:"state"`
	// message describing the reason for the actual state of the provider
	Message *string `json:"message,omitempty"`
	// lastUpdateTime contains the timestamp of the last status update
	// +optional
	LastUptimeTime *metav1.Time `json:"lastUpdateTime,omitempty"`
	// actually served domain selection
	// +optional
	Domains DNSSelectionStatus `json:"domains"`
	// actually served zones
	// +optional
	Zones DNSSelectionStatus `json:"zones"`
	// actually used default TTL for DNS entries
	// +optional
	DefaultTTL *int64 `json:"defaultTTL,omitempty"`
}

func (*DNSProviderStatus) DeepCopy

func (in *DNSProviderStatus) DeepCopy() *DNSProviderStatus

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

func (*DNSProviderStatus) DeepCopyInto

func (in *DNSProviderStatus) DeepCopyInto(out *DNSProviderStatus)

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

type DNSSelection

type DNSSelection struct {
	// values that should be observed (domains or zones)
	// + optional
	Include []string `json:"include,omitempty"`
	// values that should be ignored (domains or zones)
	// + optional
	Exclude []string `json:"exclude,omitempty"`
}

func (*DNSSelection) DeepCopy

func (in *DNSSelection) DeepCopy() *DNSSelection

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

func (*DNSSelection) DeepCopyInto

func (in *DNSSelection) DeepCopyInto(out *DNSSelection)

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

type DNSSelectionStatus

type DNSSelectionStatus struct {
	// included values (domains or zones)
	// + optional
	Included []string `json:"included,omitempty"`
	// Excluded values (domains or zones)
	// + optional
	Excluded []string `json:"excluded,omitempty"`
}

func (*DNSSelectionStatus) DeepCopy

func (in *DNSSelectionStatus) DeepCopy() *DNSSelectionStatus

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

func (*DNSSelectionStatus) DeepCopyInto

func (in *DNSSelectionStatus) DeepCopyInto(out *DNSSelectionStatus)

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

type EntryReference added in v0.7.12

type EntryReference struct {
	// name of the referenced DNSEntry object
	Name string `json:"name"`
	// namespace of the referenced DNSEntry object
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

func (*EntryReference) DeepCopy added in v0.7.12

func (in *EntryReference) DeepCopy() *EntryReference

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

func (*EntryReference) DeepCopyInto added in v0.7.12

func (in *EntryReference) DeepCopyInto(out *EntryReference)

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

type ResourceReference added in v0.7.12

type ResourceReference struct {
	// API Version of the annotated object
	APIVersion string `json:"apiVersion"`
	// Kind of the annotated object
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind"`
	// Name of the annotated object
	// +optional
	Name string `json:"name,omitempty"`
	// Namspace of the annotated object
	// Defaulted by the namespace of the containing resource.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

func (*ResourceReference) DeepCopy added in v0.7.12

func (in *ResourceReference) DeepCopy() *ResourceReference

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

func (*ResourceReference) DeepCopyInto added in v0.7.12

func (in *ResourceReference) DeepCopyInto(out *ResourceReference)

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