dnsrewriting

package
v1.58.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName is the name of this admission plugin.
	PluginName = "ShootDNSRewriting"
)

Variables

This section is empty.

Functions

func LoadConfiguration

func LoadConfiguration(config io.Reader) (*shootdnsrewriting.Configuration, error)

LoadConfiguration loads the provided configuration.

func New

func New(commonSuffixes []string) admission.MutationInterface

New creates a new ShootDNSRewriting admission plugin.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type DNSRewriting

type DNSRewriting struct {
	*admission.Handler
	// contains filtered or unexported fields
}

DNSRewriting contains required information to process admission requests.

func (*DNSRewriting) Admit

Admit defaults spec.systemComponents.coreDNS.rewriting.commonSuffixes to the configured values for new shoot clusters.

Jump to

Keyboard shortcuts

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