v1alpha1

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the DNS Shoot Service extension. +groupName=service.dns.extensions.gardener.cloud

Index

Constants

View Source
const GroupName = "service.dns.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_service_DNSConfig_To_v1alpha1_DNSConfig

func Convert_service_DNSConfig_To_v1alpha1_DNSConfig(in *service.DNSConfig, out *DNSConfig, s conversion.Scope) error

Convert_service_DNSConfig_To_v1alpha1_DNSConfig is an autogenerated conversion function.

func Convert_service_DNSIncludeExclude_To_v1alpha1_DNSIncludeExclude added in v1.18.0

func Convert_service_DNSIncludeExclude_To_v1alpha1_DNSIncludeExclude(in *service.DNSIncludeExclude, out *DNSIncludeExclude, s conversion.Scope) error

Convert_service_DNSIncludeExclude_To_v1alpha1_DNSIncludeExclude is an autogenerated conversion function.

func Convert_service_DNSProviderReplication_To_v1alpha1_DNSProviderReplication

func Convert_service_DNSProviderReplication_To_v1alpha1_DNSProviderReplication(in *service.DNSProviderReplication, out *DNSProviderReplication, s conversion.Scope) error

Convert_service_DNSProviderReplication_To_v1alpha1_DNSProviderReplication is an autogenerated conversion function.

func Convert_service_DNSProvider_To_v1alpha1_DNSProvider added in v1.18.0

func Convert_service_DNSProvider_To_v1alpha1_DNSProvider(in *service.DNSProvider, out *DNSProvider, s conversion.Scope) error

Convert_service_DNSProvider_To_v1alpha1_DNSProvider is an autogenerated conversion function.

func Convert_v1alpha1_DNSConfig_To_service_DNSConfig

func Convert_v1alpha1_DNSConfig_To_service_DNSConfig(in *DNSConfig, out *service.DNSConfig, s conversion.Scope) error

Convert_v1alpha1_DNSConfig_To_service_DNSConfig is an autogenerated conversion function.

func Convert_v1alpha1_DNSIncludeExclude_To_service_DNSIncludeExclude added in v1.18.0

func Convert_v1alpha1_DNSIncludeExclude_To_service_DNSIncludeExclude(in *DNSIncludeExclude, out *service.DNSIncludeExclude, s conversion.Scope) error

Convert_v1alpha1_DNSIncludeExclude_To_service_DNSIncludeExclude is an autogenerated conversion function.

func Convert_v1alpha1_DNSProviderReplication_To_service_DNSProviderReplication

func Convert_v1alpha1_DNSProviderReplication_To_service_DNSProviderReplication(in *DNSProviderReplication, out *service.DNSProviderReplication, s conversion.Scope) error

Convert_v1alpha1_DNSProviderReplication_To_service_DNSProviderReplication is an autogenerated conversion function.

func Convert_v1alpha1_DNSProvider_To_service_DNSProvider added in v1.18.0

func Convert_v1alpha1_DNSProvider_To_service_DNSProvider(in *DNSProvider, out *service.DNSProvider, s conversion.Scope) error

Convert_v1alpha1_DNSProvider_To_service_DNSProvider is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DNSConfig

type DNSConfig struct {
	metav1.TypeMeta `json:",inline"`

	// DNSProviderReplication contains enablement for replication of DNSProviders from shoot cluster to control plane
	// +optional
	DNSProviderReplication *DNSProviderReplication `json:"dnsProviderReplication,omitempty"`

	// Providers is a list of additional DNS providers that shall be enabled for this shoot cluster.
	// The primary ("external") provider at `spec.dns.provider` is added automatically
	// +optional
	Providers []DNSProvider `json:"providers,omitempty"`

	// SyncProvidersFromShootSpecDNS is an optional flag for migrating and synchronising the providers given in the
	// shoot manifest at section `spec.dns.providers`. If true, any direct changes on the `providers` section
	// are overwritten with the content of section `spec.dns.providers`.
	// +optional
	SyncProvidersFromShootSpecDNS *bool `json:"syncProvidersFromShootSpecDNS,omitempty"`
}

DNSConfig configuration resource

func (*DNSConfig) DeepCopy

func (in *DNSConfig) DeepCopy() *DNSConfig

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

func (*DNSConfig) DeepCopyInto

func (in *DNSConfig) DeepCopyInto(out *DNSConfig)

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

func (*DNSConfig) DeepCopyObject

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

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

type DNSIncludeExclude added in v1.18.0

type DNSIncludeExclude struct {
	// Include is a list of domains that shall be included.
	// +optional
	Include []string `json:"include,omitempty"`
	// Exclude is a list of domains that shall be excluded.
	// +optional
	Exclude []string `json:"exclude,omitempty"`
}

DNSIncludeExclude contains information about which domains shall be included/excluded.

func (*DNSIncludeExclude) DeepCopy added in v1.18.0

func (in *DNSIncludeExclude) DeepCopy() *DNSIncludeExclude

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

func (*DNSIncludeExclude) DeepCopyInto added in v1.18.0

func (in *DNSIncludeExclude) DeepCopyInto(out *DNSIncludeExclude)

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

type DNSProvider added in v1.18.0

type DNSProvider struct {
	// Domains contains information about which domains shall be included/excluded for this provider.
	// +optional
	Domains *DNSIncludeExclude `json:"domains,omitempty"`
	// SecretName is a name of a secret containing credentials for the stated domain and the
	// provider.
	// +optional
	SecretName *string `json:"secretName,omitempty"`
	// Type is the DNS provider type.
	// +optional
	Type *string `json:"type,omitempty"`
	// Zones contains information about which hosted zones shall be included/excluded for this provider.
	// +optional
	Zones *DNSIncludeExclude `json:"zones,omitempty"`
}

DNSProvider contains information about a DNS provider.

func (*DNSProvider) DeepCopy added in v1.18.0

func (in *DNSProvider) DeepCopy() *DNSProvider

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

func (*DNSProvider) DeepCopyInto added in v1.18.0

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

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

type DNSProviderReplication

type DNSProviderReplication struct {
	// Enabled if true, the replication of DNSProviders from shoot cluster to the control plane is enabled
	Enabled bool `json:"enabled"`
}

DNSProviderReplication contains enablement for replication of DNSProviders from shoot cluster to control plane

func (*DNSProviderReplication) DeepCopy

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

func (*DNSProviderReplication) DeepCopyInto

func (in *DNSProviderReplication) DeepCopyInto(out *DNSProviderReplication)

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