s3_agent

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Agent

type S3Agent struct {
	Client *s3.S3
}

S3Agent wraps the s3.S3 structure to allow for wrapper methods

func NewS3Agent

func NewS3Agent(accessKey, secretKey, endpoint string, debug bool) (*S3Agent, error)

func (*S3Agent) CreateBucket

func (s *S3Agent) CreateBucket(name string) error

func (*S3Agent) DeleteBucket

func (s *S3Agent) DeleteBucket(name string) error

func (*S3Agent) SetBucketPolicy

func (s *S3Agent) SetBucketPolicy(subuserAccessMap map[string]string, tenant string,
	owner string, bucket string) (string, error)

Jump to

Keyboard shortcuts

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