s3testclient

package
v18.3.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3TestClient

type S3TestClient struct {
	*s3.S3CliClient
}

func New

func New(endpointURL, accessKeyID, secretAccessKey, basePath string) *S3TestClient

func (*S3TestClient) DeleteBucket

func (c *S3TestClient) DeleteBucket(bucketName, region string)

func (*S3TestClient) DeleteRemotePath

func (c *S3TestClient) DeleteRemotePath(bucketName, remotePath, region string) error

func (*S3TestClient) DownloadRemoteDirectory

func (c *S3TestClient) DownloadRemoteDirectory(bucketName, remotePath, localPath string) error

func (*S3TestClient) ListRemotePath

func (c *S3TestClient) ListRemotePath(bucketName, region string) ([]string, error)

func (*S3TestClient) RemotePathExistsInBucket

func (c *S3TestClient) RemotePathExistsInBucket(bucketName, remotePath string) bool

Jump to

Keyboard shortcuts

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