dns

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntry

func NewEntry(
	logger logrus.FieldLogger,
	client client.Client,
	namespace string,
	values *EntryValues,
	waiter retry.Ops,
) component.DeployWaiter

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

func NewOwner

func NewOwner(client client.Client, namespace string, values *OwnerValues) component.DeployWaiter

NewOwner creates a new instance of DeployWaiter for a specific DNS emptyOwner.

func NewProvider

func NewProvider(
	logger logrus.FieldLogger,
	client client.Client,
	namespace string,
	values *ProviderValues,
	waiter retry.Ops,
) component.DeployWaiter

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

Types

type EntryValues

type EntryValues struct {
	Name    string
	DNSName string
	Targets []string
	OwnerID string
	TTL     int64
}

EntryValues contains the values used to create a DNSEntry

type IncludeExclude

type IncludeExclude struct {
	Include []string
	Exclude []string
}

IncludeExclude contain slices of excluded and included domains/zones.

type OwnerValues

type OwnerValues struct {
	Name    string
	OwnerID string
	Active  *bool
}

OwnerValues contains the values used for DNSOwner creation

type ProviderValues

type ProviderValues struct {
	Name        string
	Purpose     string
	Provider    string
	Labels      map[string]string
	Annotations map[string]string
	SecretData  map[string][]byte
	Domains     *IncludeExclude
	Zones       *IncludeExclude
}

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