package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Packages

# Functions

Equals is an isExpected function for WaitSumMetrics that returns true if given single sum is equals to given value.
EqualsAmong is an isExpected function for WaitSumMetrics that returns true if the first sum is equal to any value provided.
EqualsAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is equal to the second.
GetTempDirectory creates a temporary directory for shared integration test files, either in the working directory or a directory referenced by the E2E_TEMP_DIR environment variable.
Greater is an isExpected function for WaitSumMetrics that returns true if given single sum is greater than given value.
GreaterAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is greater than second.
GreaterOrEqual is an isExpected function for WaitSumMetrics that returns true if given single sum is greater or equal than given value.
Less is an isExpected function for WaitSumMetrics that returns true if given single sum is less than given value.
LessAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is smaller than second.
LessOrEqual is an isExpected function for WaitSumMetrics that returns true if given single sum is less or equal than given value.
NetworkContainerHost return the hostname of the container within the network.
NetworkContainerHostPort return the host:port address of a container within the network.
SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
TimeToMilliseconds returns the input time as milliseconds, using the same formula used by Prometheus in order to get the same timestamp when asserting on query results.
WaitMissingMetrics is an option to wait whenever an expected metric is missing.
WithLabelMatchers is an option to filter only matching series.
WithMetricCount is an option to get the histogram/summary count as metric value.

# Constants

# Variables

# Structs

CmdReadinessProbe checks readiness by `Exec`ing a command (within container) which returns 0 to consider status being ready.
CompositeHTTPService abstract an higher-level service composed, under the hood, by 2+ HTTPService.
ConcreteService represents microservice with optional ports which will be discoverable from docker with <name>:<port>.
HTTPReadinessProbe checks readiness by making HTTP call and checking for expected HTTP status code.
HTTPService represents opinionated microservice with at least HTTP port that as mandatory requirement, serves metrics.
MetricsOptions is the structure holding all options.
TCPReadinessProbe checks readiness by ensure a TCP connection can be established.

# Interfaces

# Type aliases

GetMetricValueFunc defined the signature of a function used to get the metric value.
MetricsOption defined the signature of a function used to manipulate options.