virtualbox

package
v0.0.0-...-57ca673 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const VboxUnikInstanceListener = "VboxUnikInstanceListener"

Variables

View Source
var VirtualboxStateFile = os.Getenv("HOME") + "/.unik/virtualbox/state.json"

Functions

This section is empty.

Types

type VirtualboxProvider

type VirtualboxProvider struct {
	// contains filtered or unexported fields
}

func NewVirtualboxProvider

func NewVirtualboxProvider(config config.Virtualbox) (*VirtualboxProvider, error)

func (*VirtualboxProvider) AttachVolume

func (p *VirtualboxProvider) AttachVolume(id, instanceId, mntPoint string) error

func (*VirtualboxProvider) CreateVolume

func (p *VirtualboxProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)

func (*VirtualboxProvider) DeleteImage

func (p *VirtualboxProvider) DeleteImage(id string, force bool) error

func (*VirtualboxProvider) DeleteInstance

func (p *VirtualboxProvider) DeleteInstance(id string, force bool) error

func (*VirtualboxProvider) DeleteVolume

func (p *VirtualboxProvider) DeleteVolume(id string, force bool) error

func (*VirtualboxProvider) DeployInstanceListener

func (p *VirtualboxProvider) DeployInstanceListener(config config.Virtualbox) error

func (*VirtualboxProvider) DetachVolume

func (p *VirtualboxProvider) DetachVolume(id string) error

func (*VirtualboxProvider) GetConfig

func (*VirtualboxProvider) GetImage

func (p *VirtualboxProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)

func (*VirtualboxProvider) GetInstance

func (p *VirtualboxProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)

func (*VirtualboxProvider) GetInstanceLogs

func (p *VirtualboxProvider) GetInstanceLogs(id string) (string, error)

func (*VirtualboxProvider) GetVolume

func (p *VirtualboxProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)

func (*VirtualboxProvider) ListImages

func (p *VirtualboxProvider) ListImages() ([]*types.Image, error)

func (*VirtualboxProvider) ListInstances

func (p *VirtualboxProvider) ListInstances() ([]*types.Instance, error)

func (*VirtualboxProvider) ListVolumes

func (p *VirtualboxProvider) ListVolumes() ([]*types.Volume, error)

func (*VirtualboxProvider) RunInstance

func (p *VirtualboxProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)

func (*VirtualboxProvider) Stage

func (p *VirtualboxProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)

func (*VirtualboxProvider) StartInstance

func (p *VirtualboxProvider) StartInstance(id string) error

func (*VirtualboxProvider) StopInstance

func (p *VirtualboxProvider) StopInstance(id string) error

func (*VirtualboxProvider) WithState

func (p *VirtualboxProvider) WithState(state state.State) *VirtualboxProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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