MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / NewPluginManager

Function NewPluginManager

network/plugins.go:376–382  ·  view source on GitHub ↗
(plugin NetworkPlugin)

Source from the content-addressed store, hash-verified

374}
375
376func NewPluginManager(plugin NetworkPlugin) *PluginManager {
377 metrics.Register()
378 return &PluginManager{
379 plugin: plugin,
380 pods: make(map[string]*podLock),
381 }
382}
383
384func (pm *PluginManager) PluginName() string {
385 return pm.plugin.Name()

Callers 8

TestPluginManagerFunction · 0.92
TestSetUpPodFailureFunction · 0.92
newTestDockerServiceFunction · 0.92
TestStatusFunction · 0.92
NewDockerServiceFunction · 0.92

Calls 1

RegisterFunction · 0.92

Tested by 7

TestPluginManagerFunction · 0.74
TestSetUpPodFailureFunction · 0.74
newTestDockerServiceFunction · 0.74
TestStatusFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…