MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / GetPlugin

Method GetPlugin

app/cli/pkg/plugins/manager.go:137–140  ·  view source on GitHub ↗

GetPlugin returns a loaded plugin by name.

(name string)

Source from the content-addressed store, hash-verified

135
136// GetPlugin returns a loaded plugin by name.
137func (m *Manager) GetPlugin(name string) (*LoadedPlugin, bool) {
138 plugin, ok := m.plugins[name]
139 return plugin, ok
140}
141
142// GetAllPlugins returns all loaded plugins.
143func (m *Manager) GetAllPlugins() map[string]*LoadedPlugin {

Callers 2

RunMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected