virtualbox

package
v0.0.0-...-a58d3e8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

View Source
const VboxUnikInstanceListener = "VboxUnikInstanceListener"

Variables

This section is empty.

Functions

func VirtualboxStateFile

func VirtualboxStateFile() string

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) 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) PullImage

func (p *VirtualboxProvider) PullImage(params types.PullImagePararms) error

func (*VirtualboxProvider) PushImage

func (p *VirtualboxProvider) PushImage(params types.PushImagePararms) error

func (*VirtualboxProvider) RemoteDeleteImage

func (p *VirtualboxProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) 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