Documentation ¶
Index ¶
- Constants
- func CreateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, ...) error
- func CreateOrUpdateClusterPrometheusServiceLevel(psl slothv1.PrometheusServiceLevel, k8sClient *k8s.KubeClient, ...) error
- func CreateOrUpdateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, ...) error
- func CreateOrUpdateNginxSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, ...) error
- func DeleteInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, ...) error
- func EnsureNginxSLIDeleted(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, ...) error
- func GetNginxSlothObjectName(clusterInstallation *model.ClusterInstallation) string
- func PrepareSloth(k8sClient *k8s.KubeClient, logger logrus.FieldLogger) error
Constants ¶
View Source
const (
Namespace = "prometheus"
)
Variables ¶
This section is empty.
Functions ¶
func CreateInstallationSLI ¶
func CreateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, installationName string, logger log.FieldLogger) error
func CreateOrUpdateClusterPrometheusServiceLevel ¶
func CreateOrUpdateClusterPrometheusServiceLevel(psl slothv1.PrometheusServiceLevel, k8sClient *k8s.KubeClient, logger log.FieldLogger) error
func CreateOrUpdateInstallationSLI ¶
func CreateOrUpdateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, installationName string, logger log.FieldLogger) error
func CreateOrUpdateNginxSLI ¶
func CreateOrUpdateNginxSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, serviceName string, logger log.FieldLogger) error
func DeleteInstallationSLI ¶
func DeleteInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, logger log.FieldLogger) error
func EnsureNginxSLIDeleted ¶
func EnsureNginxSLIDeleted(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, logger log.FieldLogger) error
func GetNginxSlothObjectName ¶
func GetNginxSlothObjectName(clusterInstallation *model.ClusterInstallation) string
func PrepareSloth ¶
func PrepareSloth(k8sClient *k8s.KubeClient, logger logrus.FieldLogger) error
PrepareSloth prepares sloth resources after prometheus helm is installed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.