s3

package
v0.1163.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg aws.Config, bucket string) *Client

func (*Client) DeleteObject

func (c *Client) DeleteObject(ctx context.Context, key string) error

func (*Client) DeleteObjects added in v0.794.0

func (c *Client) DeleteObjects(ctx context.Context, keys []string) error

func (*Client) GetObjectTags added in v0.775.0

func (c *Client) GetObjectTags(ctx context.Context, key string) ([]types.Tag, error)

func (*Client) PutObject

func (c *Client) PutObject(ctx context.Context, key string, body []byte) error

func (*Client) PutObjectTagging

func (c *Client) PutObjectTagging(ctx context.Context, key string, tags map[string]string) error

Jump to

Keyboard shortcuts

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