metal-stack-api 0.0.22__py3-none-any.whl → 0.0.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {metal_stack_api-0.0.22.dist-info → metal_stack_api-0.0.24.dist-info}/METADATA +3 -2
- metal_stack_api-0.0.24.dist-info/RECORD +97 -0
- {metal_stack_api-0.0.22.dist-info → metal_stack_api-0.0.24.dist-info}/top_level.txt +0 -1
- metalstack/admin/v2/{filesystem_connecpy.py → filesystem_connect.py} +22 -22
- metalstack/admin/v2/filesystem_pb2.py +20 -19
- metalstack/admin/v2/filesystem_pb2.pyi +1 -0
- metalstack/admin/v2/{image_connecpy.py → image_connect.py} +24 -24
- metalstack/admin/v2/image_pb2.py +24 -23
- metalstack/admin/v2/image_pb2.pyi +1 -0
- metalstack/admin/v2/{ip_connecpy.py → ip_connect.py} +20 -20
- metalstack/admin/v2/ip_pb2.py +2 -2
- metalstack/admin/v2/{machine_connecpy.py → machine_connect.py} +20 -20
- metalstack/admin/v2/machine_pb2.py +15 -14
- metalstack/admin/v2/machine_pb2.pyi +1 -0
- metalstack/admin/v2/{network_connecpy.py → network_connect.py} +26 -26
- metalstack/admin/v2/network_pb2.py +45 -36
- metalstack/admin/v2/network_pb2.pyi +1 -0
- metalstack/admin/v2/{partition_connecpy.py → partition_connect.py} +24 -24
- metalstack/admin/v2/partition_pb2.py +23 -22
- metalstack/admin/v2/partition_pb2.pyi +1 -0
- metalstack/admin/v2/{size_connecpy.py → size_connect.py} +22 -22
- metalstack/admin/v2/size_pb2.py +20 -19
- metalstack/admin/v2/size_pb2.pyi +1 -0
- metalstack/admin/v2/switch_connect.py +444 -0
- metalstack/admin/v2/switch_pb2.py +108 -0
- metalstack/admin/v2/switch_pb2.pyi +114 -0
- metalstack/admin/v2/{tenant_connecpy.py → tenant_connect.py} +20 -20
- metalstack/admin/v2/tenant_pb2.py +18 -15
- metalstack/admin/v2/tenant_pb2.pyi +1 -0
- metalstack/admin/v2/{token_connecpy.py → token_connect.py} +20 -20
- metalstack/admin/v2/token_pb2.py +2 -2
- metalstack/api/v2/common_pb2.py +2 -2
- metalstack/api/v2/{filesystem_connecpy.py → filesystem_connect.py} +22 -22
- metalstack/api/v2/filesystem_pb2.py +54 -53
- metalstack/api/v2/filesystem_pb2.pyi +1 -0
- metalstack/api/v2/{health_connecpy.py → health_connect.py} +18 -18
- metalstack/api/v2/health_pb2.py +2 -2
- metalstack/api/v2/{image_connecpy.py → image_connect.py} +22 -22
- metalstack/api/v2/image_pb2.py +32 -31
- metalstack/api/v2/image_pb2.pyi +1 -0
- metalstack/api/v2/{ip_connecpy.py → ip_connect.py} +26 -26
- metalstack/api/v2/ip_pb2.py +41 -40
- metalstack/api/v2/ip_pb2.pyi +1 -0
- metalstack/api/v2/{machine_connecpy.py → machine_connect.py} +26 -26
- metalstack/api/v2/machine_pb2.py +122 -121
- metalstack/api/v2/machine_pb2.pyi +1 -0
- metalstack/api/v2/{method_connecpy.py → method_connect.py} +20 -20
- metalstack/api/v2/method_pb2.py +2 -2
- metalstack/api/v2/{network_connecpy.py → network_connect.py} +28 -28
- metalstack/api/v2/network_pb2.py +73 -66
- metalstack/api/v2/network_pb2.pyi +1 -0
- metalstack/api/v2/{partition_connecpy.py → partition_connect.py} +20 -20
- metalstack/api/v2/partition_pb2.py +25 -24
- metalstack/api/v2/partition_pb2.pyi +1 -0
- metalstack/api/v2/predefined_rules_pb2.py +50 -0
- metalstack/api/v2/predefined_rules_pb2.pyi +19 -0
- metalstack/api/v2/{project_connecpy.py → project_connect.py} +40 -40
- metalstack/api/v2/project_pb2.py +69 -64
- metalstack/api/v2/project_pb2.pyi +1 -0
- metalstack/api/v2/{size_connecpy.py → size_connect.py} +20 -20
- metalstack/api/v2/size_pb2.py +26 -25
- metalstack/api/v2/size_pb2.pyi +1 -0
- metalstack/api/v2/switch_pb2.py +62 -41
- metalstack/api/v2/switch_pb2.pyi +54 -11
- metalstack/api/v2/{tenant_connecpy.py → tenant_connect.py} +40 -40
- metalstack/api/v2/tenant_pb2.py +69 -64
- metalstack/api/v2/tenant_pb2.pyi +1 -0
- metalstack/api/v2/{token_connecpy.py → token_connect.py} +28 -28
- metalstack/api/v2/token_pb2.py +51 -50
- metalstack/api/v2/token_pb2.pyi +1 -0
- metalstack/api/v2/{user_connecpy.py → user_connect.py} +18 -18
- metalstack/api/v2/user_pb2.py +15 -11
- metalstack/api/v2/user_pb2.pyi +2 -0
- metalstack/api/v2/{version_connecpy.py → version_connect.py} +18 -18
- metalstack/api/v2/version_pb2.py +2 -2
- metalstack/client/client.py +56 -52
- metalstack/infra/v2/{bmc_connecpy.py → bmc_connect.py} +18 -18
- metalstack/infra/v2/bmc_pb2.py +2 -2
- metalstack/infra/v2/{switch_connecpy.py → switch_connect.py} +83 -18
- metalstack/infra/v2/switch_pb2.py +28 -10
- metalstack/infra/v2/switch_pb2.pyi +51 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +0 -450
- buf/validate/validate_pb2.pyi +0 -627
- buf/validate/validate_pb2_grpc.py +0 -4
- metal_stack_api-0.0.22.dist-info/RECORD +0 -124
- metalstack/admin/v2/filesystem_pb2_grpc.py +0 -169
- metalstack/admin/v2/image_pb2_grpc.py +0 -213
- metalstack/admin/v2/ip_pb2_grpc.py +0 -125
- metalstack/admin/v2/machine_pb2_grpc.py +0 -125
- metalstack/admin/v2/network_pb2_grpc.py +0 -257
- metalstack/admin/v2/partition_pb2_grpc.py +0 -213
- metalstack/admin/v2/size_pb2_grpc.py +0 -169
- metalstack/admin/v2/tenant_pb2_grpc.py +0 -125
- metalstack/admin/v2/token_pb2_grpc.py +0 -125
- metalstack/api/v2/common_pb2_grpc.py +0 -4
- metalstack/api/v2/filesystem_pb2_grpc.py +0 -169
- metalstack/api/v2/health_pb2_grpc.py +0 -81
- metalstack/api/v2/image_pb2_grpc.py +0 -169
- metalstack/api/v2/ip_pb2_grpc.py +0 -257
- metalstack/api/v2/machine_pb2_grpc.py +0 -257
- metalstack/api/v2/method_pb2_grpc.py +0 -128
- metalstack/api/v2/network_pb2_grpc.py +0 -301
- metalstack/api/v2/partition_pb2_grpc.py +0 -125
- metalstack/api/v2/project_pb2_grpc.py +0 -565
- metalstack/api/v2/size_pb2_grpc.py +0 -125
- metalstack/api/v2/switch_pb2_grpc.py +0 -4
- metalstack/api/v2/tenant_pb2_grpc.py +0 -565
- metalstack/api/v2/token_pb2_grpc.py +0 -301
- metalstack/api/v2/user_pb2_grpc.py +0 -81
- metalstack/api/v2/version_pb2_grpc.py +0 -81
- metalstack/infra/v2/bmc_pb2_grpc.py +0 -81
- metalstack/infra/v2/switch_pb2_grpc.py +0 -81
- {metal_stack_api-0.0.22.dist-info → metal_stack_api-0.0.24.dist-info}/WHEEL +0 -0
metalstack/api/v2/tenant_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/tenant.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.
|
|
5
|
+
# Protobuf Python Version: 6.32.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
|
-
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/tenant.proto'
|
|
19
19
|
)
|
|
@@ -25,9 +25,10 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
28
|
+
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/tenant.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/tenant.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xef\x01\n\x06Tenant\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x1f\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04name\x12\x14\n\x05\x65mail\x18\x04 \x01(\tR\x05\x65mail\x12-\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12\x1d\n\navatar_url\x18\x06 \x01(\tR\tavatarUrl\x12\x1d\n\ncreated_by\x18\x0f \x01(\tR\tcreatedBy\"\xb2\x01\n\x0cTenantMember\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12;\n\x04role\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x1a\n\x08projects\x18\x04 \x03(\tR\x08projects\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\xfb\x02\n\x0cTenantInvite\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\x12#\n\rtarget_tenant\x18\x02 \x01(\tR\x0ctargetTenant\x12;\n\x04role\x18\x03 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x16\n\x06joined\x18\x04 \x01(\x08R\x06joined\x12,\n\x12target_tenant_name\x18\x05 \x01(\tR\x10targetTenantName\x12\x16\n\x06tenant\x18\x06 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x07 \x01(\tR\ntenantName\x12\x39\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x37\n\tjoined_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08joinedAt\"\xa8\x01\n\x18TenantServiceListRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x12$\n\x04name\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04name\x88\x01\x01\x12\x36\n\x06labels\x18\x03 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x02R\x06labels\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_nameB\t\n\x07_labels\"/\n\x17TenantServiceGetRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"\x95\x02\n\x1aTenantServiceCreateRequest\x12\x1f\n\x04name\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04name\x12\x32\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\x05\x65mail\x18\x03 \x01(\tB\x07\xbaH\x04r\x02`\x01H\x01R\x05\x65mail\x88\x01\x01\x12\"\n\navatar_url\x18\x04 \x01(\tH\x02R\tavatarUrl\x88\x01\x01\x12\x31\n\x06labels\x18\x05 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsR\x06labelsB\x0e\n\x0c_descriptionB\x08\n\x06_emailB\r\n\x0b_avatar_url\"\x97\x03\n\x1aTenantServiceUpdateRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12$\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\"\n\x05\x65mail\x18\x04 \x01(\tB\x07\xbaH\x04r\x02`\x01H\x01R\x05\x65mail\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\navatar_url\x18\x06 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12<\n\x06labels\x18\x07 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x04R\x06labels\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_emailB\x0e\n\x0c_descriptionB\r\n\x0b_avatar_urlB\t\n\x07_labels\"2\n\x1aTenantServiceDeleteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"\x95\x01\n\x18TenantServiceGetResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\x12\x46\n\x0etenant_members\x18\x02 \x03(\x0b\x32\x1f.metalstack.api.v2.TenantMemberR\rtenantMembers\"P\n\x19TenantServiceListResponse\x12\x33\n\x07tenants\x18\x01 \x03(\x0b\x32\x19.metalstack.api.v2.TenantR\x07tenants\"P\n\x1bTenantServiceCreateResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"P\n\x1bTenantServiceUpdateResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"P\n\x1bTenantServiceDeleteResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"o\n\x1aTenantServiceInviteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12;\n\x04role\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"V\n\x1bTenantServiceInviteResponse\x12\x37\n\x06invite\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x06invite\"7\n\x1fTenantServiceInvitesListRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"]\n TenantServiceInvitesListResponse\x12\x39\n\x07invites\x18\x01 \x03(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x07invites\"7\n\x1dTenantServiceInviteGetRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"Y\n\x1eTenantServiceInviteGetResponse\x12\x37\n\x06invite\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x06invite\"P\n TenantServiceRemoveMemberRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\"#\n!TenantServiceRemoveMemberResponse\":\n TenantServiceInviteAcceptRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"\\\n!TenantServiceInviteAcceptResponse\x12\x16\n\x06tenant\x18\x01 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x02 \x01(\tR\ntenantName\"P\n TenantServiceInviteDeleteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"#\n!TenantServiceInviteDeleteResponse\"\x8d\x01\n TenantServiceUpdateMemberRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\x12;\n\x04role\x18\x03 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"i\n!TenantServiceUpdateMemberResponse\x12\x44\n\rtenant_member\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantMemberR\x0ctenantMember2\xd6\x0b\n\rTenantService\x12q\n\x06\x43reate\x12-.metalstack.api.v2.TenantServiceCreateRequest\x1a..metalstack.api.v2.TenantServiceCreateResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x01\x12k\n\x04List\x12+.metalstack.api.v2.TenantServiceListRequest\x1a,.metalstack.api.v2.TenantServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12l\n\x03Get\x12*.metalstack.api.v2.TenantServiceGetRequest\x1a+.metalstack.api.v2.TenantServiceGetResponse\"\x0c\xc2\xf3\x18\x04\x01\x02\x03\x04\xe0\xf3\x18\x02\x12s\n\x06Update\x12-.metalstack.api.v2.TenantServiceUpdateRequest\x1a..metalstack.api.v2.TenantServiceUpdateResponse\"\n\xc2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12s\n\x06\x44\x65lete\x12-.metalstack.api.v2.TenantServiceDeleteRequest\x1a..metalstack.api.v2.TenantServiceDeleteResponse\"\n\xc2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x84\x01\n\x0cRemoveMember\x12\x33.metalstack.api.v2.TenantServiceRemoveMemberRequest\x1a\x34.metalstack.api.v2.TenantServiceRemoveMemberResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x84\x01\n\x0cUpdateMember\x12\x33.metalstack.api.v2.TenantServiceUpdateMemberRequest\x1a\x34.metalstack.api.v2.TenantServiceUpdateMemberResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12r\n\x06Invite\x12-.metalstack.api.v2.TenantServiceInviteRequest\x1a..metalstack.api.v2.TenantServiceInviteResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x0cInviteAccept\x12\x33.metalstack.api.v2.TenantServiceInviteAcceptRequest\x1a\x34.metalstack.api.v2.TenantServiceInviteAcceptResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x01\x12\x84\x01\n\x0cInviteDelete\x12\x33.metalstack.api.v2.TenantServiceInviteDeleteRequest\x1a\x34.metalstack.api.v2.TenantServiceInviteDeleteResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x81\x01\n\x0bInvitesList\x12\x32.metalstack.api.v2.TenantServiceInvitesListRequest\x1a\x33.metalstack.api.v2.TenantServiceInvitesListResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x02\x12z\n\tInviteGet\x12\x30.metalstack.api.v2.TenantServiceInviteGetRequest\x1a\x31.metalstack.api.v2.TenantServiceInviteGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc1\x01\n\x15\x63om.metalstack.api.v2B\x0bTenantProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,26 +36,30 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.api.v2.tenant_pb
|
|
|
35
36
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
37
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n\025com.metalstack.api.v2B\013TenantProtoP\001Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\242\002\003MAX\252\002\021Metalstack.Api.V2\312\002\021Metalstack\\Api\\V2\342\002\035Metalstack\\Api\\V2\\GPBMetadata\352\002\023Metalstack::Api::V2'
|
|
39
|
+
_globals['_TENANT'].fields_by_name['name']._loaded_options = None
|
|
40
|
+
_globals['_TENANT'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
41
|
+
_globals['_TENANT'].fields_by_name['description']._loaded_options = None
|
|
42
|
+
_globals['_TENANT'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
38
43
|
_globals['_TENANTMEMBER'].fields_by_name['role']._loaded_options = None
|
|
39
44
|
_globals['_TENANTMEMBER'].fields_by_name['role']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
40
45
|
_globals['_TENANTINVITE'].fields_by_name['role']._loaded_options = None
|
|
41
46
|
_globals['_TENANTINVITE'].fields_by_name['role']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
42
47
|
_globals['_TENANTSERVICELISTREQUEST'].fields_by_name['name']._loaded_options = None
|
|
43
|
-
_globals['_TENANTSERVICELISTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\
|
|
48
|
+
_globals['_TENANTSERVICELISTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
44
49
|
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
45
|
-
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\
|
|
50
|
+
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
46
51
|
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
47
|
-
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\
|
|
52
|
+
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
48
53
|
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['email']._loaded_options = None
|
|
49
54
|
_globals['_TENANTSERVICECREATEREQUEST'].fields_by_name['email']._serialized_options = b'\272H\004r\002`\001'
|
|
50
55
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
51
56
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
52
57
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
53
|
-
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\
|
|
58
|
+
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
54
59
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['email']._loaded_options = None
|
|
55
60
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['email']._serialized_options = b'\272H\004r\002`\001'
|
|
56
61
|
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
57
|
-
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\
|
|
62
|
+
_globals['_TENANTSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
58
63
|
_globals['_TENANTSERVICEINVITEREQUEST'].fields_by_name['role']._loaded_options = None
|
|
59
64
|
_globals['_TENANTSERVICEINVITEREQUEST'].fields_by_name['role']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
60
65
|
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST'].fields_by_name['role']._loaded_options = None
|
|
@@ -83,60 +88,60 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
83
88
|
_globals['_TENANTSERVICE'].methods_by_name['InvitesList']._serialized_options = b'\302\363\030\001\001\340\363\030\002'
|
|
84
89
|
_globals['_TENANTSERVICE'].methods_by_name['InviteGet']._loaded_options = None
|
|
85
90
|
_globals['_TENANTSERVICE'].methods_by_name['InviteGet']._serialized_options = b'\330\363\030\003\340\363\030\002'
|
|
86
|
-
_globals['_TENANT']._serialized_start=
|
|
87
|
-
_globals['_TENANT']._serialized_end=
|
|
88
|
-
_globals['_TENANTMEMBER']._serialized_start=
|
|
89
|
-
_globals['_TENANTMEMBER']._serialized_end=
|
|
90
|
-
_globals['_TENANTINVITE']._serialized_start=
|
|
91
|
-
_globals['_TENANTINVITE']._serialized_end=
|
|
92
|
-
_globals['_TENANTSERVICELISTREQUEST']._serialized_start=
|
|
93
|
-
_globals['_TENANTSERVICELISTREQUEST']._serialized_end=
|
|
94
|
-
_globals['_TENANTSERVICEGETREQUEST']._serialized_start=
|
|
95
|
-
_globals['_TENANTSERVICEGETREQUEST']._serialized_end=
|
|
96
|
-
_globals['_TENANTSERVICECREATEREQUEST']._serialized_start=
|
|
97
|
-
_globals['_TENANTSERVICECREATEREQUEST']._serialized_end=
|
|
98
|
-
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_start=
|
|
99
|
-
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_end=
|
|
100
|
-
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_start=
|
|
101
|
-
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_end=
|
|
102
|
-
_globals['_TENANTSERVICEGETRESPONSE']._serialized_start=
|
|
103
|
-
_globals['_TENANTSERVICEGETRESPONSE']._serialized_end=
|
|
104
|
-
_globals['_TENANTSERVICELISTRESPONSE']._serialized_start=
|
|
105
|
-
_globals['_TENANTSERVICELISTRESPONSE']._serialized_end=
|
|
106
|
-
_globals['_TENANTSERVICECREATERESPONSE']._serialized_start=
|
|
107
|
-
_globals['_TENANTSERVICECREATERESPONSE']._serialized_end=
|
|
108
|
-
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_start=
|
|
109
|
-
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_end=
|
|
110
|
-
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_start=
|
|
111
|
-
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_end=
|
|
112
|
-
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_start=
|
|
113
|
-
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_end=
|
|
114
|
-
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_start=
|
|
115
|
-
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_end=
|
|
116
|
-
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_start=
|
|
117
|
-
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_end=
|
|
118
|
-
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_start=
|
|
119
|
-
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_end=
|
|
120
|
-
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_start=
|
|
121
|
-
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_end=
|
|
122
|
-
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_start=
|
|
123
|
-
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_end=
|
|
124
|
-
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_start=
|
|
125
|
-
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_end=
|
|
126
|
-
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=
|
|
127
|
-
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=
|
|
128
|
-
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_start=
|
|
129
|
-
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_end=
|
|
130
|
-
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_start=
|
|
131
|
-
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_end=
|
|
132
|
-
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_start=
|
|
133
|
-
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_end=
|
|
134
|
-
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_start=
|
|
135
|
-
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_end=
|
|
136
|
-
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_start=
|
|
137
|
-
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_end=
|
|
138
|
-
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=
|
|
139
|
-
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=
|
|
140
|
-
_globals['_TENANTSERVICE']._serialized_start=
|
|
141
|
-
_globals['_TENANTSERVICE']._serialized_end=
|
|
91
|
+
_globals['_TENANT']._serialized_start=190
|
|
92
|
+
_globals['_TENANT']._serialized_end=429
|
|
93
|
+
_globals['_TENANTMEMBER']._serialized_start=432
|
|
94
|
+
_globals['_TENANTMEMBER']._serialized_end=610
|
|
95
|
+
_globals['_TENANTINVITE']._serialized_start=613
|
|
96
|
+
_globals['_TENANTINVITE']._serialized_end=992
|
|
97
|
+
_globals['_TENANTSERVICELISTREQUEST']._serialized_start=995
|
|
98
|
+
_globals['_TENANTSERVICELISTREQUEST']._serialized_end=1163
|
|
99
|
+
_globals['_TENANTSERVICEGETREQUEST']._serialized_start=1165
|
|
100
|
+
_globals['_TENANTSERVICEGETREQUEST']._serialized_end=1212
|
|
101
|
+
_globals['_TENANTSERVICECREATEREQUEST']._serialized_start=1215
|
|
102
|
+
_globals['_TENANTSERVICECREATEREQUEST']._serialized_end=1492
|
|
103
|
+
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_start=1495
|
|
104
|
+
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_end=1902
|
|
105
|
+
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_start=1904
|
|
106
|
+
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_end=1954
|
|
107
|
+
_globals['_TENANTSERVICEGETRESPONSE']._serialized_start=1957
|
|
108
|
+
_globals['_TENANTSERVICEGETRESPONSE']._serialized_end=2106
|
|
109
|
+
_globals['_TENANTSERVICELISTRESPONSE']._serialized_start=2108
|
|
110
|
+
_globals['_TENANTSERVICELISTRESPONSE']._serialized_end=2188
|
|
111
|
+
_globals['_TENANTSERVICECREATERESPONSE']._serialized_start=2190
|
|
112
|
+
_globals['_TENANTSERVICECREATERESPONSE']._serialized_end=2270
|
|
113
|
+
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_start=2272
|
|
114
|
+
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_end=2352
|
|
115
|
+
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_start=2354
|
|
116
|
+
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_end=2434
|
|
117
|
+
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_start=2436
|
|
118
|
+
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_end=2547
|
|
119
|
+
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_start=2549
|
|
120
|
+
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_end=2635
|
|
121
|
+
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_start=2637
|
|
122
|
+
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_end=2692
|
|
123
|
+
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_start=2694
|
|
124
|
+
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_end=2787
|
|
125
|
+
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_start=2789
|
|
126
|
+
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_end=2844
|
|
127
|
+
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_start=2846
|
|
128
|
+
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_end=2935
|
|
129
|
+
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_start=2937
|
|
130
|
+
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_end=3017
|
|
131
|
+
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=3019
|
|
132
|
+
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=3054
|
|
133
|
+
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_start=3056
|
|
134
|
+
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_end=3114
|
|
135
|
+
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_start=3116
|
|
136
|
+
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_end=3208
|
|
137
|
+
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_start=3210
|
|
138
|
+
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_end=3290
|
|
139
|
+
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_start=3292
|
|
140
|
+
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_end=3327
|
|
141
|
+
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_start=3330
|
|
142
|
+
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_end=3471
|
|
143
|
+
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=3473
|
|
144
|
+
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=3578
|
|
145
|
+
_globals['_TENANTSERVICE']._serialized_start=3581
|
|
146
|
+
_globals['_TENANTSERVICE']._serialized_end=5075
|
|
142
147
|
# @@protoc_insertion_point(module_scope)
|
metalstack/api/v2/tenant_pb2.pyi
CHANGED
|
@@ -3,6 +3,7 @@ import datetime
|
|
|
3
3
|
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
4
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
5
|
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
6
|
+
from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
|
|
6
7
|
from google.protobuf.internal import containers as _containers
|
|
7
8
|
from google.protobuf import descriptor as _descriptor
|
|
8
9
|
from google.protobuf import message as _message
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by https://github.com/
|
|
2
|
+
# Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
|
|
3
3
|
# source: metalstack/api/v2/token.proto
|
|
4
4
|
|
|
5
5
|
from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
|
|
6
6
|
from typing import Protocol
|
|
7
7
|
|
|
8
|
-
from
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
8
|
+
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
|
+
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.errors import ConnectError
|
|
11
|
+
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
|
+
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
13
|
+
from connectrpc.request import Headers, RequestContext
|
|
14
|
+
from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, Endpoint, EndpointSync
|
|
15
15
|
import metalstack.api.v2.token_pb2 as metalstack_dot_api_dot_v2_dot_token__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class TokenService(Protocol):
|
|
19
19
|
async def get(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetResponse:
|
|
20
|
-
raise
|
|
20
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
21
21
|
|
|
22
22
|
async def create(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceCreateResponse:
|
|
23
|
-
raise
|
|
23
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
24
24
|
|
|
25
25
|
async def update(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceUpdateResponse:
|
|
26
|
-
raise
|
|
26
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
27
27
|
|
|
28
28
|
async def list(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceListRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceListResponse:
|
|
29
|
-
raise
|
|
29
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
30
30
|
|
|
31
31
|
async def revoke(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRevokeRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRevokeResponse:
|
|
32
|
-
raise
|
|
32
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
33
33
|
|
|
34
34
|
async def refresh(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRefreshRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRefreshResponse:
|
|
35
|
-
raise
|
|
35
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
class TokenServiceASGIApplication(
|
|
39
|
-
def __init__(self, service: TokenService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None):
|
|
38
|
+
class TokenServiceASGIApplication(ConnectASGIApplication):
|
|
39
|
+
def __init__(self, service: TokenService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
40
40
|
super().__init__(
|
|
41
41
|
endpoints={
|
|
42
42
|
"/metalstack.api.v2.TokenService/Get": Endpoint.unary(
|
|
@@ -105,12 +105,12 @@ class TokenServiceASGIApplication(ConnecpyASGIApplication):
|
|
|
105
105
|
)
|
|
106
106
|
|
|
107
107
|
@property
|
|
108
|
-
def path(self):
|
|
108
|
+
def path(self) -> str:
|
|
109
109
|
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
110
110
|
return "/metalstack.api.v2.TokenService"
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
class TokenServiceClient(
|
|
113
|
+
class TokenServiceClient(ConnectClient):
|
|
114
114
|
async def get(
|
|
115
115
|
self,
|
|
116
116
|
request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetRequest,
|
|
@@ -234,21 +234,21 @@ class TokenServiceClient(ConnecpyClient):
|
|
|
234
234
|
|
|
235
235
|
class TokenServiceSync(Protocol):
|
|
236
236
|
def get(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetResponse:
|
|
237
|
-
raise
|
|
237
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
238
238
|
def create(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceCreateResponse:
|
|
239
|
-
raise
|
|
239
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
240
240
|
def update(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceUpdateResponse:
|
|
241
|
-
raise
|
|
241
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
242
242
|
def list(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceListRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceListResponse:
|
|
243
|
-
raise
|
|
243
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
244
244
|
def revoke(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRevokeRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRevokeResponse:
|
|
245
|
-
raise
|
|
245
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
246
246
|
def refresh(self, request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRefreshRequest, ctx: RequestContext) -> metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceRefreshResponse:
|
|
247
|
-
raise
|
|
247
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
248
248
|
|
|
249
249
|
|
|
250
|
-
class TokenServiceWSGIApplication(
|
|
251
|
-
def __init__(self, service: TokenServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None):
|
|
250
|
+
class TokenServiceWSGIApplication(ConnectWSGIApplication):
|
|
251
|
+
def __init__(self, service: TokenServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
252
252
|
super().__init__(
|
|
253
253
|
endpoints={
|
|
254
254
|
"/metalstack.api.v2.TokenService/Get": EndpointSync.unary(
|
|
@@ -317,12 +317,12 @@ class TokenServiceWSGIApplication(ConnecpyWSGIApplication):
|
|
|
317
317
|
)
|
|
318
318
|
|
|
319
319
|
@property
|
|
320
|
-
def path(self):
|
|
320
|
+
def path(self) -> str:
|
|
321
321
|
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
322
322
|
return "/metalstack.api.v2.TokenService"
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
class TokenServiceClientSync(
|
|
325
|
+
class TokenServiceClientSync(ConnectClientSync):
|
|
326
326
|
def get(
|
|
327
327
|
self,
|
|
328
328
|
request: metalstack_dot_api_dot_v2_dot_token__pb2.TokenServiceGetRequest,
|
metalstack/api/v2/token_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/token.proto
|
|
5
|
-
# Protobuf Python Version: 6.32.
|
|
5
|
+
# Protobuf Python Version: 6.32.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
15
|
32,
|
|
16
|
-
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/token.proto'
|
|
19
19
|
)
|
|
@@ -26,9 +26,10 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
|
26
26
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
27
27
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
28
|
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
29
|
+
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmetalstack/api/v2/token.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmetalstack/api/v2/token.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xb6\x06\n\x05Token\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1e\n\x04user\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04R\x04user\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12P\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x0bpermissions\x12\x34\n\x07\x65xpires\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65xpires\x12\x37\n\tissued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08issuedAt\x12\x45\n\ntoken_type\x18\x08 \x01(\x0e\x32\x1c.metalstack.api.v2.TokenTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\ttokenType\x12O\n\rproject_roles\x18\t \x03(\x0b\x32*.metalstack.api.v2.Token.ProjectRolesEntryR\x0cprojectRoles\x12L\n\x0ctenant_roles\x18\n \x03(\x0b\x32).metalstack.api.v2.Token.TenantRolesEntryR\x0btenantRoles\x12J\n\nadmin_role\x18\x0b \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"\x83\x07\n\x19TokenServiceCreateRequest\x12-\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12O\n\x0bpermissions\x18\x02 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x0bpermissions\x12G\n\x07\x65xpires\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x12\xbaH\x0f\xaa\x01\x0c\x1a\x05\x08\x81\xe7\x84\x0f\x32\x03\x08\xd8\x04R\x07\x65xpires\x12\xc1\x01\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceCreateRequest.ProjectRolesEntryB\\\xbaHY\x9a\x01V\"\x07r\x05\x10\x03\x18\x80\x01*K\xba\x01H\n\x0erole-specified\x12\x1eproject role must be specified\x1a\x16this >= 0 && this <= 3R\x0cprojectRoles\x12\xbd\x01\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceCreateRequest.TenantRolesEntryB[\xbaHX\x9a\x01U\"\x07r\x05\x10\x03\x18\x80\x01*J\xba\x01G\n\x0erole-specified\x12\x1dtenant role must be specified\x1a\x16this >= 0 && this <= 4R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"]\n\x10MethodPermission\x12$\n\x07subject\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x02R\x07subject\x12#\n\x07methods\x18\x02 \x03(\tB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x07methods\"d\n\x1aTokenServiceCreateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"\x19\n\x17TokenServiceListRequest\"L\n\x18TokenServiceListResponse\x12\x30\n\x06tokens\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.TokenR\x06tokens\"9\n\x19TokenServiceRevokeRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"\x1c\n\x1aTokenServiceRevokeResponse\"\xab\x07\n\x19TokenServiceUpdateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12\x32\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x45\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionR\x0bpermissions\x12\xc1\x01\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceUpdateRequest.ProjectRolesEntryB\\\xbaHY\x9a\x01V\"\x07r\x05\x10\x03\x18\x80\x01*K\xba\x01H\n\x0erole-specified\x12\x1eproject role must be specified\x1a\x16this >= 0 && this <= 3R\x0cprojectRoles\x12\xbd\x01\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceUpdateRequest.TenantRolesEntryB[\xbaHX\x9a\x01U\"\x07r\x05\x10\x03\x18\x80\x01*J\xba\x01G\n\x0erole-specified\x12\x1dtenant role must be specified\x1a\x16this >= 0 && this <= 4R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x01R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\x0e\n\x0c_descriptionB\r\n\x0b_admin_role\"L\n\x1aTokenServiceUpdateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"6\n\x16TokenServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"I\n\x17TokenServiceGetResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"\x1c\n\x1aTokenServiceRefreshRequest\"e\n\x1bTokenServiceRefreshResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret*S\n\tTokenType\x12\x1a\n\x16TOKEN_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTOKEN_TYPE_API\x10\x01\x12\x16\n\x12TOKEN_TYPE_CONSOLE\x10\x02\x32\x90\x05\n\x0cTokenService\x12\x62\n\x03Get\x12).metalstack.api.v2.TokenServiceGetRequest\x1a*.metalstack.api.v2.TokenServiceGetResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06\x43reate\x12,.metalstack.api.v2.TokenServiceCreateRequest\x1a-.metalstack.api.v2.TokenServiceCreateResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Update\x12,.metalstack.api.v2.TokenServiceUpdateRequest\x1a-.metalstack.api.v2.TokenServiceUpdateResponse\"\x04\xd8\xf3\x18\x03\x12\x65\n\x04List\x12*.metalstack.api.v2.TokenServiceListRequest\x1a+.metalstack.api.v2.TokenServiceListResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Revoke\x12,.metalstack.api.v2.TokenServiceRevokeRequest\x1a-.metalstack.api.v2.TokenServiceRevokeResponse\"\x04\xd8\xf3\x18\x03\x12n\n\x07Refresh\x12-.metalstack.api.v2.TokenServiceRefreshRequest\x1a..metalstack.api.v2.TokenServiceRefreshResponse\"\x04\xd8\xf3\x18\x03\x42\xc0\x01\n\x15\x63om.metalstack.api.v2B\nTokenProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
|
|
32
33
|
|
|
33
34
|
_globals = globals()
|
|
34
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -45,7 +46,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
46
|
_globals['_TOKEN'].fields_by_name['user']._loaded_options = None
|
|
46
47
|
_globals['_TOKEN'].fields_by_name['user']._serialized_options = b'\272H\007r\005\020\002\030\200\004'
|
|
47
48
|
_globals['_TOKEN'].fields_by_name['description']._loaded_options = None
|
|
48
|
-
_globals['_TOKEN'].fields_by_name['description']._serialized_options = b'\272H\
|
|
49
|
+
_globals['_TOKEN'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
49
50
|
_globals['_TOKEN'].fields_by_name['permissions']._loaded_options = None
|
|
50
51
|
_globals['_TOKEN'].fields_by_name['permissions']._serialized_options = b'\272H\006\222\001\003\020\364\003'
|
|
51
52
|
_globals['_TOKEN'].fields_by_name['token_type']._loaded_options = None
|
|
@@ -57,7 +58,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
58
|
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._loaded_options = None
|
|
58
59
|
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_options = b'8\001'
|
|
59
60
|
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
60
|
-
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\
|
|
61
|
+
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
61
62
|
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['permissions']._loaded_options = None
|
|
62
63
|
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['permissions']._serialized_options = b'\272H\005\222\001\002\020d'
|
|
63
64
|
_globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['expires']._loaded_options = None
|
|
@@ -83,7 +84,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
83
84
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
84
85
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
85
86
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
86
|
-
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\
|
|
87
|
+
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
87
88
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['project_roles']._loaded_options = None
|
|
88
89
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['project_roles']._serialized_options = b'\272HY\232\001V\"\007r\005\020\003\030\200\001*K\272\001H\n\016role-specified\022\036project role must be specified\032\026this >= 0 && this <= 3'
|
|
89
90
|
_globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['tenant_roles']._loaded_options = None
|
|
@@ -104,48 +105,48 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
104
105
|
_globals['_TOKENSERVICE'].methods_by_name['Revoke']._serialized_options = b'\330\363\030\003'
|
|
105
106
|
_globals['_TOKENSERVICE'].methods_by_name['Refresh']._loaded_options = None
|
|
106
107
|
_globals['_TOKENSERVICE'].methods_by_name['Refresh']._serialized_options = b'\330\363\030\003'
|
|
107
|
-
_globals['_TOKENTYPE']._serialized_start=
|
|
108
|
-
_globals['_TOKENTYPE']._serialized_end=
|
|
109
|
-
_globals['_TOKEN']._serialized_start=
|
|
110
|
-
_globals['_TOKEN']._serialized_end=
|
|
111
|
-
_globals['_TOKEN_PROJECTROLESENTRY']._serialized_start=
|
|
112
|
-
_globals['_TOKEN_PROJECTROLESENTRY']._serialized_end=
|
|
113
|
-
_globals['_TOKEN_TENANTROLESENTRY']._serialized_start=
|
|
114
|
-
_globals['_TOKEN_TENANTROLESENTRY']._serialized_end=
|
|
115
|
-
_globals['_TOKENSERVICECREATEREQUEST']._serialized_start=
|
|
116
|
-
_globals['_TOKENSERVICECREATEREQUEST']._serialized_end=
|
|
117
|
-
_globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_start=
|
|
118
|
-
_globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_end=
|
|
119
|
-
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_start=
|
|
120
|
-
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_end=
|
|
121
|
-
_globals['_METHODPERMISSION']._serialized_start=
|
|
122
|
-
_globals['_METHODPERMISSION']._serialized_end=
|
|
123
|
-
_globals['_TOKENSERVICECREATERESPONSE']._serialized_start=
|
|
124
|
-
_globals['_TOKENSERVICECREATERESPONSE']._serialized_end=
|
|
125
|
-
_globals['_TOKENSERVICELISTREQUEST']._serialized_start=
|
|
126
|
-
_globals['_TOKENSERVICELISTREQUEST']._serialized_end=
|
|
127
|
-
_globals['_TOKENSERVICELISTRESPONSE']._serialized_start=
|
|
128
|
-
_globals['_TOKENSERVICELISTRESPONSE']._serialized_end=
|
|
129
|
-
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=
|
|
130
|
-
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=
|
|
131
|
-
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=
|
|
132
|
-
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=
|
|
133
|
-
_globals['_TOKENSERVICEUPDATEREQUEST']._serialized_start=
|
|
134
|
-
_globals['_TOKENSERVICEUPDATEREQUEST']._serialized_end=
|
|
135
|
-
_globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_start=
|
|
136
|
-
_globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_end=
|
|
137
|
-
_globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_start=
|
|
138
|
-
_globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_end=
|
|
139
|
-
_globals['_TOKENSERVICEUPDATERESPONSE']._serialized_start=
|
|
140
|
-
_globals['_TOKENSERVICEUPDATERESPONSE']._serialized_end=
|
|
141
|
-
_globals['_TOKENSERVICEGETREQUEST']._serialized_start=
|
|
142
|
-
_globals['_TOKENSERVICEGETREQUEST']._serialized_end=
|
|
143
|
-
_globals['_TOKENSERVICEGETRESPONSE']._serialized_start=
|
|
144
|
-
_globals['_TOKENSERVICEGETRESPONSE']._serialized_end=
|
|
145
|
-
_globals['_TOKENSERVICEREFRESHREQUEST']._serialized_start=
|
|
146
|
-
_globals['_TOKENSERVICEREFRESHREQUEST']._serialized_end=
|
|
147
|
-
_globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_start=
|
|
148
|
-
_globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_end=
|
|
149
|
-
_globals['_TOKENSERVICE']._serialized_start=
|
|
150
|
-
_globals['_TOKENSERVICE']._serialized_end=
|
|
108
|
+
_globals['_TOKENTYPE']._serialized_start=3622
|
|
109
|
+
_globals['_TOKENTYPE']._serialized_end=3705
|
|
110
|
+
_globals['_TOKEN']._serialized_start=221
|
|
111
|
+
_globals['_TOKEN']._serialized_end=1043
|
|
112
|
+
_globals['_TOKEN_PROJECTROLESENTRY']._serialized_start=838
|
|
113
|
+
_globals['_TOKEN_PROJECTROLESENTRY']._serialized_end=933
|
|
114
|
+
_globals['_TOKEN_TENANTROLESENTRY']._serialized_start=935
|
|
115
|
+
_globals['_TOKEN_TENANTROLESENTRY']._serialized_end=1028
|
|
116
|
+
_globals['_TOKENSERVICECREATEREQUEST']._serialized_start=1046
|
|
117
|
+
_globals['_TOKENSERVICECREATEREQUEST']._serialized_end=1945
|
|
118
|
+
_globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_start=838
|
|
119
|
+
_globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_end=933
|
|
120
|
+
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_start=935
|
|
121
|
+
_globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_end=1028
|
|
122
|
+
_globals['_METHODPERMISSION']._serialized_start=1947
|
|
123
|
+
_globals['_METHODPERMISSION']._serialized_end=2040
|
|
124
|
+
_globals['_TOKENSERVICECREATERESPONSE']._serialized_start=2042
|
|
125
|
+
_globals['_TOKENSERVICECREATERESPONSE']._serialized_end=2142
|
|
126
|
+
_globals['_TOKENSERVICELISTREQUEST']._serialized_start=2144
|
|
127
|
+
_globals['_TOKENSERVICELISTREQUEST']._serialized_end=2169
|
|
128
|
+
_globals['_TOKENSERVICELISTRESPONSE']._serialized_start=2171
|
|
129
|
+
_globals['_TOKENSERVICELISTRESPONSE']._serialized_end=2247
|
|
130
|
+
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=2249
|
|
131
|
+
_globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=2306
|
|
132
|
+
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=2308
|
|
133
|
+
_globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=2336
|
|
134
|
+
_globals['_TOKENSERVICEUPDATEREQUEST']._serialized_start=2339
|
|
135
|
+
_globals['_TOKENSERVICEUPDATEREQUEST']._serialized_end=3278
|
|
136
|
+
_globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_start=838
|
|
137
|
+
_globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_end=933
|
|
138
|
+
_globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_start=935
|
|
139
|
+
_globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_end=1028
|
|
140
|
+
_globals['_TOKENSERVICEUPDATERESPONSE']._serialized_start=3280
|
|
141
|
+
_globals['_TOKENSERVICEUPDATERESPONSE']._serialized_end=3356
|
|
142
|
+
_globals['_TOKENSERVICEGETREQUEST']._serialized_start=3358
|
|
143
|
+
_globals['_TOKENSERVICEGETREQUEST']._serialized_end=3412
|
|
144
|
+
_globals['_TOKENSERVICEGETRESPONSE']._serialized_start=3414
|
|
145
|
+
_globals['_TOKENSERVICEGETRESPONSE']._serialized_end=3487
|
|
146
|
+
_globals['_TOKENSERVICEREFRESHREQUEST']._serialized_start=3489
|
|
147
|
+
_globals['_TOKENSERVICEREFRESHREQUEST']._serialized_end=3517
|
|
148
|
+
_globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_start=3519
|
|
149
|
+
_globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_end=3620
|
|
150
|
+
_globals['_TOKENSERVICE']._serialized_start=3708
|
|
151
|
+
_globals['_TOKENSERVICE']._serialized_end=4364
|
|
151
152
|
# @@protoc_insertion_point(module_scope)
|
metalstack/api/v2/token_pb2.pyi
CHANGED
|
@@ -4,6 +4,7 @@ from buf.validate import validate_pb2 as _validate_pb2
|
|
|
4
4
|
from google.protobuf import duration_pb2 as _duration_pb2
|
|
5
5
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
6
|
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
7
|
+
from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
|
|
7
8
|
from google.protobuf.internal import containers as _containers
|
|
8
9
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
9
10
|
from google.protobuf import descriptor as _descriptor
|