Documentation ¶
Index ¶
- type MinioS3Client
- func (minioS3Client *MinioS3Client) BucketExists(name string) (bool, error)
- func (minioS3Client *MinioS3Client) CreateBucket(name string) error
- func (minioS3Client *MinioS3Client) CreatePath(bucketname string, name string) error
- func (minioS3Client *MinioS3Client) DeleteBucket(name string) error
- func (minioS3Client *MinioS3Client) GetQuota(name string) (int64, error)
- func (minioS3Client *MinioS3Client) PathExists(bucketname string, name string) error
- func (minioS3Client *MinioS3Client) SetQuota(name string, quota int64) error
- type MockedS3Client
- func (mockedS3Provider *MockedS3Client) BucketExists(name string) (bool, error)
- func (mockedS3Provider *MockedS3Client) CreateBucket(name string) error
- func (mockedS3Provider *MockedS3Client) CreatePath(bucketname string, name string) error
- func (mockedS3Provider *MockedS3Client) DeleteBucket(name string) error
- func (mockedS3Provider *MockedS3Client) GetQuota(name string) (int64, error)
- func (mockedS3Provider *MockedS3Client) PathExists(bucketname string, name string) error
- func (mockedS3Provider *MockedS3Client) SetQuota(name string, quota int64) error
- type S3Client
- type S3Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioS3Client ¶
type MinioS3Client struct {
// contains filtered or unexported fields
}
func (*MinioS3Client) BucketExists ¶
func (minioS3Client *MinioS3Client) BucketExists(name string) (bool, error)
func (*MinioS3Client) CreateBucket ¶
func (minioS3Client *MinioS3Client) CreateBucket(name string) error
func (*MinioS3Client) CreatePath ¶
func (minioS3Client *MinioS3Client) CreatePath(bucketname string, name string) error
func (*MinioS3Client) DeleteBucket ¶
func (minioS3Client *MinioS3Client) DeleteBucket(name string) error
func (*MinioS3Client) GetQuota ¶
func (minioS3Client *MinioS3Client) GetQuota(name string) (int64, error)
func (*MinioS3Client) PathExists ¶
func (minioS3Client *MinioS3Client) PathExists(bucketname string, name string) error
type MockedS3Client ¶
type MockedS3Client struct{}
func (*MockedS3Client) BucketExists ¶
func (mockedS3Provider *MockedS3Client) BucketExists(name string) (bool, error)
func (*MockedS3Client) CreateBucket ¶
func (mockedS3Provider *MockedS3Client) CreateBucket(name string) error
func (*MockedS3Client) CreatePath ¶
func (mockedS3Provider *MockedS3Client) CreatePath(bucketname string, name string) error
func (*MockedS3Client) DeleteBucket ¶
func (mockedS3Provider *MockedS3Client) DeleteBucket(name string) error
func (*MockedS3Client) GetQuota ¶
func (mockedS3Provider *MockedS3Client) GetQuota(name string) (int64, error)
func (*MockedS3Client) PathExists ¶
func (mockedS3Provider *MockedS3Client) PathExists(bucketname string, name string) error
type S3Client ¶
type S3Client interface { BucketExists(name string) (bool, error) CreateBucket(name string) error DeleteBucket(name string) error SetQuota(name string, quota int64) error GetQuota(name string) (int64, error) CreatePath(bucketname string, name string) error PathExists(bucketname string, name string) error }
Click to show internal directories.
Click to hide internal directories.