Versions in this module Expand all Collapse all v0 v0.1.0 Jun 4, 2023 Changes in this version + const ConfigMongodKey + const ConfigMountPath + const ContainerName + const DefaultDBPath + const DefaultMetricsPort + const DefaultMetricsPortName + const DefaultPort + const DefaultPortStr + const ExporterContainerName + const HostnameTopologyKey + const KeyfileMountPath + const KeyfileSecretKey + const LabelKeyApp + const LabelKeyArbiter + const LabelKeyClusterVIP + const LabelKeyData + const LabelKeyInstance + const LabelKeyReplsetName + const LabelKeyRevisionHash + const LabelKeyRole + const LabelValConfigsvr + const LabelValExporter + const LabelValIndex + const LabelValMongos + const LabelValReplset + const LabelValShardsvr + const LabelValStandalone + const LabelValTrue + const PasswordLen + const SuffixConfigVolume + const SuffixKeyfileVolume + const SuffixSecretName + var DefaultLabels = map[string]string + var PodSorterById podSorter = func(i, j *corev1.Pod) bool + var StaticConfigMapUtil = new(configMapUtil) + var StaticLabelUtil = new(labelUtil) + var StaticMongoInfoUtil = new(mongoInfo) + var StaticPodUtil = new(podUtil) + var StaticReplSetUtil = new(replSetUtil) + var StaticSecretUtil = new(secretUtil) + var StaticStatusUtil = &statusUtil + func NewResourceBuilder(cr *middlewarev1alpha1.MongoDB) *resourceBuilder + type ConditionChecker func(c *middlewarev1alpha1.MongoCondition) bool + type MongoBase struct + Base *base + func NewMongoBase(mgr manager.Manager, cr *middlewarev1alpha1.MongoDB, log *zap.SugaredLogger) *MongoBase + func (s *MongoBase) EnsureSecret() error + func (s *MongoBase) GetBase() *MongoBase + func (s *MongoBase) GetCr() *middlewarev1alpha1.MongoDB + type PodBucket struct + Failed []*corev1.Pod + Miss []int + Ok []*corev1.Pod + Pending []*corev1.Pod + Redundant []*corev1.Pod + type PodController struct + Delete func(pods []*corev1.Pod) error + Ensure func(ids []int) error