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

Method Client

app/controlplane/pkg/data/ent/mutation.go:14292–14296  ·  view source on GitHub ↗

Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.

()

Source from the content-addressed store, hash-verified

14290// Client returns a new `ent.Client` from the mutation. If the mutation was
14291// executed in a transaction (ent.Tx), a transactional client is returned.
14292func (m UserMutation) Client() *Client {
14293 client := &Client{config: m.config}
14294 client.init()
14295 return client
14296}
14297
14298// Tx returns an `ent.Tx` for mutations that were executed in transactions;
14299// it returns an error otherwise.

Callers 15

IDsMethod · 0.95
withAPITokenIDFunction · 0.45
withAttestationIDFunction · 0.45
withCASBackendIDFunction · 0.45
withCASMappingIDFunction · 0.45
withGroupIDFunction · 0.45
withGroupMembershipIDFunction · 0.45
withIntegrationIDFunction · 0.45
withMembershipIDFunction · 0.45
withOrgInvitationIDFunction · 0.45
withOrganizationIDFunction · 0.45

Calls 1

initMethod · 0.95

Tested by

no test coverage detected