当前位置: 首页>>代码示例>>Python>>正文


Python user.S3User类代码示例

本文整理汇总了Python中S3.user.S3User的典型用法代码示例。如果您正苦于以下问题:Python S3User类的具体用法?Python S3User怎么用?Python S3User使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了S3User类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: getUser

 def getUser(self, uid):
     Log.debug("____get user with uid " + uid)
     return S3User.view(uid, self.getAdminConnection())
开发者ID:minshenglin,项目名称:inkscope,代码行数:3,代码来源:S3ObjectCtrl.py

示例2: deleteCapability

 def deleteCapability(self, uid):
     capType = request.form['type']
     capPerm = request.form['perm']
     Log.debug( "deleteCapability "+capType+"="+capPerm+" for user with uid "+ uid)
     return S3User.deleteCapability(uid, capType, capPerm, self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:5,代码来源:S3Ctrl.py

示例3: deleteSubuser

 def deleteSubuser(self, uid, subuser):
     Log.debug( "delete subuser "+subuser+" for user with uid "+ uid)
     return S3User.deleteSubuser(uid, subuser, self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:3,代码来源:S3Ctrl.py

示例4: removeUserKey

 def removeUserKey(self, uid, key):
     Log.debug( "remove key for user with uid "+ uid)
     return S3User.removeKey(key,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:3,代码来源:S3Ctrl.py

示例5: createSubuser

 def createSubuser(self, uid):
     Log.debug( "create subuser for user with uid "+ uid)
     jsonform = request.form['json']
     return S3User.createSubuser(uid,jsonform,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:4,代码来源:S3Ctrl.py

示例6: modifyUser

 def modifyUser(self, uid):
     Log.debug( "modify user with uid "+ uid)
     jsonform = request.form['json']
     return S3User.modify(uid,jsonform,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:4,代码来源:S3Ctrl.py

示例7: removeUser

 def removeUser(self, uid):
     Log.debug( "remove user with uid "+ uid)
     return S3User.remove(uid,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:3,代码来源:S3Ctrl.py

示例8: createUser

 def createUser(self):
     Log.debug( "user creation")
     jsonform = request.form['json']
     return S3User.create(jsonform,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:4,代码来源:S3Ctrl.py

示例9: listUsers

 def listUsers(self):
     Log.debug( "list users from rgw api")
     return S3User.list(self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:3,代码来源:S3Ctrl.py

示例10: getUserBuckets

 def getUserBuckets(self, uid):
     Log.debug( "getBuckets for uid " + uid)
     jsonform = None
     return S3User.getBuckets(uid,jsonform,self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:4,代码来源:S3Ctrl.py

示例11: createSubuserKey

 def createSubuserKey(self, uid, subuser):
     Log.debug( "create key for subuser "+subuser+" for user with uid "+ uid)
     generate_key = request.form['generate_key']
     secret_key = request.form['secret_key']
     return S3User.createSubuserKey(uid, subuser, generate_key, secret_key, self.getAdminConnection())
开发者ID:inkscope,项目名称:inkscope,代码行数:5,代码来源:S3Ctrl.py

示例12: deleteSubuserKey

 def deleteSubuserKey(self, uid, subuser, key):
     Log.debug( "delete key "+key+" for subuser "+subuser+" for user with uid "+ uid)
     return S3User.deleteSubuserKey(uid, subuser, key, self.getAdminConnection())
开发者ID:XakRu,项目名称:inkscope,代码行数:3,代码来源:S3Ctrl.py


注:本文中的S3.user.S3User类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。