Documentation
¶
Index ¶
- Constants
- func EnsureFs(ctx context.Context, inst *limatype.Instance) error
- type LimaWslDriver
- func (l *LimaWslDriver) AdditionalSetupForSSH(_ context.Context) error
- func (l *LimaWslDriver) ApplySnapshot(_ context.Context, _ string) error
- func (l *LimaWslDriver) BootScripts() (map[string][]byte, error)
- func (l *LimaWslDriver) ChangeDisplayPassword(_ context.Context, _ string) error
- func (l *LimaWslDriver) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
- func (l *LimaWslDriver) Create(_ context.Context) error
- func (l *LimaWslDriver) CreateDisk(_ context.Context) error
- func (l *LimaWslDriver) CreateSnapshot(_ context.Context, _ string) error
- func (l *LimaWslDriver) Delete(ctx context.Context) error
- func (l *LimaWslDriver) DeleteSnapshot(_ context.Context, _ string) error
- func (l *LimaWslDriver) DisplayConnection(_ context.Context) (string, error)
- func (l *LimaWslDriver) FillConfig(ctx context.Context, cfg *limatype.LimaYAML, _ string) error
- func (l *LimaWslDriver) ForwardGuestAgent() bool
- func (l *LimaWslDriver) GuestAgentConn(ctx context.Context) (net.Conn, string, error)
- func (l *LimaWslDriver) Info() driver.Info
- func (l *LimaWslDriver) InspectStatus(ctx context.Context, inst *limatype.Instance) string
- func (l *LimaWslDriver) ListSnapshots(_ context.Context) (string, error)
- func (l *LimaWslDriver) RunGUI() error
- func (l *LimaWslDriver) SSHAddress(_ context.Context) (string, error)
- func (l *LimaWslDriver) Start(ctx context.Context) (chan error, error)
- func (l *LimaWslDriver) Stop(ctx context.Context) error
- func (l *LimaWslDriver) Validate(ctx context.Context) error
Constants ¶
View Source
const Enabled = true
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LimaWslDriver ¶
type LimaWslDriver struct {
Instance *limatype.Instance
SSHLocalPort int
// contains filtered or unexported fields
}
func New ¶
func New() *LimaWslDriver
func (*LimaWslDriver) AdditionalSetupForSSH ¶
func (l *LimaWslDriver) AdditionalSetupForSSH(_ context.Context) error
func (*LimaWslDriver) ApplySnapshot ¶
func (l *LimaWslDriver) ApplySnapshot(_ context.Context, _ string) error
func (*LimaWslDriver) BootScripts ¶
func (l *LimaWslDriver) BootScripts() (map[string][]byte, error)
func (*LimaWslDriver) ChangeDisplayPassword ¶
func (l *LimaWslDriver) ChangeDisplayPassword(_ context.Context, _ string) error
func (*LimaWslDriver) Configure ¶
func (l *LimaWslDriver) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
func (*LimaWslDriver) CreateDisk ¶
func (l *LimaWslDriver) CreateDisk(_ context.Context) error
func (*LimaWslDriver) CreateSnapshot ¶
func (l *LimaWslDriver) CreateSnapshot(_ context.Context, _ string) error
func (*LimaWslDriver) DeleteSnapshot ¶
func (l *LimaWslDriver) DeleteSnapshot(_ context.Context, _ string) error
func (*LimaWslDriver) DisplayConnection ¶
func (l *LimaWslDriver) DisplayConnection(_ context.Context) (string, error)
func (*LimaWslDriver) FillConfig ¶
func (*LimaWslDriver) ForwardGuestAgent ¶
func (l *LimaWslDriver) ForwardGuestAgent() bool
func (*LimaWslDriver) GuestAgentConn ¶
GuestAgentConn returns the guest agent connection, or nil (if forwarded by ssh). As of 08-01-2024, github.com/mdlayher/vsock does not natively support vsock on Windows, so use the winio library to create the connection.
func (*LimaWslDriver) Info ¶
func (l *LimaWslDriver) Info() driver.Info
func (*LimaWslDriver) InspectStatus ¶
func (*LimaWslDriver) ListSnapshots ¶
func (l *LimaWslDriver) ListSnapshots(_ context.Context) (string, error)
func (*LimaWslDriver) RunGUI ¶
func (l *LimaWslDriver) RunGUI() error
func (*LimaWslDriver) SSHAddress ¶
func (l *LimaWslDriver) SSHAddress(_ context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.