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

Function WithDefaultContextStoreConfig

cli/command/cli_options.go:79–85  ·  view source on GitHub ↗

WithDefaultContextStoreConfig configures the cli to use the default context store configuration.

()

Source from the content-addressed store, hash-verified

77
78// WithDefaultContextStoreConfig configures the cli to use the default context store configuration.
79func WithDefaultContextStoreConfig() CLIOption {
80 return func(cli *DockerCli) error {
81 cfg := DefaultContextStoreConfig()
82 cli.contextStoreConfig = &cfg
83 return nil
84 }
85}
86
87// WithAPIClient configures the cli to use the given API client.
88func WithAPIClient(c client.APIClient) CLIOption {

Callers 2

InitializeMethod · 0.85
NewDockerCliFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…