Skip to content

Commit 7842a39

Browse files
committed
api: Added OCI runtime spec field to measure request
Signed-off-by: Simon Ott <[email protected]>
1 parent 3a9fba9 commit 7842a39

File tree

4 files changed

+72
-60
lines changed

4 files changed

+72
-60
lines changed

Diff for: api/api.go

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ type MeasureRequest struct {
5757
Name string `json:"name,omitempty" cbor:"0,keyasint,omitempty"`
5858
ConfigSha256 []byte `json:"configSha256,omitempty" cbor:"1,keyasint,omitempty"`
5959
RootfsSha256 []byte `json:"rootfsSha256,omitempty" cbor:"2,keyasint,omitempty"`
60+
OciSpec []byte `json:"ociSpec,omitempty" cbor:"3,keyasint,omitempty"`
6061
}
6162

6263
type MeasureResponse struct {

Diff for: grpcapi/grpcapi.pb.go

+69-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: grpcapi/grpcapi.proto

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ message MeasureRequest {
107107
string name = 1;
108108
bytes ConfigSha256 = 2;
109109
bytes RootfsSha256 = 3;
110+
bytes OciSpec = 4;
110111
}
111112

112113
message MeasureResponse {

Diff for: grpcapi/grpcapi_grpc.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)