|
9 달 전 | |
---|---|---|
api | 9 달 전 | |
db | 2 년 전 | |
hack | 9 달 전 | |
internal | 9 달 전 | |
library | 2 년 전 | |
maintask | 2 년 전 | |
manifest | 9 달 전 | |
resource | 2 년 전 | |
utility | 2 년 전 | |
.gitattributes | 2 년 전 | |
.gitignore | 2 년 전 | |
Makefile | 2 년 전 | |
README.MD | 9 달 전 | |
go.mod | 9 달 전 | |
go.sum | 9 달 전 | |
main.go | 9 달 전 |
Project Makefile Commands:
make cli
: Install or Update to the latest GoFrame CLI tool.make dao
: Generate go files for Entity/DAO/DO
according to the configuration file from hack
folder.make service
: Parse logic
folder to generate interface go files into service
folder.make image TAG=xxx
: Run docker build
to build image according manifest/docker
.make image.push TAG=xxx
: Run docker build
and docker push
to build and push image according manifest/docker
.make deploy TAG=xxx
: Run kustomize build
to build and deploy deployment to kubernetes server group according manifest/deploy
.编译 gf build main.go -n nodeMonitor -a amd64 -s linux
gf build main.go -n nodeMonitorTask -a amd64 -s linux
gf build tak_main.go -n nodeMonitorTask -a amd64 -s linux -p /bin