Documentation ¶
Index ¶
- func AgentContainer(cr *api.PerconaServerMongoDB, sv *version.ServerVersion) corev1.Container
- func AgentStoragesConfigSecret(cr *api.PerconaServerMongoDB, cl client.Client) (*corev1.Secret, error)
- func AgentVolume(crName string) corev1.Volume
- func BackupCronJob(backup *api.BackupTaskSpec, ...) *batchv1b.CronJob
- func CoordinatorService(crName, namespace string) *corev1.Service
- func CoordinatorStatefulSet(cr *api.PerconaServerMongoDB) *appsv1.StatefulSet
- func CoordinatorStatefulSetSpec(cr *api.PerconaServerMongoDB, spec *api.BackupCoordinatorSpec, ...) appsv1.StatefulSetSpec
- func GetCoordinatorSuffix() string
- func NewBackupCronJobLabels(crName string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentContainer ¶
func AgentContainer(cr *api.PerconaServerMongoDB, sv *version.ServerVersion) corev1.Container
func AgentVolume ¶
func BackupCronJob ¶
func BackupCronJob(backup *api.BackupTaskSpec, crName, namespace, image, serviceAccountName string, imagePullSecrets []corev1.LocalObjectReference, sv *version.ServerVersion) *batchv1b.CronJob
func CoordinatorService ¶
func CoordinatorStatefulSet ¶
func CoordinatorStatefulSet(cr *api.PerconaServerMongoDB) *appsv1.StatefulSet
func CoordinatorStatefulSetSpec ¶
func CoordinatorStatefulSetSpec(cr *api.PerconaServerMongoDB, spec *api.BackupCoordinatorSpec, sv *version.ServerVersion, debug bool) appsv1.StatefulSetSpec
func GetCoordinatorSuffix ¶ added in v1.0.0
func GetCoordinatorSuffix() string
func NewBackupCronJobLabels ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.