Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfigDataCmd = &cobra.Command{ Use: "getConfigData", Short: "A brief description of your command", Long: ``, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.SubCommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { dbInstanceIdentifier, _ := cmd.Flags().GetString("dbInstanceIdentifier") if dbInstanceIdentifier != "" { getInstanceDetails(dbInstanceIdentifier, *clientAuth) } else { log.Fatalln("cluster name not provided. program exit") } } }, }
getConfigDataCmd represents the getConfigData command
Functions ¶
func GetInstance ¶
func GetInstance(rdsClient *rds.RDS, dbInstanceIdentifier string) *rds.DescribeDBInstancesOutput
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.