Implement grpc server in the daemon to receive cluster requests

This commit is contained in:
Pavel Sviderski
2024-08-29 10:17:16 +10:00
parent e074b6855f
commit afe9c13283
8 changed files with 703 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
.PHONY: build
uncloudd-dev1:
GOOS=linux GOARCH=amd64 go build -o uncloudd-linux-amd64 cmd/uncloudd/main.go && \
scp uncloudd-linux-amd64 spy@192.168.40.243:~/ && \
ssh spy@192.168.40.243 sudo install ./uncloudd-linux-amd64 /usr/local/bin/uncloudd
.PHONY: proto
proto:
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative internal/machine/cluster/pb/cluster.proto