initializers

package
v0.20.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTmcClusterClientInitializer

func NewTmcClusterClientInitializer(
	tmcClusterClient tmcclientset.ClusterInterface,
) *tmcClusterClientInitializer

NewTmcClusterClientInitializer returns an admission plugin initializer that injects a tmc cluster client into admission plugins.

func NewTmcInformersInitializer

func NewTmcInformersInitializer(
	local, global tmcinformers.SharedInformerFactory,
) *tmcInformersInitializer

NewTmcInformersInitializer returns an admission plugin initializer that injects both local and global tmc shared informer factories into admission plugins.

Types

type WantsTmcClusterClient

type WantsTmcClusterClient interface {
	SetTmcClusterClient(tmcclientset.ClusterInterface)
}

WantsTmcClusterClient interface should be implemented by admission plugins that want to have a tmc cluster client injected.

type WantsTmcInformers

type WantsTmcInformers interface {
	SetTmcInformers(local, global tmcinformers.SharedInformerFactory)
}

WantsTmcInformers interface should be implemented by admission plugins that want to have both local and global tmc informer factories injected.

Jump to

Keyboard shortcuts

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