Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfigDataCmd = &cobra.Command{ Use: "getConfigData", Short: "Config data for ECS Cluster", Long: `Config data for ECS cluster`, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.SubCommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { clusterName, _ := cmd.Flags().GetString("clusterName") if clusterName != "" { getClusterDetails(clusterName, *clientAuth) } else { log.Fatalln("cluster name not provided. program exit") } } }, }
GetConfigDataCmd represents the getConfigData command
Functions ¶
func GetCluster ¶
func GetCluster(ecsClient *ecs.ECS, clusterArn string) *ecs.DescribeClustersOutput
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.