Documentation ¶
Index ¶
Constants ¶
View Source
const CPUManagerOS3Path = HostRootMount + "var/lib/origin/openshift.local.volumes/cpu_manager_state"
View Source
const CPUManagerPath = HostRootMount + "var/lib/kubelet/cpu_manager_state"
View Source
const ExtensionAPIServerAuthenticationConfigMap = "extension-apiserver-authentication"
View Source
const HostRootMount = "/proc/1/root/"
View Source
const PCI_ADDRESS_PATTERN = `^([\da-fA-F]{4}):([\da-fA-F]{2}):([\da-fA-F]{2}).([0-7]{1})$`
View Source
const RequestHeaderClientCAFileKey = "requestheader-client-ca-file"
View Source
const VirtLibDir = "/var/lib/kubevirt"
Variables ¶
This section is empty.
Functions ¶
func IsGPUVMI ¶ added in v0.22.0
func IsGPUVMI(vmi *v1.VirtualMachineInstance) bool
Check if a VMI spec requests GPU
func IsSRIOVVmi ¶ added in v0.21.0
func IsSRIOVVmi(vmi *v1.VirtualMachineInstance) bool
func ParsePciAddress ¶
ParsePciAddress returns an array of PCI DBSF fields (domain, bus, slot, function)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
net
|
|
grpc
* 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. |
Click to show internal directories.
Click to hide internal directories.