Documentation ¶
Index ¶
- func CreateMonitorService(ctx context.Context, serviceName string, tags map[string]string) (err error)
- func DeleteMonitorService(ctx context.Context, serviceName string) (err error)
- func FetchSerialData(ctx context.Context, startTime, endTime time.Time, tags map[string]string) (data map[string][]SerialDataPoint, err error)
- func GetConfigMap(ctx context.Context, name string) (configMap *corev1.ConfigMap, err error)
- func InitClient()
- func InitHTTPClient()
- func InitK8sClient()
- func InitPrometheusClient()
- func UpdateConfigMap(ctx context.Context, name string, configMap *corev1.ConfigMap) (err error)
- type SerialDataPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMonitorService ¶
func DeleteMonitorService ¶
func FetchSerialData ¶
func GetConfigMap ¶
获取ConfigMap
func InitClient ¶
func InitClient()
func InitHTTPClient ¶
func InitHTTPClient()
func InitK8sClient ¶
func InitK8sClient()
func InitPrometheusClient ¶
func InitPrometheusClient()
Types ¶
type SerialDataPoint ¶
Click to show internal directories.
Click to hide internal directories.