Documentation
¶
Index ¶
- type Client
- func (c *Client) AgentList(ctx context.Context) (map[string]*pb.Agent, error)
- func (c *Client) AgentRemove(ctx context.Context, agentId string) error
- func (c *Client) ProxyStart(ctx context.Context, proxyAddr string) ([]byte, error)
- func (c *Client) ProxyStop(ctx context.Context) error
- func (c *Client) TunnelAddRoute(ctx context.Context, agentId string, routes []string) error
- func (c *Client) TunnelList(ctx context.Context) ([]*pb.Tunnel, error)
- func (c *Client) TunnelPause(ctx context.Context, agentId string) error
- func (c *Client) TunnelRemoveRoute(ctx context.Context, agentId string, routes []string) error
- func (c *Client) TunnelResume(ctx context.Context, agentId string) error
- func (c *Client) TunnelStart(ctx context.Context, agentId string, routes []string) error
- func (c *Client) TunnelStop(ctx context.Context, agentId string) error
- type ClientKey
- type Server
- type ServiceHandler
- func (s *ServiceHandler) AgentList(ctx context.Context, req *connect.Request[pb.Empty]) (*connect.Response[pb.AgentListResponse], error)
- func (s *ServiceHandler) AgentRemove(ctx context.Context, req *connect.Request[pb.AgentRemoveRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) ProxyStart(ctx context.Context, req *connect.Request[pb.ProxyStartRequest]) (*connect.Response[pb.ProxyStartResponse], error)
- func (s *ServiceHandler) ProxyStop(ctx context.Context, req *connect.Request[pb.Empty]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelAddRoute(ctx context.Context, req *connect.Request[pb.TunnelAddRouteRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelList(ctx context.Context, req *connect.Request[pb.Empty]) (*connect.Response[pb.TunnelListResponse], error)
- func (s *ServiceHandler) TunnelPause(ctx context.Context, req *connect.Request[pb.TunnelPauseRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelRemoveRoute(ctx context.Context, req *connect.Request[pb.TunnelRemoveRouteRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelResume(ctx context.Context, req *connect.Request[pb.TunnelResumeRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelStart(ctx context.Context, req *connect.Request[pb.TunnelStartRequest]) (*connect.Response[pb.Empty], error)
- func (s *ServiceHandler) TunnelStop(ctx context.Context, req *connect.Request[pb.TunnelStopRequest]) (*connect.Response[pb.Empty], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AgentRemove ¶
func (*Client) ProxyStart ¶
func (*Client) TunnelAddRoute ¶
func (*Client) TunnelPause ¶
func (*Client) TunnelRemoveRoute ¶
func (*Client) TunnelResume ¶
func (*Client) TunnelStart ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ShutDownGracefully ¶
type ServiceHandler ¶
type ServiceHandler struct { serviceconnect.UnimplementedRaidoServiceHandler // contains filtered or unexported fields }
func (*ServiceHandler) AgentRemove ¶
func (*ServiceHandler) ProxyStart ¶
func (s *ServiceHandler) ProxyStart(ctx context.Context, req *connect.Request[pb.ProxyStartRequest]) (*connect.Response[pb.ProxyStartResponse], error)
func (*ServiceHandler) TunnelAddRoute ¶
func (*ServiceHandler) TunnelList ¶
func (*ServiceHandler) TunnelPause ¶
func (*ServiceHandler) TunnelRemoveRoute ¶
func (*ServiceHandler) TunnelResume ¶
func (*ServiceHandler) TunnelStart ¶
func (*ServiceHandler) TunnelStop ¶
Click to show internal directories.
Click to hide internal directories.