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

Function testMetadata

cli/context/store/metadata_test.go:16–24  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

14)
15
16func testMetadata(name string) Metadata {
17 return Metadata{
18 Endpoints: map[string]any{
19 "ep1": endpoint{Foo: "bar"},
20 },
21 Metadata: context{Bar: "baz"},
22 Name: name,
23 }
24}
25
26func TestMetadataGetNotExisting(t *testing.T) {
27 testee := metadataStore{root: t.TempDir(), config: testCfg}

Callers 4

TestMetadataListFunction · 0.85
TestEmptyConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…