ingress

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: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = []http.Route{
	{Path: "/ingress", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: IngressListH},
	{Path: "/ingress/{ingress}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: IngressInfoH},
	{Path: "/ingress/{ingress}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: IngressConnectH},
	{Path: "/ingress/{ingress}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: IngressRemoveH},
	{Path: "/ingress/{ingress}/status", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: IngressSetStatusH},
}

Functions

func IngressConnectH

func IngressConnectH(w http.ResponseWriter, r *http.Request)

func IngressInfoH

func IngressInfoH(w http.ResponseWriter, r *http.Request)

func IngressListH

func IngressListH(w http.ResponseWriter, r *http.Request)

func IngressRemoveH

func IngressRemoveH(w http.ResponseWriter, r *http.Request)

func IngressSetStatusH

func IngressSetStatusH(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