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

Function listPluginCandidates

cli-plugins/manager/manager.go:91–97  ·  view source on GitHub ↗

listPluginCandidates returns a map from plugin name to the list of (unvalidated) Candidates. The list is in descending order of priority.

(dirs []string)

Source from the content-addressed store, hash-verified

89
90// listPluginCandidates returns a map from plugin name to the list of (unvalidated) Candidates. The list is in descending order of priority.
91func listPluginCandidates(dirs []string) map[string][]string {
92 result := make(map[string][]string)
93 for _, d := range dirs {
94 addPluginCandidatesFromDir(result, d)
95 }
96 return result
97}
98
99// GetPlugin returns a plugin on the system by its name
100func GetPlugin(name string, dockerCLI config.Provider, rootcmd *cobra.Command) (*Plugin, error) {

Callers 5

TestListPluginCandidatesFunction · 0.85
getPluginFunction · 0.85
ListPluginsFunction · 0.85

Calls 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…