Documentation ¶
Overview ¶
Package rest provides a gateway to the underlying grpc service
Index ¶
- func FirstRun(ctx context.Context) error
- type WorkspaceHandler
- func (h *WorkspaceHandler) DeleteWorkspace(req *restful.Request, rsp *restful.Response) error
- func (h *WorkspaceHandler) Filter() func(string) string
- func (h *WorkspaceHandler) PutWorkspace(req *restful.Request, rsp *restful.Response) error
- func (h *WorkspaceHandler) SearchWorkspaces(req *restful.Request, rsp *restful.Response) error
- func (h *WorkspaceHandler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WorkspaceHandler ¶
type WorkspaceHandler struct { resources.ResourceProviderHandler // contains filtered or unexported fields }
WorkspaceHandler defines the specific handler struc for workspace management.
func NewWorkspaceHandler ¶
func NewWorkspaceHandler(ctx context.Context) *WorkspaceHandler
NewWorkspaceHandler simply creates and configures a handler.
func (*WorkspaceHandler) DeleteWorkspace ¶
func (*WorkspaceHandler) Filter ¶
func (h *WorkspaceHandler) Filter() func(string) string
Filter returns a function to filter the swagger path.
func (*WorkspaceHandler) PutWorkspace ¶
func (*WorkspaceHandler) SearchWorkspaces ¶
func (*WorkspaceHandler) SwaggerTags ¶
func (h *WorkspaceHandler) SwaggerTags() []string
SwaggerTags lists the names of the service tags declared in the swagger json implemented by this service.
Click to show internal directories.
Click to hide internal directories.