Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "remove-objects-by-age", Short: "Remove S3 objects by age", Aliases: []string{"rb"}, Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { age, err := parseduration.ParseDuration(FlagAge) if err != nil { log.Fatalln(err) } s3_utils.RemoveObjectsByAge( FlagAccessKey, FlagSecretKey, FlagRegion, FlagEndpoint, FlagBucketName, age) }, }
View Source
var FlagAccessKey string
View Source
var FlagAge string
View Source
var FlagBucketName string
View Source
var FlagEndpoint string
View Source
var FlagRegion string
View Source
var FlagSecretKey string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.