virtinformers

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 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

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