Documentation
¶
Overview ¶
Package v1 (api/v1) is the first versioned implementation of the API
Index ¶
- func Route(r *mux.Router, s Server) *mux.Router
- type Server
- func (s Server) GetDashboard(w http.ResponseWriter, r *http.Request)
- func (s Server) GetDashboardGroup(w http.ResponseWriter, r *http.Request)
- func (s Server) ListDashboardGroups(w http.ResponseWriter, r *http.Request)
- func (s Server) ListDashboardTabs(w http.ResponseWriter, r *http.Request)
- func (s Server) ListDashboards(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
Server contains the necessary settings and i/o objects needed to serve this api
func (Server) GetDashboard ¶ added in v0.0.91
func (s Server) GetDashboard(w http.ResponseWriter, r *http.Request)
GetDashboard returns a given dashboard Response Proto: GetDashboardResponse
func (Server) GetDashboardGroup ¶ added in v0.0.80
func (s Server) GetDashboardGroup(w http.ResponseWriter, r *http.Request)
GetDashboardGroup returns a given dashboard group Response Proto: GetDashboardGroupResponse
func (Server) ListDashboardGroups ¶
func (s Server) ListDashboardGroups(w http.ResponseWriter, r *http.Request)
ListDashboardGroups returns every dashboard group in TestGrid Response Proto: ListDashboardGroupResponse
func (Server) ListDashboardTabs ¶ added in v0.0.91
func (s Server) ListDashboardTabs(w http.ResponseWriter, r *http.Request)
ListDashboardTabs returns a given dashboard tabs Response Proto: ListDashboardTabsResponse
func (Server) ListDashboards ¶ added in v0.0.91
func (s Server) ListDashboards(w http.ResponseWriter, r *http.Request)
ListDashboards returns every dashboard in TestGrid Response Proto: ListDashboardResponse
Click to show internal directories.
Click to hide internal directories.