Skip to content

Commit

Permalink
Add Facade 20
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Aug 30, 2024
1 parent 86e5611 commit 9b87664
Show file tree
Hide file tree
Showing 12 changed files with 58,198 additions and 67 deletions.
5 changes: 3 additions & 2 deletions juju/client/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from juju.client._definitions import *


from juju.client import _client7, _client1, _client3, _client4, _client2, _client17, _client6, _client11, _client10, _client5, _client9, _client18, _client19
from juju.client import _client7, _client1, _client3, _client4, _client2, _client17, _client6, _client11, _client10, _client5, _client9, _client18, _client19, _client20


CLIENTS = {
Expand All @@ -20,7 +20,8 @@
"5": _client5,
"9": _client9,
"18": _client18,
"19": _client19
"19": _client19,
"20": _client20
}


Expand Down
56 changes: 43 additions & 13 deletions juju/client/_client1.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,11 @@ class CAASApplicationProvisionerFacade(Type):
'name': {'type': 'string'}},
'type': 'object'},
'CharmContainer': {'additionalProperties': False,
'properties': {'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'properties': {'gid': {'type': 'integer'},
'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'type': 'array'},
'resource': {'type': 'string'}},
'resource': {'type': 'string'},
'uid': {'type': 'integer'}},
'type': 'object'},
'CharmDeployment': {'additionalProperties': False,
'properties': {'min-version': {'type': 'string'},
Expand Down Expand Up @@ -783,6 +785,7 @@ class CAASApplicationProvisionerFacade(Type):
'properties': {'assumes-expr': {'$ref': '#/definitions/ExpressionTree'},
'categories': {'items': {'type': 'string'},
'type': 'array'},
'charm-user': {'type': 'string'},
'containers': {'patternProperties': {'.*': {'$ref': '#/definitions/CharmContainer'}},
'type': 'object'},
'deployment': {'$ref': '#/definitions/CharmDeployment'},
Expand Down Expand Up @@ -1860,9 +1863,11 @@ class CAASFirewallerFacade(Type):
'name': {'type': 'string'}},
'type': 'object'},
'CharmContainer': {'additionalProperties': False,
'properties': {'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'properties': {'gid': {'type': 'integer'},
'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'type': 'array'},
'resource': {'type': 'string'}},
'resource': {'type': 'string'},
'uid': {'type': 'integer'}},
'type': 'object'},
'CharmDeployment': {'additionalProperties': False,
'properties': {'min-version': {'type': 'string'},
Expand Down Expand Up @@ -1905,6 +1910,7 @@ class CAASFirewallerFacade(Type):
'properties': {'assumes-expr': {'$ref': '#/definitions/ExpressionTree'},
'categories': {'items': {'type': 'string'},
'type': 'array'},
'charm-user': {'type': 'string'},
'containers': {'patternProperties': {'.*': {'$ref': '#/definitions/CharmContainer'}},
'type': 'object'},
'deployment': {'$ref': '#/definitions/CharmDeployment'},
Expand Down Expand Up @@ -2346,9 +2352,11 @@ class CAASFirewallerSidecarFacade(Type):
'name': {'type': 'string'}},
'type': 'object'},
'CharmContainer': {'additionalProperties': False,
'properties': {'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'properties': {'gid': {'type': 'integer'},
'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'type': 'array'},
'resource': {'type': 'string'}},
'resource': {'type': 'string'},
'uid': {'type': 'integer'}},
'type': 'object'},
'CharmDeployment': {'additionalProperties': False,
'properties': {'min-version': {'type': 'string'},
Expand Down Expand Up @@ -2391,6 +2399,7 @@ class CAASFirewallerSidecarFacade(Type):
'properties': {'assumes-expr': {'$ref': '#/definitions/ExpressionTree'},
'categories': {'items': {'type': 'string'},
'type': 'array'},
'charm-user': {'type': 'string'},
'containers': {'patternProperties': {'.*': {'$ref': '#/definitions/CharmContainer'}},
'type': 'object'},
'deployment': {'$ref': '#/definitions/CharmDeployment'},
Expand Down Expand Up @@ -3903,9 +3912,11 @@ class CAASOperatorProvisionerFacade(Type):
'name': {'type': 'string'}},
'type': 'object'},
'CharmContainer': {'additionalProperties': False,
'properties': {'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'properties': {'gid': {'type': 'integer'},
'mounts': {'items': {'$ref': '#/definitions/CharmMount'},
'type': 'array'},
'resource': {'type': 'string'}},
'resource': {'type': 'string'},
'uid': {'type': 'integer'}},
'type': 'object'},
'CharmDeployment': {'additionalProperties': False,
'properties': {'min-version': {'type': 'string'},
Expand Down Expand Up @@ -3948,6 +3959,7 @@ class CAASOperatorProvisionerFacade(Type):
'properties': {'assumes-expr': {'$ref': '#/definitions/ExpressionTree'},
'categories': {'items': {'type': 'string'},
'type': 'array'},
'charm-user': {'type': 'string'},
'containers': {'patternProperties': {'.*': {'$ref': '#/definitions/CharmContainer'}},
'type': 'object'},
'deployment': {'$ref': '#/definitions/CharmDeployment'},
Expand Down Expand Up @@ -4920,9 +4932,11 @@ class CrossModelSecretsFacade(Type):
'peek': {'type': 'boolean'},
'refresh': {'type': 'boolean'},
'revision': {'type': 'integer'},
'source-controller-uuid': {'type': 'string'},
'unit-id': {'type': 'integer'},
'uri': {'type': 'string'}},
'required': ['application-token',
'required': ['source-controller-uuid',
'application-token',
'unit-id',
'uri'],
'type': 'object'},
Expand Down Expand Up @@ -10094,7 +10108,13 @@ async def rpc(self, msg):
class SecretsDrainFacade(Type):
name = 'SecretsDrain'
version = 1
schema = {'definitions': {'ChangeSecretBackendArg': {'additionalProperties': False,
schema = {'definitions': {'AccessInfo': {'additionalProperties': False,
'properties': {'role': {'type': 'string'},
'scope-tag': {'type': 'string'},
'target-tag': {'type': 'string'}},
'required': ['target-tag', 'scope-tag', 'role'],
'type': 'object'},
'ChangeSecretBackendArg': {'additionalProperties': False,
'properties': {'content': {'$ref': '#/definitions/SecretContentParams'},
'revision': {'type': 'integer'},
'uri': {'type': 'string'}},
Expand Down Expand Up @@ -10122,7 +10142,9 @@ class SecretsDrainFacade(Type):
'required': ['results'],
'type': 'object'},
'ListSecretResult': {'additionalProperties': False,
'properties': {'create-time': {'format': 'date-time',
'properties': {'access': {'items': {'$ref': '#/definitions/AccessInfo'},
'type': 'array'},
'create-time': {'format': 'date-time',
'type': 'string'},
'description': {'type': 'string'},
'label': {'type': 'string'},
Expand Down Expand Up @@ -12317,7 +12339,13 @@ async def WatchAPIVersion(self, entities=None):
class UserSecretsDrainFacade(Type):
name = 'UserSecretsDrain'
version = 1
schema = {'definitions': {'ChangeSecretBackendArg': {'additionalProperties': False,
schema = {'definitions': {'AccessInfo': {'additionalProperties': False,
'properties': {'role': {'type': 'string'},
'scope-tag': {'type': 'string'},
'target-tag': {'type': 'string'}},
'required': ['target-tag', 'scope-tag', 'role'],
'type': 'object'},
'ChangeSecretBackendArg': {'additionalProperties': False,
'properties': {'content': {'$ref': '#/definitions/SecretContentParams'},
'revision': {'type': 'integer'},
'uri': {'type': 'string'}},
Expand Down Expand Up @@ -12357,7 +12385,9 @@ class UserSecretsDrainFacade(Type):
'required': ['args'],
'type': 'object'},
'ListSecretResult': {'additionalProperties': False,
'properties': {'create-time': {'format': 'date-time',
'properties': {'access': {'items': {'$ref': '#/definitions/AccessInfo'},
'type': 'array'},
'create-time': {'format': 'date-time',
'type': 'string'},
'description': {'type': 'string'},
'label': {'type': 'string'},
Expand Down
Loading

0 comments on commit 9b87664

Please sign in to comment.