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

Interface Integration

app/controlplane/plugins/sdk/v1/integrations.go:32–40  ·  view source on GitHub ↗

Integration is the basic interface for all integrations

Source from the content-addressed store, hash-verified

30
31// Integration is the basic interface for all integrations
32type Integration interface {
33 fmt.Stringer
34
35 Describe() *IntegrationInfo
36 // Register Validates, marshalls and returns the configuration that needs to be persisted
37 Register(ctx context.Context, req *RegistrationRequest) (*RegistrationResponse, error)
38 // Attach Validates that the attachment configuration is valid in the context of the provided registration
39 Attach(ctx context.Context, req *AttachmentRequest) (*AttachmentResponse, error)
40}
41
42type InputSchema struct {
43 // Structs defining the registration and attachment schemas

Callers 13

RegisterMethod · 0.95
TestInitDispatchQueueMethod · 0.65
DescribeMethod · 0.65
GetContractMethod · 0.65
InitMethod · 0.65
ListAvailableMethod · 0.65
doLoadFunction · 0.65
RegisterAndSaveMethod · 0.65
NewGRPCServerFunction · 0.65
initFunction · 0.65
NewGRPCServerFunction · 0.65

Implementers 5

fanOutGRPCServerapp/controlplane/plugins/sdk/v1/plugin
fanOutGRPCClientapp/controlplane/plugins/sdk/v1/plugin
fanoutServiceClientapp/controlplane/plugins/sdk/v1/plugin
UnimplementedFanoutServiceServerapp/controlplane/plugins/sdk/v1/plugin
FanOutapp/controlplane/plugins/sdk/v1/mocks/

Calls

no outgoing calls

Tested by

no test coverage detected