Documentation ¶
Index ¶
- func StartServer(lis net.Listener, guest *GuestServer) error
- type GuestServer
- func (s *GuestServer) GetEvents(_ *emptypb.Empty, stream api.GuestService_GetEventsServer) error
- func (s *GuestServer) GetInfo(ctx context.Context, _ *emptypb.Empty) (*api.Info, error)
- func (s *GuestServer) PostInotify(server api.GuestService_PostInotifyServer) error
- func (s *GuestServer) Tunnel(stream api.GuestService_TunnelServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶ added in v0.21.0
func StartServer(lis net.Listener, guest *GuestServer) error
Types ¶
type GuestServer ¶ added in v0.21.0
type GuestServer struct { api.UnimplementedGuestServiceServer Agent guestagent.Agent TunnelS *portfwdserver.TunnelServer }
func (*GuestServer) GetEvents ¶ added in v0.21.0
func (s *GuestServer) GetEvents(_ *emptypb.Empty, stream api.GuestService_GetEventsServer) error
func (*GuestServer) PostInotify ¶ added in v0.21.0
func (s *GuestServer) PostInotify(server api.GuestService_PostInotifyServer) error
func (*GuestServer) Tunnel ¶ added in v1.0.0
func (s *GuestServer) Tunnel(stream api.GuestService_TunnelServer) error
Click to show internal directories.
Click to hide internal directories.