app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChName       = "cloud-hypervisor"
	FirmwareName = "firmware"
	Uid          = 65532 // Desired user ID
	Gid          = 65532 // Desired group ID
)

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

func Run

func Run(ctx context.Context, opts Options) error

Types

type Options

type Options struct {
	Download bool

	ProviderBasePath string

	CloudHypervisorBinPath   string
	CloudHypervisorBinSubDir string
	CloudHypervisorBinUrl    string

	CloudHypervisorFirmwarePath   string
	CloudHypervisorFirmwareSubDir string
	CloudHypervisorFirmwareUrl    string
}

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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