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

Method Update

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

Update returns an update builder for APIToken.

()

Source from the content-addressed store, hash-verified

416
417// Update returns an update builder for APIToken.
418func (c *APITokenClient) Update() *APITokenUpdate {
419 mutation := newAPITokenMutation(c.config, OpUpdate)
420 return &APITokenUpdate{config: c.config, hooks: c.Hooks(), mutation: mutation}
421}
422
423// UpdateOne returns an update builder for the given entity.
424func (c *APITokenClient) UpdateOne(_m *APIToken) *APITokenUpdateOne {

Callers

nothing calls this directly

Calls 2

HooksMethod · 0.95
newAPITokenMutationFunction · 0.85

Tested by

no test coverage detected