-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bake: implement composable attributes for attestations #2848
bake: implement composable attributes for attestations #2848
Conversation
Depends on #2814. |
1c6b5ef
to
86061dd
Compare
@@ -10,6 +12,167 @@ import ( | |||
"github.com/tonistiigi/go-csvvalue" | |||
) | |||
|
|||
type Attests []*Attest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These types with ToPB/String/(Un)Marshal*/FromToCty
are good candidates for unit tests. Some part of the helpers can probably be shared. I'm worried about cases where somebody makes a change in one of these functions but forgets to make a matching change in another.
86061dd
to
14ce964
Compare
Signed-off-by: Jonathan A. Sternberg <[email protected]>
14ce964
to
4f81bcb
Compare
We can leave the unit tests for follow-up as it contains fields not in this PR. |
No description provided.