Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsxS3Cmd = &cobra.Command{ Use: "getS3BucketList", Short: "getS3BucketList command gets list of S3 buckets", Long: `getS3BucketList command gets list of S3 buckets of an AWS account`, Run: func(cmd *cobra.Command, args []string) { log.Println("Command s3 getS3BucketList started") authFlag, clientAuth, err := authenticate.CommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { GetBucketList(*clientAuth) } else { cmd.Help() return } }, }
Functions ¶
func GetBucketList ¶ added in v1.0.2
func GetBucketList(auth client.Auth) (*s3.ListBucketsOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.