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

Function NewOrganizationClient

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

NewOrganizationClient returns a client for the Organization from the given config.

(c config)

Source from the content-addressed store, hash-verified

2071
2072// NewOrganizationClient returns a client for the Organization from the given config.
2073func NewOrganizationClient(c config) *OrganizationClient {
2074 return &OrganizationClient{config: c}
2075}
2076
2077// Use adds a list of mutation hooks to the hooks stack.
2078// A call to `Use(f, g, h)` equals to `organization.Hooks(f(g(h())))`.

Callers 14

initMethod · 0.85
QueryMembershipsMethod · 0.85
QueryWorkflowsMethod · 0.85
QueryWorkflowrunsMethod · 0.85
QueryCasBackendsMethod · 0.85
QueryIntegrationsMethod · 0.85
QueryAPITokensMethod · 0.85
QueryProjectsMethod · 0.85
QueryGroupsMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected