Files
ziti/pb/edge_ctrl_pb/README.md
T
Andrew Martinez a3789c063a adds support of API Session Certificates
- adds ability for any authenticated API Session to create ephemeral
 certificates
- allows UPDB session connection
- adds create/delete/read of current api session certificates
- add session cert pem result on create and detail
- fixes ER not updating sessions with new certs from API session
- fixes naming of session vs apiSession on members, functions, etc
- organizes ER state manager functions into apiSession vs session
- adds api session ids to api sessions and sessions sent from the
  controller to ERs
- ensure api and ns fingerprints are the same
- filter api session certs by valid periods
- clarify fingerprint func naming
2021-01-06 09:42:57 -05:00

789 B

Prerequisites

  1. Install the protoc binary from: https://github.com/protocolbuffers/protobuf/releases
  2. Install the protoc plugin for Go go get -u github.com/golang/protobuf/protoc-gen-go
  3. Ensure protoc is on your path.
  4. Ensure your Go bin directory is on your path

Generate Go Code

Two options, run the command manually or use go generate

Go Generate

  1. Navigate to the root project directory edge
  2. run go generate ./pb/edge_ctrl_pb/... or go generate .\pb\edge_ctrl_pb\...

Note: Running a naked go generate will trigger all go:generate tags in the project, which you most likely do not want

Manually

  1. Navigate to the project root
  2. Run: protoc -I ./pb/edge_ctrl_pb/ ./pb/edge_ctrl_pb/edge_ctrl.proto --go_out=./pb/edge_ctrl_pb