Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsxLbListCmd = &cobra.Command{ Use: "getLbList", Short: "getLbList command gets list of load-balancers", Long: `getLbList command gets list of load-balancers`, Run: func(cmd *cobra.Command, args []string) { fmt.Println("executing getLbList command") var authFlag, clientAuth, err = authenticate.AuthenticateCommand(cmd) if err != nil { log.Printf("error during authentication: %v\n", err) err := cmd.Help() if err != nil { return } return } if authFlag { instances, err := ListLbInstances(clientAuth, nil) if err != nil { log.Println("error getting getLbList: ", err) return } fmt.Println(instances) } }, }
Functions ¶
func ListLbInstances ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.