github.com/kolanos/fargate@v0.2.3/cmd/lb.go (about) 1 package cmd 2 3 import ( 4 "github.com/spf13/cobra" 5 ) 6 7 const defaultTargetGroupFormat = "%s-default" 8 9 var lbCmd = &cobra.Command{ 10 Use: "lb", 11 Short: "Manage load balancers", 12 Long: `Manage load balancers 13 14 Load balancers distribute incoming traffic between the tasks within a service 15 for HTTP/HTTPS and TCP applications. HTTP/HTTPS load balancers can route to 16 multiple services based upon rules you specify when you create a new service.`, 17 } 18 19 func init() { 20 rootCmd.AddCommand(lbCmd) 21 }