Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuentinPerez/go-radosgw
/ functions
Functions
44 in github.com/QuentinPerez/go-radosgw
⨍
Functions
44
◇
Types & classes
21
↓ 53 callers
Function
createNewAPI
()
pkg/api/helpers_test.go:21
↓ 29 callers
Method
CreateUser
CreateUser creates a new user. By Default, a S3 key pair will be created automatically and returned in the response. If only one of access-key or secr
pkg/api/helpers.go:179
↓ 28 callers
Method
RemoveUser
RemoveUser removes an existing user. !! caps: users=write !! @UID @PurgeData
pkg/api/helpers.go:256
↓ 25 callers
Method
call
(verb, route string, args url.Values, usePrefix bool, sub ...string)
pkg/api/api.go:71
↓ 8 callers
Method
CreateSubUser
CreateSubUser creates a new subuser (primarily useful for clients using the Swift API). Note that either gen-subuser or subuser is required for a vali
pkg/api/helpers.go:300
↓ 6 callers
Method
GetUsage
GetUsage requests bandwidth usage information. !! caps: usage=read !! @UID @Start @End @ShowEntries @ShowSummary
pkg/api/helpers.go:34
↓ 4 callers
Method
AddCapability
AddCapability returns user's quotas !! caps: users=write !! @UID @UserCaps
pkg/api/helpers.go:869
↓ 4 callers
Method
CreateKey
CreateKey creates a new key. If a subuser is specified then by default created keys will be swift type. If only one of access-key or secret-key is pro
pkg/api/helpers.go:423
↓ 4 callers
Method
GetQuotas
GetQuotas returns user's quotas !! caps: users=read !! @UID @QuotaType
pkg/api/helpers.go:776
↓ 4 callers
Method
GetUser
GetUser gets user information. If no user is specified returns the list of all users along with suspension information ** If no user is specified ret
pkg/api/helpers.go:88
↓ 4 callers
Method
UnlinkBucket
UnlinkBucket unlinks a bucket from a specified user. Primarily useful for changing bucket ownership. !! caps: buckets=write !! @Bucket @UID
pkg/api/helpers.go:589
↓ 3 callers
Method
DelCapability
DelCapability returns user's quotas !! caps: users=write !! @UID @UserCaps
pkg/api/helpers.go:902
↓ 3 callers
Method
GetBucket
GetBucket gets information about a subset of the existing buckets. If uid is specified without bucket then all buckets beloning to the user will be re
pkg/api/helpers.go:498
↓ 3 callers
Method
GetObjectPolicy
GetObjectPolicy reads the object policy !! caps: buckets=read !! @Bucket @Object
pkg/api/helpers.go:733
↓ 3 callers
Function
New
New returns client for Ceph RADOS Gateway
pkg/api/api.go:25
↓ 3 callers
Method
RemoveObject
RemoveObject removes an existing object. NOTE: Does not require owner to be non-suspended. !! caps: buckets=write !! @Bucket @Object
pkg/api/helpers.go:676
↓ 3 callers
Method
RemoveSubUser
RemoveSubUser remove an existing subuser !! caps: users=write !! @UID @SubUser @PurgeKeys
pkg/api/helpers.go:374
↓ 3 callers
Method
UpdateQuota
UpdateQuota updates user's quotas !! caps: users=write !! @UID @Quota [user,bucket]
pkg/api/helpers.go:807
↓ 3 callers
Method
UpdateSubUser
UpdateSubUser modifies an existing subuser !! caps: users=write !! @UID @SubUser @KeyType @Access @Secret @GenerateSecret
pkg/api/helpers.go:337
↓ 2 callers
Method
CheckBucket
CheckBucket checks the index of an existing bucket. NOTE: to check multipart object accounting with check-objects, fix must be set to True. !! caps:
pkg/api/helpers.go:619
↓ 2 callers
Method
GetBucketPolicy
GetBucketPolicy reads the bucket policy !! caps: buckets=read !! @Bucket
pkg/api/helpers.go:703
↓ 2 callers
Method
GetUIDs
GetUIDs gets all UIDs. !! caps: users=read !!
pkg/api/helpers.go:110
↓ 2 callers
Method
RemoveBucket
RemoveBucket removes an existing bucket. !! caps: buckets=write !! @Bucket @PurgeObjects
pkg/api/helpers.go:563
↓ 2 callers
Method
RemoveKey
RemoveKey removes an existing key !! caps: users=write !! @UID @SubUser @KeyType @AccessKey
pkg/api/helpers.go:458
↓ 2 callers
Method
UpdateUser
UpdateUser modifies a user !! caps: users=write !! @UID @DisplayName @Email @KeyType @AccessKey @SecretKey @UserCaps @GenerateKey @MaxBuckets @Suspe
pkg/api/helpers.go:223
↓ 1 callers
Method
DeleteUsage
DeleteUsage removes usage information. With no dates specified, removes all usage information !! caps: usage=write !! @UID @Start @End @RemoveAll
pkg/api/helpers.go:65
↓ 1 callers
Method
GetUsers
GetUsers get all user information. !! caps: users=read !!
pkg/api/helpers.go:129
↓ 1 callers
Function
NewWithClient
(client *http.Client, host, accessKey, secretKey string, adminPrefix ...string)
pkg/api/api.go:29
↓ 1 callers
Method
UpdateBuckQuota
UpdateBuckQuota updates individual bucket's quotas !! caps: buckets=write !! @Bucket @Quota [bucket]
pkg/api/helpers.go:835
↓ 1 callers
Method
makeRequest
(verb, url string)
pkg/api/api.go:40
↓ 1 callers
Function
printRawMode
(out io.Writer, data interface{})
examples/user.go:13
Method
LinkBucket
LinkBucket links a bucket to a specified user, unlinking the bucket from any previous user. !! caps: buckets=write !! @Bucket @UID
pkg/api/helpers.go:644
Function
TestAPI
(t *testing.T)
pkg/api/helpers_test.go:29
Function
TestBucket
(t *testing.T)
pkg/api/helpers_test.go:587
Function
TestCapability
(t *testing.T)
pkg/api/helpers_test.go:1096
Function
TestKey
(t *testing.T)
pkg/api/helpers_test.go:246
Function
TestQuota
(t *testing.T)
pkg/api/helpers_test.go:974
Function
TestSubUser
(t *testing.T)
pkg/api/helpers_test.go:352
Function
TestUsage
(t *testing.T)
pkg/api/helpers_test.go:157
Function
TestUser
(t *testing.T)
pkg/api/helpers_test.go:51
Function
boolIfNotNil
(obj interface{})
pkg/api/encodeUrl.go:28
Function
ifTimeIsNotNilCeph
(obj interface{})
pkg/api/encodeUrl.go:16
Function
init
()
pkg/api/encodeUrl.go:11
Function
main
()
examples/user.go:22