Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsxEcsCmd = &cobra.Command{ Use: "getEcsClusterList", Short: "getEcsClusterList command gets ecs cluster list", Long: `getEcsClusterList command gets ecs cluster list of an AWS account`, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.CommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { GetClusterList(*clientAuth) } else { cmd.Help() return } }, }
Functions ¶
func GetClusterList ¶
func GetClusterList(auth client.Auth) ([]*ecs.DescribeClustersOutput, error)
json.Unmarshal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.