MCPcopy Create free account
hub / github.com/docker/cli / GetMetadata

Method GetMetadata

cli/context/store/store.go:34–34  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

32// Reader provides read-only (without list) access to context data
33type Reader interface {
34 GetMetadata(name string) (Metadata, error)
35 ListTLSFiles(name string) (map[string]EndpointFiles, error)
36 GetTLSData(contextName, endpointName, fileName string) ([]byte, error)
37}

Callers 15

InitializeMethod · 0.65
resolveDockerEndpointFunction · 0.65
GetMetadataMethod · 0.65
TestExportDefaultImportFunction · 0.65
TestCreateFromContextFunction · 0.65
TestCreateFromCurrentFunction · 0.65
runInspectFunction · 0.65
TestExportImportWithFileFunction · 0.65
TestExportImportPipeFunction · 0.65
getDockerEndpointFunction · 0.65

Implementers 2

ContextStoreWithDefaultcli/command/defaultcontextstore.go
ContextStorecli/context/store/store.go

Calls

no outgoing calls

Tested by 13

TestExportDefaultImportFunction · 0.52
TestCreateFromContextFunction · 0.52
TestCreateFromCurrentFunction · 0.52
TestExportImportWithFileFunction · 0.52
TestExportImportPipeFunction · 0.52
TestUpdateDockerOnlyFunction · 0.52
TestRemoveFunction · 0.52
TestExportImportFunction · 0.52
TestRemoveFunction · 0.52
TestErrHasCorrectContextFunction · 0.52