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

Method Update

app/controlplane/pkg/data/ent/attestation.go:125–127  ·  view source on GitHub ↗

Update returns a builder for updating this Attestation. Note that you need to call Attestation.Unwrap() before calling this method if this Attestation was returned from a transaction, and the transaction was committed or rolled back.

()

Source from the content-addressed store, hash-verified

123// Note that you need to call Attestation.Unwrap() before calling this method if this Attestation
124// was returned from a transaction, and the transaction was committed or rolled back.
125func (_m *Attestation) Update() *AttestationUpdateOne {
126 return NewAttestationClient(_m.config).UpdateOne(_m)
127}
128
129// Unwrap unwraps the Attestation entity that was returned from a transaction after it was closed,
130// so that all future queries will be executed through the driver which created the transaction.

Callers

nothing calls this directly

Calls 2

NewAttestationClientFunction · 0.85
UpdateOneMethod · 0.45

Tested by

no test coverage detected