Documentation ¶
Index ¶
- type Server
- func (s *Server) Empty()
- func (s *Server) EnrollHubNode(ctx context.Context, request *gen.EnrollHubNodeRequest) (*gen.HubNode, error)
- func (s *Server) Fill(impl gen.HubApiClient)
- func (s *Server) ForgetHubNode(ctx context.Context, request *gen.ForgetHubNodeRequest) (*gen.ForgetHubNodeResponse, error)
- func (s *Server) GetHubNode(ctx context.Context, request *gen.GetHubNodeRequest) (*gen.HubNode, error)
- func (s *Server) InspectHubNode(ctx context.Context, request *gen.InspectHubNodeRequest) (*gen.HubNodeInspection, error)
- func (s *Server) ListHubNodes(ctx context.Context, request *gen.ListHubNodesRequest) (*gen.ListHubNodesResponse, error)
- func (s *Server) PullHubNodes(request *gen.PullHubNodesRequest, server gen.HubApi_PullHubNodesServer) error
- func (s *Server) Register(server *grpc.Server)
- func (s *Server) RenewHubNode(ctx context.Context, request *gen.RenewHubNodeRequest) (*gen.HubNode, error)
- func (s *Server) TestHubNode(ctx context.Context, request *gen.TestHubNodeRequest) (*gen.TestHubNodeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { gen.UnimplementedHubApiServer // contains filtered or unexported fields }
Server forwards all HubApiServer calls to impl if present or returns errNotEnabled.
func (*Server) EnrollHubNode ¶
func (*Server) Fill ¶
func (s *Server) Fill(impl gen.HubApiClient)
func (*Server) ForgetHubNode ¶
func (s *Server) ForgetHubNode(ctx context.Context, request *gen.ForgetHubNodeRequest) (*gen.ForgetHubNodeResponse, error)
func (*Server) GetHubNode ¶
func (*Server) InspectHubNode ¶
func (s *Server) InspectHubNode(ctx context.Context, request *gen.InspectHubNodeRequest) (*gen.HubNodeInspection, error)
func (*Server) ListHubNodes ¶
func (s *Server) ListHubNodes(ctx context.Context, request *gen.ListHubNodesRequest) (*gen.ListHubNodesResponse, error)
func (*Server) PullHubNodes ¶
func (s *Server) PullHubNodes(request *gen.PullHubNodesRequest, server gen.HubApi_PullHubNodesServer) error
func (*Server) RenewHubNode ¶
func (*Server) TestHubNode ¶
func (s *Server) TestHubNode(ctx context.Context, request *gen.TestHubNodeRequest) (*gen.TestHubNodeResponse, error)
Click to show internal directories.
Click to hide internal directories.