Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetrieveEvents ¶
RetrieveEvents returns events from the database
Types ¶
type APIResponse ¶ added in v1.1.1
type APIResponse struct { CurrentTime string `json:"currentTime"` StartedTime string `json:"startedTime"` BuildInfo string `json:"buildInfo"` ClusterID string `json:"clusterID"` NSF string `json:"nsf"` APIBaseURL string `json:"apiBaseURL"` }
APIResponse for API respsonses
type Config ¶
type Config struct { DB database.DBConfig `json:"db,omitempty" yaml:"db,omitempty"` SetupDB bool `json:"setup_db,omitempty" yaml:"setup_db,omitempty"` }
Config represents cron configuration
type PrometheusResponse ¶
type PrometheusResponse struct { Status string Data PrometheusResponseData }
PrometheusResponse for prometheus response
type PrometheusResponseData ¶
type PrometheusResponseData struct { ResultType string Result []PrometheusResponseObject }
PrometheusResponseData for Prometheus response
type PrometheusResponseObject ¶
type PrometheusResponseObject struct { Metric Metric Value []interface{} }
PrometheusResponseObject for Prometheus response
Click to show internal directories.
Click to hide internal directories.