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

Function NewCASMappingClient

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

NewCASMappingClient returns a client for the CASMapping from the given config.

(c config)

Source from the content-addressed store, hash-verified

868
869// NewCASMappingClient returns a client for the CASMapping from the given config.
870func NewCASMappingClient(c config) *CASMappingClient {
871 return &CASMappingClient{config: c}
872}
873
874// Use adds a list of mutation hooks to the hooks stack.
875// A call to `Use(f, g, h)` equals to `casmapping.Hooks(f(g(h())))`.

Callers 8

initMethod · 0.85
QueryCasBackendMethod · 0.85
QueryOrganizationMethod · 0.85
QueryProjectMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected