bucket

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket interface {
	Check() errors.Error

	List() ([]s3.Bucket, errors.Error)
	Create() errors.Error
	Delete() errors.Error

	SetVersioning(state bool) errors.Error
	GetVersioning() (string, errors.Error)

	EnableReplication(srcRoleARN, dstRoleARN, dstBucketName string) errors.Error
	DeleteReplication() errors.Error
}

func New

func New(ctx context.Context, bucket string, iam *iam.Client, s3 *s3.Client) Bucket

Jump to

Keyboard shortcuts

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