| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -554,6 +554,14 @@ class UserManagerFacade(TypeFactory): | |||
| 554 | 554 | pass | |
| 555 | 555 | ||
| 556 | 556 | ||
| 557 | + class UserSecretsDrainFacade(TypeFactory): | ||
| 558 | + pass | ||
| 559 | + | ||
| 560 | + | ||
| 561 | + class UserSecretsManagerFacade(TypeFactory): | ||
| 562 | + pass | ||
| 563 | + | ||
| 564 | + | ||
| 557 | 565 | class VolumeAttachmentPlansWatcherFacade(TypeFactory): | |
| 558 | 566 | pass | |
| 559 | 567 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5130,10 +5130,11 @@ class SecretsFacade(Type): | |||
| 5130 | 5130 | 'required': ['args'], | |
| 5131 | 5131 | 'type': 'object'}, | |
| 5132 | 5132 | 'DeleteSecretArg': {'additionalProperties': False, | |
| 5133 | - 'properties': {'revisions': {'items': {'type': 'integer'}, | ||
| 5133 | + 'properties': {'label': {'type': 'string'}, | ||
| 5134 | + 'revisions': {'items': {'type': 'integer'}, | ||
| 5134 | 5135 | 'type': 'array'}, | |
| 5135 | 5136 | 'uri': {'type': 'string'}}, | |
| 5136 | - 'required': ['uri'], | ||
| 5137 | + 'required': ['uri', 'label'], | ||
| 5137 | 5138 | 'type': 'object'}, | |
| 5138 | 5139 | 'DeleteSecretArgs': {'additionalProperties': False, | |
| 5139 | 5140 | 'properties': {'args': {'items': {'$ref': '#/definitions/DeleteSecretArg'}, | |
@@ -5159,8 +5160,10 @@ class SecretsFacade(Type): | |||
| 5159 | 5160 | 'GrantRevokeUserSecretArg': {'additionalProperties': False, | |
| 5160 | 5161 | 'properties': {'applications': {'items': {'type': 'string'}, | |
| 5161 | 5162 | 'type': 'array'}, | |
| 5163 | + 'label': {'type': 'string'}, | ||
| 5162 | 5164 | 'uri': {'type': 'string'}}, | |
| 5163 | 5165 | 'required': ['uri', | |
| 5166 | + 'label', | ||
| 5164 | 5167 | 'applications'], | |
| 5165 | 5168 | 'type': 'object'}, | |
| 5166 | 5169 | 'ListSecretResult': {'additionalProperties': False, | |
@@ -5228,7 +5231,8 @@ class SecretsFacade(Type): | |||
| 5228 | 5231 | 'error': {'$ref': '#/definitions/Error'}}, | |
| 5229 | 5232 | 'type': 'object'}, | |
| 5230 | 5233 | 'SecretsFilter': {'additionalProperties': False, | |
| 5231 | - 'properties': {'owner-tag': {'type': 'string'}, | ||
| 5234 | + 'properties': {'label': {'type': 'string'}, | ||
| 5235 | + 'owner-tag': {'type': 'string'}, | ||
| 5232 | 5236 | 'revision': {'type': 'integer'}, | |
| 5233 | 5237 | 'uri': {'type': 'string'}}, | |
| 5234 | 5238 | 'type': 'object'}, | |
@@ -5247,6 +5251,7 @@ class SecretsFacade(Type): | |||
| 5247 | 5251 | 'auto-prune': {'type': 'boolean'}, | |
| 5248 | 5252 | 'content': {'$ref': '#/definitions/SecretContentParams'}, | |
| 5249 | 5253 | 'description': {'type': 'string'}, | |
| 5254 | + 'existing-label': {'type': 'string'}, | ||
| 5250 | 5255 | 'expire-time': {'format': 'date-time', | |
| 5251 | 5256 | 'type': 'string'}, | |
| 5252 | 5257 | 'label': {'type': 'string'}, | |
@@ -5255,7 +5260,9 @@ class SecretsFacade(Type): | |||
| 5255 | 5260 | 'type': 'object'}, | |
| 5256 | 5261 | 'rotate-policy': {'type': 'string'}, | |
| 5257 | 5262 | 'uri': {'type': 'string'}}, | |
| 5258 | - 'required': ['UpsertSecretArg', 'uri'], | ||
| 5263 | + 'required': ['UpsertSecretArg', | ||
| 5264 | + 'uri', | ||
| 5265 | + 'existing-label'], | ||
| 5259 | 5266 | 'type': 'object'}, | |
| 5260 | 5267 | 'UpdateUserSecretArgs': {'additionalProperties': False, | |
| 5261 | 5268 | 'properties': {'args': {'items': {'$ref': '#/definitions/UpdateUserSecretArg'}, | |
@@ -5330,17 +5337,21 @@ async def CreateSecrets(self, args=None): | |||
| 5330 | 5337 | ||
| 5331 | 5338 | ||
| 5332 | 5339 | @ReturnMapping(ErrorResults) | |
| 5333 | - async def GrantSecret(self, applications=None, uri=None): | ||
| 5340 | + async def GrantSecret(self, applications=None, label=None, uri=None): | ||
| 5334 | 5341 | ''' | |
| 5335 | 5342 | GrantSecret grants access to a user secret. | |
| 5336 | 5343 | ||
| 5337 | 5344 | applications : typing.Sequence[str] | |
| 5345 | + label : str | ||
| 5338 | 5346 | uri : str | |
| 5339 | 5347 | Returns -> ErrorResults | |
| 5340 | 5348 | ''' | |
| 5341 | 5349 | if applications is not None and not isinstance(applications, (bytes, str, list)): | |
| 5342 | 5350 | raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications))) | |
| 5343 | 5351 | ||
| 5352 | + if label is not None and not isinstance(label, (bytes, str)): | ||
| 5353 | + raise Exception("Expected label to be a str, received: {}".format(type(label))) | ||
| 5354 | + | ||
| 5344 | 5355 | if uri is not None and not isinstance(uri, (bytes, str)): | |
| 5345 | 5356 | raise Exception("Expected uri to be a str, received: {}".format(type(uri))) | |
| 5346 | 5357 | ||
@@ -5351,6 +5362,7 @@ async def GrantSecret(self, applications=None, uri=None): | |||
| 5351 | 5362 | version=2, | |
| 5352 | 5363 | params=_params) | |
| 5353 | 5364 | _params['applications'] = applications | |
| 5365 | + _params['label'] = label | ||
| 5354 | 5366 | _params['uri'] = uri | |
| 5355 | 5367 | reply = await self.rpc(msg) | |
| 5356 | 5368 | return reply | |
@@ -5409,17 +5421,21 @@ async def RemoveSecrets(self, args=None): | |||
| 5409 | 5421 | ||
| 5410 | 5422 | ||
| 5411 | 5423 | @ReturnMapping(ErrorResults) | |
| 5412 | - async def RevokeSecret(self, applications=None, uri=None): | ||
| 5424 | + async def RevokeSecret(self, applications=None, label=None, uri=None): | ||
| 5413 | 5425 | ''' | |
| 5414 | 5426 | RevokeSecret revokes access to a user secret. | |
| 5415 | 5427 | ||
| 5416 | 5428 | applications : typing.Sequence[str] | |
| 5429 | + label : str | ||
| 5417 | 5430 | uri : str | |
| 5418 | 5431 | Returns -> ErrorResults | |
| 5419 | 5432 | ''' | |
| 5420 | 5433 | if applications is not None and not isinstance(applications, (bytes, str, list)): | |
| 5421 | 5434 | raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications))) | |
| 5422 | 5435 | ||
| 5436 | + if label is not None and not isinstance(label, (bytes, str)): | ||
| 5437 | + raise Exception("Expected label to be a str, received: {}".format(type(label))) | ||
| 5438 | + | ||
| 5423 | 5439 | if uri is not None and not isinstance(uri, (bytes, str)): | |
| 5424 | 5440 | raise Exception("Expected uri to be a str, received: {}".format(type(uri))) | |
| 5425 | 5441 | ||
@@ -5430,6 +5446,7 @@ async def RevokeSecret(self, applications=None, uri=None): | |||
| 5430 | 5446 | version=2, | |
| 5431 | 5447 | params=_params) | |
| 5432 | 5448 | _params['applications'] = applications | |
| 5449 | + _params['label'] = label | ||
| 5433 | 5450 | _params['uri'] = uri | |
| 5434 | 5451 | reply = await self.rpc(msg) | |
| 5435 | 5452 | return reply | |
@@ -5488,10 +5505,11 @@ class SecretsManagerFacade(Type): | |||
| 5488 | 5505 | 'required': ['count'], | |
| 5489 | 5506 | 'type': 'object'}, | |
| 5490 | 5507 | 'DeleteSecretArg': {'additionalProperties': False, | |
| 5491 | - 'properties': {'revisions': {'items': {'type': 'integer'}, | ||
| 5508 | + 'properties': {'label': {'type': 'string'}, | ||
| 5509 | + 'revisions': {'items': {'type': 'integer'}, | ||
| 5492 | 5510 | 'type': 'array'}, | |
| 5493 | 5511 | 'uri': {'type': 'string'}}, | |
| 5494 | - 'required': ['uri'], | ||
| 5512 | + 'required': ['uri', 'label'], | ||
| 5495 | 5513 | 'type': 'object'}, | |
| 5496 | 5514 | 'DeleteSecretArgs': {'additionalProperties': False, | |
| 5497 | 5515 | 'properties': {'args': {'items': {'$ref': '#/definitions/DeleteSecretArg'}, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments