cache

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 20 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 (*DomainWatcher) ResultChan

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

func (*DomainWatcher) Stop

func (d *DomainWatcher) Stop()

func (*DomainWatcher) Watch

type LauncherClientInfo added in v0.44.1

type LauncherClientInfo struct {
	Client              cmdclient.LauncherClient
	SocketFile          string
	DomainPipeStopChan  chan struct{}
	NotInitializedSince time.Time
	Ready               bool
}

type LauncherClientInfoByVMI added in v0.44.1

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

func (*LauncherClientInfoByVMI) Delete added in v0.44.1

func (l *LauncherClientInfoByVMI) Delete(vmiUID types.UID)

func (*LauncherClientInfoByVMI) Load added in v0.44.1

func (*LauncherClientInfoByVMI) Store added in v0.44.1

func (l *LauncherClientInfoByVMI) Store(vmiUID types.UID, launcherClientInfo *LauncherClientInfo)

Jump to

Keyboard shortcuts

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