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

Method Status

extras/dagger/main.go:344–353  ·  view source on GitHub ↗

Check the attestation status

(ctx context.Context)

Source from the content-addressed store, hash-verified

342
343// Check the attestation status
344func (att *Attestation) Status(ctx context.Context) (string, error) {
345 return att.
346 Container(0).
347 WithExec([]string{
348 "attestation", "status",
349 "--attestation-id", att.AttestationID,
350 "--full",
351 }, execOpts).
352 Stdout(ctx)
353}
354
355// Sync will force the client to send an actual query to the chainloop control plane
356// This is specially important to be run right after Init

Callers 1

HTTPGetFunction · 0.45

Calls 1

ContainerMethod · 0.95

Tested by

no test coverage detected