|
преди 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