bucket

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 8 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() ligerr.Error

	List() ([]sdkstp.Bucket, ligerr.Error)
	Create(RegionConstraint string) ligerr.Error
	Delete() ligerr.Error

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

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

func New

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

Jump to

Keyboard shortcuts

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