Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 750 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 750 Bytes

schemas

Schemas and spec files pertaining to K8sGPT.


When the below commands are used the generated code is placed in the parent directory

Requirements

  • A Go installation
  • You must have your GOPATH environment variable set in order to run these scripts.

The Makefile utilizes Go to install Buf to the GOPATH and execute the binary directly.

Setting up GOPATH

If you don't want to install buf to your global GOPATH, you can also set it for this repository only:

export GOPATH="$(pwd)/vendor/"

Golang:

Generate grpc-gateway, go-grpc and go stubs

make gen-go-server

Generate go-grpc and go stubs

make gen-go