s3

package
v0.0.0-...-4eb781d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceUnsafeKeyCharacters

func ReplaceUnsafeKeyCharacters(s3Key, replacementCharacter string) (*string, error)

Types

type Client

type Client struct {
	*awss3.S3
	Bucket *string
}

func New

func New(cfg client.ConfigProvider, bucket string) *Client

New creates a new S3 client

func (*Client) CompleteMultipartUploadWithContext

func (c *Client) CompleteMultipartUploadWithContext(ctx context.Context, input *awss3.CompleteMultipartUploadInput) (output *awss3.CompleteMultipartUploadOutput, err error)

func (*Client) CreateMultipartUploadWithContext

func (c *Client) CreateMultipartUploadWithContext(ctx context.Context, input *awss3.CreateMultipartUploadInput) (output *awss3.CreateMultipartUploadOutput, err error)

func (*Client) DeleteObjectWithContext

func (c *Client) DeleteObjectWithContext(ctx context.Context, input *awss3.DeleteObjectInput) (*awss3.DeleteObjectOutput, error)

func (*Client) GetObjectRequest

func (c *Client) GetObjectRequest(input *awss3.GetObjectInput) (*request.Request, *awss3.GetObjectOutput)

func (*Client) GetObjectWithContext

func (c *Client) GetObjectWithContext(ctx context.Context, input *awss3.GetObjectInput) (*awss3.GetObjectOutput, error)

func (*Client) HeadObjectWithContext

func (c *Client) HeadObjectWithContext(ctx context.Context, input *awss3.HeadObjectInput) (*awss3.HeadObjectOutput, error)

func (*Client) ListObjectsV2WithContext

func (c *Client) ListObjectsV2WithContext(ctx context.Context, input *awss3.ListObjectsV2Input) (*awss3.ListObjectsV2Output, error)

func (*Client) PutObjectRequest

func (c *Client) PutObjectRequest(input *awss3.PutObjectInput) (*request.Request, *awss3.PutObjectOutput)

func (*Client) PutObjectWithContext

func (c *Client) PutObjectWithContext(ctx context.Context, input *awss3.PutObjectInput) (*awss3.PutObjectOutput, error)

func (*Client) UploadPartWithContext

func (c *Client) UploadPartWithContext(ctx context.Context, input *awss3.UploadPartInput) (output *awss3.UploadPartOutput, err error)

func (*Client) UploadWithContext

func (c *Client) UploadWithContext(ctx context.Context, options func(*s3manager.Uploader), input *s3manager.UploadInput) (*s3manager.UploadOutput, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL