volume

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = []http.Route{

	{Path: "/namespace/{namespace}/volume", Method: http.MethodPost, Middleware: []http.Middleware{middleware.Authenticate}, Handler: VolumeCreateH},
	{Path: "/namespace/{namespace}/volume", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: VolumeListH},
	{Path: "/namespace/{namespace}/volume/{volume}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: VolumeInfoH},
	{Path: "/namespace/{namespace}/volume/{volume}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: VolumeUpdateH},
	{Path: "/namespace/{namespace}/volume/{volume}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: VolumeRemoveH},
}

Functions

func VolumeCreateH

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

func VolumeInfoH

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

func VolumeListH

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

func VolumeRemoveH

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

func VolumeUpdateH

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