Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmdline ¶
func Cmdline() *cmdline
Cmdline returns a representation of /proc/cmdline. nolint: golint
func NewCmdline ¶
func NewCmdline(parameters string) *cmdline
NewCmdline initializes and returns a representation of the cmdline values specified by `parameters`. nolint: golint
func NewDefaultCmdline ¶
func NewDefaultCmdline() *cmdline
NewDefaultCmdline returns a set of kernel parameters that serve as the base for all Talos installations. nolint: golint
Types ¶
type Parameter ¶
type Parameter struct {
// contains filtered or unexported fields
}
Parameter represents a value in a kernel parameter key-value pair.
func NewParameter ¶
NewParameter initializes and returns a Parameter.
func (*Parameter) First ¶
First attempts to return the first string of a value's internal representation.
type Parameters ¶
type Parameters []*Parameter
Parameters represents /proc/cmdline.
func (Parameters) String ¶
func (p Parameters) String() string
String returns a string representation of all parameters.
Click to show internal directories.
Click to hide internal directories.