|
il y a 9 mois | |
---|---|---|
api | il y a 9 mois | |
db | il y a 2 ans | |
hack | il y a 9 mois | |
internal | il y a 9 mois | |
library | il y a 2 ans | |
maintask | il y a 2 ans | |
manifest | il y a 9 mois | |
resource | il y a 2 ans | |
utility | il y a 2 ans | |
.gitattributes | il y a 2 ans | |
.gitignore | il y a 2 ans | |
Makefile | il y a 2 ans | |
README.MD | il y a 9 mois | |
go.mod | il y a 9 mois | |
go.sum | il y a 9 mois | |
main.go | il y a 9 mois |
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