Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Debug means zos is running in debug mode // applications can handle this flag differently Debug = "zos-debug" // Light means the node running in light mode Light = "light" // VirtualMachine forces zos to think it's running // on a virtual machine. used mainly for development VirtualMachine = "zos-debug-vm" // if disable-gpu flag is provided gpu feature will be disabled on that node DisableGPU = "disable-gpu" // This allows the node to work without ssd disk. If ssd disk is available // it will still be preferred for workloads. Otherwise fall back on HDD MissingSSD = "missing-ssd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
Params represent the parameters passed to the kernel at boot
func (Params) Get ¶
Get returns the values link to a key and a boolean boolean if true when the key exists in the params or false otherwise a nil list, and a true will be returned if the `key` is set in kernel params, but with no associated value
func (Params) GetOne ¶
GetOne gets a single value for given key. If key is provided multiple times in the cmdline, the last one is used. If key does not exist, or has no associated value, a false is returned
func (Params) IsGPUDisabled ¶
GPUDisabled checks if gpu is diabled
func (Params) IsVirtualMachine ¶
IsVirtualMachine checks if zos-debug-vm is set
Click to show internal directories.
Click to hide internal directories.