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

Method CurrentContext

cli/command/context/completion.go:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13type contextProvider interface {
14 ContextStore() store.Store
15 CurrentContext() string
16}
17
18// completeContextNames implements shell completion for context-names.

Callers 8

newInspectCommandFunction · 0.65
runRemoveFunction · 0.65
completeContextNamesFunction · 0.65
runShowFunction · 0.65
runCreateFunction · 0.65
runListFunction · 0.65
runInfoFunction · 0.65
runVersionFunction · 0.65

Implementers 3

DockerClicli/command/cli.go
fakeContextProvidercli/command/context/completion_test.go
FakeCliinternal/test/cli.go

Calls

no outgoing calls

Tested by

no test coverage detected