package
2.6.2+incompatible
Repository: https://github.com/10gen/realm-cli.git
Documentation: pkg.go.dev
# Functions
AtlasServerURL returns the Atlas server url to use for testing.
CloudAdminAPIKey returns the Cloud admin api key.
CloudAdminUsername returns the Cloud admin username.
CloudAPIKey returns the Cloud api key to use for testing.
CloudAtlasClusterCount returns the count of clusters to use for testing.
CloudAtlasDatalakeCount returns the count of clusters to use for testing.
CloudAtlasServerlessInstanceCount returns the count of serverless instances to use for testing.
CloudGroupCount returns the Cloud groups count to use for testing.
CloudGroupID returns the Cloud group id to use for testing.
CloudGroupName returns the Cloud group id to use for testing.
CloudUsername returns the Cloud username to use for testing.
ExpiredAccessToken returns an expired access token to use for testing.
MustSkipf skips a test suite, but panics if BAAS_NO_SKIP_TEST is set.
NewTempDir constructs a new temporary directory and returns the directory name along with a cleanup function or any error that occurred during the process.
RealmServerURL returns the Realm server url to use for testing.
SetupHomeDir sets up the $HOME directory for a test and returns the directory name along with a reset function.
# Variables
SkipUnlessAtlasServerRunning skips tests if there is no Atlas server running at the configured testing url (see: AtlasServerURL()).
SkipUnlessExpiredAccessTokenPresent skips tests if there is no expired access token set as an environment URL.
SkipUnlessRealmServerRunning skips tests if there is no Realm server running at the configured testing url (see: RealmServerURL()).