Documentation
¶
Index ¶
- type BaseDriver
- func (d *BaseDriver) ApplySnapshot(_ context.Context, _ string) error
- func (d *BaseDriver) ChangeDisplayPassword(_ context.Context, password string) error
- func (d *BaseDriver) CreateDisk() error
- func (d *BaseDriver) CreateSnapshot(_ context.Context, _ string) error
- func (d *BaseDriver) DeleteSnapshot(_ context.Context, _ string) error
- func (d *BaseDriver) GetDisplayConnection(_ context.Context) (string, error)
- func (d *BaseDriver) ListSnapshots(_ context.Context) (string, error)
- func (d *BaseDriver) Start(_ context.Context) (chan error, error)
- func (d *BaseDriver) Stop(_ context.Context) error
- func (d *BaseDriver) Validate() error
- type Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDriver ¶
func (*BaseDriver) ApplySnapshot ¶ added in v0.16.0
func (d *BaseDriver) ApplySnapshot(_ context.Context, _ string) error
func (*BaseDriver) ChangeDisplayPassword ¶ added in v0.15.0
func (d *BaseDriver) ChangeDisplayPassword(_ context.Context, password string) error
func (*BaseDriver) CreateDisk ¶
func (d *BaseDriver) CreateDisk() error
func (*BaseDriver) CreateSnapshot ¶ added in v0.16.0
func (d *BaseDriver) CreateSnapshot(_ context.Context, _ string) error
func (*BaseDriver) DeleteSnapshot ¶ added in v0.16.0
func (d *BaseDriver) DeleteSnapshot(_ context.Context, _ string) error
func (*BaseDriver) GetDisplayConnection ¶ added in v0.15.0
func (d *BaseDriver) GetDisplayConnection(_ context.Context) (string, error)
func (*BaseDriver) ListSnapshots ¶ added in v0.16.0
func (d *BaseDriver) ListSnapshots(_ context.Context) (string, error)
func (*BaseDriver) Validate ¶
func (d *BaseDriver) Validate() error
type Driver ¶
type Driver interface { Validate() error CreateDisk() error Start(_ context.Context) (chan error, error) Stop(_ context.Context) error ChangeDisplayPassword(_ context.Context, password string) error GetDisplayConnection(_ context.Context) (string, error) CreateSnapshot(_ context.Context, tag string) error ApplySnapshot(_ context.Context, tag string) error DeleteSnapshot(_ context.Context, tag string) error ListSnapshots(_ context.Context) (string, error) }
Click to show internal directories.
Click to hide internal directories.