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

Function NewGroupClient

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

NewGroupClient returns a client for the Group from the given config.

(c config)

Source from the content-addressed store, hash-verified

1049
1050// NewGroupClient returns a client for the Group from the given config.
1051func NewGroupClient(c config) *GroupClient {
1052 return &GroupClient{config: c}
1053}
1054
1055// Use adds a list of mutation hooks to the hooks stack.
1056// A call to `Use(f, g, h)` equals to `group.Hooks(f(g(h())))`.

Callers 7

QueryGroupMembershipsMethod · 0.85
QueryOrganizationMethod · 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