rest

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package rest provides a gateway to the underlying grpc service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkspaceHandler

type WorkspaceHandler struct {
	resources.ResourceProviderHandler
}

Handler definition

func NewWorkspaceHandler

func NewWorkspaceHandler() *WorkspaceHandler

func (*WorkspaceHandler) DeleteWorkspace

func (h *WorkspaceHandler) DeleteWorkspace(req *restful.Request, rsp *restful.Response)

func (*WorkspaceHandler) Filter

func (h *WorkspaceHandler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*WorkspaceHandler) PutWorkspace

func (h *WorkspaceHandler) PutWorkspace(req *restful.Request, rsp *restful.Response)

func (*WorkspaceHandler) SearchWorkspaces

func (h *WorkspaceHandler) SearchWorkspaces(req *restful.Request, rsp *restful.Response)

func (*WorkspaceHandler) SwaggerTags

func (h *WorkspaceHandler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

Jump to

Keyboard shortcuts

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