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

Function createTestContexts

cli/command/context/list_test.go:12–17  ·  view source on GitHub ↗
(t *testing.T, cli command.Cli, name ...string)

Source from the content-addressed store, hash-verified

10)
11
12func createTestContexts(t *testing.T, cli command.Cli, name ...string) {
13 t.Helper()
14 for _, n := range name {
15 createTestContext(t, cli, n, nil)
16 }
17}
18
19func createTestContext(t *testing.T, cli command.Cli, name string, metaData map[string]any) {
20 t.Helper()

Callers 6

TestListFunction · 0.85
TestListQuietFunction · 0.85
TestRemoveFunction · 0.85
TestRemoveNotAContextFunction · 0.85
TestRemoveCurrentFunction · 0.85
TestRemoveCurrentForceFunction · 0.85

Calls 1

createTestContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…