cache

package
v0.39.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 21 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGhostRecord added in v0.29.0

func AddGhostRecord(namespace string, name string, socketFile string, uid types.UID) (err error)

func DeleteGhostRecord added in v0.29.0

func DeleteGhostRecord(namespace string, name string) error

func HasGhostRecord added in v0.33.0

func HasGhostRecord(namespace string, name string) bool

func InitializeGhostRecordCache added in v0.29.0

func InitializeGhostRecordCache(directoryPath string) error

func LastKnownUIDFromGhostRecordCache added in v0.29.0

func LastKnownUIDFromGhostRecordCache(key string) types.UID

func NewSharedInformer

func NewSharedInformer(virtShareDir string, watchdogTimeout int, recorder record.EventRecorder, vmiStore cache.Store, resyncPeriod time.Duration) (cache.SharedInformer, error)

Types

type DomainWatcher

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

func (*DomainWatcher) List

func (d *DomainWatcher) List(options k8sv1.ListOptions) (runtime.Object, error)

func (*DomainWatcher) ResultChan

func (d *DomainWatcher) ResultChan() <-chan watch.Event

func (*DomainWatcher) Stop

func (d *DomainWatcher) Stop()

func (*DomainWatcher) Watch

func (d *DomainWatcher) Watch(options k8sv1.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

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