Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a structure used for bucket operations on S3
func NewService ¶
NewService creates a Service and returns it.
func (Service) BucketExists ¶
BucketExists returns true if a bucket exists and the S3Client has permission to access it, false otherwise.
func (Service) CreateBucket ¶
CreateBucket creates a bucket with the given bucket name and returns true or false if it's created or not, returns an error if it didn't.
func (Service) NormalizeCephBucketName ¶
NormalizeCephBucketName gets a bucket name and normalizes it according to ceph s3's constraints.
Click to show internal directories.
Click to hide internal directories.