# Functions
AsDefaultCredentials configures the AssertContext to authenticate using Application Default Credentials populated using the testing service account file.
AsReadOnlyCredentials configures the AssertContext to be used soley for public, read-only operations.
AssertLifecycleWorks tests the main blobstore object lifecycle from creation to deletion.
AsStaticCredentials configures the AssertContext to authenticate explicitly using a Service Account File.
GenerateRandomString generates a random string of desired length (default: 25).
MakeConfigFile creates a config file from a GCSCli config struct.
MakeContentFile creates a temporary file with content to upload to GCS.
NewAssertContext returns an AssertContext with all fields which can be generated filled in.
RunGCSCLI run the gcscli and outputs the session after waiting for it to finish.
# Constants
GoogleAppCredentialsEnv is the environment variable expected to be populated with a path to a Service Account File for testing Application Default Credentials.
NoLongEnv must be set in the environment to enable skipping long running tests.
NoLongMsg is the template used when BucketNoLongEnv's environment variable has not been populated.
ServiceAccountFileEnv is the environment variable expected to be populated with a Service Account File for testing.
ServiceAccountFileMsg is the template used when ServiceAccountFileEnv has not been populated.
# Structs
AssertContext contains the generated content to be used within tests.
# Type aliases
AssertContextConfigOption is an option used for configuring an AssertContext's handling of the config.