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 { GetListBucket(*clientAuth) } else { cmd.Help() return } }, }
Functions ¶
func GetListBucket ¶
func GetListBucket(auth client.Auth) ([]*s3.ListObjectsV2Output, error)
json.Unmarshal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.