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

Method List

cli/context/store/store.go:116–118  ·  view source on GitHub ↗

List return all contexts.

()

Source from the content-addressed store, hash-verified

114
115// List return all contexts.
116func (s *ContextStore) List() ([]Metadata, error) {
117 return s.meta.list()
118}
119
120// Names return Metadata names for a Lister
121func Names(s Lister) ([]string, error) {

Callers

nothing calls this directly

Calls 1

listMethod · 0.80

Tested by

no test coverage detected