cmd

package
v3.0.0-alpha.20251205 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Usage = "Install and upgrade immutable operating systems"

Variables

This section is empty.

Functions

func GlobalFlags

func GlobalFlags() []cli.Flag

func NewBuildCommand

func NewBuildCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewBuildInstallerCommand

func NewBuildInstallerCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewCustomizeCommand

func NewCustomizeCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewInstallCommand

func NewInstallCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewKernelModulesCommand

func NewKernelModulesCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewResetCommand

func NewResetCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewUnpackImageCommand

func NewUnpackImageCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewUpgradeCommand

func NewUpgradeCommand(appName string, action func(*cli.Context) error) *cli.Command

func NewVersionCommand

func NewVersionCommand(appName string) *cli.Command

func SetLoggerTarget

func SetLoggerTarget(s *sys.System, ctx *cli.Context) error

func Setup

func Setup(ctx *cli.Context) error

func Teardown

func Teardown(_ *cli.Context) error

Types

type BuildFlags

type BuildFlags struct {
	ImageType  string
	Platform   string
	ConfigDir  string
	BuildDir   string
	OutputPath string
	Local      bool
}
var BuildArgs BuildFlags

type CustomizeFlags

type CustomizeFlags struct {
	ConfigDir       string
	OutputPath      string
	Platform        string
	CustomizeOutput string
	MediaType       string
	Local           bool
}
var CustomizeArgs CustomizeFlags

type InstallFlags

type InstallFlags struct {
	OperatingSystemImage string
	Target               string
	Description          string
	ConfigScript         string
	Overlay              string
	CreateBootEntry      bool
	Bootloader           string
	KernelCmdline        string
	Verify               bool
	Local                bool
	CryptoPolicy         string
	Snapshotter          string
}
var InstallArgs InstallFlags

type InstallerFlags

type InstallerFlags struct {
	InstallSpec          InstallFlags
	OperatingSystemImage string
	ConfigScript         string
	Local                bool
	Verify               bool
	Name                 string
	OutputDir            string
	Overlay              string
	Label                string
	KernelCmdLine        string
	Type                 string
}
var InstallerArgs InstallerFlags

type KernelModulesFlags

type KernelModulesFlags struct {
	Reload bool
	Unload bool
}
var KernelModulesArgs KernelModulesFlags

type UnpackFlags

type UnpackFlags struct {
	Image     string
	TargetDir string
	Platform  string
	Local     bool
	Verify    bool
}
var UnpackArgs UnpackFlags

type UpgradeFlags

type UpgradeFlags struct {
	OperatingSystemImage string
	ConfigScript         string
	Overlay              string
	Verify               bool
	CreateBootEntry      bool
	Local                bool
}
var UpgradeArgs UpgradeFlags

Jump to

Keyboard shortcuts

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