Versions in this module Expand all Collapse all v0 v0.3.0 Apr 30, 2024 v0.2.0 Mar 24, 2024 Changes in this version type Ostor + func (o *Ostor) CreateUser(email string) error v0.1.0 Mar 13, 2024 Changes in this version + type ItemCountersNet struct + Downloaded int + Uploaded int + type ItemCountersOps struct + Get int + List int + Other int + Put int + type ItemKey struct + Bucket string + Epoch int + Tag string + UserID string + type OStorObjectUsageResponse struct + Count int + Items []struct{ ... } + Period int + ServiceID string + StartTS int + Version int + type OStorResponse struct + Count int + Items []string + Truncated bool + type Ostor struct + func New(endpoint, accessKeyID, secretKeyID string) (*Ostor, error) + func (o *Ostor) GenerateCredentials(email string) (*resty.Response, error) + func (o *Ostor) GetBuckets(email string) (*OstorBucketListResponse, error) + func (o *Ostor) GetUser(email string) (*OstorUser, error) + func (o *Ostor) List() (*OStorResponse, error) + func (o *Ostor) ListUsers() (*OstorUsersListResponse, error) + func (o *Ostor) ObjectUsage(object string) (*OStorObjectUsageResponse, error) + func (o *Ostor) RevokeKey(email, accessKeyID string) (*resty.Response, error) + type OstorBucketListResponse struct + Buckets []struct{ ... } + type OstorUser struct + AccessKeys []struct{ ... } + AccountCount string + Accounts []interface{} + Email string + Flags []string + ID string + Owner string + State string + type OstorUsersListResponse struct + Users []OstorUser