MCPcopy Create free account
hub / github.com/docker/cli / ref

Function ref

cli/command/manifest/inspect_test.go:22–27  ·  view source on GitHub ↗
(t *testing.T, name string)

Source from the content-addressed store, hash-verified

20)
21
22func ref(t *testing.T, name string) reference.Named {
23 t.Helper()
24 named, err := reference.ParseNamed("example.com/" + name)
25 assert.NilError(t, err)
26 return named
27}
28
29func fullImageManifest(t *testing.T, ref reference.Named) types.ImageManifest {
30 t.Helper()

Callers 7

TestManifestCreateAmendFunction · 0.70
TestManifestPushFunction · 0.70
TestRmSeveralManifestsFunction · 0.70
TestRmManifestNotCreatedFunction · 0.70
TestManifestAnnotateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected