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

Method MarkFailed

extras/dagger/main.go:784–791  ·  view source on GitHub ↗

Mark the attestation as failed

(
	ctx context.Context,
	// The reason for canceling, in human-readable form
	// +optional
	reason string,
)

Source from the content-addressed store, hash-verified

782
783// Mark the attestation as failed
784func (att *Attestation) MarkFailed(
785 ctx context.Context,
786 // The reason for canceling, in human-readable form
787 // +optional
788 reason string,
789) error {
790 return att.reset(ctx, "failure", reason)
791}
792
793// Mark the attestation as canceled
794func (att *Attestation) MarkCanceled(

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected