jdolitsky / chainguard-sdk

Public SDK for integrating with the Chainguard platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 v21.12.

Install protoc codegen dependencies:

go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.10.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.10.0

About

Public SDK for integrating with the Chainguard platform

License:Apache License 2.0


Languages

Language:Go 99.2%Language:Shell 0.8%