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

Method UpdateOneID

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

UpdateOneID returns an update builder for the given id.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

428
429// UpdateOneID returns an update builder for the given id.
430func (c *APITokenClient) UpdateOneID(id uuid.UUID) *APITokenUpdateOne {
431 mutation := newAPITokenMutation(c.config, OpUpdateOne, withAPITokenID(id))
432 return &APITokenUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
433}
434
435// Delete returns a delete builder for APIToken.
436func (c *APITokenClient) Delete() *APITokenDelete {

Callers

nothing calls this directly

Calls 3

HooksMethod · 0.95
newAPITokenMutationFunction · 0.85
withAPITokenIDFunction · 0.85

Tested by

no test coverage detected