client

package
v0.0.0-...-b846661 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	*admin.API
}

func (*API) Call

func (a *API) Call(ctx context.Context, httpMethod, path string, args url.Values) (body []byte, err error)

Call makes request to the RGW Admin Ops API

func (*API) GetBucketInfo

func (api *API) GetBucketInfo(ctx context.Context, bi BucketInfo) ([]admin.Bucket, error)

func (*API) GetUserBuckets

func (api *API) GetUserBuckets(ctx context.Context, userID string) ([]string, error)

type BucketInfo

type BucketInfo struct {
	Bucket *string
	UserID *string
	Stats  bool
}

Jump to

Keyboard shortcuts

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