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

Method Exec

app/cli/pkg/plugins/interface.go:25–25  ·  view source on GitHub ↗

Exec executes a command within the plugin

(ctx context.Context, config PluginExecConfig)

Source from the content-addressed store, hash-verified

23type Plugin interface {
24 // Exec executes a command within the plugin
25 Exec(ctx context.Context, config PluginExecConfig) (*PluginExecResult, error)
26
27 // GetMetadata returns plugin metadata including commands it provides
28 GetMetadata(ctx context.Context) (PluginMetadata, error)

Callers 15

TearDownSubTestMethod · 0.65
TearDownTestMethod · 0.65
TearDownSubTestMethod · 0.65
TestListMethod · 0.65
TestCreateMethod · 0.65
TearDownSubTestMethod · 0.65
TearDownTestMethod · 0.65
TestListMembersMethod · 0.65
TearDownTestMethod · 0.65
TearDownTestMethod · 0.65
TearDownTestMethod · 0.65

Implementers 2

RPCClientapp/cli/pkg/plugins/client.go
RPCServerapp/cli/pkg/plugins/client.go

Calls

no outgoing calls

Tested by 13

TearDownSubTestMethod · 0.52
TearDownTestMethod · 0.52
TearDownSubTestMethod · 0.52
TestListMethod · 0.52
TestCreateMethod · 0.52
TearDownSubTestMethod · 0.52
TearDownTestMethod · 0.52
TestListMembersMethod · 0.52
TearDownTestMethod · 0.52
TearDownTestMethod · 0.52
TearDownTestMethod · 0.52