block

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 12 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

func UpdateFilter added in v1.0.1

func UpdateFilter(reqFilter map[string]string, filter map[string]string) error

func WriteError added in v1.0.1

func WriteError(response *restful.Response, msg string, errCode int, err error)

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) DeleteVolume added in v1.0.1

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

func (*APIService) GetVolume added in v1.0.1

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

func (*APIService) ListVolumes

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

func (*APIService) UpdateVolume added in v1.0.1

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

Jump to

Keyboard shortcuts

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