dnshostedzone

package
v0.0.0-...-be4dc66 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type DNSHostedZone

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

DNSHostedZone contains listers and and admission handler.

func New

func New() (*DNSHostedZone, error)

New creates a new DNSHostedZone admission plugin.

func (*DNSHostedZone) Admit

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

func (*DNSHostedZone) AssignReadyFunc

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

AssignReadyFunc assigns the ready function to the admission handler.

func (*DNSHostedZone) SetInternalGardenInformerFactory

func (d *DNSHostedZone) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)

SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.

func (*DNSHostedZone) SetKubeInformerFactory

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

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*DNSHostedZone) ValidateInitialization

func (d *DNSHostedZone) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Jump to

Keyboard shortcuts

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