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

Function NewPluginList

app/cli/pkg/action/plugin_actions.go:83–85  ·  view source on GitHub ↗

NewPluginList creates a new PluginList action

(cfg *ActionsOpts, manager *plugins.Manager)

Source from the content-addressed store, hash-verified

81
82// NewPluginList creates a new PluginList action
83func NewPluginList(cfg *ActionsOpts, manager *plugins.Manager) *PluginList {
84 return &PluginList{cfg: cfg, manager: manager}
85}
86
87// Run executes the PluginList action
88func (action *PluginList) Run(_ context.Context) (*PluginListResult, error) {

Callers 1

newPluginListCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected