Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaptersTrackerInterface ¶ added in v0.0.6
type GrafanaBoard ¶ added in v0.0.6
type GrafanaBoard struct { URI string `json:"uri,omitempty"` Title string `json:"title,omitempty"` Slug string `json:"slug,omitempty"` UID string `json:"uid,omitempty"` OrgID uint `json:"org_id,omitempty"` // Panels []*GrafanaPanel `json:"panels,omitempty"` Panels []*sdk.Panel `json:"panels,omitempty"` TemplateVars []*GrafanaTemplateVars `json:"template_vars,omitempty"` }
type GrafanaDataSource ¶ added in v0.0.6
type GrafanaPanel ¶ added in v0.0.6
type GrafanaTemplateVars ¶ added in v0.0.6
type GrafanaTemplateVars struct { Name string `json:"name,omitempty"` Query string `json:"query,omitempty"` Datasource *GrafanaDataSource `json:"datasource,omitempty"` Hide uint8 `json:"hide,omitempty"` Value interface{} `json:"value,omitempty"` }
type HandlerConfig ¶
type HandlerConfig struct { SessionName string RefCookieName string SessionStore sessions.Store SaaSTokenName string SaaSBaseURL string AdapterTracker AdaptersTrackerInterface QueryTracker QueryTrackerInterface Queue taskq.Queue }
type HandlerInterface ¶
type HandlerInterface interface { AuthMiddleware(next http.Handler) http.Handler LoginHandler(w http.ResponseWriter, r *http.Request) LogoutHandler(w http.ResponseWriter, req *http.Request) UserHandler(w http.ResponseWriter, r *http.Request) K8SConfigHandler(w http.ResponseWriter, r *http.Request) LoadTestHandler(w http.ResponseWriter, req *http.Request) CollectStaticMetrics(config *SubmitMetricsConfig) error FetchResultsHandler(w http.ResponseWriter, req *http.Request) MeshAdapterConfigHandler(w http.ResponseWriter, req *http.Request) MeshOpsHandler(w http.ResponseWriter, req *http.Request) GetAllAdaptersHandler(w http.ResponseWriter, req *http.Request) EventStreamHandler(w http.ResponseWriter, req *http.Request) GrafanaConfigHandler(w http.ResponseWriter, req *http.Request) GrafanaBoardsHandler(w http.ResponseWriter, req *http.Request) GrafanaQueryHandler(w http.ResponseWriter, req *http.Request) GrafanaQueryRangeHandler(w http.ResponseWriter, req *http.Request) PrometheusConfigHandler(w http.ResponseWriter, req *http.Request) GrafanaBoardImportForPrometheusHandler(w http.ResponseWriter, req *http.Request) PrometheusQueryHandler(w http.ResponseWriter, req *http.Request) PrometheusQueryRangeHandler(w http.ResponseWriter, req *http.Request) PrometheusStaticBoardHandler(w http.ResponseWriter, req *http.Request) }
type LoadTestOptions ¶ added in v0.0.6
type MesheryResult ¶ added in v0.0.6
type MesheryResult struct { ID uuid.UUID `json:"meshery_id,omitempty"` Name string `json:"name,omitempty"` Mesh string `json:"mesh,omitempty"` Result map[string]interface{} `json:"runner_results,omitempty"` ServerMetrics interface{} `json:"server_metrics,omitempty"` ServerBoardConfig interface{} `json:"server_board_config,omitempty"` }
MesheryResult - represents the results from Meshery test run to be shipped
type QueryTrackerInterface ¶ added in v0.0.6
type SubmitMetricsConfig ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.