Documentation
¶
Rendered for windows/amd64
Index ¶
- Constants
- type LimaHcsDriver
- func (l *LimaHcsDriver) AdditionalSetupForSSH(_ context.Context) error
- func (l *LimaHcsDriver) ApplySnapshot(_ context.Context, _ string) error
- func (l *LimaHcsDriver) BootScripts(_ context.Context) (map[string][]byte, error)
- func (l *LimaHcsDriver) ChangeDisplayPassword(_ context.Context, _ string) error
- func (l *LimaHcsDriver) Configure(ctx context.Context, inst *limatype.Instance) (*driver.ConfiguredDriver, error)
- func (l *LimaHcsDriver) Create(_ context.Context) error
- func (l *LimaHcsDriver) CreateDisk(ctx context.Context) error
- func (l *LimaHcsDriver) CreateSnapshot(_ context.Context, _ string) error
- func (l *LimaHcsDriver) Delete(_ context.Context) error
- func (l *LimaHcsDriver) DeleteSnapshot(_ context.Context, _ string) error
- func (l *LimaHcsDriver) DisplayConnection(_ context.Context) (string, error)
- func (l *LimaHcsDriver) ForwardGuestAgent(_ context.Context) bool
- func (l *LimaHcsDriver) GuestAgentConn(_ context.Context) (net.Conn, string, error)
- func (l *LimaHcsDriver) Info(_ context.Context) driver.Info
- func (l *LimaHcsDriver) InspectStatus(ctx context.Context, inst *limatype.Instance) string
- func (l *LimaHcsDriver) ListSnapshots(_ context.Context) (string, error)
- func (l *LimaHcsDriver) RunGUI(_ context.Context) error
- func (l *LimaHcsDriver) SSHAddress(_ context.Context) (string, error)
- func (l *LimaHcsDriver) Start(ctx context.Context) (chan error, error)
- func (l *LimaHcsDriver) Stop(ctx context.Context) error
- func (l *LimaHcsDriver) Validate(ctx context.Context) error
Constants ¶
View Source
const Enabled = true
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimaHcsDriver ¶
type LimaHcsDriver struct {
Instance *limatype.Instance
SSHLocalPort int
// contains filtered or unexported fields
}
func New ¶
func New() *LimaHcsDriver
func (*LimaHcsDriver) AdditionalSetupForSSH ¶
func (l *LimaHcsDriver) AdditionalSetupForSSH(_ context.Context) error
func (*LimaHcsDriver) ApplySnapshot ¶
func (l *LimaHcsDriver) ApplySnapshot(_ context.Context, _ string) error
func (*LimaHcsDriver) BootScripts ¶
func (*LimaHcsDriver) ChangeDisplayPassword ¶
func (l *LimaHcsDriver) ChangeDisplayPassword(_ context.Context, _ string) error
func (*LimaHcsDriver) Configure ¶
func (l *LimaHcsDriver) Configure(ctx context.Context, inst *limatype.Instance) (*driver.ConfiguredDriver, error)
func (*LimaHcsDriver) CreateDisk ¶
func (l *LimaHcsDriver) CreateDisk(ctx context.Context) error
func (*LimaHcsDriver) CreateSnapshot ¶
func (l *LimaHcsDriver) CreateSnapshot(_ context.Context, _ string) error
func (*LimaHcsDriver) DeleteSnapshot ¶
func (l *LimaHcsDriver) DeleteSnapshot(_ context.Context, _ string) error
func (*LimaHcsDriver) DisplayConnection ¶
func (l *LimaHcsDriver) DisplayConnection(_ context.Context) (string, error)
func (*LimaHcsDriver) ForwardGuestAgent ¶
func (l *LimaHcsDriver) ForwardGuestAgent(_ context.Context) bool
func (*LimaHcsDriver) 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 (*LimaHcsDriver) InspectStatus ¶
func (*LimaHcsDriver) ListSnapshots ¶
func (l *LimaHcsDriver) ListSnapshots(_ context.Context) (string, error)
func (*LimaHcsDriver) SSHAddress ¶
func (l *LimaHcsDriver) SSHAddress(_ context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.