rest

package
v3.0.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: AGPL-3.0 Imports: 15 Imported by: 9

Documentation

Overview

Package rest exposes a REST API to aggregate data from various services.

This package is used to provide info about a given user to another authenticated user.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphHandler

type GraphHandler struct{}

func (*GraphHandler) Filter

func (h *GraphHandler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*GraphHandler) Relation

func (h *GraphHandler) Relation(req *restful.Request, rsp *restful.Response)

Relation computes workspaces shared in common, and teams belonging.

func (*GraphHandler) SwaggerTags

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

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

func (*GraphHandler) UserState

func (h *GraphHandler) UserState(req *restful.Request, rsp *restful.Response)

UserState is an alias for requests without roleID

Jump to

Keyboard shortcuts

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