virtinformers

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetInformers

func SetInformers(informers *Informers)

SetInformers created for unittest usage only

Types

type Informers

type Informers struct {
	TemplateInformer cache.SharedIndexInformer
}

func GetInformers

func GetInformers() *Informers

func (*Informers) Available added in v0.10.0

func (inf *Informers) Available() bool

type KubeInformerFactory

type KubeInformerFactory interface {
	// Starts any informers that have not been started yet
	// This function is thread safe and idempotent
	Start(stopCh <-chan struct{})

	Template() cache.SharedIndexInformer
}

func NewKubeInformerFactory

func NewKubeInformerFactory(restConfig *rest.Config) KubeInformerFactory

Jump to

Keyboard shortcuts

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