dns

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDNSEntry

func NewDNSEntry(
	values *EntryValues,
	shootNamespace string,
	applier kubernetes.ChartApplier,
	chartsRootPath string,
	logger logrus.FieldLogger,
	client client.Client,
	waiter retry.Ops,

) component.DeployWaiter

NewDNSEntry creates a new instance of DeployWaiter for a specific DNS entry. <waiter> is optional and it's defaulted to github.com/gardener/gardener/pkg/utils/retry.DefaultOps()

func NewDNSOwner added in v1.8.0

func NewDNSOwner(
	values *OwnerValues,
	shootNamespace string,
	applier kubernetes.ChartApplier,
	chartsRootPath string,
	client client.Client,
) component.DeployWaiter

NewDNSOwner creates a new instance of DeployWaiter for a specific DNS owner.

func NewDNSProvider

func NewDNSProvider(
	values *ProviderValues,
	shootNamespace string,
	applier kubernetes.ChartApplier,
	chartsRootPath string,
	logger logrus.FieldLogger,
	client client.Client,
	waiter retry.Ops,
) component.DeployWaiter

NewDNSProvider creates a new instance of DeployWaiter for a specific DNS provider. <waiter> is optional and it's defaulted to github.com/gardener/gardener/pkg/utils/retry.DefaultOps()

Types

type EntryValues

type EntryValues struct {
	Name    string   `json:"name,omitempty"`
	DNSName string   `json:"dnsName,omitempty"`
	Targets []string `json:"targets,omitempty"`
	OwnerID string   `json:"ownerID,omitempty"`
}

EntryValues contains the values used to create a DNSEntry

type IncludeExclude

type IncludeExclude struct {
	Include []string `json:"include,omitempty"`
	Exclude []string `json:"exclude,omitempty"`
}

IncludeExclude contain slices of excluded and included domains/zones.

type OwnerValues added in v1.8.0

type OwnerValues struct {
	Name    string `json:"name,omitempty"`
	OwnerID string `json:"ownerID,omitempty"`
	Active  bool   `json:"active,omitempty"`
}

OwnerValues contains the values used for DNSOwner creation

type ProviderValues

type ProviderValues struct {
	Name       string            `json:"name,omitempty"`
	Purpose    string            `json:"purpose,omitempty"`
	Provider   string            `json:"provider,omitempty"`
	Labels     map[string]string `json:"labels,omitempty"`
	SecretData map[string][]byte `json:"secretData,omitempty"`
	Domains    *IncludeExclude   `json:"domains,omitempty"`
	Zones      *IncludeExclude   `json:"zones,omitempty"`
}

ProviderValues contains the values used to create a DNSProvider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL