Documentation
¶
Index ¶
- func Serve(ctx context.Context, driver driver.Driver)
- func Start(extDriver *registry.ExternalDriver, instName string) error
- func Stop(extDriver *registry.ExternalDriver) error
- func StopAllExternalDrivers()
- type DriverServer
- func (s *DriverServer) ApplySnapshot(ctx context.Context, req *pb.ApplySnapshotRequest) (*emptypb.Empty, error)
- func (s *DriverServer) BootScripts(_ context.Context, _ *emptypb.Empty) (*pb.BootScriptsResponse, error)
- func (s *DriverServer) ChangeDisplayPassword(ctx context.Context, req *pb.ChangeDisplayPasswordRequest) (*emptypb.Empty, error)
- func (s *DriverServer) Configure(_ context.Context, req *pb.SetConfigRequest) (*emptypb.Empty, error)
- func (s *DriverServer) Create(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) CreateDisk(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) CreateSnapshot(ctx context.Context, req *pb.CreateSnapshotRequest) (*emptypb.Empty, error)
- func (s *DriverServer) Delete(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) DeleteSnapshot(ctx context.Context, req *pb.DeleteSnapshotRequest) (*emptypb.Empty, error)
- func (s *DriverServer) ForwardGuestAgent(_ context.Context, _ *emptypb.Empty) (*pb.ForwardGuestAgentResponse, error)
- func (s *DriverServer) GetDisplayConnection(ctx context.Context, _ *emptypb.Empty) (*pb.GetDisplayConnectionResponse, error)
- func (s *DriverServer) GuestAgentConn(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) Info(_ context.Context, _ *emptypb.Empty) (*pb.InfoResponse, error)
- func (s *DriverServer) ListSnapshots(ctx context.Context, _ *emptypb.Empty) (*pb.ListSnapshotsResponse, error)
- func (s *DriverServer) RunGUI(_ context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) SSHAddress(ctx context.Context, _ *emptypb.Empty) (*pb.SSHAddressResponse, error)
- func (s *DriverServer) Start(_ *emptypb.Empty, stream pb.Driver_StartServer) error
- func (s *DriverServer) Stop(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *DriverServer) Validate(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Stop ¶
func Stop(extDriver *registry.ExternalDriver) error
func StopAllExternalDrivers ¶
func StopAllExternalDrivers()
Types ¶
type DriverServer ¶
type DriverServer struct { pb.UnimplementedDriverServer // contains filtered or unexported fields }
func (*DriverServer) ApplySnapshot ¶
func (s *DriverServer) ApplySnapshot(ctx context.Context, req *pb.ApplySnapshotRequest) (*emptypb.Empty, error)
func (*DriverServer) BootScripts ¶
func (s *DriverServer) BootScripts(_ context.Context, _ *emptypb.Empty) (*pb.BootScriptsResponse, error)
func (*DriverServer) ChangeDisplayPassword ¶
func (s *DriverServer) ChangeDisplayPassword(ctx context.Context, req *pb.ChangeDisplayPasswordRequest) (*emptypb.Empty, error)
func (*DriverServer) Configure ¶
func (s *DriverServer) Configure(_ context.Context, req *pb.SetConfigRequest) (*emptypb.Empty, error)
func (*DriverServer) CreateDisk ¶
func (*DriverServer) CreateSnapshot ¶
func (s *DriverServer) CreateSnapshot(ctx context.Context, req *pb.CreateSnapshotRequest) (*emptypb.Empty, error)
func (*DriverServer) DeleteSnapshot ¶
func (s *DriverServer) DeleteSnapshot(ctx context.Context, req *pb.DeleteSnapshotRequest) (*emptypb.Empty, error)
func (*DriverServer) ForwardGuestAgent ¶
func (s *DriverServer) ForwardGuestAgent(_ context.Context, _ *emptypb.Empty) (*pb.ForwardGuestAgentResponse, error)
func (*DriverServer) GetDisplayConnection ¶
func (s *DriverServer) GetDisplayConnection(ctx context.Context, _ *emptypb.Empty) (*pb.GetDisplayConnectionResponse, error)
func (*DriverServer) GuestAgentConn ¶
func (*DriverServer) Info ¶
func (s *DriverServer) Info(_ context.Context, _ *emptypb.Empty) (*pb.InfoResponse, error)
func (*DriverServer) ListSnapshots ¶
func (s *DriverServer) ListSnapshots(ctx context.Context, _ *emptypb.Empty) (*pb.ListSnapshotsResponse, error)
func (*DriverServer) SSHAddress ¶
func (s *DriverServer) SSHAddress(ctx context.Context, _ *emptypb.Empty) (*pb.SSHAddressResponse, error)
func (*DriverServer) Start ¶
func (s *DriverServer) Start(_ *emptypb.Empty, stream pb.Driver_StartServer) error
Click to show internal directories.
Click to hide internal directories.