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

Method Sync

extras/dagger/main.go:364–366  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

362// return nil, err
363// }
364func (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

Callers 3

InitZapLoggerFunction · 0.80
AddFileEvidenceMethod · 0.80
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected