Documentation ¶ Index ¶ type Params func GetParams() Params func (k Params) Exists(key string) bool func (k Params) Get(key string) ([]string, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Params ¶ type Params map[string][]string Params represent the parameters passed to the kernel at boot func GetParams ¶ func GetParams() Params GetParams Get kernel cmdline arguments func (Params) Exists ¶ func (k Params) Exists(key string) bool Exists checks if a key is present in the kernel parameters func (Params) Get ¶ func (k Params) Get(key string) ([]string, bool) 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 Source Files ¶ View all Source files kernel.go Click to show internal directories. Click to hide internal directories.