Documentation ¶
Index ¶
- type S3TestClient
- func (c *S3TestClient) DeleteBucket(bucketName, region string)
- func (c *S3TestClient) DeleteRemotePath(bucketName, remotePath, region string) error
- func (c *S3TestClient) DownloadRemoteDirectory(bucketName, remotePath, localPath string) error
- func (c *S3TestClient) ListRemotePath(bucketName, region string) ([]string, error)
- func (c *S3TestClient) RemotePathExistsInBucket(bucketName, remotePath string) bool
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
Click to show internal directories.
Click to hide internal directories.