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

Function getDockerEndpointMetadataAndTLS

cli/command/context/options.go:132–138  ·  view source on GitHub ↗
(contextStore store.Reader, config map[string]string)

Source from the content-addressed store, hash-verified

130}
131
132func getDockerEndpointMetadataAndTLS(contextStore store.Reader, config map[string]string) (docker.EndpointMeta, *store.EndpointTLSData, error) {
133 ep, err := getDockerEndpoint(contextStore, config)
134 if err != nil {
135 return docker.EndpointMeta{}, nil, err
136 }
137 return ep.EndpointMeta, ep.TLSData.ToStoreTLSData(), nil
138}

Callers 2

runUpdateFunction · 0.85
createNewContextFunction · 0.85

Calls 2

getDockerEndpointFunction · 0.85
ToStoreTLSDataMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…