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

Method Update

app/controlplane/pkg/data/ent/workflow.go:357–359  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

355// Note that you need to call Workflow.Unwrap() before calling this method if this Workflow
356// was returned from a transaction, and the transaction was committed or rolled back.
357func (_m *Workflow) Update() *WorkflowUpdateOne {
358 return NewWorkflowClient(_m.config).UpdateOne(_m)
359}
360
361// Unwrap unwraps the Workflow entity that was returned from a transaction after it was closed,
362// so that all future queries will be executed through the driver which created the transaction.

Callers

nothing calls this directly

Calls 2

NewWorkflowClientFunction · 0.85
UpdateOneMethod · 0.45

Tested by

no test coverage detected