Documentation
¶
Index ¶
- type DriverClient
- func (d *DriverClient) ApplySnapshot(ctx context.Context, tag string) error
- func (d *DriverClient) BootScripts() (map[string][]byte, error)
- func (d *DriverClient) ChangeDisplayPassword(ctx context.Context, password string) error
- func (d *DriverClient) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
- func (d *DriverClient) Create(ctx context.Context) error
- func (d *DriverClient) CreateDisk(ctx context.Context) error
- func (d *DriverClient) CreateSnapshot(ctx context.Context, tag string) error
- func (d *DriverClient) Delete(ctx context.Context) error
- func (d *DriverClient) DeleteSnapshot(ctx context.Context, tag string) error
- func (d *DriverClient) DisplayConnection(ctx context.Context) (string, error)
- func (d *DriverClient) FillConfig(_ context.Context, _ *limatype.LimaYAML, _ string) error
- func (d *DriverClient) ForwardGuestAgent() bool
- func (d *DriverClient) GuestAgentConn(ctx context.Context) (net.Conn, string, error)
- func (d *DriverClient) Info() driver.Info
- func (d *DriverClient) InspectStatus(_ context.Context, _ *limatype.Instance) string
- func (d *DriverClient) ListSnapshots(ctx context.Context) (string, error)
- func (d *DriverClient) RunGUI() error
- func (d *DriverClient) SSHAddress(ctx context.Context) (string, error)
- func (d *DriverClient) Start(ctx context.Context) (chan error, error)
- func (d *DriverClient) Stop(ctx context.Context) error
- func (d *DriverClient) Validate(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriverClient ¶
type DriverClient struct { Conn *grpc.ClientConn DriverSvc pb.DriverClient // contains filtered or unexported fields }
func NewDriverClient ¶
func NewDriverClient(socketPath string, logger *logrus.Logger) (*DriverClient, error)
func (*DriverClient) ApplySnapshot ¶
func (d *DriverClient) ApplySnapshot(ctx context.Context, tag string) error
func (*DriverClient) BootScripts ¶
func (d *DriverClient) BootScripts() (map[string][]byte, error)
func (*DriverClient) ChangeDisplayPassword ¶
func (d *DriverClient) ChangeDisplayPassword(ctx context.Context, password string) error
func (*DriverClient) Configure ¶
func (d *DriverClient) Configure(inst *limatype.Instance) *driver.ConfiguredDriver
func (*DriverClient) CreateDisk ¶
func (d *DriverClient) CreateDisk(ctx context.Context) error
func (*DriverClient) CreateSnapshot ¶
func (d *DriverClient) CreateSnapshot(ctx context.Context, tag string) error
func (*DriverClient) DeleteSnapshot ¶
func (d *DriverClient) DeleteSnapshot(ctx context.Context, tag string) error
func (*DriverClient) DisplayConnection ¶
func (d *DriverClient) DisplayConnection(ctx context.Context) (string, error)
func (*DriverClient) FillConfig ¶
func (*DriverClient) ForwardGuestAgent ¶
func (d *DriverClient) ForwardGuestAgent() bool
func (*DriverClient) GuestAgentConn ¶
func (*DriverClient) Info ¶
func (d *DriverClient) Info() driver.Info
func (*DriverClient) InspectStatus ¶
func (*DriverClient) ListSnapshots ¶
func (d *DriverClient) ListSnapshots(ctx context.Context) (string, error)
func (*DriverClient) RunGUI ¶
func (d *DriverClient) RunGUI() error
func (*DriverClient) SSHAddress ¶
func (d *DriverClient) SSHAddress(ctx context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.