virtinformers

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Informers

type Informers struct {
	// contains filtered or unexported fields
}

func NewInformers added in v0.12.0

func NewInformers(scheme *runtime.Scheme) (*Informers, error)

func (*Informers) Start added in v0.12.0

func (inf *Informers) Start()

func (*Informers) Stop added in v0.12.0

func (inf *Informers) Stop()

func (*Informers) TemplateStore added in v0.12.0

func (inf *Informers) TemplateStore() cache.Store

func (*Informers) VmCache added in v0.12.0

func (inf *Informers) VmCache() VmCache

type NameSet added in v0.12.0

type NameSet = map[string]struct{}

type Predicate added in v0.12.0

type Predicate func(vm metav1.Object) bool

type VmCache added in v0.12.0

type VmCache interface {
	cache.Store

	HasSynced() bool

	GetVmsForTemplate(template string) []string
}

func NewVmCache added in v0.12.0

func NewVmCache(filter Predicate) VmCache

type VmCacheValue added in v0.12.0

type VmCacheValue struct {
	Vm       string
	Template string
}

Jump to

Keyboard shortcuts

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