MCPcopy Index your code
hub / github.com/docker/cli / testDefaultMetadata

Function testDefaultMetadata

cli/command/defaultcontextstore_test.go:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32)
33
34func testDefaultMetadata() store.Metadata {
35 return store.Metadata{
36 Endpoints: map[string]any{
37 "ep1": endpoint{Foo: "bar"},
38 },
39 Metadata: testContext{Bar: "baz"},
40 Name: DefaultContextName,
41 }
42}
43
44func testStore(t *testing.T, meta store.Metadata, tls store.ContextTLSData) store.Store {
45 t.Helper()

Callers 7

TestExportDefaultImportFunction · 0.85
TestListDefaultContextFunction · 0.85
TestErrCreateDefaultFunction · 0.85
TestErrRemoveDefaultFunction · 0.85
TestErrTLSDataErrorFunction · 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…