# Functions
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
NetworkContainerHost return the hostname of the container within the network.
NetworkContainerHostPort return the host:port address of a container within the network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
No description provided by the author
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
No description provided by the author
# Variables
No description provided by the author
# Structs
CmdReadinessProbe checks readiness by `Exec`ing a command (within container) which returns 0 to consider status being ready.
No description provided by the author
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.
No description provided by the author
No description provided by the author
MetricsOptions is the structure holding all options.
No description provided by the author
TCPReadinessProbe checks readiness by ensure a TCP connection can be established.
# 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.