MCPcopy Create free account
hub / github.com/nginx-proxy/docker-gen / TestUnixBadFormat

Function TestUnixBadFormat

internal/dockerclient/docker_cli_test.go:60–66  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestUnixBadFormat(t *testing.T) {
61 endpoint := "unix:/var/run/docker.sock"
62 _, err := GetEndpoint(endpoint)
63 if err == nil {
64 t.Fatal("endpoint should have failed")
65 }
66}
67
68func TestSplitDockerImageRepository(t *testing.T) {
69 registry, repository, tag := SplitDockerImage("ubuntu")

Callers

nothing calls this directly

Calls 1

GetEndpointFunction · 0.85

Tested by

no test coverage detected