MCPcopy Create free account

hub / github.com/efficientgo/e2e / functions

Functions247 in github.com/efficientgo/e2e

↓ 1 callersMethodisRegistered
(name string)
env_docker.go:230
↓ 1 callersFunctionnewCadvisor
(env e2e.Environment, name string, cgroupPrefixes ...string)
monitoring/monitoring.go:332
↓ 1 callersFunctionnewFastRegexMatcher
(v string)
monitoring/matchers/regexp.go:32
↓ 1 callersFunctionoptimizeConcatRegex
optimizeConcatRegex returns literal prefix/suffix text that can be safely checked against the label value before running the regexp matcher.
monitoring/matchers/regexp.go:73
↓ 1 callersMethodprePullImage
(ctx context.Context)
env_docker.go:614
↓ 1 callersMethodregister
(name string)
env_docker.go:235
↓ 1 callersMethodregisterStarted
(r Runnable)
env_docker.go:239
↓ 1 callersMethodtoString
()
env.go:248
MethodAddCloser
(f func())
env_docker.go:166
MethodAddListener
AddListener registers given listener to be notified on environment runnable changes.
env_docker.go:195
FunctionAsObservable
AsObservable wraps e2e.Runnable with Observable. If runnable is running during invocation AsObservable panics. NOTE(bwplotka): Caller is expected to d
observable/observable.go:62
FunctionAsProfiled
AsProfiled wraps e2e.Runnable with ProfiledRunnable. If runnable is running during invocation AsProfiled panics. NOTE(bwplotka): Caller is expected to
profiling/profiled.go:57
MethodBuildErr
()
env_docker.go:355
FunctionContainerize
Containerize inspects startFn and builds Go shim with local process endpoint that imports given `startFn` function. Binary is then put in adhoc contai
local.go:20
MethodDir
()
env_docker.go:214
FunctionEmptyFlags
()
cli.go:8
MethodEndpoint
(string)
env_docker.go:221
MethodEndpoint
Endpoint returns external (from host perspective) service endpoint (host:port) for given port name. External means that it will be accessible only fro
env_docker.go:512
MethodEndpoint
(portName string)
monitoring/instrumented_test.go:29
FunctionEqualsAmongTwo
EqualsAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is equal to the second. NOTE: Be careful on scrapes in betw
monitoring/metrics.go:207
FunctionEqualsSingle
(expected float64)
monitoring/metrics.go:156
MethodExec
(Command, ...ExecOption)
env_docker.go:220
MethodExec
Exec runs the provided command against the docker container specified by this service.
env_docker.go:652
MethodFuture
()
env_docker.go:228
MethodFuture
()
env_docker.go:395
MethodGetMetadata
(any)
env_docker.go:225
MethodGetMetadata
(key any)
env_docker.go:390
MethodGetMonitoringRunnable
GetMonitoringRunnable returns a Prometheus monitoring runnable.
monitoring/monitoring.go:328
MethodGetRegexString
GetRegexString returns the regex string.
monitoring/matchers/matcher.go:115
MethodGetRegexString
()
monitoring/matchers/regexp.go:67
FunctionGreater
Greater is an isExpected function for WaitSumMetrics that returns true if given single sum is greater than given value.
monitoring/metrics.go:175
FunctionGreaterAmongTwo
GreaterAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is greater than second. NOTE: Be careful on scrapes in bet
monitoring/metrics.go:217
FunctionGreaterOrEqual
GreaterOrEqual is an isExpected function for WaitSumMetrics that returns true if given single sum is greater or equal than given value.
monitoring/metrics.go:185
MethodHostAddr
()
env_docker.go:163
MethodInit
Init returns runnable.
env.go:147
MethodInit
(StartOptions)
env_docker.go:226
MethodInit
(opts StartOptions)
env_docker.go:367
MethodInstances
()
monitoring/instrumented_composite.go:33
MethodInstantQuery
InstantQuery evaluates instant PromQL queries against monitoring service.
monitoring/monitoring.go:308
MethodInternalDir
Deprecated. Use Dir instead. For compatibility Dir() is returned.
env.go:124
MethodInternalDir
()
env_docker.go:215
MethodInternalDir
()
env_docker.go:363
MethodInternalEndpoint
(string)
env_docker.go:222
MethodInternalEndpoint
InternalEndpoint returns internal service endpoint (host:port) for given internal port. Internal means that it will be accessible only from docker con
env_docker.go:531
MethodInternalEndpoint
(portName string)
monitoring/instrumented_test.go:25
MethodInverse
Inverse returns a matcher that matches the opposite.
monitoring/matchers/matcher.go:100
MethodIsRunning
()
env_docker.go:223
MethodKill
()
env_docker.go:218
MethodKill
()
env_docker.go:488
FunctionLess
Less is an isExpected function for WaitSumMetrics that returns true if given single sum is less than given value.
monitoring/metrics.go:195
FunctionLessAmongTwo
LessAmongTwo is an isExpected function for WaitSumMetrics that returns true if first sum is smaller than second. NOTE: Be careful on scrapes in betwee
monitoring/metrics.go:227
MethodLog
(keyvals ...interface{})
logger.go:35
MethodMarshalYAML
MarshalYAML implements the yaml.Marshaler interface.
monitoring/promconfig/prometheus.go:207
MethodMarshalYAML
MarshalYAML implements the yaml.Marshaler interface.
monitoring/promconfig/discovery/targetgroup/targetgroup.go:65
MethodMetricTargets
()
monitoring/instrumented_composite.go:37
MethodMetricTargets
()
monitoring/instrumented.go:122
MethodMetrics
()
monitoring/instrumented.go:33
FunctionMustNewMatcher
MustNewMatcher panics on error - only for use in tests!
monitoring/matchers/matcher.go:72
FunctionMustNewRegexp
MustNewRegexp works like NewRegexp, but panics if the regular expression does not compile.
monitoring/promconfig/prometheus.go:184
MethodName
Name returns environment name.
env.go:70
MethodName
()
env_docker.go:164
MethodName
()
env_docker.go:213
FunctionNewBigtable
(env e2e.Environment, name string, opts ...Option)
db/db.go:154
FunctionNewCassandra
(env e2e.Environment, name string, opts ...Option)
db/db.go:167
FunctionNewCompositeInstrumentedRunnable
(runnables ...*InstrumentedRunnable)
monitoring/instrumented_composite.go:22
FunctionNewConsul
(env e2e.Environment, name string, opts ...Option)
db/db.go:121
FunctionNewDockerEnvironment
NewDockerEnvironment creates new, isolated docker environment. The `name` option is now deprecated and is equivalent to `e2e.WithName()`. Feel free to
env_docker.go:83
FunctionNewDynamoDB
(env e2e.Environment, name string, opts ...Option)
db/db.go:138
FunctionNewETCD
(env e2e.Environment, name string, opts ...Option)
db/db.go:210
FunctionNewHTTPSReadinessProbe
(portName, path string, expectedStatusRangeStart, expectedStatusRangeEnd int, expectedContent ...string)
env.go:292
FunctionNewMemcached
(env e2e.Environment, name string, opts ...Option)
db/db.go:196
FunctionNewMinio
NewMinio returns minio server, used as a local replacement for S3.
db/db.go:76
FunctionNewParca
(env e2e.Environment, name string, opts ...Option)
db/db.go:66
FunctionNewPrometheus
(env e2e.Environment, name string, opts ...Option)
db/db.go:57
FunctionNewSwiftStorage
(env e2e.Environment, name string, opts ...Option)
db/db.go:182
FunctionNewThanosQuerier
(env e2e.Environment, name string, endpointsAddresses []string, opts ...Option)
db/thanos.go:16
FunctionNewThanosSidecar
(env e2e.Environment, name string, prom e2e.Linkable, opts ...Option)
db/thanos.go:50
FunctionNewThanosStore
(env e2e.Environment, name string, bktConfigYaml []byte, opts ...Option)
db/thanos.go:80
MethodOnRunnableChange
(started []e2e.Runnable)
profiling/profiling.go:160
MethodOnRunnableChange
(started []e2e.Runnable)
monitoring/monitoring.go:181
FunctionOpenInBrowser
OpenInBrowser opens given URL in your default browser.
interactive/interactive.go:22
MethodOpenUserInterfaceInBrowser
(paths ...string)
monitoring/monitoring.go:303
MethodProfileTargets
()
profiling/profiled.go:83
MethodReady
(runnable Runnable)
env.go:308
MethodReady
(runnable Runnable)
env.go:356
MethodReady
(runnable Runnable)
env.go:381
MethodRunnable
(name string)
env_docker.go:170
MethodSetMetadata
(_, _ any)
env_docker.go:224
MethodSetMetadata
(key, value any)
env_docker.go:386
MethodSharedDir
()
env_docker.go:265
FunctionSkipMissingMetrics
SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
monitoring/metrics.go:60
FunctionStart
Start deploys monitoring service which deploys Parca that collects profiles from all ProfiledRunnable instances in environment created with AsProfiled
profiling/profiling.go:196
FunctionStart
Start deploys monitoring service which deploys Prometheus that monitors all InstrumentedRunnable instances in an environment created with AsInstrument
monitoring/monitoring.go:234
MethodStart
()
env_docker.go:216
MethodStart
Start starts runnable.
env_docker.go:404
MethodStop
()
env_docker.go:219
MethodStop
()
env_docker.go:474
MethodString
()
monitoring/promconfig/discovery/targetgroup/targetgroup.go:41
MethodString
()
monitoring/matchers/matcher.go:32
FunctionTestDockerEnvironment
(t *testing.T)
env_docker_ext_test.go:23
← previousnext →101–200 of 247, ranked by callers