This folder contains common code that is shared across all of the Edge Node Agents. It provides:
- Agent Status API
- Message Logger
- Agent Metrics Provider
- Unit Test and other Common Utilities
To develop the common code, the following prerequisites are required:
The required Go version for the agents is outlined here.
-
Generate updated protobuf files:
make buf-gen -
Run unit tests:
make test -
Run linters:
make lint -
Get code coverage from unit tests:
make cover
Apache-2.0