qemu

package
v0.0.0-...-937b75d Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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