virtlauncher

package
v0.59.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 10 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(domainName string, pidDir 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(domainName string,
	pidDir 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.
efi

Jump to

Keyboard shortcuts

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