Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
116
func
(s *ContextStore) List() ([]Metadata, error) {
117
return
s.meta.list()
118
}
119
120
// Names return Metadata names for a Lister
121
func
Names(s Lister) ([]string, error) {
Callers
nothing calls this directly
Calls
1
list
Method · 0.80
Tested by
no test coverage detected