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

Function NewMembershipClient

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

NewMembershipClient returns a client for the Membership from the given config.

(c config)

Source from the content-addressed store, hash-verified

1709
1710// NewMembershipClient returns a client for the Membership from the given config.
1711func NewMembershipClient(c config) *MembershipClient {
1712 return &MembershipClient{config: c}
1713}
1714
1715// Use adds a list of mutation hooks to the hooks stack.
1716// A call to `Use(f, g, h)` equals to `membership.Hooks(f(g(h())))`.

Callers 9

initMethod · 0.85
QueryOrganizationMethod · 0.85
QueryUserMethod · 0.85
QueryParentMethod · 0.85
QueryChildrenMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected