vms

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit added in v0.84.0

func Commit(vmName, imageName string, override bool) error

func CopyFiles

func CopyFiles(src string, dest string) error

func Create

func Create(imageName string, ps ProvisionScript, cpus int, mem int) (string, error)

func Exec added in v0.65.0

func Exec(vmName string, cmd string) error

func GUI added in v0.82.0

func GUI(vmName string, nocheck bool) error

func IP

func IP(vmName string, purge bool, global bool) (string, error)

func ListMounts added in v0.97.0

func ListMounts(vmName string) (string, error)

func Modify added in v0.77.0

func Modify(vmName string, cpus int, mem int) error

func Mount added in v0.54.0

func Mount(vmName, hostPath, guestPath string, remove bool) error

func PortForward

func PortForward(vmName string, ports string) error

func Ps

func Ps(all bool, f []string) (string, error)

func Remove

func Remove(vmName string, force bool) error

func SecureShell

func SecureShell(vmName string) error

func Start

func Start(vmName string) error

func Stop

func Stop(vmName string) error

func Tag

func Tag(vmName string, tag string, remove bool) error

Types

type ProvisionScript added in v0.88.0

type ProvisionScript struct {
	Script string
	Func   provisioners.Func
}

Jump to

Keyboard shortcuts

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