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

Method ListTLSFiles

cli/context/store/store.go:196–198  ·  view source on GitHub ↗

ListTLSFiles returns the list of TLS files present for each endpoint in the context.

(name string)

Source from the content-addressed store, hash-verified

194// ListTLSFiles returns the list of TLS files present for each endpoint in the
195// context.
196func (s *ContextStore) ListTLSFiles(name string) (map[string]EndpointFiles, error) {
197 return s.tls.listContextData(name)
198}
199
200// GetTLSData reads, and returns the content of the given fileName for an endpoint.
201// It returns an errdefs.ErrNotFound if the file was not found.

Callers

nothing calls this directly

Calls 1

listContextDataMethod · 0.80

Tested by

no test coverage detected