server

package
v2.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(ctx context.Context, lis net.Listener, guest *GuestServer) error

Types

type GuestServer

type GuestServer struct {
	api.UnimplementedGuestServiceServer
	Agent   guestagent.Agent
	TunnelS *portfwdserver.TunnelServer
}

func (*GuestServer) GetEvents

func (*GuestServer) GetInfo

func (s *GuestServer) GetInfo(ctx context.Context, _ *emptypb.Empty) (*api.Info, error)

func (*GuestServer) PostInotify

func (s *GuestServer) PostInotify(server api.GuestService_PostInotifyServer) error

func (*GuestServer) SyncTime added in v2.1.0

func (*GuestServer) Tunnel

func (s *GuestServer) Tunnel(stream api.GuestService_TunnelServer) error

Jump to

Keyboard shortcuts

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