Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Param ¶
type Param struct { ClusterID string ClusterType types.ClusterType Type string Namespace string Name string Parameters map[string]string Field []string Extra map[string]string Data interface{} }
Param storage parameter definition
type Storage ¶
type Storage interface { QueryDynamic(param *Param) ([]byte, error) GetClusters() ([]string, error) GetDynamicNs(param *Param) ([]byte, error) SaveMetric(param *Param) error QueryMetric(param *Param) ([]byte, error) DeleteMetric(param *Param) error GetDynamicWatcher(param *Param) (watcher *watch.Watcher, err error) GetMetricWatcher(param *Param) (watcher *watch.Watcher, err error) }
Storage the interface definition of a storage
Click to show internal directories.
Click to hide internal directories.