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

Function NewCASBackendClient

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

NewCASBackendClient returns a client for the CASBackend from the given config.

(c config)

Source from the content-addressed store, hash-verified

703
704// NewCASBackendClient returns a client for the CASBackend from the given config.
705func NewCASBackendClient(c config) *CASBackendClient {
706 return &CASBackendClient{config: c}
707}
708
709// Use adds a list of mutation hooks to the hooks stack.
710// A call to `Use(f, g, h)` equals to `casbackend.Hooks(f(g(h())))`.

Callers 7

initMethod · 0.85
QueryOrganizationMethod · 0.85
QueryWorkflowRunMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected