cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCmd = &cobra.Command{
		Use:               "podman-bootc",
		Short:             "Run bootable containers as a virtual machine",
		Long:              "Run bootable containers as a virtual machine",
		PersistentPreRunE: preExec,
		SilenceUsage:      true,
	}
	ExitCode int
)

RootCmd represents the base command when called without any subcommands

Functions

func CollectVmList

func CollectVmList(user user.User, libvirtUri string) (vmList []vm.BootcVMConfig, err error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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