# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ArbitersStatefulSetBecomesReady ensures that the underlying stateful set reaches the running state.
No description provided by the author
AutomationConfigHasLogRotationConfig verifies that the automation config contains the given logRotate config.
No description provided by the author
AutomationConfigHasTheExpectedCustomRoles verifies that the automation config has the expected custom roles.
No description provided by the author
AutomationConfigReplicaSetsHaveExpectedArbiters verifies that the automation config has the expected version.
No description provided by the author
AutomationConfigVersionHasTheExpectedVersion verifies that the automation config has the expected version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConnectionStringSecretsAreConfigured verifies that secrets storing the connection string were generated for all scram users and that they have the expected owner reference.
CreateMongoDBResource creates the MongoDB resource.
DeleteMongoDBResource deletes the MongoDB resource.
DeletePod will delete a pod that belongs to this MongoDB resource's StatefulSet.
DeleteStatefulSet provides a wrapper to delete appsv1.StatefulSet types.
DisableTLS changes the tls.enabled attribute to false.
No description provided by the author
EnableTLS changes the tls.enabled attribute to true.
No description provided by the author
GetConnectionStringForUser returns the mongodb standard connection string for a user.
GetConnectionStringSecret returnes the secret generated by the operator that is storing the connection string for a specific user.
GetSrvConnectionStringForUser returns the mongodb service connection string for a user.
No description provided by the author
No description provided by the author
MongoDBReachesFailedPhase ensure the MongoDB resource reaches the Failed phase.
MongoDBReachesPendingPhase ensures the MongoDB resources gets to the Pending phase.
MongoDBReachesRunningPhase ensure the MongoDB resource reaches the Running phase.
PodContainerBecomesNotReady waits until the container with 'containerName' in the pod #podNum becomes not ready.
PodContainerBecomesReady waits until the container with 'containerName' in the pod #podNum becomes ready.
No description provided by the author
No description provided by the author
Scale update the MongoDB with a new number of members and updates the resource.
ScaleArbiters update the MongoDB with a new number of arbiters and updates the resource.
No description provided by the author
No description provided by the author
ServiceWithNameExists checks whether a service with the name serviceName exists.
SkipTestIfLocal skips tests locally which tests connectivity to mongodb pods.
StatefulSetBecomesReady ensures that the underlying stateful set reaches the running state.
StatefulSetBecomesUnready ensures the underlying stateful set reaches the unready state.
No description provided by the author
No description provided by the author
No description provided by the author
StatefulSetHasUpdateStrategy verifies that the StatefulSet holding this MongoDB resource has the correct Update Strategy.
StatefulSetIsDeleted ensures that the underlying stateful set is deleted.
StatefulSetIsReadyAfterScaleDown ensures that a replica set is scaled down correctly note: scaling down takes considerably longer than scaling up due the readiness probe failure threshold being high.
StatefulSetMessageIsReceived waits (up to 5 minutes) to get desiredMessageStatus as a mongodb message status or returns a fatal error.
Status compares the given status to the actual status of the MongoDB resource.