Skip to content

Add callback for client.Upload/client.Download options #261

Description

@fheinecke

Objective

To be able to modify arbitrary upload/download options, such as adding metadata to uploads or downloading specific versions. Currently there are callbacks to change client options (i.e. downloaderOpts, uploaderOpts), but these do not provide the functionality I'm requesting. Adding support for callbacks that are provided s3manager.UploadInput before it is passed to s3manager.Uploader::Upload would greatly increase the flexibility of the tool.

Deliverables

  • Support modifying s3manager.UploadInput struct before upload
  • Support modifying s3.GetObjectInput struct before download

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions