Documentation
¶
Index ¶
- func CreateOrUpdateConfigmap(client *kube.ClusterClient, namespace, name string, data map[string]string) error
- func CreateOrUpdatePrometheusRule(client *kube.ClusterClient, groupName string, po db.ConfigPrometheusOperator, ...) error
- func DeleteConfigmap(clusterId int, namespace, name string, keys ...string) error
- func DeletePrometheusRuleByGroupName(clusterId int, namespace, name string, groupName string) error
- func GetConfigmap(clusterId int, namespace, name string, key string) (data string, err error)
- func NotFound(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateConfigmap ¶
func CreateOrUpdatePrometheusRule ¶
func CreateOrUpdatePrometheusRule(client *kube.ClusterClient, groupName string, po db.ConfigPrometheusOperator, rules []monitoringv1.Rule) error
CreateOrUpdatePrometheusRule 存在出现脏数据可能
func DeleteConfigmap ¶
func GetConfigmap ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.