block

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRouter

func RegisterRouter(ws *restful.WebService)

RegisterRouter - route request to appropriate method

Types

type APIService

type APIService struct {
	// contains filtered or unexported fields
}

func NewAPIService

func NewAPIService(c client.Client) *APIService

func (*APIService) CreateVolume

func (s *APIService) CreateVolume(request *restful.Request, response *restful.Response)

Create Volume

func (*APIService) ListVolumes

func (s *APIService) ListVolumes(request *restful.Request, response *restful.Response)

List all volumes

Jump to

Keyboard shortcuts

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