Documentation
¶
Index ¶
- Constants
- Variables
- func ConfigMapForFullBackupsMonitoring(telegrafJsonKey string) *corev1.ConfigMap
- func ConfigMapForGranularBackupsMonitoring(telegrafJsonKey string) *corev1.ConfigMap
- func ConfigMapForInfluxdbTelegraf() *corev1.ConfigMap
- func ConfigMapForTelegraf() *corev1.ConfigMap
- func GetPortsForBackupService() []corev1.ServicePort
- func GetPortsForMonitoringService() []corev1.ServicePort
- func GetReplSecretName(pgClusterName string) string
- func GetRootSecretName(pgClusterName string) string
- func NewBackupDaemonDeployment(backupDaemon *types.BackupDaemon, pgClusterName string, ...) *appsv1.Deployment
- func NewMonitoringDeployment(metricCollector *types.MetricCollector, pgcluster string, ...) *appsv1.Deployment
Constants ¶
View Source
const ( MetricCollectorDeploymentName = "monitoring-collector" MetricCollectorUserCredentials = "monitoring-credentials" )
View Source
const (
BackupDaemon = "postgres-backup-daemon"
)
Variables ¶
View Source
var (
BackupDaemonLabels = map[string]string{"app": "postgres-backup-daemon", "name": "postgres-backup-daemon"}
)
View Source
var (
MetricCollectorLabels = map[string]string{"app": "monitoring-collector"}
)
Functions ¶
func ConfigMapForTelegraf ¶
func GetPortsForBackupService ¶
func GetPortsForBackupService() []corev1.ServicePort
func GetPortsForMonitoringService ¶
func GetPortsForMonitoringService() []corev1.ServicePort
func GetReplSecretName ¶
func GetRootSecretName ¶
func NewBackupDaemonDeployment ¶
func NewBackupDaemonDeployment(backupDaemon *types.BackupDaemon, pgClusterName string, serviceAccountName string) *appsv1.Deployment
func NewMonitoringDeployment ¶
func NewMonitoringDeployment(metricCollector *types.MetricCollector, pgcluster string, serviceAccountName string) *appsv1.Deployment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.