Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
func CreateSession(opts *options.RootOptions) (*session.Session, error)
CreateSession initializes session with provided credentials
func DeleteFiles ¶ added in v0.2.0
func DeleteFiles(svc s3iface.S3API, bucketName string, slice []*s3.Object, dryRun bool, logger zerolog.Logger) error
DeleteFiles deletes the slice of []*s3.Object objects in the target bucket
func GetAllFiles ¶
func GetAllFiles(svc s3iface.S3API, opts *options.RootOptions) (*s3.ListObjectsOutput, error)
GetAllFiles gets all of the files in the target bucket as the function name indicates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.