dnshostedzone

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 ensures that the object in-flight is of kind Shoot. In addition it tries to find an adequate Seed cluster for the given cloud provider profile and region, and writes the name into the Shoot specification.

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