Documentation
¶
Index ¶
- Constants
- func DialQemu(ctx context.Context, unixSock string) (*os.File, error)
- func EnsureDisk(ctx context.Context, inst *limatype.Instance) error
- func PassFDToUnix(unixSock string) (*os.File, error)
- type LimaVzDriver
- func (l *LimaVzDriver) AdditionalSetupForSSH(_ context.Context) error
- func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) BootScripts() (map[string][]byte, error)
- func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ string) error
- func (l *LimaVzDriver) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
- func (l *LimaVzDriver) Create(_ context.Context) error
- func (l *LimaVzDriver) CreateDisk(ctx context.Context) error
- func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) Delete(_ context.Context) error
- func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) error
- func (l *LimaVzDriver) DisplayConnection(_ context.Context) (string, error)
- func (l *LimaVzDriver) FillConfig(ctx context.Context, cfg *limatype.LimaYAML, _ string) error
- func (l *LimaVzDriver) ForwardGuestAgent() bool
- func (l *LimaVzDriver) GuestAgentConn(_ context.Context) (net.Conn, string, error)
- func (l *LimaVzDriver) Info() driver.Info
- func (l *LimaVzDriver) InspectStatus(_ context.Context, _ *limatype.Instance) string
- func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error)
- func (l *LimaVzDriver) Register(_ context.Context) error
- func (l *LimaVzDriver) RunGUI() error
- func (l *LimaVzDriver) SSHAddress(_ context.Context) (string, error)
- func (l *LimaVzDriver) Start(ctx context.Context) (chan error, error)
- func (l *LimaVzDriver) Stop(_ context.Context) error
- func (l *LimaVzDriver) Unregister(_ context.Context) error
- func (l *LimaVzDriver) Validate(ctx context.Context) error
Constants ¶
View Source
const Enabled = true
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LimaVzDriver ¶
type LimaVzDriver struct {
Instance *limatype.Instance
SSHLocalPort int
// contains filtered or unexported fields
}
func New ¶
func New() *LimaVzDriver
func (*LimaVzDriver) AdditionalSetupForSSH ¶
func (l *LimaVzDriver) AdditionalSetupForSSH(_ context.Context) error
func (*LimaVzDriver) ApplySnapshot ¶
func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) BootScripts ¶
func (l *LimaVzDriver) BootScripts() (map[string][]byte, error)
func (*LimaVzDriver) ChangeDisplayPassword ¶
func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ string) error
func (*LimaVzDriver) Configure ¶
func (l *LimaVzDriver) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
func (*LimaVzDriver) CreateDisk ¶
func (l *LimaVzDriver) CreateDisk(ctx context.Context) error
func (*LimaVzDriver) CreateSnapshot ¶
func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) DeleteSnapshot ¶
func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) error
func (*LimaVzDriver) DisplayConnection ¶
func (l *LimaVzDriver) DisplayConnection(_ context.Context) (string, error)
func (*LimaVzDriver) FillConfig ¶
func (*LimaVzDriver) ForwardGuestAgent ¶
func (l *LimaVzDriver) ForwardGuestAgent() bool
func (*LimaVzDriver) GuestAgentConn ¶
func (*LimaVzDriver) Info ¶
func (l *LimaVzDriver) Info() driver.Info
func (*LimaVzDriver) InspectStatus ¶
func (*LimaVzDriver) ListSnapshots ¶
func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error)
func (*LimaVzDriver) RunGUI ¶
func (l *LimaVzDriver) RunGUI() error
func (*LimaVzDriver) SSHAddress ¶
func (l *LimaVzDriver) SSHAddress(_ context.Context) (string, error)
func (*LimaVzDriver) Unregister ¶
func (l *LimaVzDriver) Unregister(_ context.Context) error
Click to show internal directories.
Click to hide internal directories.