service

package
v0.1.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL