Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
13
type
contextProvider
interface
{
14
ContextStore() store.Store
15
CurrentContext() string
16
}
17
18
// completeContextNames implements shell completion for context-names.
Callers
8
newInspectCommand
Function · 0.65
runRemove
Function · 0.65
completeContextNames
Function · 0.65
runShow
Function · 0.65
runCreate
Function · 0.65
runList
Function · 0.65
runInfo
Function · 0.65
runVersion
Function · 0.65
Implementers
3
DockerCli
cli/command/cli.go
fakeContextProvider
cli/command/context/completion_test.go
FakeCli
internal/test/cli.go
Calls
no outgoing calls
Tested by
no test coverage detected