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

Method SetConfigFile

internal/test/cli.go:74–76  ·  view source on GitHub ↗

SetConfigFile sets the "fake" config file

(configFile *configfile.ConfigFile)

Source from the content-addressed store, hash-verified

72
73// SetConfigFile sets the "fake" config file
74func (c *FakeCli) SetConfigFile(configFile *configfile.ConfigFile) {
75 c.configfile = configFile
76}
77
78// SetContextStore sets the "fake" context store
79func (c *FakeCli) SetContextStore(contextStore store.Store) {

Callers 15

TestGetPluginFunction · 0.95
TestListPluginsIsSortedFunction · 0.95
TestGetPluginDirsFunction · 0.95
TestRunLoginFunction · 0.95
TestLoginNonInteractiveFunction · 0.95
TestLoginTerminationFunction · 0.95
TestStackPsFunction · 0.95

Calls

no outgoing calls

Tested by 15

TestGetPluginFunction · 0.76
TestListPluginsIsSortedFunction · 0.76
TestGetPluginDirsFunction · 0.76
TestRunLoginFunction · 0.76
TestLoginNonInteractiveFunction · 0.76
TestLoginTerminationFunction · 0.76
TestStackPsFunction · 0.76