args

package
v0.0.0-...-ffb386f Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// KernelMediaCheck is used to create a verufy ISO media boot menu
	KernelMediaCheck = "clri.mediacheck"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Version                 bool
	Reboot                  bool
	RebootSet               bool
	Offline                 bool
	OfflineSet              bool
	LogFile                 string
	ConfigFile              string
	CfDownloaded            bool
	CfPurge                 bool
	CfPurgeSet              bool
	AllowInsecureHTTP       bool
	AllowInsecureHTTPSet    bool
	CryptPassFile           string
	SwupdSkipOptional       bool
	SwupdSkipOptionalSet    bool
	SwupdMirror             string
	SwupdStateDir           string
	SwupdCertPath           string
	SwupdStateClean         bool
	SwupdFormat             string
	SwupdVersion            string
	SwupdContentURL         string
	SwupdVersionURL         string
	SwupdURL                string
	SwupdSkipDiskSpaceCheck bool
	Telemetry               bool
	TelemetrySet            bool
	TelemetryURL            string
	TelemetryTID            string
	TelemetryPolicy         string
	PamSalt                 string
	LogLevel                int
	ForceTUI                bool
	ForceGUI                bool
	Archive                 bool
	ArchiveSet              bool
	DemoMode                bool
	Bundles                 []string
	BlockDevices            []string
	StubImage               bool
	ConvertConfigFile       string
	TemplateConfigFile      string
	MakeISO                 bool
	MakeISOSet              bool
	KeepImage               bool
	KeepImageSet            bool
	SystemCheck             bool
	CopyNetwork             bool
	CopySwupd               bool
	CopySwupdSet            bool
	HighContrast            bool
	CBMPath                 string
	SkipValidationSize      bool
	SkipValidationSizeSet   bool
	SkipValidationAll       bool
	SkipValidationAllSet    bool
	SwapFileSize            string
	ForceDestructive        bool
}

Args represents the user provided arguments

func (*Args) ParseArgs

func (args *Args) ParseArgs() (err error)

ParseArgs will both parse the command line arguments to the program and read any options set on the kernel command line from boot-time setting the results into the Args member variables.

Jump to

Keyboard shortcuts

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