Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRegisterNodeStatusEndpoint ¶
func MakeRegisterNodeStatusEndpoint(service pkeservice.Service) endpoint.Endpoint
MakeRegisterNodeStatusEndpoint returns an endpoint for the matching method of the underlying service.
func RegisterHTTPHandlers ¶
func RegisterHTTPHandlers(endpoints Endpoints, router *mux.Router, options ...kithttp.ServerOption)
RegisterHTTPHandlers mounts all of the service endpoints into an http.Handler
Types ¶
type Endpoints ¶
Endpoints collects all of the endpoints that compose the underlying service. It's meant to be used as a helper struct, to collect all of the endpoints into a single parameter.
func MakeEndpoints ¶
func MakeEndpoints(service pkeservice.Service, middleware ...endpoint.Middleware) Endpoints
MakeEndpoints returns a(n) Endpoints struct where each endpoint invokes the corresponding method on the provided service.
type RegisterNodeStatusRequest ¶
type RegisterNodeStatusRequest struct { ClusterIdentifier cluster.Identifier NodeStatus pkeservice.NodeStatus }
RegisterNodeStatusRequest is a request struct for RegisterNodeStatus endpoint.
type RegisterNodeStatusResponse ¶
type RegisterNodeStatusResponse struct { Resp pkeservice.RegisterNodeStatusResponse Err error }
RegisterNodeStatusResponse is a response struct for RegisterNodeStatus endpoint.
func (RegisterNodeStatusResponse) Failed ¶
func (r RegisterNodeStatusResponse) Failed() error
Click to show internal directories.
Click to hide internal directories.