v1alpha1

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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"
	DNSProviderKind         = "DNSProvider"
	DNSEntryKind            = "DNSEntry"
	DNSLockKind             = "DNSLock"
	DNSAnnotationKind       = "DNSAnnotation"
	DNSHostedZonePolicyKind = "DNSHostedZonePolicy"

	RemoteAccessCertificateKind = "RemoteAccessCertificate"
)
View Source
const (
	STATE_PENDING  = "Pending"
	STATE_ERROR    = "Error"
	STATE_INVALID  = "Invalid"
	STATE_STALE    = "Stale"
	STATE_READY    = "Ready"
	STATE_DELETING = "Deleting"
)

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 DNSActivation added in v0.11.0

type DNSActivation struct {
	// DNS name for controlling the owner activation remotely via DNS TXT record
	DNSName string `json:"dnsName"`
	// Optional value for the DNS activation record used to activate this owner
	// The default is the id of the cluster used to read the owner object
	// +optional
	Value *string `json:"value,omitempty"`
}

DNSActivation carries the optinal informatio required to control the activation of an owner id remotely via TXT records

func (*DNSActivation) DeepCopy added in v0.11.0

func (in *DNSActivation) DeepCopy() *DNSActivation

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

func (*DNSActivation) DeepCopyInto added in v0.11.0

func (in *DNSActivation) DeepCopyInto(out *DNSActivation)

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

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 DNSBaseStatus added in v0.11.0

type DNSBaseStatus 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"`
}

func (*DNSBaseStatus) DeepCopy added in v0.11.0

func (in *DNSBaseStatus) DeepCopy() *DNSBaseStatus

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

func (*DNSBaseStatus) DeepCopyInto added in v0.11.0

func (in *DNSBaseStatus) DeepCopyInto(out *DNSBaseStatus)

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"`
	// optional routing policy
	// +optional
	RoutingPolicy *RoutingPolicy `json:"routingPolicy,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 {
	DNSBaseStatus `json:",inline"`
	// effective targets generated for the entry
	// +optional
	Targets []string `json:"targets,omitempty"`
	// effective routing policy
	// +optional
	RoutingPolicy *RoutingPolicy `json:"routingPolicy,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 DNSHostedZonePolicy added in v0.10.3

type DNSHostedZonePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSHostedZonePolicySpec `json:"spec"`
	// +optional
	Status DNSHostedZonePolicyStatus `json:"status,omitempty"`
}

func (*DNSHostedZonePolicy) DeepCopy added in v0.10.3

func (in *DNSHostedZonePolicy) DeepCopy() *DNSHostedZonePolicy

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

func (*DNSHostedZonePolicy) DeepCopyInto added in v0.10.3

func (in *DNSHostedZonePolicy) DeepCopyInto(out *DNSHostedZonePolicy)

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

func (*DNSHostedZonePolicy) DeepCopyObject added in v0.10.3

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

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

type DNSHostedZonePolicyList added in v0.10.3

type DNSHostedZonePolicyList 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           []DNSHostedZonePolicy `json:"items"`
}

func (*DNSHostedZonePolicyList) DeepCopy added in v0.10.3

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

func (*DNSHostedZonePolicyList) DeepCopyInto added in v0.10.3

func (in *DNSHostedZonePolicyList) DeepCopyInto(out *DNSHostedZonePolicyList)

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

func (*DNSHostedZonePolicyList) DeepCopyObject added in v0.10.3

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

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

type DNSHostedZonePolicySpec added in v0.10.3

type DNSHostedZonePolicySpec struct {
	// ZoneSelector specifies the selector for the DNS hosted zones
	Selector ZoneSelector `json:"selector"`
	Policy   ZonePolicy   `json:"policy"`
}

func (*DNSHostedZonePolicySpec) DeepCopy added in v0.10.3

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

func (*DNSHostedZonePolicySpec) DeepCopyInto added in v0.10.3

func (in *DNSHostedZonePolicySpec) DeepCopyInto(out *DNSHostedZonePolicySpec)

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

type DNSHostedZonePolicyStatus added in v0.10.3

type DNSHostedZonePolicyStatus struct {
	// Number of zones this policy is applied to
	// +optional
	Count *int `json:"count,omitempty"`
	// Indicates that annotation is observed by a DNS sorce controller
	// +optional
	Zones []ZoneInfo `json:"zones,omitempty"`
	// LastStatusUpdateTime contains the timestamp of the last status update
	// +optional
	LastStatusUpdateTime *metav1.Time `json:"lastStatusUpdateTime,omitempty"`
	// In case of a configuration problem this field describes the reason
	// +optional
	Message *string `json:"message,omitempty"`
}

func (*DNSHostedZonePolicyStatus) DeepCopy added in v0.10.3

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

func (*DNSHostedZonePolicyStatus) DeepCopyInto added in v0.10.3

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

type DNSLock added in v0.11.0

type DNSLock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DNSLockSpec `json:"spec"`
	// +optional
	Status DNSLockStatus `json:"status,omitempty"`
}

func (*DNSLock) DeepCopy added in v0.11.0

func (in *DNSLock) DeepCopy() *DNSLock

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

func (*DNSLock) DeepCopyInto added in v0.11.0

func (in *DNSLock) DeepCopyInto(out *DNSLock)

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

func (*DNSLock) DeepCopyObject added in v0.11.0

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

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

type DNSLockList added in v0.11.0

type DNSLockList 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           []DNSLock `json:"items"`
}

func (*DNSLockList) DeepCopy added in v0.11.0

func (in *DNSLockList) DeepCopy() *DNSLockList

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

func (*DNSLockList) DeepCopyInto added in v0.11.0

func (in *DNSLockList) DeepCopyInto(out *DNSLockList)

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

func (*DNSLockList) DeepCopyObject added in v0.11.0

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

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

type DNSLockSpec added in v0.11.0

type DNSLockSpec struct {
	// full qualified domain name
	DNSName string `json:"dnsName"`
	// owner group for collaboration of multiple controller
	// +optional
	LockId *string `json:"lockId,omitempty"`
	// time to live for records in external DNS system
	TTL int64 `json:"ttl"`
	// Activation time stamp
	Timestamp metav1.Time `json:"timestamp"`
	// attribute values (must be compatible with DNS TXT records)
	// +optional
	Attributes map[string]string `json:"attributes,omitempty"`
}

func (*DNSLockSpec) DeepCopy added in v0.11.0

func (in *DNSLockSpec) DeepCopy() *DNSLockSpec

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

func (*DNSLockSpec) DeepCopyInto added in v0.11.0

func (in *DNSLockSpec) DeepCopyInto(out *DNSLockSpec)

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

type DNSLockStatus added in v0.11.0

type DNSLockStatus struct {
	DNSBaseStatus `json:",inline"`
	// Activation time stamp found in DNS
	// +optional
	Timestamp *metav1.Time `json:"timestamp,omitempty"`
	// owner group for collaboration of multiple controller found in DNS
	// +optional
	LockId *string `json:"lockId,omitempty"`
	// attribute values found in DNS
	// +optional
	Attributes map[string]string `json:"attributes,omitempty"`

	// First failed DNS looup
	// +optional
	FirstFailedDNSLookup *metav1.Time `json:"firstFailedDNSLookup,omitempty"`
}

func (*DNSLockStatus) DeepCopy added in v0.11.0

func (in *DNSLockStatus) DeepCopy() *DNSLockStatus

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

func (*DNSLockStatus) DeepCopyInto added in v0.11.0

func (in *DNSLockStatus) DeepCopyInto(out *DNSLockStatus)

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"`
	// Optional activation info for controlling the owner activation remotely via DNS TXT record
	// +optional
	DNSActivation *DNSActivation `json:"dnsActivation,omitempty"`

	// +optional
	// optional time this owner should be active if active flag is not false
	ValidUntil *metav1.Time `json:"validUntil,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 {
	// state of the ownerid for the DNS controller observing entry using this owner id
	// +optional
	Active *bool `json:"active,omitempty"`
	// 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"`
	// rate limit for create/update operations on DNSEntries assigned to this provider
	// +optional
	RateLimit *RateLimit `json:"rateLimit,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"`
	// actually used rate limit for create/update operations on DNSEntries assigned to this provider
	// +optional
	RateLimit *RateLimit `json:"rateLimit,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 RateLimit added in v0.11.3

type RateLimit struct {
	// RequestsPerDay is create/update request rate per DNS entry given by requests per day
	RequestsPerDay int `json:"requestsPerDay"`
	// Burst allows bursts of up to 'burst' to exceed the rate defined by 'RequestsPerDay', while still maintaining a
	// smoothed rate of 'RequestsPerDay'
	Burst int `json:"burst"`
}

func (*RateLimit) DeepCopy added in v0.11.3

func (in *RateLimit) DeepCopy() *RateLimit

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

func (*RateLimit) DeepCopyInto added in v0.11.3

func (in *RateLimit) DeepCopyInto(out *RateLimit)

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

type RemoteAccessCertificate added in v0.12.0

type RemoteAccessCertificate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RemoteAccessCertificateSpec `json:"spec"`
	// +optional
	Status RemoteAccessCertificateStatus `json:"status,omitempty"`
}

func (*RemoteAccessCertificate) DeepCopy added in v0.12.0

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

func (*RemoteAccessCertificate) DeepCopyInto added in v0.12.0

func (in *RemoteAccessCertificate) DeepCopyInto(out *RemoteAccessCertificate)

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

func (*RemoteAccessCertificate) DeepCopyObject added in v0.12.0

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

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

type RemoteAccessCertificateList added in v0.12.0

type RemoteAccessCertificateList 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           []RemoteAccessCertificate `json:"items"`
}

func (*RemoteAccessCertificateList) DeepCopy added in v0.12.0

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

func (*RemoteAccessCertificateList) DeepCopyInto added in v0.12.0

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

func (*RemoteAccessCertificateList) DeepCopyObject added in v0.12.0

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

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

type RemoteAccessCertificateSpec added in v0.12.0

type RemoteAccessCertificateSpec struct {
	// Certificate type (client or server)
	Type RemoteAccessCertificateType `json:"type"`
	// Name of the secret to store the client certificate
	SecretName string `json:"secretName"`
	// Domain name, used for building subject and DNS name
	DomainName string `json:"domainName"`
	// Number of days the certificate should be valid
	Days int `json:"days"`
	// Indicates if certificate should be recreated and replaced in the secret
	// +optional
	Recreate bool `json:"recreate,omitempty"`
}

func (*RemoteAccessCertificateSpec) DeepCopy added in v0.12.0

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

func (*RemoteAccessCertificateSpec) DeepCopyInto added in v0.12.0

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

type RemoteAccessCertificateStatus added in v0.12.0

type RemoteAccessCertificateStatus struct {
	// Creation timestamp of the certificate
	// +optional
	NotBefore *metav1.Time `json:"notBefore,omitempty"`
	// Expiration timestamp of the certificate
	// +optional
	NotAfter *metav1.Time `json:"notAfter,omitempty"`
	// Serial number of the certificate
	// +optional
	SerialNumber *string `json:"serialNumber,omitempty"`
	// In case of a configuration problem this field describes the reason
	// +optional
	Message string `json:"message,omitempty"`
	// Indicates if certificate should be recreated and replaced in the secret
	// +optional
	Recreating bool `json:"recreating,omitempty"`
}

func (*RemoteAccessCertificateStatus) DeepCopy added in v0.12.0

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

func (*RemoteAccessCertificateStatus) DeepCopyInto added in v0.12.0

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

type RemoteAccessCertificateType added in v0.12.0

type RemoteAccessCertificateType string

RemoteAccessCertificateType is a string alias.

const (
	// ServerType specifies that the certificate is a server certificate
	ServerType RemoteAccessCertificateType = "server"
	// ClientType specifies that the certificate is a client certificate
	ClientType RemoteAccessCertificateType = "client"
)

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.

type RoutingPolicy added in v0.13.0

type RoutingPolicy struct {
	// Policy is the policy type. Allowed values are provider dependent, e.g. `weighted`
	Type string `json:"type"`
	// SetIdentifier is the identifier of the record set
	SetIdentifier string `json:"setIdentifier"`
	// Policy specific parameters
	Parameters map[string]string `json:"parameters"`
}

func (*RoutingPolicy) DeepCopy added in v0.13.0

func (in *RoutingPolicy) DeepCopy() *RoutingPolicy

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

func (*RoutingPolicy) DeepCopyInto added in v0.13.0

func (in *RoutingPolicy) DeepCopyInto(out *RoutingPolicy)

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

type ZoneInfo added in v0.10.3

type ZoneInfo struct {
	// ID of the zone
	ZoneID string `json:"zoneID"`
	// Provider type of the zone
	ProviderType string `json:"providerType"`
	// Domain name of the zone
	DomainName string `json:"domainName"`
}

func (*ZoneInfo) DeepCopy added in v0.10.3

func (in *ZoneInfo) DeepCopy() *ZoneInfo

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

func (*ZoneInfo) DeepCopyInto added in v0.10.3

func (in *ZoneInfo) DeepCopyInto(out *ZoneInfo)

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

type ZonePolicy added in v0.10.3

type ZonePolicy struct {
	// ZoneStateCacheTTL specifies the TTL for the zone state cache
	// +optional
	ZoneStateCacheTTL *metav1.Duration `json:"zoneStateCacheTTL,omitempty"`
}

ZonePolicy specifies zone specific policy

func (*ZonePolicy) DeepCopy added in v0.10.3

func (in *ZonePolicy) DeepCopy() *ZonePolicy

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

func (*ZonePolicy) DeepCopyInto added in v0.10.3

func (in *ZonePolicy) DeepCopyInto(out *ZonePolicy)

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

type ZoneSelector added in v0.10.3

type ZoneSelector struct {
	// DomainNames selects by base domain name of hosted zone.
	// Policy will be applied to zones with matching base domain
	// +optional
	DomainNames []string `json:"domainNames,omitempty"`
	// ProviderTypes selects by provider types
	// +optional
	ProviderTypes []string `json:"providerTypes,omitempty"`
	// ZoneIDs selects by provider dependent zone ID
	// +optional
	ZoneIDs []string `json:"zoneIDs,omitempty"`
}

ZoneSelector selects by intersection

func (*ZoneSelector) DeepCopy added in v0.10.3

func (in *ZoneSelector) DeepCopy() *ZoneSelector

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

func (*ZoneSelector) DeepCopyInto added in v0.10.3

func (in *ZoneSelector) DeepCopyInto(out *ZoneSelector)

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