Documentation ¶
Index ¶
- type MinioClientAdmin
- func (mca *MinioClientAdmin) AddUserToInitialGroup(user string) error
- func (mca *MinioClientAdmin) CreateBucket(bucketName string, region string, ignoreExisting bool) error
- func (mca *MinioClientAdmin) CreateInitialGroup() error
- func (mca *MinioClientAdmin) CreateInitialPolicy() error
- func (mca *MinioClientAdmin) CreateUser(accessKey string, secretKey string) error
- func (mca *MinioClientAdmin) DataUsageInfo(bucketName string) (*madmin.DataUsageInfo, error)
- func (mca *MinioClientAdmin) DeleteBucket(bucketName string) error
- func (mca *MinioClientAdmin) DeleteUser(accessKey string) error
- func (mca *MinioClientAdmin) EnableVersioning(bucketName string) error
- func (mca *MinioClientAdmin) GetServerInfo() (*madmin.InfoMessage, error)
- func (mca *MinioClientAdmin) SetBucketPolicy(bucketName string, policy v1.BucketPolicy) error
- func (mca *MinioClientAdmin) SetBucketQuota(bucketName string, quota resource.Quantity) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioClientAdmin ¶
type MinioClientAdmin struct {
// contains filtered or unexported fields
}
MinioClientAdmin is a wrapper for madmin.AdminClient
func NewMinioClientAdmin ¶
func (*MinioClientAdmin) AddUserToInitialGroup ¶
func (mca *MinioClientAdmin) AddUserToInitialGroup(user string) error
AddUserToInitialGroup - creates a user group in minio.
func (*MinioClientAdmin) CreateBucket ¶
func (mca *MinioClientAdmin) CreateBucket(bucketName string, region string, ignoreExisting bool) error
CreateBucket - creates a bucket in minio.
func (*MinioClientAdmin) CreateInitialGroup ¶
func (mca *MinioClientAdmin) CreateInitialGroup() error
CreateInitialGroup - creates a user group in minio.
func (*MinioClientAdmin) CreateInitialPolicy ¶
func (mca *MinioClientAdmin) CreateInitialPolicy() error
CreateInitialPolicy - creates a canned policy.
func (*MinioClientAdmin) CreateUser ¶
func (mca *MinioClientAdmin) CreateUser(accessKey string, secretKey string) error
CreateUser - creates a user in minio.
func (*MinioClientAdmin) DataUsageInfo ¶
func (mca *MinioClientAdmin) DataUsageInfo(bucketName string) (*madmin.DataUsageInfo, error)
DataUsageInfo - returns the bucket info.
func (*MinioClientAdmin) DeleteBucket ¶
func (mca *MinioClientAdmin) DeleteBucket(bucketName string) error
DeleteBucket - deletes a bucket in minio.
func (*MinioClientAdmin) DeleteUser ¶
func (mca *MinioClientAdmin) DeleteUser(accessKey string) error
DeleteUser - deletes a user in minio.
func (*MinioClientAdmin) EnableVersioning ¶
func (mca *MinioClientAdmin) EnableVersioning(bucketName string) error
EnableVersioning - enable a bucket versioning in minio.
func (*MinioClientAdmin) GetServerInfo ¶
func (mca *MinioClientAdmin) GetServerInfo() (*madmin.InfoMessage, error)
GetServerInfo - returns the server info.
func (*MinioClientAdmin) SetBucketPolicy ¶
func (mca *MinioClientAdmin) SetBucketPolicy(bucketName string, policy v1.BucketPolicy) error
SetBucketPolicy - sets a bucket policy in minio.
func (*MinioClientAdmin) SetBucketQuota ¶
func (mca *MinioClientAdmin) SetBucketQuota(bucketName string, quota resource.Quantity) error
SetBucketQuota - sets a bucket quota in minio.
Click to show internal directories.
Click to hide internal directories.