Sync will force the client to send an actual query to the chainloop control plane This is specially important to be run right after Init for example att := chainloop.Init(ctx, token, "main") if err := att.Sync(ctx); err != nil { return nil, err }
(_ context.Context)
| 362 | // return nil, err |
| 363 | // } |
| 364 | func (att *Attestation) Sync(_ context.Context) error { |
| 365 | return nil |
| 366 | } |
| 367 | |
| 368 | // Attach credentials for a container registry. |
| 369 | // Chainloop will use them to query the registry for container image pieces of evidences |
no outgoing calls
no test coverage detected