v1.96.3 Latest Latest

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 36 Imported by: 3




This section is empty.


View Source
var (

	// MissingSecretWait is the time how long to wait for a missing secret before re-checking the cache
	// (and then doing a live lookup).
	MissingSecretWait = 50 * time.Millisecond


func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.


type ReferenceManager

type ReferenceManager struct {
	// contains filtered or unexported fields

ReferenceManager contains listers and admission handler.

func New

func New() (*ReferenceManager, error)

New creates a new ReferenceManager admission plugin.

func (*ReferenceManager) Admit

Admit ensures that referenced resources do actually exist.

func (*ReferenceManager) AssignReadyFunc

func (r *ReferenceManager) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*ReferenceManager) SetAuthorizer

func (r *ReferenceManager) SetAuthorizer(authorizer authorizer.Authorizer)

SetAuthorizer gets the authorizer.

func (*ReferenceManager) SetCoreClientSet added in v1.90.0

func (r *ReferenceManager) SetCoreClientSet(c versioned.Interface)

SetCoreClientSet sets the Gardener client.

func (*ReferenceManager) SetCoreInformerFactory added in v1.90.0

func (r *ReferenceManager) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*ReferenceManager) SetDynamicClient added in v1.6.0

func (r *ReferenceManager) SetDynamicClient(c dynamic.Interface)

SetDynamicClient sets the dynamic client.

func (*ReferenceManager) SetKubeClientset

func (r *ReferenceManager) SetKubeClientset(c kubernetes.Interface)

SetKubeClientset sets the Kubernetes client.

func (*ReferenceManager) SetKubeInformerFactory

func (r *ReferenceManager) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*ReferenceManager) ValidateInitialization

func (r *ReferenceManager) 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