MCPcopy Create free account

hub / github.com/QuentinPerez/go-radosgw / functions

Functions44 in github.com/QuentinPerez/go-radosgw

↓ 53 callersFunctioncreateNewAPI
()
pkg/api/helpers_test.go:21
↓ 29 callersMethodCreateUser
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 callersMethodRemoveUser
RemoveUser removes an existing user. !! caps: users=write !! @UID @PurgeData
pkg/api/helpers.go:256
↓ 25 callersMethodcall
(verb, route string, args url.Values, usePrefix bool, sub ...string)
pkg/api/api.go:71
↓ 8 callersMethodCreateSubUser
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 callersMethodGetUsage
GetUsage requests bandwidth usage information. !! caps: usage=read !! @UID @Start @End @ShowEntries @ShowSummary
pkg/api/helpers.go:34
↓ 4 callersMethodAddCapability
AddCapability returns user's quotas !! caps: users=write !! @UID @UserCaps
pkg/api/helpers.go:869
↓ 4 callersMethodCreateKey
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 callersMethodGetQuotas
GetQuotas returns user's quotas !! caps: users=read !! @UID @QuotaType
pkg/api/helpers.go:776
↓ 4 callersMethodGetUser
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 callersMethodUnlinkBucket
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 callersMethodDelCapability
DelCapability returns user's quotas !! caps: users=write !! @UID @UserCaps
pkg/api/helpers.go:902
↓ 3 callersMethodGetBucket
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 callersMethodGetObjectPolicy
GetObjectPolicy reads the object policy !! caps: buckets=read !! @Bucket @Object
pkg/api/helpers.go:733
↓ 3 callersFunctionNew
New returns client for Ceph RADOS Gateway
pkg/api/api.go:25
↓ 3 callersMethodRemoveObject
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 callersMethodRemoveSubUser
RemoveSubUser remove an existing subuser !! caps: users=write !! @UID @SubUser @PurgeKeys
pkg/api/helpers.go:374
↓ 3 callersMethodUpdateQuota
UpdateQuota updates user's quotas !! caps: users=write !! @UID @Quota [user,bucket]
pkg/api/helpers.go:807
↓ 3 callersMethodUpdateSubUser
UpdateSubUser modifies an existing subuser !! caps: users=write !! @UID @SubUser @KeyType @Access @Secret @GenerateSecret
pkg/api/helpers.go:337
↓ 2 callersMethodCheckBucket
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 callersMethodGetBucketPolicy
GetBucketPolicy reads the bucket policy !! caps: buckets=read !! @Bucket
pkg/api/helpers.go:703
↓ 2 callersMethodGetUIDs
GetUIDs gets all UIDs. !! caps: users=read !!
pkg/api/helpers.go:110
↓ 2 callersMethodRemoveBucket
RemoveBucket removes an existing bucket. !! caps: buckets=write !! @Bucket @PurgeObjects
pkg/api/helpers.go:563
↓ 2 callersMethodRemoveKey
RemoveKey removes an existing key !! caps: users=write !! @UID @SubUser @KeyType @AccessKey
pkg/api/helpers.go:458
↓ 2 callersMethodUpdateUser
UpdateUser modifies a user !! caps: users=write !! @UID @DisplayName @Email @KeyType @AccessKey @SecretKey @UserCaps @GenerateKey @MaxBuckets @Suspe
pkg/api/helpers.go:223
↓ 1 callersMethodDeleteUsage
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 callersMethodGetUsers
GetUsers get all user information. !! caps: users=read !!
pkg/api/helpers.go:129
↓ 1 callersFunctionNewWithClient
(client *http.Client, host, accessKey, secretKey string, adminPrefix ...string)
pkg/api/api.go:29
↓ 1 callersMethodUpdateBuckQuota
UpdateBuckQuota updates individual bucket's quotas !! caps: buckets=write !! @Bucket @Quota [bucket]
pkg/api/helpers.go:835
↓ 1 callersMethodmakeRequest
(verb, url string)
pkg/api/api.go:40
↓ 1 callersFunctionprintRawMode
(out io.Writer, data interface{})
examples/user.go:13
MethodLinkBucket
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
FunctionTestAPI
(t *testing.T)
pkg/api/helpers_test.go:29
FunctionTestBucket
(t *testing.T)
pkg/api/helpers_test.go:587
FunctionTestCapability
(t *testing.T)
pkg/api/helpers_test.go:1096
FunctionTestKey
(t *testing.T)
pkg/api/helpers_test.go:246
FunctionTestQuota
(t *testing.T)
pkg/api/helpers_test.go:974
FunctionTestSubUser
(t *testing.T)
pkg/api/helpers_test.go:352
FunctionTestUsage
(t *testing.T)
pkg/api/helpers_test.go:157
FunctionTestUser
(t *testing.T)
pkg/api/helpers_test.go:51
FunctionboolIfNotNil
(obj interface{})
pkg/api/encodeUrl.go:28
FunctionifTimeIsNotNilCeph
(obj interface{})
pkg/api/encodeUrl.go:16
Functioninit
()
pkg/api/encodeUrl.go:11
Functionmain
()
examples/user.go:22