cache

package
v1.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Overview

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright The KubeVirt Authors *

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

Types

type IterableCheckpointManager

type IterableCheckpointManager interface {
	ListKeys() []string
	checkpoint.CheckpointManager
}

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