dnshostedzone

package
v0.0.0-...-48c86bf Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 18 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 Finder

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

Finder contains listers and and admission handler.

func New

func New() (*Finder, error)

New creates a new Finder admission plugin.

func (*Finder) Admit

func (h *Finder) Admit(a admission.Attributes) error

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

func (*Finder) SetInternalGardenInformerFactory

func (h *Finder) SetInternalGardenInformerFactory(f gardeninformers.SharedInformerFactory)

SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.

func (*Finder) SetKubeInformerFactory

func (h *Finder) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*Finder) ValidateInitialization

func (h *Finder) 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