Check the attestation status
(ctx context.Context)
| 342 | |
| 343 | // Check the attestation status |
| 344 | func (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 |