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

Method SetContextStore

internal/test/cli.go:79–81  ·  view source on GitHub ↗

SetContextStore sets the "fake" context store

(contextStore store.Store)

Source from the content-addressed store, hash-verified

77
78// SetContextStore sets the "fake" context store
79func (c *FakeCli) SetContextStore(contextStore store.Store) {
80 c.contextStore = contextStore
81}
82
83// SetCurrentContext sets the "fake" current context
84func (c *FakeCli) SetCurrentContext(name string) {

Callers 1

makeFakeCliFunction · 0.95

Calls

no outgoing calls

Tested by 1

makeFakeCliFunction · 0.76