# Functions
CheckResponse checks the parsed response.
GetConsolidatedConfig combines the default config values with the JSON config values and environment variables and returns the final result.
GetTemporaryCloudConfig returns a temporary cloud config.
NewClient return a new client for the cloud API.
NewConfig creates a new Config instance with default values for some fields.
URLForResults returns the cloud URL with the test run results.
# Constants
LegacyCloudConfigKey is the key used in the JSON config for the cloud output.
MaxRetries specifies max retry attempts.
ResultStatusFailed means the test has failed.
ResultStatusPassed means the test has passed.
RetryInterval is the default cloud request retry interval.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
Possible run status values; iota isn't used intentionally.
# Structs
Client handles communication with the k6 Cloud API.
Config holds all the necessary data and options for sending metrics to the k6 Cloud.
CreateTestRunResponse represents the response of successfully created test run in the cloud.
LogEntry can be used by the cloud to tell k6 to log something to the console, so the user can see it.
LoginResponse includes the token after a successful login.
ResponseError represents an error cause by talking to the API.
TestProgressResponse represents the progress of a cloud test.
TestRun represents a test run.
ValidateTokenResponse is the response of a token validation.
# Type aliases
ResultStatus represents the result status of a test.
RunStatus values are used to tell the cloud output how a local test run ended, and to get that information from the cloud for cloud tests.
ThresholdResult is a helper type to make sending the thresholds result to the cloud.