|
hace 9 meses | |
---|---|---|
api | hace 9 meses | |
db | hace 2 años | |
hack | hace 9 meses | |
internal | hace 9 meses | |
library | hace 2 años | |
maintask | hace 2 años | |
manifest | hace 9 meses | |
resource | hace 2 años | |
utility | hace 2 años | |
.gitattributes | hace 2 años | |
.gitignore | hace 2 años | |
Makefile | hace 2 años | |
README.MD | hace 9 meses | |
go.mod | hace 9 meses | |
go.sum | hace 9 meses | |
main.go | hace 9 meses |
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