Documentation
¶
Index ¶
- type Radosgw
- func (rg *Radosgw) CreateS3Key(user string, tenant string) (*rgw.UserKey, error)
- func (rg *Radosgw) CreateSubuser(user string, subuser string, tenant string) (*rgw.SubUser, error)
- func (rg *Radosgw) CreateUser(name string, dispName string, tenant string) error
- func (rg *Radosgw) DeleteS3Key(user string, tenant string, s3AccessKey string) error
- func (rg *Radosgw) DeleteSubuser(user string, subuser string, tenant string) error
- func (rg *Radosgw) DeleteUser(name string, tenant string) error
- func (rg *Radosgw) GetUser(name string, tenant string, getStats bool) (*rgw.UserInfoResponse, error)
- func (rg *Radosgw) GetUserQuotaMB(name string, tenant string) (int, error)
- func (rg *Radosgw) GetUserUsageMB(name string, tenant string) (int, error)
- func (rg *Radosgw) SetUserQuota(name string, tenant string, sizeMB int) error
- func (rg *Radosgw) Setup(radosUrl string, radosAdminPath string, keyID string, secretKey string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Radosgw ¶
type Radosgw struct {
// contains filtered or unexported fields
}
func (*Radosgw) CreateS3Key ¶
func (*Radosgw) CreateSubuser ¶
Creating a subuser creates a swift key
func (*Radosgw) CreateUser ¶
func (*Radosgw) DeleteS3Key ¶
func (*Radosgw) DeleteSubuser ¶
func (*Radosgw) GetUserQuotaMB ¶
func (*Radosgw) GetUserUsageMB ¶
func (*Radosgw) SetUserQuota ¶
Click to show internal directories.
Click to hide internal directories.