MCPcopy Create free account
hub / github.com/efficientgo/e2e / Endpoint

Method Endpoint

env.go:183–183  ·  view source on GitHub ↗

Endpoint returns external runnable endpoint (host:port) for given port name. External means that it will be accessible only from host, but not from docker containers. If your service is not running, this method returns incorrect `stopped` endpoint.

(portName string)

Source from the content-addressed store, hash-verified

181 //
182 // If your service is not running, this method returns incorrect `stopped` endpoint.
183 Endpoint(portName string) string
184
185 // SetMetadata allows setting extra metadata describing runnable.
186 SetMetadata(key, value any)

Callers 10

ReadyMethod · 0.65
ReadyMethod · 0.65
TestDockerEnvironmentFunction · 0.65
TestExampleAppFunction · 0.65
deployWithMonitoringFunction · 0.65
TestExampleFunction · 0.65
MetricsMethod · 0.65
InstantQueryMethod · 0.65

Implementers 2

errorerenv_docker.go
dockerRunnableenv_docker.go

Calls

no outgoing calls

Tested by 3

TestDockerEnvironmentFunction · 0.52
TestExampleAppFunction · 0.52
TestExampleFunction · 0.52