This repository contains the public gRPC protos supporting our services and packages to ease integration with the Chainguard platform.
After updating a *.proto you'll need to update the corresponding generated go
code.
./hack/update-codegen.shInstall protoc: https://grpc.io/docs/protoc-installation/
Example for MacOS:
brew install protobufWe currently require protoc v5.29.3.
Install protoc codegen dependencies:
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]While we make every effort to maintain backward compatibility and avoid breaking changes, we cannot guarantee that future updates to this SDK will be entirely non-breaking. As our platform evolves and new features are added, some modifications to the API surface may be necessary. We recommend pinning to specific versions in production environments and thoroughly testing updates before deployment.