MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / DockerInspect

Function DockerInspect

testutil/docker.go:301–305  ·  view source on GitHub ↗
(containerID string)

Source from the content-addressed store, hash-verified

299}
300
301func DockerInspect(containerID string) (container.InspectResponse, error) {
302 cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
303 x.Check(err)
304 return cli.ContainerInspect(context.Background(), containerID)
305}
306
307// CheckHealthContainer checks health of container and determines wheather container is ready to accept request
308func CheckHealthContainer(socketAddrHttp string) error {

Callers 1

stopClusterFunction · 0.92

Calls 1

CheckFunction · 0.92

Tested by

no test coverage detected