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

Method SetRegistryClient

internal/test/cli.go:175–177  ·  view source on GitHub ↗

SetRegistryClient on the fake cli

(registryClient registryclient.RegistryClient)

Source from the content-addressed store, hash-verified

173
174// SetRegistryClient on the fake cli
175func (c *FakeCli) SetRegistryClient(registryClient registryclient.RegistryClient) {
176 c.registryClient = registryClient
177}
178
179// BuildKitEnabled on the fake cli
180func (*FakeCli) BuildKitEnabled() (bool, error) {

Callers 4

TestManifestPushFunction · 0.95

Calls

no outgoing calls

Tested by 4

TestManifestPushFunction · 0.76