virtlauncher

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPid added in v0.9.0

func FindPid(commandNamePrefix string) (int, error)

func InitializeDisksDirectories added in v0.3.0

func InitializeDisksDirectories(baseDir string) error

func InitializePrivateDirectories added in v0.2.0

func InitializePrivateDirectories(baseDir string) error

Types

type OnGracefulShutdownCallback added in v0.29.0

type OnGracefulShutdownCallback func()

type OnShutdownCallback added in v0.3.0

type OnShutdownCallback func(pid int)

type ProcessMonitor

type ProcessMonitor interface {
	RunForever(startTimeout time.Duration, signalStopChan chan struct{})
}

func NewProcessMonitor

func NewProcessMonitor(cmdlineMatchStr string,
	gracePeriod int,
	finalShutdownCallback OnShutdownCallback,
	gracefulShutdownCallback OnGracefulShutdownCallback) ProcessMonitor

Directories

Path Synopsis
agent-poller
* 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.
* 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.
api
cli
cmd-server
* 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.
* 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.
device/hostdevice/legacy
Package legacy provides support for using GPU & vGPU devices through a specific (external) device plugin: https://github.com/NVIDIA/kubevirt-gpu-device-plugin The DP passes GPU &vGPU devices by setting env variables in the virt-launcher pod.
Package legacy provides support for using GPU & vGPU devices through a specific (external) device plugin: https://github.com/NVIDIA/kubevirt-gpu-device-plugin The DP passes GPU &vGPU devices by setting env variables in the virt-launcher pod.
efi

Jump to

Keyboard shortcuts

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