Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Timeout amount of time in ms to poll the hyperv kernel device Timeout = 1000 KvpOpRegister1 = 100 HvSOk = 0 HvKvpExchangeMaxValueSize = 2048 HvKvpExchangeMaxKeySize = 512 KvpOpSet = 1 // KvpKernelDevice s the hyperv kernel device used for communicating key-values pairs // on hyperv between the host and guest KvpKernelDevice = "/dev/vmbus/hv_kvp" )
Variables ¶
View Source
var ( // ErrUnableToWriteToKVP is used when we are unable to write to the kernel // device for hyperv ErrUnableToWriteToKVP = errors.New("failed to write to hv_kvp") // ErrUnableToReadFromKVP is used when we are unable to read from the kernel // device for hyperv ErrUnableToReadFromKVP = errors.New("failed to read from hv_kvp") // ErrNoIgnitionKeysFound means we were unable to find key-value pairs as passed // from the hyperv host to this guest. ErrNoIgnitionKeysFound = errors.New("unable to find ignition keys") )
View Source
var ( // Key represents the prefix key name for finding ignition file parts // in the key value pairs. it normally will have an integer added to the // end when looking up keys sequentially Key = "com_coreos_ignition_kvp_" )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.