Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Client ¶
type S3Client interface {
BucketExists(name string) (bool, error)
CreateBucket(name string) error
DeleteBucket(name string) error
CreatePath(bucketname string, path string) error
PathExists(bucketname string, path string) (bool, error)
DeletePath(bucketname string, path string) error
GetQuota(name string) (int64, error)
SetQuota(name string, quota int64) error
// see comment in [minioS3Client.go] regarding the absence of a PolicyExists method
// PolicyExists(name string) (bool, error)
PolicyExist(name string) (bool, error)
DeletePolicy(name string) error
GetPolicyInfo(name string) (*madmin.PolicyInfo, error)
CreateOrUpdatePolicy(name string, content string) error
UserExist(name string) (bool, error)
CheckUserCredentialsValid(name string, accessKey string, secretKey string) (bool, error)
AddServiceAccountForUser(name string, accessKey string, secretKey string) error
CreateUser(accessKey string, secretKey string) error
DeleteUser(accessKey string) error
GetUserPolicies(name string) ([]string, error)
AddPoliciesToUser(accessKey string, policies []string) error
RemovePoliciesFromUser(accessKey string, policies []string) error
GetConfig() *S3Config
ListBuckets() ([]string, error)
}
Click to show internal directories.
Click to hide internal directories.