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

Function EndpointTypeGetter

cli/context/store/storeconfig.go:18–23  ·  view source on GitHub ↗

EndpointTypeGetter returns a NamedTypeGetter with the specified name and getter

(name string, getter TypeGetter)

Source from the content-addressed store, hash-verified

16
17// EndpointTypeGetter returns a NamedTypeGetter with the specified name and getter
18func EndpointTypeGetter(name string, getter TypeGetter) NamedTypeGetter {
19 return NamedTypeGetter{
20 name: name,
21 typeGetter: getter,
22 }
23}
24
25// Config is used to configure the metadata marshaler of the context ContextStore
26type Config struct {

Callers 2

store_test.goFile · 0.85
TestConfigModificationFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestConfigModificationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…