Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 842 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 842 Bytes

SDK

This repository contains the public gRPC protos supporting our services and packages to ease integration with the Chainguard platform.

Updating *.proto files

After updating a *.proto you'll need to update the corresponding generated go code.

./hack/update-codegen.sh

Prerequisites

Install protoc: https://grpc.io/docs/protoc-installation/

Example for MacOS:

brew install protobuf

We 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]