Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions app/controlplane/api/controlplane/v1/.mockery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
all: false
formatter: goimports
include-auto-generated: false
log-level: info
recursive: false
require-template-schema-exists: true
template: testify
template-schema: "{{.Template}}.schema.json"
packages:
github.com/chainloop-dev/chainloop/app/controlplane/api/controlplane/v1:
config:
dir: "{{.InterfaceDir}}/mocks"
filename: "{{.InterfaceName}}.go"
pkgname: mocks
structname: "{{.InterfaceName}}"
interfaces:
AttestationStateServiceClient:
18 changes: 14 additions & 4 deletions app/controlplane/api/controlplane/v1/attestation_state.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions app/controlplane/api/controlplane/v1/attestation_state.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2024 The Chainloop Authors.
// Copyright 2024-2026 The Chainloop Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -53,7 +53,10 @@ message AttestationStateServiceSaveRequest {
string base_digest = 3;
}

message AttestationStateServiceSaveResponse {}
message AttestationStateServiceSaveResponse {
// digest of the newly saved attestation state for Optimistic Concurrency Control
string digest = 1;
}

message AttestationStateServiceReadRequest {
string workflow_run_id = 1 [(buf.validate.field).string = {min_len: 1}];
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading