-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_v1beta1build_details.go
18 lines (16 loc) · 1.11 KB
/
model_v1beta1build_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
* proto/v1beta1/grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gofeas
// Details of a build occurrence.
type V1beta1buildDetails struct {
// Required. The actual provenance for the build.
Provenance *ProvenanceBuildProvenance `json:"provenance,omitempty"`
// Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
ProvenanceBytes string `json:"provenance_bytes,omitempty"`
}