Documentation ¶
Index ¶
- func QemuStateFile() string
- type QemuProvider
- func (p *QemuProvider) AttachVolume(id, instanceId, mntPoint string) error
- func (p *QemuProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
- func (p *QemuProvider) DeleteImage(id string, force bool) error
- func (p *QemuProvider) DeleteInstance(id string, force bool) error
- func (p *QemuProvider) DeleteVolume(id string, force bool) error
- func (p *QemuProvider) DetachVolume(id string) error
- func (p *QemuProvider) GetConfig() providers.ProviderConfig
- func (p *QemuProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
- func (p *QemuProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
- func (p *QemuProvider) GetInstanceLogs(id string) (string, error)
- func (p *QemuProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
- func (p *QemuProvider) ListImages() ([]*types.Image, error)
- func (p *QemuProvider) ListInstances() ([]*types.Instance, error)
- func (p *QemuProvider) ListVolumes() ([]*types.Volume, error)
- func (p *QemuProvider) PullImage(params types.PullImagePararms) error
- func (p *QemuProvider) PushImage(params types.PushImagePararms) error
- func (p *QemuProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
- func (p *QemuProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
- func (p *QemuProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
- func (p *QemuProvider) StartInstance(id string) error
- func (p *QemuProvider) StopInstance(id string) error
- func (p *QemuProvider) WithState(state state.State) *QemuProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QemuStateFile ¶
func QemuStateFile() string
Types ¶
type QemuProvider ¶
type QemuProvider struct {
// contains filtered or unexported fields
}
func NewQemuProvider ¶
func NewQemuProvider(config config.Qemu) (*QemuProvider, error)
func (*QemuProvider) AttachVolume ¶
func (p *QemuProvider) AttachVolume(id, instanceId, mntPoint string) error
func (*QemuProvider) CreateVolume ¶
func (p *QemuProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
func (*QemuProvider) DeleteImage ¶
func (p *QemuProvider) DeleteImage(id string, force bool) error
func (*QemuProvider) DeleteInstance ¶
func (p *QemuProvider) DeleteInstance(id string, force bool) error
func (*QemuProvider) DeleteVolume ¶
func (p *QemuProvider) DeleteVolume(id string, force bool) error
func (*QemuProvider) DetachVolume ¶
func (p *QemuProvider) DetachVolume(id string) error
func (*QemuProvider) GetConfig ¶
func (p *QemuProvider) GetConfig() providers.ProviderConfig
func (*QemuProvider) GetImage ¶
func (p *QemuProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
func (*QemuProvider) GetInstance ¶
func (p *QemuProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
func (*QemuProvider) GetInstanceLogs ¶
func (p *QemuProvider) GetInstanceLogs(id string) (string, error)
func (*QemuProvider) GetVolume ¶
func (p *QemuProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
func (*QemuProvider) ListImages ¶
func (p *QemuProvider) ListImages() ([]*types.Image, error)
func (*QemuProvider) ListInstances ¶
func (p *QemuProvider) ListInstances() ([]*types.Instance, error)
func (*QemuProvider) ListVolumes ¶
func (p *QemuProvider) ListVolumes() ([]*types.Volume, error)
func (*QemuProvider) PullImage ¶
func (p *QemuProvider) PullImage(params types.PullImagePararms) error
func (*QemuProvider) PushImage ¶
func (p *QemuProvider) PushImage(params types.PushImagePararms) error
func (*QemuProvider) RemoteDeleteImage ¶
func (p *QemuProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
func (*QemuProvider) RunInstance ¶
func (p *QemuProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
func (*QemuProvider) Stage ¶
func (p *QemuProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
func (*QemuProvider) StartInstance ¶
func (p *QemuProvider) StartInstance(id string) error
func (*QemuProvider) StopInstance ¶
func (p *QemuProvider) StopInstance(id string) error
func (*QemuProvider) WithState ¶
func (p *QemuProvider) WithState(state state.State) *QemuProvider
Source Files ¶
- attach_volume.go
- create_volume.go
- debugger.go
- delete_image.go
- delete_instance.go
- delete_volume.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
- qemu_provider.go
- remote_delete_image.go
- run_instance.go
- stage.go
- start_instance.go
- stop_instance_cgo.go
Click to show internal directories.
Click to hide internal directories.