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

Interface Provider

cli/config/config.go:72–74  ·  view source on GitHub ↗

Provider defines an interface for providing the CLI config.

Source from the content-addressed store, hash-verified

70
71// Provider defines an interface for providing the CLI config.
72type Provider interface {
73 ConfigFile() *configfile.ConfigFile
74}
75
76// Dir returns the directory the configuration file is stored in
77func Dir() string {

Callers 8

mainFunction · 0.65
RunCLICommandHooksFunction · 0.65
RunPluginHooksFunction · 0.65
GetPluginFunction · 0.65
ListPluginsFunction · 0.65
PluginRunCommandFunction · 0.65
PruneFiltersFunction · 0.65
RunStartFunction · 0.65

Implementers 4

fakeConfigProvidercli-plugins/manager/hooks_test.go
DockerClicli/command/cli.go
FakeCliinternal/test/cli.go
FakeClicmd/docker-trust/internal/test/cli.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…