Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfigDataCmd = &cobra.Command{ Use: "getConfigData", Short: "Get S3 bucket configuration", Long: `Get S3 bucket configuration`, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.SubCommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { bucketName, _ := cmd.Flags().GetString("bucketName") if bucketName != "" { GetBucketDetails(bucketName, *clientAuth) } else { log.Fatalln("bucket name not provided. program exit") } } }, }
GetConfigDataCmd represents the getConfigData command
Functions ¶
func GetBucketDetails ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.