dns

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 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.Entry,
	client crclient.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 NewDNSProvider

func NewDNSProvider(
	values *ProviderValues,
	shootNamespace string,
	applier kubernetes.ChartApplier,
	chartsRootPath string,
	logger *logrus.Entry,
	client crclient.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 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