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

Function NewIntegrationClient

app/controlplane/pkg/data/ent/client.go:1381–1383  ·  view source on GitHub ↗

NewIntegrationClient returns a client for the Integration from the given config.

(c config)

Source from the content-addressed store, hash-verified

1379
1380// NewIntegrationClient returns a client for the Integration from the given config.
1381func NewIntegrationClient(c config) *IntegrationClient {
1382 return &IntegrationClient{config: c}
1383}
1384
1385// Use adds a list of mutation hooks to the hooks stack.
1386// A call to `Use(f, g, h)` equals to `integration.Hooks(f(g(h())))`.

Callers 7

initMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85
QueryAttachmentsMethod · 0.85
QueryOrganizationMethod · 0.85
UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected