Documentation
¶
Index ¶
- func Cmdline(cfg Config) (string, []string, error)
- func CreateDataDisk(dir, format string, size int) error
- func EnsureDisk(cfg Config) error
- type Config
- type LimaQemuDriver
- func (l *LimaQemuDriver) ChangeDisplayPassword(ctx context.Context, password string) error
- func (l *LimaQemuDriver) CreateDisk() error
- func (l *LimaQemuDriver) GetDisplayConnection(ctx context.Context) (string, error)
- func (l *LimaQemuDriver) Start(ctx context.Context) (chan error, error)
- func (l *LimaQemuDriver) Stop(ctx context.Context) error
- func (l *LimaQemuDriver) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDataDisk ¶ added in v0.14.0
func EnsureDisk ¶
EnsureDisk also ensures the kernel and the initrd
Types ¶
type LimaQemuDriver ¶ added in v0.14.0
type LimaQemuDriver struct { *driver.BaseDriver // contains filtered or unexported fields }
func New ¶ added in v0.14.0
func New(driver *driver.BaseDriver) *LimaQemuDriver
func (*LimaQemuDriver) ChangeDisplayPassword ¶ added in v0.15.0
func (l *LimaQemuDriver) ChangeDisplayPassword(ctx context.Context, password string) error
func (*LimaQemuDriver) CreateDisk ¶ added in v0.14.0
func (l *LimaQemuDriver) CreateDisk() error
func (*LimaQemuDriver) GetDisplayConnection ¶ added in v0.15.0
func (l *LimaQemuDriver) GetDisplayConnection(ctx context.Context) (string, error)
func (*LimaQemuDriver) Start ¶ added in v0.14.0
func (l *LimaQemuDriver) Start(ctx context.Context) (chan error, error)
func (*LimaQemuDriver) Stop ¶ added in v0.14.0
func (l *LimaQemuDriver) Stop(ctx context.Context) error
func (*LimaQemuDriver) Validate ¶ added in v0.14.0
func (l *LimaQemuDriver) Validate() error
Click to show internal directories.
Click to hide internal directories.