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

Function NewProjectClient

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

NewProjectClient returns a client for the Project from the given config.

(c config)

Source from the content-addressed store, hash-verified

2348
2349// NewProjectClient returns a client for the Project from the given config.
2350func NewProjectClient(c config) *ProjectClient {
2351 return &ProjectClient{config: c}
2352}
2353
2354// Use adds a list of mutation hooks to the hooks stack.
2355// A call to `Use(f, g, h)` equals to `project.Hooks(f(g(h())))`.

Callers 8

QueryOrganizationMethod · 0.85
QueryWorkflowsMethod · 0.85
QueryVersionsMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected