Files
SafeLine/management/tcontrollerd
xiaobing.wang b7a2e86c5e chore: xnet
2025-01-02 18:34:23 +08:00
..
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00
2025-01-02 18:34:23 +08:00
2024-07-10 15:52:06 +08:00
2024-07-04 17:54:34 +08:00
2024-07-04 17:54:34 +08:00

TControllerD

Tengine Controller Daemon (abbr. TCD) will be running in the Tengine container, designed to be in place with minion on the host machine.

Requirements

Go 1.18+

Development

init protobuf

# Refer: https://grpc.io/docs/languages/go/quickstart/
# 1. Install protoc
# https://grpc.io/docs/protoc-installation/

# 2. Install Go plugins
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0

# 3. Update your PATH so that the protoc compiler can find the plugins
# export PATH="$PATH:$(go env GOPATH)/bin"

# 4. Generate proto go code
# cd /path/to/management
./scripts/genproto.sh