server

package
v2.0.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, driver driver.Driver)

func Start

func Start(extDriver *registry.ExternalDriver, instName string) error

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 (*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) Create

func (s *DriverServer) Create(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

func (*DriverServer) CreateDisk

func (s *DriverServer) CreateDisk(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

func (*DriverServer) CreateSnapshot

func (s *DriverServer) CreateSnapshot(ctx context.Context, req *pb.CreateSnapshotRequest) (*emptypb.Empty, error)

func (*DriverServer) Delete

func (s *DriverServer) Delete(ctx context.Context, empty *emptypb.Empty) (*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 (s *DriverServer) GuestAgentConn(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*DriverServer) Info

func (*DriverServer) ListSnapshots

func (s *DriverServer) ListSnapshots(ctx context.Context, _ *emptypb.Empty) (*pb.ListSnapshotsResponse, error)

func (*DriverServer) RunGUI

func (s *DriverServer) RunGUI(_ context.Context, empty *emptypb.Empty) (*emptypb.Empty, 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

func (*DriverServer) Stop

func (s *DriverServer) Stop(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

func (*DriverServer) Validate

func (s *DriverServer) Validate(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL