cmd

package
v0.0.0-...-7cdc176 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(r *util.Repo, image *core.Image, template *core.Template, verbose bool, mem string) error

func Delete

func Delete(name string) error

func Info

func Info(path string) error

func Instances

func Instances() error

func IsReg

func IsReg(m os.FileMode) bool

func Pull

func Pull(r *util.Repo, hypervisor string, image string) error

func Run

func Run(repo *util.Repo, config *RunConfig) error

func SetArgs

func SetArgs(r *util.Repo, hypervisor, image string, args string) error

func Stop

func Stop(name string) error

func UploadFiles

func UploadFiles(r *util.Repo, hypervisor string, image string, t *core.Template, verbose bool, mem string) error

func UploadRPM

func UploadRPM(r *util.Repo, hypervisor string, image string, template *core.Template, verbose bool, mem string) error

Types

type RunConfig

type RunConfig struct {
	InstanceName string
	ImageName    string
	Hypervisor   string
	Verbose      bool
	Memory       string
	Cpus         int
	Networking   string
	Bridge       string
	NatRules     []nat.Rule
	GCEUploadDir string
	MAC          string
}

Jump to

Keyboard shortcuts

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