Documentation ¶
Index ¶
- Variables
- func NodeConnectH(w http.ResponseWriter, r *http.Request)
- func NodeGetSpecH(w http.ResponseWriter, r *http.Request)
- func NodeInfoH(w http.ResponseWriter, r *http.Request)
- func NodeListH(w http.ResponseWriter, r *http.Request)
- func NodeRemoveH(w http.ResponseWriter, r *http.Request)
- func NodeSetMetaH(w http.ResponseWriter, r *http.Request)
- func NodeSetStatusH(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var Routes = []http.Route{ {Path: "/cluster/node", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeListH}, {Path: "/cluster/node/{node}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeInfoH}, {Path: "/cluster/node/{node}/spec", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeGetSpecH}, {Path: "/cluster/node/{node}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeRemoveH}, {Path: "/cluster/node/{node}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeConnectH}, {Path: "/cluster/node/{node}/meta", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeSetMetaH}, {Path: "/cluster/node/{node}/status", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: NodeSetStatusH}, }
Functions ¶
func NodeConnectH ¶
func NodeConnectH(w http.ResponseWriter, r *http.Request)
func NodeGetSpecH ¶
func NodeGetSpecH(w http.ResponseWriter, r *http.Request)
func NodeRemoveH ¶
func NodeRemoveH(w http.ResponseWriter, r *http.Request)
func NodeSetMetaH ¶
func NodeSetMetaH(w http.ResponseWriter, r *http.Request)
func NodeSetStatusH ¶
func NodeSetStatusH(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.