kernelparameters

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatKernelParameters

func FormatKernelParameters(kp KernelParameters) []string

Types

type InvalidParameterError

type InvalidParameterError struct {
	Parameter string
}

func NewInvalidParameterError

func NewInvalidParameterError(p string) *InvalidParameterError

func (*InvalidParameterError) Error

func (i *InvalidParameterError) Error() string

type KernelParameters

type KernelParameters map[string]string

func MergeKernelParameters

func MergeKernelParameters(kp1 KernelParameters, kp2 ...KernelParameters) KernelParameters

MergeKernelParameters merges multiple KernelParameter maps, with values from maps being overwritten in the order that they're passed into the function

func New

func New(s []string) (KernelParameters, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL