Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clusters = ClustersType{ // contains filtered or unexported fields }
Functions ¶
Types ¶
type ClusterType ¶
type ClustersType ¶
type ClustersType struct {
// contains filtered or unexported fields
}
func (*ClustersType) Get ¶
func (cs *ClustersType) Get(name string) (*ClusterType, bool)
func (*ClustersType) Put ¶
func (cs *ClustersType) Put(name string, cluster *ClusterType)
type DSReply ¶ added in v5.9.2
type DSReply struct { RequestID string `json:"request_id"` Data struct { Items []struct { Name string `json:"name"` Settings struct { PrometheusAddr string `json:"prometheus.addr"` PrometheusBasic struct { PrometheusUser string `json:"prometheus.user"` PrometheusPass string `json:"prometheus.password"` } `json:"prometheus.basic"` Headers map[string]string `json:"prometheus.headers"` PrometheusTimeout int64 `json:"prometheus.timeout"` } `json:"settings,omitempty"` } `json:"items"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.