Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/efficientgo/e2e
/ functions
Functions
247 in github.com/efficientgo/e2e
⨍
Functions
247
◇
Types & classes
97
↓ 1 callers
Method
isRegistered
(name string)
env_docker.go:230
↓ 1 callers
Function
newCadvisor
(env e2e.Environment, name string, cgroupPrefixes ...string)
monitoring/monitoring.go:332
↓ 1 callers
Function
newFastRegexMatcher
(v string)
monitoring/matchers/regexp.go:32
↓ 1 callers
Function
optimizeConcatRegex
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 callers
Method
prePullImage
(ctx context.Context)
env_docker.go:614
↓ 1 callers
Method
register
(name string)
env_docker.go:235
↓ 1 callers
Method
registerStarted
(r Runnable)
env_docker.go:239
↓ 1 callers
Method
toString
()
env.go:248
Method
AddCloser
(f func())
env_docker.go:166
Method
AddListener
AddListener registers given listener to be notified on environment runnable changes.
env_docker.go:195
Function
AsObservable
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
Function
AsProfiled
AsProfiled wraps e2e.Runnable with ProfiledRunnable. If runnable is running during invocation AsProfiled panics. NOTE(bwplotka): Caller is expected to
profiling/profiled.go:57
Method
BuildErr
()
env_docker.go:355
Function
Containerize
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
Method
Dir
()
env_docker.go:214
Function
EmptyFlags
()
cli.go:8
Method
Endpoint
(string)
env_docker.go:221
Method
Endpoint
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
Method
Endpoint
(portName string)
monitoring/instrumented_test.go:29
Function
EqualsAmongTwo
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
Function
EqualsSingle
(expected float64)
monitoring/metrics.go:156
Method
Exec
(Command, ...ExecOption)
env_docker.go:220
Method
Exec
Exec runs the provided command against the docker container specified by this service.
env_docker.go:652
Method
Future
()
env_docker.go:228
Method
Future
()
env_docker.go:395
Method
GetMetadata
(any)
env_docker.go:225
Method
GetMetadata
(key any)
env_docker.go:390
Method
GetMonitoringRunnable
GetMonitoringRunnable returns a Prometheus monitoring runnable.
monitoring/monitoring.go:328
Method
GetRegexString
GetRegexString returns the regex string.
monitoring/matchers/matcher.go:115
Method
GetRegexString
()
monitoring/matchers/regexp.go:67
Function
Greater
Greater is an isExpected function for WaitSumMetrics that returns true if given single sum is greater than given value.
monitoring/metrics.go:175
Function
GreaterAmongTwo
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
Function
GreaterOrEqual
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
Method
HostAddr
()
env_docker.go:163
Method
Init
Init returns runnable.
env.go:147
Method
Init
(StartOptions)
env_docker.go:226
Method
Init
(opts StartOptions)
env_docker.go:367
Method
Instances
()
monitoring/instrumented_composite.go:33
Method
InstantQuery
InstantQuery evaluates instant PromQL queries against monitoring service.
monitoring/monitoring.go:308
Method
InternalDir
Deprecated. Use Dir instead. For compatibility Dir() is returned.
env.go:124
Method
InternalDir
()
env_docker.go:215
Method
InternalDir
()
env_docker.go:363
Method
InternalEndpoint
(string)
env_docker.go:222
Method
InternalEndpoint
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
Method
InternalEndpoint
(portName string)
monitoring/instrumented_test.go:25
Method
Inverse
Inverse returns a matcher that matches the opposite.
monitoring/matchers/matcher.go:100
Method
IsRunning
()
env_docker.go:223
Method
Kill
()
env_docker.go:218
Method
Kill
()
env_docker.go:488
Function
Less
Less is an isExpected function for WaitSumMetrics that returns true if given single sum is less than given value.
monitoring/metrics.go:195
Function
LessAmongTwo
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
Method
Log
(keyvals ...interface{})
logger.go:35
Method
MarshalYAML
MarshalYAML implements the yaml.Marshaler interface.
monitoring/promconfig/prometheus.go:207
Method
MarshalYAML
MarshalYAML implements the yaml.Marshaler interface.
monitoring/promconfig/discovery/targetgroup/targetgroup.go:65
Method
MetricTargets
()
monitoring/instrumented_composite.go:37
Method
MetricTargets
()
monitoring/instrumented.go:122
Method
Metrics
()
monitoring/instrumented.go:33
Function
MustNewMatcher
MustNewMatcher panics on error - only for use in tests!
monitoring/matchers/matcher.go:72
Function
MustNewRegexp
MustNewRegexp works like NewRegexp, but panics if the regular expression does not compile.
monitoring/promconfig/prometheus.go:184
Method
Name
Name returns environment name.
env.go:70
Method
Name
()
env_docker.go:164
Method
Name
()
env_docker.go:213
Function
NewBigtable
(env e2e.Environment, name string, opts ...Option)
db/db.go:154
Function
NewCassandra
(env e2e.Environment, name string, opts ...Option)
db/db.go:167
Function
NewCompositeInstrumentedRunnable
(runnables ...*InstrumentedRunnable)
monitoring/instrumented_composite.go:22
Function
NewConsul
(env e2e.Environment, name string, opts ...Option)
db/db.go:121
Function
NewDockerEnvironment
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
Function
NewDynamoDB
(env e2e.Environment, name string, opts ...Option)
db/db.go:138
Function
NewETCD
(env e2e.Environment, name string, opts ...Option)
db/db.go:210
Function
NewHTTPSReadinessProbe
(portName, path string, expectedStatusRangeStart, expectedStatusRangeEnd int, expectedContent ...string)
env.go:292
Function
NewMemcached
(env e2e.Environment, name string, opts ...Option)
db/db.go:196
Function
NewMinio
NewMinio returns minio server, used as a local replacement for S3.
db/db.go:76
Function
NewParca
(env e2e.Environment, name string, opts ...Option)
db/db.go:66
Function
NewPrometheus
(env e2e.Environment, name string, opts ...Option)
db/db.go:57
Function
NewSwiftStorage
(env e2e.Environment, name string, opts ...Option)
db/db.go:182
Function
NewThanosQuerier
(env e2e.Environment, name string, endpointsAddresses []string, opts ...Option)
db/thanos.go:16
Function
NewThanosSidecar
(env e2e.Environment, name string, prom e2e.Linkable, opts ...Option)
db/thanos.go:50
Function
NewThanosStore
(env e2e.Environment, name string, bktConfigYaml []byte, opts ...Option)
db/thanos.go:80
Method
OnRunnableChange
(started []e2e.Runnable)
profiling/profiling.go:160
Method
OnRunnableChange
(started []e2e.Runnable)
monitoring/monitoring.go:181
Function
OpenInBrowser
OpenInBrowser opens given URL in your default browser.
interactive/interactive.go:22
Method
OpenUserInterfaceInBrowser
(paths ...string)
monitoring/monitoring.go:303
Method
ProfileTargets
()
profiling/profiled.go:83
Method
Ready
(runnable Runnable)
env.go:308
Method
Ready
(runnable Runnable)
env.go:356
Method
Ready
(runnable Runnable)
env.go:381
Method
Runnable
(name string)
env_docker.go:170
Method
SetMetadata
(_, _ any)
env_docker.go:224
Method
SetMetadata
(key, value any)
env_docker.go:386
Method
SharedDir
()
env_docker.go:265
Function
SkipMissingMetrics
SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
monitoring/metrics.go:60
Function
Start
Start deploys monitoring service which deploys Parca that collects profiles from all ProfiledRunnable instances in environment created with AsProfiled
profiling/profiling.go:196
Function
Start
Start deploys monitoring service which deploys Prometheus that monitors all InstrumentedRunnable instances in an environment created with AsInstrument
monitoring/monitoring.go:234
Method
Start
()
env_docker.go:216
Method
Start
Start starts runnable.
env_docker.go:404
Method
Stop
()
env_docker.go:219
Method
Stop
()
env_docker.go:474
Method
String
()
monitoring/promconfig/discovery/targetgroup/targetgroup.go:41
Method
String
()
monitoring/matchers/matcher.go:32
Function
TestDockerEnvironment
(t *testing.T)
env_docker_ext_test.go:23
← previous
next →
101–200 of 247, ranked by callers