package
1.10.11
Repository: https://github.com/bakharal/mongo-go-driver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package israce reports if the Go race detector is enabled.
Package monitor provides test types that are used to monitor client state and actions via the various monitor types supported by the driver.

# Functions

AddCompressorToURI checks for the environment variable indicating that the tests are being run with compression enabled.
AddOptionsToURI appends connection string options to a URI.
AddServerlessAuthCredentials will attempt to construct the serverless auth credentials for a URI.
AddTestServerAPIVersion adds the latest server API version in a ServerAPIOptions to passed-in opts.
AddTLSConfigToURI checks for the environmental variable indicating that the tests are being run on an SSL-enabled server, and if so, returns a new URI with the necessary configuration.
AutoInsertDocs inserts the docs into the test cluster.
ColName gets a collection name that should be unique to the currently executing test.
CompareVersions compares two version number strings (i.e.
ConnString gets the globally configured connection string.
DBName gets the globally configured database name.
DropCollection drops the collection in the test cluster.
No description provided by the author
No description provided by the author
InsertDocs inserts the docs into the test cluster.
MongoDBURI will construct the MongoDB URI from the MONGODB_URI environment variable for testing.
MonitoredTopology returns a new topology with the command monitor attached.
RunCommand runs an arbitrary command on a given database of target server.
Topology gets the globally configured topology.
TopologyWithCredential takes an "options.Credential" object and returns a connected topology.