virtinformers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 12 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

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