vendor: update github.com/in-toto/in-toto-golang v0.10.0 by crazy-max · Pull Request #6533 · moby/buildkit (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Signed-off-by: CrazyMax 1951866+crazy-max@users.noreply.github.com
Comment on lines +16 to 21
| // Deprecated: ProvenancePredicate exists for historical compatibility |
|---|
| // and should not be used. This implementation has been superseded by the |
| // Provenance struct generated from the Protobuf definition provided |
| // by the in-toto Attestation Framework. |
| // https://github.com/in-toto/attestation/tree/main/protos/in\_toto\_attestation/predicates/provenance/v1. |
| type ProvenancePredicate struct { |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: CrazyMax 1951866+crazy-max@users.noreply.github.com
| // format is defined by builder.id; by default it is treated as opaque and |
|---|
| // case-sensitive. The value SHOULD be globally unique. |
| InvocationID string `json:"invocationID,omitempty"` |
| InvocationID string `json:"invocationId,omitempty"` |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to readers that this is a breaking change if your parser is case sensitive (json.Unmarshal is not). No way around it though as this is how it is in the spec.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})