vms

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFiles

func CopyFiles(vmName string, file string, toVM bool) error

func Create

func Create(imageName string, script string, cpus int, mem int) (string, error)

func IP

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

func List

func List(all bool) ([]string, error)

List return all vms that start with db.VMNamePrefix

func Mount added in v0.54.0

func Mount(vmName string, hostPath string) error

func PortForward

func PortForward(vmName string, ports string) error

func Ps

func Ps(all bool) (string, error)

func Remove

func Remove(vmName string, force bool) error

func SecureShell

func SecureShell(vmName string, cmd string) error

func Start

func Start(vmName string) error

func Stop

func Stop(vmName string) error

func Tag

func Tag(vmName string, tag string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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