metal-stack-api 0.0.51__tar.gz → 0.0.54__tar.gz

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.
Files changed (140) hide show
  1. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/PKG-INFO +1 -1
  2. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metal_stack_api.egg-info/PKG-INFO +1 -1
  3. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metal_stack_api.egg-info/SOURCES.txt +6 -0
  4. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/partition_pb2.py +24 -24
  5. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/partition_pb2.pyi +6 -6
  6. metal_stack_api-0.0.54/metalstack/admin/v2/size_imageconstraint_connect.py +380 -0
  7. metal_stack_api-0.0.54/metalstack/admin/v2/size_imageconstraint_pb2.py +89 -0
  8. metal_stack_api-0.0.54/metalstack/admin/v2/size_imageconstraint_pb2.pyi +87 -0
  9. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/switch_connect.py +65 -0
  10. metal_stack_api-0.0.54/metalstack/admin/v2/switch_pb2.py +113 -0
  11. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/switch_pb2.pyi +15 -0
  12. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/machine_pb2.py +124 -116
  13. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/machine_pb2.pyi +21 -13
  14. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/partition_pb2.py +24 -24
  15. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/partition_pb2.pyi +6 -6
  16. metal_stack_api-0.0.54/metalstack/api/v2/size_imageconstraint_connect.py +120 -0
  17. metal_stack_api-0.0.54/metalstack/api/v2/size_imageconstraint_pb2.py +72 -0
  18. metal_stack_api-0.0.54/metalstack/api/v2/size_imageconstraint_pb2.pyi +54 -0
  19. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_pb2.py +19 -19
  20. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/switch_pb2.py +34 -29
  21. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/switch_pb2.pyi +23 -0
  22. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/client/client.py +8 -0
  23. metal_stack_api-0.0.51/metalstack/admin/v2/switch_pb2.py +0 -106
  24. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/README.md +0 -0
  25. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metal_stack_api.egg-info/dependency_links.txt +0 -0
  26. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metal_stack_api.egg-info/requires.txt +0 -0
  27. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metal_stack_api.egg-info/top_level.txt +0 -0
  28. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/__init__.py +0 -0
  29. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/__init__.py +0 -0
  30. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/__init__.py +0 -0
  31. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/component_connect.py +0 -0
  32. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/component_pb2.py +0 -0
  33. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/component_pb2.pyi +0 -0
  34. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/filesystem_connect.py +0 -0
  35. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/filesystem_pb2.py +0 -0
  36. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
  37. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/image_connect.py +0 -0
  38. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/image_pb2.py +0 -0
  39. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/image_pb2.pyi +0 -0
  40. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/ip_connect.py +0 -0
  41. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/ip_pb2.py +0 -0
  42. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/ip_pb2.pyi +0 -0
  43. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/machine_connect.py +0 -0
  44. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/machine_pb2.py +0 -0
  45. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/machine_pb2.pyi +0 -0
  46. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/network_connect.py +0 -0
  47. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/network_pb2.py +0 -0
  48. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/network_pb2.pyi +0 -0
  49. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/partition_connect.py +0 -0
  50. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/project_connect.py +0 -0
  51. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/project_pb2.py +0 -0
  52. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/project_pb2.pyi +0 -0
  53. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_connect.py +0 -0
  54. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_pb2.py +0 -0
  55. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_pb2.pyi +0 -0
  56. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_reservation_connect.py +0 -0
  57. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_reservation_pb2.py +0 -0
  58. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/size_reservation_pb2.pyi +0 -0
  59. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/task_connect.py +0 -0
  60. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/task_pb2.py +0 -0
  61. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/task_pb2.pyi +0 -0
  62. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/tenant_connect.py +0 -0
  63. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/tenant_pb2.py +0 -0
  64. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
  65. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/token_connect.py +0 -0
  66. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/token_pb2.py +0 -0
  67. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/token_pb2.pyi +0 -0
  68. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/vpn_connect.py +0 -0
  69. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/vpn_pb2.py +0 -0
  70. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/admin/v2/vpn_pb2.pyi +0 -0
  71. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/__init__.py +0 -0
  72. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/__init__.py +0 -0
  73. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/common_pb2.py +0 -0
  74. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/common_pb2.pyi +0 -0
  75. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/component_pb2.py +0 -0
  76. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/component_pb2.pyi +0 -0
  77. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/filesystem_connect.py +0 -0
  78. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/filesystem_pb2.py +0 -0
  79. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
  80. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/health_connect.py +0 -0
  81. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/health_pb2.py +0 -0
  82. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/health_pb2.pyi +0 -0
  83. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/image_connect.py +0 -0
  84. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/image_pb2.py +0 -0
  85. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/image_pb2.pyi +0 -0
  86. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/ip_connect.py +0 -0
  87. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/ip_pb2.py +0 -0
  88. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/ip_pb2.pyi +0 -0
  89. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/machine_connect.py +0 -0
  90. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/method_connect.py +0 -0
  91. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/method_pb2.py +0 -0
  92. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/method_pb2.pyi +0 -0
  93. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/network_connect.py +0 -0
  94. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/network_pb2.py +0 -0
  95. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/network_pb2.pyi +0 -0
  96. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/partition_connect.py +0 -0
  97. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/predefined_rules_pb2.py +0 -0
  98. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/predefined_rules_pb2.pyi +0 -0
  99. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/project_connect.py +0 -0
  100. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/project_pb2.py +0 -0
  101. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/project_pb2.pyi +0 -0
  102. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_connect.py +0 -0
  103. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_pb2.pyi +0 -0
  104. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_reservation_connect.py +0 -0
  105. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_reservation_pb2.py +0 -0
  106. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/size_reservation_pb2.pyi +0 -0
  107. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/tenant_connect.py +0 -0
  108. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/tenant_pb2.py +0 -0
  109. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/tenant_pb2.pyi +0 -0
  110. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/token_connect.py +0 -0
  111. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/token_pb2.py +0 -0
  112. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/token_pb2.pyi +0 -0
  113. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/user_connect.py +0 -0
  114. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/user_pb2.py +0 -0
  115. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/user_pb2.pyi +0 -0
  116. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/version_connect.py +0 -0
  117. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/version_pb2.py +0 -0
  118. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/version_pb2.pyi +0 -0
  119. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/vpn_pb2.py +0 -0
  120. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/api/v2/vpn_pb2.pyi +0 -0
  121. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/client/__init__.py +0 -0
  122. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/__init__.py +0 -0
  123. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/__init__.py +0 -0
  124. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/bmc_connect.py +0 -0
  125. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/bmc_pb2.py +0 -0
  126. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
  127. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/boot_connect.py +0 -0
  128. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/boot_pb2.py +0 -0
  129. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/boot_pb2.pyi +0 -0
  130. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/component_connect.py +0 -0
  131. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/component_pb2.py +0 -0
  132. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/component_pb2.pyi +0 -0
  133. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/event_connect.py +0 -0
  134. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/event_pb2.py +0 -0
  135. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/event_pb2.pyi +0 -0
  136. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/switch_connect.py +0 -0
  137. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/switch_pb2.py +0 -0
  138. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/metalstack/infra/v2/switch_pb2.pyi +0 -0
  139. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/setup.cfg +0 -0
  140. {metal_stack_api-0.0.51 → metal_stack_api-0.0.54}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.0.51
3
+ Version: 0.0.54
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.0.51
3
+ Version: 0.0.54
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -33,6 +33,9 @@ metalstack/admin/v2/project_connect.py
33
33
  metalstack/admin/v2/project_pb2.py
34
34
  metalstack/admin/v2/project_pb2.pyi
35
35
  metalstack/admin/v2/size_connect.py
36
+ metalstack/admin/v2/size_imageconstraint_connect.py
37
+ metalstack/admin/v2/size_imageconstraint_pb2.py
38
+ metalstack/admin/v2/size_imageconstraint_pb2.pyi
36
39
  metalstack/admin/v2/size_pb2.py
37
40
  metalstack/admin/v2/size_pb2.pyi
38
41
  metalstack/admin/v2/size_reservation_connect.py
@@ -89,6 +92,9 @@ metalstack/api/v2/project_connect.py
89
92
  metalstack/api/v2/project_pb2.py
90
93
  metalstack/api/v2/project_pb2.pyi
91
94
  metalstack/api/v2/size_connect.py
95
+ metalstack/api/v2/size_imageconstraint_connect.py
96
+ metalstack/api/v2/size_imageconstraint_pb2.py
97
+ metalstack/api/v2/size_imageconstraint_pb2.pyi
92
98
  metalstack/api/v2/size_pb2.py
93
99
  metalstack/api/v2/size_pb2.pyi
94
100
  metalstack/api/v2/size_reservation_connect.py
@@ -28,7 +28,7 @@ from metalstack.api.v2 import partition_pb2 as metalstack_dot_api_dot_v2_dot_par
28
28
  from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
29
29
 
30
30
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#metalstack/admin/v2/partition.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a!metalstack/api/v2/partition.proto\x1a(metalstack/api/v2/predefined_rules.proto\"[\n\x1dPartitionServiceCreateRequest\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xb3\x04\n\x1dPartitionServiceUpdateRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\x02id\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\\\n\x12\x62oot_configuration\x18\x04 \x01(\x0b\x32-.metalstack.api.v2.PartitionBootConfigurationR\x11\x62ootConfiguration\x12\x45\n\ndns_server\x18\x05 \x03(\x0b\x32\x1c.metalstack.api.v2.DNSServerB\x08\xbaH\x05\x92\x01\x02\x10\x03R\tdnsServer\x12\x45\n\nntp_server\x18\x06 \x03(\x0b\x32\x1c.metalstack.api.v2.NTPServerB\x08\xbaH\x05\x92\x01\x02\x10\nR\tntpServer\x12\x34\n\x16mgmt_service_addresses\x18\x07 \x03(\tR\x14mgmtServiceAddresses\x12<\n\x06labels\x18\x08 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x01R\x06labels\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_labels\"<\n\x1dPartitionServiceDeleteRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\x02id\"\\\n\x1ePartitionServiceCreateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceUpdateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceDeleteResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xae\x01\n\x1fPartitionServiceCapacityRequest\x12 \n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\x02id\x88\x01\x01\x12$\n\x04size\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04size\x88\x01\x01\x12\'\n\x07project\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x02R\x07project\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_sizeB\n\n\x08_project\"y\n PartitionServiceCapacityResponse\x12U\n\x12partition_capacity\x18\x01 \x03(\x0b\x32&.metalstack.admin.v2.PartitionCapacityR\x11partitionCapacity\"\xa0\x01\n\x11PartitionCapacity\x12)\n\tpartition\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\tpartition\x12`\n\x17machine_size_capacities\x18\x02 \x03(\x0b\x32(.metalstack.admin.v2.MachineSizeCapacityR\x15machineSizeCapacities\"\x83\x04\n\x13MachineSizeCapacity\x12\x1f\n\x04size\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12\x14\n\x05total\x18\x03 \x01(\x03R\x05total\x12\x1f\n\x0bphoned_home\x18\x04 \x01(\x03R\nphonedHome\x12\x18\n\x07waiting\x18\x05 \x01(\x03R\x07waiting\x12\x14\n\x05other\x18\x06 \x01(\x03R\x05other\x12%\n\x0eother_machines\x18\x07 \x03(\tR\rotherMachines\x12\x1c\n\tallocated\x18\x08 \x01(\x03R\tallocated\x12 \n\x0b\x61llocatable\x18\t \x01(\x03R\x0b\x61llocatable\x12\x12\n\x04\x66ree\x18\n \x01(\x03R\x04\x66ree\x12 \n\x0bunavailable\x18\x0b \x01(\x03R\x0bunavailable\x12\x16\n\x06\x66\x61ulty\x18\x0c \x01(\x03R\x06\x66\x61ulty\x12\'\n\x0f\x66\x61ulty_machines\x18\r \x03(\tR\x0e\x66\x61ultyMachines\x12\"\n\x0creservations\x18\x0e \x01(\x03R\x0creservations\x12+\n\x11used_reservations\x18\x0f \x01(\x03R\x10usedReservations\x12\x35\n\x16remaining_reservations\x18\x10 \x01(\x03R\x15remainingReservations2\x92\x04\n\x10PartitionService\x12|\n\x06\x43reate\x12\x32.metalstack.admin.v2.PartitionServiceCreateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06Update\x12\x32.metalstack.admin.v2.PartitionServiceUpdateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06\x44\x65lete\x12\x32.metalstack.admin.v2.PartitionServiceDeleteRequest\x1a\x33.metalstack.admin.v2.PartitionServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x08\x43\x61pacity\x12\x34.metalstack.admin.v2.PartitionServiceCapacityRequest\x1a\x35.metalstack.admin.v2.PartitionServiceCapacityResponse\"\n\xd2\xf3\x18\x02\x02\x01\xe0\xf3\x18\x02\x42\xd2\x01\n\x17\x63om.metalstack.admin.v2B\x0ePartitionProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#metalstack/admin/v2/partition.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a!metalstack/api/v2/partition.proto\x1a(metalstack/api/v2/predefined_rules.proto\"[\n\x1dPartitionServiceCreateRequest\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xb7\x04\n\x1dPartitionServiceUpdateRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\x02id\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\\\n\x12\x62oot_configuration\x18\x04 \x01(\x0b\x32-.metalstack.api.v2.PartitionBootConfigurationR\x11\x62ootConfiguration\x12G\n\x0b\x64ns_servers\x18\x05 \x03(\x0b\x32\x1c.metalstack.api.v2.DNSServerB\x08\xbaH\x05\x92\x01\x02\x10\x03R\ndnsServers\x12G\n\x0bntp_servers\x18\x06 \x03(\x0b\x32\x1c.metalstack.api.v2.NTPServerB\x08\xbaH\x05\x92\x01\x02\x10\nR\nntpServers\x12\x34\n\x16mgmt_service_addresses\x18\x07 \x03(\tR\x14mgmtServiceAddresses\x12<\n\x06labels\x18\x08 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x01R\x06labels\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_labels\"<\n\x1dPartitionServiceDeleteRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\x02id\"\\\n\x1ePartitionServiceCreateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceUpdateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceDeleteResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xae\x01\n\x1fPartitionServiceCapacityRequest\x12 \n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\x02id\x88\x01\x01\x12$\n\x04size\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04size\x88\x01\x01\x12\'\n\x07project\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x02R\x07project\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_sizeB\n\n\x08_project\"y\n PartitionServiceCapacityResponse\x12U\n\x12partition_capacity\x18\x01 \x03(\x0b\x32&.metalstack.admin.v2.PartitionCapacityR\x11partitionCapacity\"\xa0\x01\n\x11PartitionCapacity\x12)\n\tpartition\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01R\tpartition\x12`\n\x17machine_size_capacities\x18\x02 \x03(\x0b\x32(.metalstack.admin.v2.MachineSizeCapacityR\x15machineSizeCapacities\"\x83\x04\n\x13MachineSizeCapacity\x12\x1f\n\x04size\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12\x14\n\x05total\x18\x03 \x01(\x03R\x05total\x12\x1f\n\x0bphoned_home\x18\x04 \x01(\x03R\nphonedHome\x12\x18\n\x07waiting\x18\x05 \x01(\x03R\x07waiting\x12\x14\n\x05other\x18\x06 \x01(\x03R\x05other\x12%\n\x0eother_machines\x18\x07 \x03(\tR\rotherMachines\x12\x1c\n\tallocated\x18\x08 \x01(\x03R\tallocated\x12 \n\x0b\x61llocatable\x18\t \x01(\x03R\x0b\x61llocatable\x12\x12\n\x04\x66ree\x18\n \x01(\x03R\x04\x66ree\x12 \n\x0bunavailable\x18\x0b \x01(\x03R\x0bunavailable\x12\x16\n\x06\x66\x61ulty\x18\x0c \x01(\x03R\x06\x66\x61ulty\x12\'\n\x0f\x66\x61ulty_machines\x18\r \x03(\tR\x0e\x66\x61ultyMachines\x12\"\n\x0creservations\x18\x0e \x01(\x03R\x0creservations\x12+\n\x11used_reservations\x18\x0f \x01(\x03R\x10usedReservations\x12\x35\n\x16remaining_reservations\x18\x10 \x01(\x03R\x15remainingReservations2\x92\x04\n\x10PartitionService\x12|\n\x06\x43reate\x12\x32.metalstack.admin.v2.PartitionServiceCreateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06Update\x12\x32.metalstack.admin.v2.PartitionServiceUpdateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06\x44\x65lete\x12\x32.metalstack.admin.v2.PartitionServiceDeleteRequest\x1a\x33.metalstack.admin.v2.PartitionServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x08\x43\x61pacity\x12\x34.metalstack.admin.v2.PartitionServiceCapacityRequest\x1a\x35.metalstack.admin.v2.PartitionServiceCapacityResponse\"\n\xd2\xf3\x18\x02\x02\x01\xe0\xf3\x18\x02\x42\xd2\x01\n\x17\x63om.metalstack.admin.v2B\x0ePartitionProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -42,10 +42,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
42
42
  _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
43
43
  _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
44
44
  _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
45
- _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_server']._loaded_options = None
46
- _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_server']._serialized_options = b'\272H\005\222\001\002\020\003'
47
- _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_server']._loaded_options = None
48
- _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_server']._serialized_options = b'\272H\005\222\001\002\020\n'
45
+ _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_servers']._loaded_options = None
46
+ _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_servers']._serialized_options = b'\272H\005\222\001\002\020\003'
47
+ _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_servers']._loaded_options = None
48
+ _globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_servers']._serialized_options = b'\272H\005\222\001\002\020\n'
49
49
  _globals['_PARTITIONSERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
50
50
  _globals['_PARTITIONSERVICEDELETEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\320\263\256\261\002\001'
51
51
  _globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['id']._loaded_options = None
@@ -69,23 +69,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
69
69
  _globals['_PARTITIONSERVICECREATEREQUEST']._serialized_start=198
70
70
  _globals['_PARTITIONSERVICECREATEREQUEST']._serialized_end=289
71
71
  _globals['_PARTITIONSERVICEUPDATEREQUEST']._serialized_start=292
72
- _globals['_PARTITIONSERVICEUPDATEREQUEST']._serialized_end=855
73
- _globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_start=857
74
- _globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_end=917
75
- _globals['_PARTITIONSERVICECREATERESPONSE']._serialized_start=919
76
- _globals['_PARTITIONSERVICECREATERESPONSE']._serialized_end=1011
77
- _globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_start=1013
78
- _globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_end=1105
79
- _globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_start=1107
80
- _globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_end=1199
81
- _globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_start=1202
82
- _globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_end=1376
83
- _globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_start=1378
84
- _globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_end=1499
85
- _globals['_PARTITIONCAPACITY']._serialized_start=1502
86
- _globals['_PARTITIONCAPACITY']._serialized_end=1662
87
- _globals['_MACHINESIZECAPACITY']._serialized_start=1665
88
- _globals['_MACHINESIZECAPACITY']._serialized_end=2180
89
- _globals['_PARTITIONSERVICE']._serialized_start=2183
90
- _globals['_PARTITIONSERVICE']._serialized_end=2713
72
+ _globals['_PARTITIONSERVICEUPDATEREQUEST']._serialized_end=859
73
+ _globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_start=861
74
+ _globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_end=921
75
+ _globals['_PARTITIONSERVICECREATERESPONSE']._serialized_start=923
76
+ _globals['_PARTITIONSERVICECREATERESPONSE']._serialized_end=1015
77
+ _globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_start=1017
78
+ _globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_end=1109
79
+ _globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_start=1111
80
+ _globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_end=1203
81
+ _globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_start=1206
82
+ _globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_end=1380
83
+ _globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_start=1382
84
+ _globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_end=1503
85
+ _globals['_PARTITIONCAPACITY']._serialized_start=1506
86
+ _globals['_PARTITIONCAPACITY']._serialized_end=1666
87
+ _globals['_MACHINESIZECAPACITY']._serialized_start=1669
88
+ _globals['_MACHINESIZECAPACITY']._serialized_end=2184
89
+ _globals['_PARTITIONSERVICE']._serialized_start=2187
90
+ _globals['_PARTITIONSERVICE']._serialized_end=2717
91
91
  # @@protoc_insertion_point(module_scope)
@@ -17,24 +17,24 @@ class PartitionServiceCreateRequest(_message.Message):
17
17
  def __init__(self, partition: _Optional[_Union[_partition_pb2.Partition, _Mapping]] = ...) -> None: ...
18
18
 
19
19
  class PartitionServiceUpdateRequest(_message.Message):
20
- __slots__ = ("id", "update_meta", "description", "boot_configuration", "dns_server", "ntp_server", "mgmt_service_addresses", "labels")
20
+ __slots__ = ("id", "update_meta", "description", "boot_configuration", "dns_servers", "ntp_servers", "mgmt_service_addresses", "labels")
21
21
  ID_FIELD_NUMBER: _ClassVar[int]
22
22
  UPDATE_META_FIELD_NUMBER: _ClassVar[int]
23
23
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
24
24
  BOOT_CONFIGURATION_FIELD_NUMBER: _ClassVar[int]
25
- DNS_SERVER_FIELD_NUMBER: _ClassVar[int]
26
- NTP_SERVER_FIELD_NUMBER: _ClassVar[int]
25
+ DNS_SERVERS_FIELD_NUMBER: _ClassVar[int]
26
+ NTP_SERVERS_FIELD_NUMBER: _ClassVar[int]
27
27
  MGMT_SERVICE_ADDRESSES_FIELD_NUMBER: _ClassVar[int]
28
28
  LABELS_FIELD_NUMBER: _ClassVar[int]
29
29
  id: str
30
30
  update_meta: _common_pb2.UpdateMeta
31
31
  description: str
32
32
  boot_configuration: _partition_pb2.PartitionBootConfiguration
33
- dns_server: _containers.RepeatedCompositeFieldContainer[_partition_pb2.DNSServer]
34
- ntp_server: _containers.RepeatedCompositeFieldContainer[_partition_pb2.NTPServer]
33
+ dns_servers: _containers.RepeatedCompositeFieldContainer[_partition_pb2.DNSServer]
34
+ ntp_servers: _containers.RepeatedCompositeFieldContainer[_partition_pb2.NTPServer]
35
35
  mgmt_service_addresses: _containers.RepeatedScalarFieldContainer[str]
36
36
  labels: _common_pb2.UpdateLabels
37
- def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., description: _Optional[str] = ..., boot_configuration: _Optional[_Union[_partition_pb2.PartitionBootConfiguration, _Mapping]] = ..., dns_server: _Optional[_Iterable[_Union[_partition_pb2.DNSServer, _Mapping]]] = ..., ntp_server: _Optional[_Iterable[_Union[_partition_pb2.NTPServer, _Mapping]]] = ..., mgmt_service_addresses: _Optional[_Iterable[str]] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ...) -> None: ...
37
+ def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., description: _Optional[str] = ..., boot_configuration: _Optional[_Union[_partition_pb2.PartitionBootConfiguration, _Mapping]] = ..., dns_servers: _Optional[_Iterable[_Union[_partition_pb2.DNSServer, _Mapping]]] = ..., ntp_servers: _Optional[_Iterable[_Union[_partition_pb2.NTPServer, _Mapping]]] = ..., mgmt_service_addresses: _Optional[_Iterable[str]] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ...) -> None: ...
38
38
 
39
39
  class PartitionServiceDeleteRequest(_message.Message):
40
40
  __slots__ = ("id",)
@@ -0,0 +1,380 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
+ # source: metalstack/admin/v2/size_imageconstraint.proto
4
+
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
+ from typing import Protocol
7
+
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
+ import metalstack.admin.v2.size_imageconstraint_pb2 as metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2
16
+
17
+
18
+ class SizeImageConstraintService(Protocol):
19
+ async def create(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
20
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
21
+
22
+ async def update(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
23
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
24
+
25
+ async def delete(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
26
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
27
+
28
+ async def get(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
29
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
30
+
31
+ async def list(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
32
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
33
+
34
+
35
+ class SizeImageConstraintServiceASGIApplication(ConnectASGIApplication[SizeImageConstraintService]):
36
+ def __init__(self, service: SizeImageConstraintService | AsyncGenerator[SizeImageConstraintService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
37
+ super().__init__(
38
+ service=service,
39
+ endpoints=lambda svc: {
40
+ "/metalstack.admin.v2.SizeImageConstraintService/Create": Endpoint.unary(
41
+ method=MethodInfo(
42
+ name="Create",
43
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
44
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
45
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
46
+ idempotency_level=IdempotencyLevel.UNKNOWN,
47
+ ),
48
+ function=svc.create,
49
+ ),
50
+ "/metalstack.admin.v2.SizeImageConstraintService/Update": Endpoint.unary(
51
+ method=MethodInfo(
52
+ name="Update",
53
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
54
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
55
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
56
+ idempotency_level=IdempotencyLevel.UNKNOWN,
57
+ ),
58
+ function=svc.update,
59
+ ),
60
+ "/metalstack.admin.v2.SizeImageConstraintService/Delete": Endpoint.unary(
61
+ method=MethodInfo(
62
+ name="Delete",
63
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
64
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
65
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
66
+ idempotency_level=IdempotencyLevel.UNKNOWN,
67
+ ),
68
+ function=svc.delete,
69
+ ),
70
+ "/metalstack.admin.v2.SizeImageConstraintService/Get": Endpoint.unary(
71
+ method=MethodInfo(
72
+ name="Get",
73
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
74
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
75
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
76
+ idempotency_level=IdempotencyLevel.UNKNOWN,
77
+ ),
78
+ function=svc.get,
79
+ ),
80
+ "/metalstack.admin.v2.SizeImageConstraintService/List": Endpoint.unary(
81
+ method=MethodInfo(
82
+ name="List",
83
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
84
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
85
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
86
+ idempotency_level=IdempotencyLevel.UNKNOWN,
87
+ ),
88
+ function=svc.list,
89
+ ),
90
+ },
91
+ interceptors=interceptors,
92
+ read_max_bytes=read_max_bytes,
93
+ )
94
+
95
+ @property
96
+ def path(self) -> str:
97
+ """Returns the URL path to mount the application to when serving multiple applications."""
98
+ return "/metalstack.admin.v2.SizeImageConstraintService"
99
+
100
+
101
+ class SizeImageConstraintServiceClient(ConnectClient):
102
+ async def create(
103
+ self,
104
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
105
+ *,
106
+ headers: Headers | Mapping[str, str] | None = None,
107
+ timeout_ms: int | None = None,
108
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
109
+ return await self.execute_unary(
110
+ request=request,
111
+ method=MethodInfo(
112
+ name="Create",
113
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
114
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
115
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
116
+ idempotency_level=IdempotencyLevel.UNKNOWN,
117
+ ),
118
+ headers=headers,
119
+ timeout_ms=timeout_ms,
120
+ )
121
+
122
+ async def update(
123
+ self,
124
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
125
+ *,
126
+ headers: Headers | Mapping[str, str] | None = None,
127
+ timeout_ms: int | None = None,
128
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
129
+ return await self.execute_unary(
130
+ request=request,
131
+ method=MethodInfo(
132
+ name="Update",
133
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
134
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
135
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
136
+ idempotency_level=IdempotencyLevel.UNKNOWN,
137
+ ),
138
+ headers=headers,
139
+ timeout_ms=timeout_ms,
140
+ )
141
+
142
+ async def delete(
143
+ self,
144
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
145
+ *,
146
+ headers: Headers | Mapping[str, str] | None = None,
147
+ timeout_ms: int | None = None,
148
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
149
+ return await self.execute_unary(
150
+ request=request,
151
+ method=MethodInfo(
152
+ name="Delete",
153
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
154
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
155
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
156
+ idempotency_level=IdempotencyLevel.UNKNOWN,
157
+ ),
158
+ headers=headers,
159
+ timeout_ms=timeout_ms,
160
+ )
161
+
162
+ async def get(
163
+ self,
164
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
165
+ *,
166
+ headers: Headers | Mapping[str, str] | None = None,
167
+ timeout_ms: int | None = None,
168
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
169
+ return await self.execute_unary(
170
+ request=request,
171
+ method=MethodInfo(
172
+ name="Get",
173
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
174
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
175
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
176
+ idempotency_level=IdempotencyLevel.UNKNOWN,
177
+ ),
178
+ headers=headers,
179
+ timeout_ms=timeout_ms,
180
+ )
181
+
182
+ async def list(
183
+ self,
184
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
185
+ *,
186
+ headers: Headers | Mapping[str, str] | None = None,
187
+ timeout_ms: int | None = None,
188
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
189
+ return await self.execute_unary(
190
+ request=request,
191
+ method=MethodInfo(
192
+ name="List",
193
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
194
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
195
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
196
+ idempotency_level=IdempotencyLevel.UNKNOWN,
197
+ ),
198
+ headers=headers,
199
+ timeout_ms=timeout_ms,
200
+ )
201
+
202
+
203
+ class SizeImageConstraintServiceSync(Protocol):
204
+ def create(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
205
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
206
+ def update(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
207
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
208
+ def delete(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
209
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
210
+ def get(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
211
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
212
+ def list(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
213
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
214
+
215
+
216
+ class SizeImageConstraintServiceWSGIApplication(ConnectWSGIApplication):
217
+ def __init__(self, service: SizeImageConstraintServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
218
+ super().__init__(
219
+ endpoints={
220
+ "/metalstack.admin.v2.SizeImageConstraintService/Create": EndpointSync.unary(
221
+ method=MethodInfo(
222
+ name="Create",
223
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
224
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
225
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
226
+ idempotency_level=IdempotencyLevel.UNKNOWN,
227
+ ),
228
+ function=service.create,
229
+ ),
230
+ "/metalstack.admin.v2.SizeImageConstraintService/Update": EndpointSync.unary(
231
+ method=MethodInfo(
232
+ name="Update",
233
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
234
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
235
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
236
+ idempotency_level=IdempotencyLevel.UNKNOWN,
237
+ ),
238
+ function=service.update,
239
+ ),
240
+ "/metalstack.admin.v2.SizeImageConstraintService/Delete": EndpointSync.unary(
241
+ method=MethodInfo(
242
+ name="Delete",
243
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
244
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
245
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
246
+ idempotency_level=IdempotencyLevel.UNKNOWN,
247
+ ),
248
+ function=service.delete,
249
+ ),
250
+ "/metalstack.admin.v2.SizeImageConstraintService/Get": EndpointSync.unary(
251
+ method=MethodInfo(
252
+ name="Get",
253
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
254
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
255
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
256
+ idempotency_level=IdempotencyLevel.UNKNOWN,
257
+ ),
258
+ function=service.get,
259
+ ),
260
+ "/metalstack.admin.v2.SizeImageConstraintService/List": EndpointSync.unary(
261
+ method=MethodInfo(
262
+ name="List",
263
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
264
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
265
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
266
+ idempotency_level=IdempotencyLevel.UNKNOWN,
267
+ ),
268
+ function=service.list,
269
+ ),
270
+ },
271
+ interceptors=interceptors,
272
+ read_max_bytes=read_max_bytes,
273
+ )
274
+
275
+ @property
276
+ def path(self) -> str:
277
+ """Returns the URL path to mount the application to when serving multiple applications."""
278
+ return "/metalstack.admin.v2.SizeImageConstraintService"
279
+
280
+
281
+ class SizeImageConstraintServiceClientSync(ConnectClientSync):
282
+ def create(
283
+ self,
284
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
285
+ *,
286
+ headers: Headers | Mapping[str, str] | None = None,
287
+ timeout_ms: int | None = None,
288
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
289
+ return self.execute_unary(
290
+ request=request,
291
+ method=MethodInfo(
292
+ name="Create",
293
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
294
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
295
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
296
+ idempotency_level=IdempotencyLevel.UNKNOWN,
297
+ ),
298
+ headers=headers,
299
+ timeout_ms=timeout_ms,
300
+ )
301
+
302
+ def update(
303
+ self,
304
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
305
+ *,
306
+ headers: Headers | Mapping[str, str] | None = None,
307
+ timeout_ms: int | None = None,
308
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
309
+ return self.execute_unary(
310
+ request=request,
311
+ method=MethodInfo(
312
+ name="Update",
313
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
314
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
315
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
316
+ idempotency_level=IdempotencyLevel.UNKNOWN,
317
+ ),
318
+ headers=headers,
319
+ timeout_ms=timeout_ms,
320
+ )
321
+
322
+ def delete(
323
+ self,
324
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
325
+ *,
326
+ headers: Headers | Mapping[str, str] | None = None,
327
+ timeout_ms: int | None = None,
328
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
329
+ return self.execute_unary(
330
+ request=request,
331
+ method=MethodInfo(
332
+ name="Delete",
333
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
334
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
335
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
336
+ idempotency_level=IdempotencyLevel.UNKNOWN,
337
+ ),
338
+ headers=headers,
339
+ timeout_ms=timeout_ms,
340
+ )
341
+
342
+ def get(
343
+ self,
344
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
345
+ *,
346
+ headers: Headers | Mapping[str, str] | None = None,
347
+ timeout_ms: int | None = None,
348
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
349
+ return self.execute_unary(
350
+ request=request,
351
+ method=MethodInfo(
352
+ name="Get",
353
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
354
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
355
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
356
+ idempotency_level=IdempotencyLevel.UNKNOWN,
357
+ ),
358
+ headers=headers,
359
+ timeout_ms=timeout_ms,
360
+ )
361
+
362
+ def list(
363
+ self,
364
+ request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
365
+ *,
366
+ headers: Headers | Mapping[str, str] | None = None,
367
+ timeout_ms: int | None = None,
368
+ ) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
369
+ return self.execute_unary(
370
+ request=request,
371
+ method=MethodInfo(
372
+ name="List",
373
+ service_name="metalstack.admin.v2.SizeImageConstraintService",
374
+ input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
375
+ output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
376
+ idempotency_level=IdempotencyLevel.UNKNOWN,
377
+ ),
378
+ headers=headers,
379
+ timeout_ms=timeout_ms,
380
+ )
@@ -0,0 +1,89 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: metalstack/admin/v2/size_imageconstraint.proto
5
+ # Protobuf Python Version: 6.33.5
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 5,
17
+ '',
18
+ 'metalstack/admin/v2/size_imageconstraint.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
+ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
27
+ from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
28
+ from metalstack.api.v2 import size_imageconstraint_pb2 as metalstack_dot_api_dot_v2_dot_size__imageconstraint__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.metalstack/admin/v2/size_imageconstraint.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\x1a,metalstack/api/v2/size_imageconstraint.proto\"\xbb\x02\n\'SizeImageConstraintServiceCreateRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12O\n\x11image_constraints\x18\x02 \x03(\x0b\x32\".metalstack.api.v2.ImageConstraintR\x10imageConstraints\x12+\n\x04meta\x18\x03 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x86\x01\n(SizeImageConstraintServiceCreateResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"\xd6\x02\n\'SizeImageConstraintServiceUpdateRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12O\n\x11image_constraints\x18\x03 \x03(\x0b\x32\".metalstack.api.v2.ImageConstraintR\x10imageConstraints\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x86\x01\n(SizeImageConstraintServiceUpdateResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"J\n\'SizeImageConstraintServiceDeleteRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\"\x86\x01\n(SizeImageConstraintServiceDeleteResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"G\n$SizeImageConstraintServiceGetRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\"\x83\x01\n%SizeImageConstraintServiceGetResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"j\n%SizeImageConstraintServiceListRequest\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32+.metalstack.api.v2.SizeImageConstraintQueryR\x05query\"\x86\x01\n&SizeImageConstraintServiceListResponse\x12\\\n\x16size_image_constraints\x18\x01 \x03(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x14sizeImageConstraints2\xee\x05\n\x1aSizeImageConstraintService\x12\x90\x01\n\x06\x43reate\x12<.metalstack.admin.v2.SizeImageConstraintServiceCreateRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x90\x01\n\x06Update\x12<.metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x90\x01\n\x06\x44\x65lete\x12<.metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x88\x01\n\x03Get\x12\x39.metalstack.admin.v2.SizeImageConstraintServiceGetRequest\x1a:.metalstack.admin.v2.SizeImageConstraintServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12\x8b\x01\n\x04List\x12:.metalstack.admin.v2.SizeImageConstraintServiceListRequest\x1a;.metalstack.admin.v2.SizeImageConstraintServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xdc\x01\n\x17\x63om.metalstack.admin.v2B\x18SizeImageconstraintProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.size_imageconstraint_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\030SizeImageconstraintProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
39
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['size']._loaded_options = None
40
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
41
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
42
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
43
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
44
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
45
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['size']._loaded_options = None
46
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
47
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
48
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
49
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
50
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
51
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
52
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
53
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST'].fields_by_name['size']._loaded_options = None
54
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
55
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST'].fields_by_name['size']._loaded_options = None
56
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
57
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Create']._loaded_options = None
58
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
59
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Update']._loaded_options = None
60
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
61
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Delete']._loaded_options = None
62
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
63
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Get']._loaded_options = None
64
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Get']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
65
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['List']._loaded_options = None
66
+ _globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['List']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
67
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST']._serialized_start=221
68
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST']._serialized_end=536
69
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATERESPONSE']._serialized_start=539
70
+ _globals['_SIZEIMAGECONSTRAINTSERVICECREATERESPONSE']._serialized_end=673
71
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST']._serialized_start=676
72
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST']._serialized_end=1018
73
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATERESPONSE']._serialized_start=1021
74
+ _globals['_SIZEIMAGECONSTRAINTSERVICEUPDATERESPONSE']._serialized_end=1155
75
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST']._serialized_start=1157
76
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST']._serialized_end=1231
77
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETERESPONSE']._serialized_start=1234
78
+ _globals['_SIZEIMAGECONSTRAINTSERVICEDELETERESPONSE']._serialized_end=1368
79
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST']._serialized_start=1370
80
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST']._serialized_end=1441
81
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETRESPONSE']._serialized_start=1444
82
+ _globals['_SIZEIMAGECONSTRAINTSERVICEGETRESPONSE']._serialized_end=1575
83
+ _globals['_SIZEIMAGECONSTRAINTSERVICELISTREQUEST']._serialized_start=1577
84
+ _globals['_SIZEIMAGECONSTRAINTSERVICELISTREQUEST']._serialized_end=1683
85
+ _globals['_SIZEIMAGECONSTRAINTSERVICELISTRESPONSE']._serialized_start=1686
86
+ _globals['_SIZEIMAGECONSTRAINTSERVICELISTRESPONSE']._serialized_end=1820
87
+ _globals['_SIZEIMAGECONSTRAINTSERVICE']._serialized_start=1823
88
+ _globals['_SIZEIMAGECONSTRAINTSERVICE']._serialized_end=2573
89
+ # @@protoc_insertion_point(module_scope)