github zeromicro/go-zero v1.1.0
Release v1.1.0

latest releases: tools/goctl/v1.7.3, v1.7.3, tools/goctl/v1.7.2...
3 years ago

goctl:

  1. require go 1.14
  2. plugins supported in api code generation
  3. support kubernetes deployment yaml file generation
    $ goctl kube deploy
    NAME:
       goctl kube deploy - generate deployment yaml file
    
    USAGE:
       goctl kube deploy [command options] [arguments...]
    
    OPTIONS:
       --name value         the name of deployment
       --namespace value    the namespace of deployment
       --image value        the docker image of deployment
       --secret value       the image pull secret
       --requestCpu value   the request cpu to deploy (default: 500)
       --requestMem value   the request memory to deploy (default: 512)
       --limitCpu value     the limit cpu to deploy (default: 1000)
       --limitMem value     the limit memory to deploy (default: 1024)
       -o value             the output yaml file
       --replicas value     the number of replicas to deploy (default: 3)
       --revisions value    the number of revision history to limit (default: 5)
       --port value         the port of the deployment to listen on pod (default: 0)
       --nodePort value     the nodePort of the deployment to expose (default: 0)
       --minReplicas value  the min replicas to deploy (default: 3)
       --maxReplicas value  the max replicas of deploy (default: 10)
    

Don't miss a new go-zero release

NewReleases is sending notifications on new releases.