Documentation ¶
Index ¶
- Constants
- Variables
- func ServiceCreateH(w http.ResponseWriter, r *http.Request)
- func ServiceInfoH(w http.ResponseWriter, r *http.Request)
- func ServiceListH(w http.ResponseWriter, r *http.Request)
- func ServiceLogsH(w http.ResponseWriter, r *http.Request)
- func ServiceRemoveH(w http.ResponseWriter, r *http.Request)
- func ServiceUpdateH(w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const (
BUFFER_SIZE = 512
)
Variables ¶
View Source
var Routes = []http.Route{ {Path: "/namespace/{namespace}/service", Method: http.MethodPost, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceCreateH}, {Path: "/namespace/{namespace}/service", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceListH}, {Path: "/namespace/{namespace}/service/{service}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceInfoH}, {Path: "/namespace/{namespace}/service/{service}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceUpdateH}, {Path: "/namespace/{namespace}/service/{service}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceRemoveH}, {Path: "/namespace/{namespace}/service/{service}/logs", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ServiceLogsH}, }
Functions ¶
func ServiceCreateH ¶
func ServiceCreateH(w http.ResponseWriter, r *http.Request)
func ServiceInfoH ¶
func ServiceInfoH(w http.ResponseWriter, r *http.Request)
func ServiceListH ¶
func ServiceListH(w http.ResponseWriter, r *http.Request)
func ServiceLogsH ¶
func ServiceLogsH(w http.ResponseWriter, r *http.Request)
func ServiceRemoveH ¶
func ServiceRemoveH(w http.ResponseWriter, r *http.Request)
func ServiceUpdateH ¶
func ServiceUpdateH(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.