plugindashboards

package
v0.0.0-kmdagger1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListPluginDashboardsRequest

type ListPluginDashboardsRequest struct {
	OrgID    int64
	PluginID string
}

ListPluginDashboardsRequest request object for listing plugin dashboards.

type ListPluginDashboardsResponse

type ListPluginDashboardsResponse struct {
	Items []*PluginDashboard
}

ListPluginDashboardsResponse response object for listing plugin dashboards.

type LoadPluginDashboardRequest

type LoadPluginDashboardRequest struct {
	PluginID  string
	Reference string
}

LoadPluginDashboardRequest request object for loading a plugin dashboard.

type LoadPluginDashboardResponse

type LoadPluginDashboardResponse struct {
	Dashboard *dashboards.Dashboard
}

LoadPluginDashboardResponse response object for loading a plugin dashboard.

type PluginDashboard

type PluginDashboard struct {
	UID              string `json:"uid"`
	PluginId         string `json:"pluginId"`
	Title            string `json:"title"`
	Imported         bool   `json:"imported"`
	ImportedUri      string `json:"importedUri"`
	ImportedUrl      string `json:"importedUrl"`
	Slug             string `json:"slug"`
	DashboardId      int64  `json:"dashboardId"`
	FolderId         int64  `json:"folderId"`
	ImportedRevision int64  `json:"importedRevision"`
	Revision         int64  `json:"revision"`
	Description      string `json:"description"`
	Reference        string `json:"path"`
	Removed          bool   `json:"removed"`
}

PluginDashboard plugin dashboard model..

type Service

type Service interface {
	// ListPluginDashboards list plugin dashboards identified by org/plugin.
	ListPluginDashboards(ctx context.Context, req *ListPluginDashboardsRequest) (*ListPluginDashboardsResponse, error)

	// LoadPluginDashboard loads a plugin dashboard identified by plugin and reference.
	LoadPluginDashboard(ctx context.Context, req *LoadPluginDashboardRequest) (*LoadPluginDashboardResponse, error)
}

Service interface for listing plugin dashboards.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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