Documentation
¶
Index ¶
- type S3Driver
- func (d *S3Driver) CreateBucket(name string, region string, endpoint string, ...) (string, error)
- func (d *S3Driver) DeleteBucket(id string, region string, endpoint string, clearBucket bool) error
- func (d *S3Driver) GrantBucketAccess(id string, accountName string, accessPolicy string) (string, *bucket.BucketAccessCredentials, error)
- func (d *S3Driver) NewIamSvc() (*iam.IAM, error)
- func (d *S3Driver) NewS3Svc(region string, endpoint string) (*s3.S3, error)
- func (d *S3Driver) RevokeBucketAccess(id string, accountId string) error
- func (f *S3Driver) Start() error
- func (f *S3Driver) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Driver ¶
type S3Driver struct {
// contains filtered or unexported fields
}
func (*S3Driver) CreateBucket ¶
func (*S3Driver) DeleteBucket ¶
func (*S3Driver) GrantBucketAccess ¶
func (d *S3Driver) GrantBucketAccess(id string, accountName string, accessPolicy string) (string, *bucket.BucketAccessCredentials, error)
AccessBucket grants access to the S3 bucket
func (*S3Driver) NewIamSvc ¶
Returns a new IAM service client
func (*S3Driver) NewS3Svc ¶
Returns a new S3 service client
func (*S3Driver) RevokeBucketAccess ¶
RevokeBucketAccess Revokes access to a bucket If access to all the buckets have been revoked, this call results in deletion of access policies followed by user account deletion.
func (*S3Driver) Start ¶
Start starts a new s3 object storage server Not being used currently
Click to show internal directories.
Click to hide internal directories.