dns

package
Version: v1.47.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0, BSD-2-Clause, MIT, MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type DNS

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

DNS contains listers and and admission handler.

func New

func New() (*DNS, error)

New creates a new DNS admission plugin.

func (*DNS) Admit

Admit tries to determine a DNS hosted zone for the Shoot's external domain.

func (*DNS) AssignReadyFunc

func (d *DNS) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*DNS) SetInternalCoreInformerFactory added in v1.0.0

func (d *DNS) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)

SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.

func (*DNS) SetKubeInformerFactory

func (d *DNS) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*DNS) ValidateInitialization

func (d *DNS) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Source Files

Jump to

Keyboard shortcuts

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