downwardmetrics

package
v1.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DownwardMetricsSerialDeviceName = "org.github.vhostmd.1"
	DownwardMetricsChannelDir       = util.VirtPrivateDir + "/downwardmetrics-channel"
	DownwardMetricsChannelSocket    = DownwardMetricsChannelDir + "/downwardmetrics.sock"
)

Variables

This section is empty.

Functions

func ChannelSocketPathOnHost added in v1.1.0

func ChannelSocketPathOnHost(pid int) string

func CreateDownwardMetricDisk

func CreateDownwardMetricDisk(vmi *v1.VirtualMachineInstance) error

func FormatDownwardMetricPath

func FormatDownwardMetricPath(pid int) string

func HasDevice added in v1.1.0

func HasDevice(spec *v1.VirtualMachineInstanceSpec) bool

func HasDownwardMetricDisk

func HasDownwardMetricDisk(vmi *v1.VirtualMachineInstance) bool

Types

This section is empty.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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