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

Method Get

cli/config/credentials/credentials.go:12–12  ·  view source on GitHub ↗

Get retrieves credentials from the store for a given server.

(serverAddress string)

Source from the content-addressed store, hash-verified

10 Erase(serverAddress string) error
11 // Get retrieves credentials from the store for a given server.
12 Get(serverAddress string) (types.AuthConfig, error)
13 // GetAll retrieves all the credentials from the store.
14 GetAll() (map[string]types.AuthConfig, error)
15 // Store saves credentials in the store.

Callers 15

ResourceMethod · 0.65
parseFunction · 0.65
TestSearchContextWriteFunction · 0.65
TestTaskContextWriteFunction · 0.65
TestServiceContextWriteFunction · 0.65
TestInspectFunction · 0.65
TestManifestCreateAmendFunction · 0.65
runInspectFunction · 0.65
runManifestAnnotateFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestSearchContextWriteFunction · 0.52
TestTaskContextWriteFunction · 0.52
TestServiceContextWriteFunction · 0.52
TestInspectFunction · 0.52
TestManifestCreateAmendFunction · 0.52
TestManifestAnnotateFunction · 0.52
TestFileStoreIdempotentFunction · 0.52