# Functions
GetClusterID returns the cluster ID using the 'config.version' collection.
Return shards within a sharded cluster using the 'config.shards' collection on a config server.
Return shards within a sharded cluster using the MongoDB 'listShards' server command.
GetMongoRouters returns a slice of Mongos instances with a recent "ping" time, sorted by the "ping" time to prefer healthy instances.
HasReplsetMemberTags returns a boolean reflecting whether or not a replica set config member matches a list of replica set tags
https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.members[n].tags
.
No description provided by the author
NewIsMaster returns a struct for handling the output of the MongoDB 'isMaster' server command.
No description provided by the author
No description provided by the author
NewShardingState returns a struct reflecting the output of the 'shardingState' server command.
# Constants
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
No description provided by the author
# Variables
BalancerCmdTimeoutMs is the amount of time in milliseconds to wait for a balancer command to run.
# Structs
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
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author