Documentation
¶
Index ¶
- Constants
- func GlobalFlags() []cli.Flag
- func NewBuildCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewBuildInstallerCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewCustomizeCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewInitCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewInstallCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewKernelModulesCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewReleaseInfoCommand(appName string, releaseInfoAction func(context.Context, *cli.Command) error) *cli.Command
- func NewResetCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewUnpackImageCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewUpgradeCommand(appName string, action func(context.Context, *cli.Command) error) *cli.Command
- func NewVersionCommand(appName string) *cli.Command
- func SetLoggerTarget(s *sys.System, cmd *cli.Command) error
- func Setup(ctx context.Context, cmd *cli.Command) (context.Context, error)
- func Teardown(_ context.Context, _ *cli.Command) error
- type BuildFlags
- type CustomizeFlags
- type InitFlags
- type InstallFlags
- type InstallerFlags
- type KernelModulesFlags
- type ReleaseInfoFlags
- type UnpackFlags
- type UpgradeFlags
Constants ¶
View Source
const Usage = "Install and upgrade immutable operating systems"
Variables ¶
This section is empty.
Functions ¶
func GlobalFlags ¶
func NewBuildCommand ¶
func NewCustomizeCommand ¶
func NewInitCommand ¶
func NewInstallCommand ¶
func NewKernelModulesCommand ¶
func NewReleaseInfoCommand ¶
func NewResetCommand ¶
func NewUnpackImageCommand ¶
func NewUpgradeCommand ¶
func NewVersionCommand ¶
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
Mode string
Platform 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 ¶
var KernelModulesArgs KernelModulesFlags
type ReleaseInfoFlags ¶
var ReleaseInfoArgs ReleaseInfoFlags
type UnpackFlags ¶
var UnpackArgs UnpackFlags
type UpgradeFlags ¶
type UpgradeFlags struct {
OperatingSystemImage string
ConfigScript string
Overlay string
Verify bool
CreateBootEntry bool
Local bool
}
var UpgradeArgs UpgradeFlags
Click to show internal directories.
Click to hide internal directories.