package
0.0.0-20231129065837-deba56b04b66
Repository: https://github.com/chipartem/k6.git
Documentation: pkg.go.dev
# Packages
Package insights contains the domain data structures and client logic for the k6 cloud Insights API.
# 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.
MergeFromExternal merges three fields from the JSON in a loadimpact key of the provided external map.
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
MaxRetries specifies max retry attempts.
No description provided by the author
No description provided by the author
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.
No description provided by the author
ErrorResponse represents an error cause by talking to the API.
LogEntry can be used by the cloud to tell k6 to log something to the console, so the user can see it.
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
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.
No description provided by the author