dnsrewriting

package
v1.101.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

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