radosgw

package
v0.0.0-...-2d4236e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (rg *Radosgw) CreateS3Key(user string, tenant string) (*rgw.UserKey, error)

func (*Radosgw) CreateSubuser

func (rg *Radosgw) CreateSubuser(user string, subuser string, tenant string) (*rgw.SubUser, error)

Creating a subuser creates a swift key

func (*Radosgw) CreateUser

func (rg *Radosgw) CreateUser(name string, dispName string, tenant string) error

func (*Radosgw) DeleteS3Key

func (rg *Radosgw) DeleteS3Key(user string, tenant string, s3AccessKey string) error

func (*Radosgw) DeleteSubuser

func (rg *Radosgw) DeleteSubuser(user string, subuser string, tenant string) error

func (*Radosgw) DeleteUser

func (rg *Radosgw) DeleteUser(name string, tenant string) error

func (*Radosgw) GetUser

func (rg *Radosgw) GetUser(name string, tenant string, getStats bool) (*rgw.UserInfoResponse, error)

func (*Radosgw) GetUserQuotaMB

func (rg *Radosgw) GetUserQuotaMB(name string, tenant string) (int, error)

func (*Radosgw) GetUserUsageMB

func (rg *Radosgw) GetUserUsageMB(name string, tenant string) (int, error)

func (*Radosgw) SetUserQuota

func (rg *Radosgw) SetUserQuota(name string, tenant string, sizeMB int) error

func (*Radosgw) Setup

func (rg *Radosgw) Setup(radosUrl string, radosAdminPath string, keyID string, secretKey string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL