Documentation ¶
Index ¶
- Constants
- func VirtualboxStateFile() string
- type VirtualboxProvider
- func (p *VirtualboxProvider) AttachVolume(id, instanceId, mntPoint string) error
- func (p *VirtualboxProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
- func (p *VirtualboxProvider) DeleteImage(id string, force bool) error
- func (p *VirtualboxProvider) DeleteInstance(id string, force bool) error
- func (p *VirtualboxProvider) DeleteVolume(id string, force bool) error
- func (p *VirtualboxProvider) DetachVolume(id string) error
- func (p *VirtualboxProvider) GetConfig() providers.ProviderConfig
- func (p *VirtualboxProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
- func (p *VirtualboxProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
- func (p *VirtualboxProvider) GetInstanceLogs(id string) (string, error)
- func (p *VirtualboxProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
- func (p *VirtualboxProvider) ListImages() ([]*types.Image, error)
- func (p *VirtualboxProvider) ListInstances() ([]*types.Instance, error)
- func (p *VirtualboxProvider) ListVolumes() ([]*types.Volume, error)
- func (p *VirtualboxProvider) PullImage(params types.PullImagePararms) error
- func (p *VirtualboxProvider) PushImage(params types.PushImagePararms) error
- func (p *VirtualboxProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
- func (p *VirtualboxProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
- func (p *VirtualboxProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
- func (p *VirtualboxProvider) StartInstance(id string) error
- func (p *VirtualboxProvider) StopInstance(id string) error
- func (p *VirtualboxProvider) WithState(state state.State) *VirtualboxProvider
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 (p *VirtualboxProvider) GetConfig() providers.ProviderConfig
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
Source Files ¶
- attach_volume.go
- create_volume.go
- delete_image.go
- delete_instance.go
- delete_volume.go
- deploy_instance_listener.go
- detach_volume.go
- get_config.go
- get_image.go
- get_instance.go
- get_instance_logs.go
- get_volume.go
- list_images.go
- list_instances.go
- list_volumes.go
- pull_image.go
- push_image.go
- remote_delete_image.go
- run_instance.go
- stage.go
- start_instance.go
- stop_instance.go
- sync_state.go
- virtualbox_provider.go
Click to show internal directories.
Click to hide internal directories.