Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsModule ¶
func ReadFileIntoLines ¶
ReadFileIntoLines reads contents from a file and returns lines.
Types ¶
type CmdlineArg ¶
func CmdlineArgs ¶
func CmdlineArgs() ([]CmdlineArg, error)
CmdlineArgs returns all the kernel cmdline. It is read from cat /proc/cmdline.
func (CmdlineArg) String ¶
func (d CmdlineArg) String() string
type Module ¶
type Module struct { ModuleName string `json:"moduleName"` Instances uint64 `json:"instances"` Proprietary bool `json:"proprietary"` OutOfTree bool `json:"outOfTree"` Unsigned bool `json:"unsigned"` }
Click to show internal directories.
Click to hide internal directories.