metalstack.cloud 0.15.2__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.
Files changed (111) hide show
  1. buf/__init__.py +0 -0
  2. buf/validate/__init__.py +0 -0
  3. buf/validate/validate_pb2.py +450 -0
  4. buf/validate/validate_pb2.pyi +631 -0
  5. buf/validate/validate_pb2_grpc.py +4 -0
  6. metalstack_cloud-0.15.2.dist-info/METADATA +26 -0
  7. metalstack_cloud-0.15.2.dist-info/RECORD +111 -0
  8. metalstack_cloud-0.15.2.dist-info/WHEEL +5 -0
  9. metalstack_cloud-0.15.2.dist-info/top_level.txt +2 -0
  10. metalstackcloud/__init__.py +0 -0
  11. metalstackcloud/admin/__init__.py +0 -0
  12. metalstackcloud/admin/v1/__init__.py +0 -0
  13. metalstackcloud/admin/v1/cluster_connecpy.py +214 -0
  14. metalstackcloud/admin/v1/cluster_pb2.py +70 -0
  15. metalstackcloud/admin/v1/cluster_pb2.pyi +93 -0
  16. metalstackcloud/admin/v1/cluster_pb2_grpc.py +169 -0
  17. metalstackcloud/admin/v1/machine_pb2.py +42 -0
  18. metalstackcloud/admin/v1/machine_pb2.pyi +76 -0
  19. metalstackcloud/admin/v1/machine_pb2_grpc.py +4 -0
  20. metalstackcloud/admin/v1/payment_connecpy.py +158 -0
  21. metalstackcloud/admin/v1/payment_pb2.py +51 -0
  22. metalstackcloud/admin/v1/payment_pb2.pyi +33 -0
  23. metalstackcloud/admin/v1/payment_pb2_grpc.py +125 -0
  24. metalstackcloud/admin/v1/project_connecpy.py +102 -0
  25. metalstackcloud/admin/v1/project_pb2.py +49 -0
  26. metalstackcloud/admin/v1/project_pb2.pyi +34 -0
  27. metalstackcloud/admin/v1/project_pb2_grpc.py +81 -0
  28. metalstackcloud/admin/v1/storage_connecpy.py +214 -0
  29. metalstackcloud/admin/v1/storage_pb2.py +75 -0
  30. metalstackcloud/admin/v1/storage_pb2.pyi +149 -0
  31. metalstackcloud/admin/v1/storage_pb2_grpc.py +169 -0
  32. metalstackcloud/admin/v1/tenant_connecpy.py +270 -0
  33. metalstackcloud/admin/v1/tenant_pb2.py +66 -0
  34. metalstackcloud/admin/v1/tenant_pb2.pyi +72 -0
  35. metalstackcloud/admin/v1/tenant_pb2_grpc.py +213 -0
  36. metalstackcloud/admin/v1/token_connecpy.py +158 -0
  37. metalstackcloud/admin/v1/token_pb2.py +56 -0
  38. metalstackcloud/admin/v1/token_pb2.pyi +34 -0
  39. metalstackcloud/admin/v1/token_pb2_grpc.py +125 -0
  40. metalstackcloud/api/__init__.py +0 -0
  41. metalstackcloud/api/v1/__init__.py +0 -0
  42. metalstackcloud/api/v1/asset_connecpy.py +102 -0
  43. metalstackcloud/api/v1/asset_pb2.py +76 -0
  44. metalstackcloud/api/v1/asset_pb2.pyi +132 -0
  45. metalstackcloud/api/v1/asset_pb2_grpc.py +81 -0
  46. metalstackcloud/api/v1/audit_connecpy.py +158 -0
  47. metalstackcloud/api/v1/audit_pb2.py +84 -0
  48. metalstackcloud/api/v1/audit_pb2.pyi +95 -0
  49. metalstackcloud/api/v1/audit_pb2_grpc.py +125 -0
  50. metalstackcloud/api/v1/cluster_connecpy.py +494 -0
  51. metalstackcloud/api/v1/cluster_pb2.py +183 -0
  52. metalstackcloud/api/v1/cluster_pb2.pyi +311 -0
  53. metalstackcloud/api/v1/cluster_pb2_grpc.py +389 -0
  54. metalstackcloud/api/v1/common_pb2.py +52 -0
  55. metalstackcloud/api/v1/common_pb2.pyi +98 -0
  56. metalstackcloud/api/v1/common_pb2_grpc.py +4 -0
  57. metalstackcloud/api/v1/health_connecpy.py +102 -0
  58. metalstackcloud/api/v1/health_pb2.py +58 -0
  59. metalstackcloud/api/v1/health_pb2.pyi +74 -0
  60. metalstackcloud/api/v1/health_pb2_grpc.py +81 -0
  61. metalstackcloud/api/v1/ip_connecpy.py +326 -0
  62. metalstackcloud/api/v1/ip_pb2.py +110 -0
  63. metalstackcloud/api/v1/ip_pb2.pyi +122 -0
  64. metalstackcloud/api/v1/ip_pb2_grpc.py +257 -0
  65. metalstackcloud/api/v1/method_connecpy.py +158 -0
  66. metalstackcloud/api/v1/method_pb2.py +62 -0
  67. metalstackcloud/api/v1/method_pb2.pyi +50 -0
  68. metalstackcloud/api/v1/method_pb2_grpc.py +128 -0
  69. metalstackcloud/api/v1/payment_connecpy.py +550 -0
  70. metalstackcloud/api/v1/payment_pb2.py +134 -0
  71. metalstackcloud/api/v1/payment_pb2.pyi +291 -0
  72. metalstackcloud/api/v1/payment_pb2_grpc.py +433 -0
  73. metalstackcloud/api/v1/project_connecpy.py +718 -0
  74. metalstackcloud/api/v1/project_pb2.py +156 -0
  75. metalstackcloud/api/v1/project_pb2.pyi +234 -0
  76. metalstackcloud/api/v1/project_pb2_grpc.py +565 -0
  77. metalstackcloud/api/v1/snapshot_connecpy.py +214 -0
  78. metalstackcloud/api/v1/snapshot_pb2.py +75 -0
  79. metalstackcloud/api/v1/snapshot_pb2.pyi +109 -0
  80. metalstackcloud/api/v1/snapshot_pb2_grpc.py +169 -0
  81. metalstackcloud/api/v1/tenant_connecpy.py +774 -0
  82. metalstackcloud/api/v1/tenant_pb2.py +159 -0
  83. metalstackcloud/api/v1/tenant_pb2.pyi +305 -0
  84. metalstackcloud/api/v1/tenant_pb2_grpc.py +609 -0
  85. metalstackcloud/api/v1/token_connecpy.py +326 -0
  86. metalstackcloud/api/v1/token_pb2.py +131 -0
  87. metalstackcloud/api/v1/token_pb2.pyi +175 -0
  88. metalstackcloud/api/v1/token_pb2_grpc.py +257 -0
  89. metalstackcloud/api/v1/user_connecpy.py +102 -0
  90. metalstackcloud/api/v1/user_pb2.py +48 -0
  91. metalstackcloud/api/v1/user_pb2.pyi +42 -0
  92. metalstackcloud/api/v1/user_pb2_grpc.py +81 -0
  93. metalstackcloud/api/v1/version_connecpy.py +102 -0
  94. metalstackcloud/api/v1/version_pb2.py +46 -0
  95. metalstackcloud/api/v1/version_pb2.pyi +29 -0
  96. metalstackcloud/api/v1/version_pb2_grpc.py +81 -0
  97. metalstackcloud/api/v1/volume_connecpy.py +270 -0
  98. metalstackcloud/api/v1/volume_pb2.py +91 -0
  99. metalstackcloud/api/v1/volume_pb2.pyi +165 -0
  100. metalstackcloud/api/v1/volume_pb2_grpc.py +213 -0
  101. metalstackcloud/client.py +139 -0
  102. metalstackcloud/status/__init__.py +0 -0
  103. metalstackcloud/status/v1/__init__.py +0 -0
  104. metalstackcloud/status/v1/message_connecpy.py +102 -0
  105. metalstackcloud/status/v1/message_pb2.py +51 -0
  106. metalstackcloud/status/v1/message_pb2.pyi +65 -0
  107. metalstackcloud/status/v1/message_pb2_grpc.py +84 -0
  108. metalstackcloud/status/v1/status_connecpy.py +102 -0
  109. metalstackcloud/status/v1/status_pb2.py +45 -0
  110. metalstackcloud/status/v1/status_pb2.pyi +24 -0
  111. metalstackcloud/status/v1/status_pb2_grpc.py +84 -0
@@ -0,0 +1,183 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: api/v1/cluster.proto
5
+ # Protobuf Python Version: 6.31.1
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
+ 31,
16
+ 1,
17
+ '',
18
+ 'api/v1/cluster.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from metalstackcloud.api.v1 import common_pb2 as api_dot_v1_dot_common__pb2
26
+ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
27
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
28
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x61pi/v1/cluster.proto\x12\x06\x61pi.v1\x1a\x13\x61pi/v1/common.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x05\n\x07\x43luster\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1d\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18\x0cR\x04name\x12$\n\x07project\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12\x1c\n\tpartition\x18\x04 \x01(\tR\tpartition\x12\x36\n\nkubernetes\x18\x05 \x01(\x0b\x32\x16.api.v1.KubernetesSpecR\nkubernetes\x12(\n\x07workers\x18\x06 \x03(\x0b\x32\x0e.api.v1.WorkerR\x07workers\x12\x35\n\x0bmaintenance\x18\x07 \x01(\x0b\x32\x13.api.v1.MaintenanceR\x0bmaintenance\x12\x16\n\x06tenant\x18\x08 \x01(\tR\x06tenant\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x39\n\ndeleted_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tdeletedAt\x12-\n\x06status\x18\x14 \x01(\x0b\x32\x15.api.v1.ClusterStatusR\x06status\x12\x1d\n\x07purpose\x18\x15 \x01(\tH\x00R\x07purpose\x88\x01\x01\x12\x39\n\nmonitoring\x18\x16 \x01(\x0b\x32\x19.api.v1.ClusterMonitoringR\nmonitoringB\n\n\x08_purpose\"H\n\x0eKubernetesSpec\x12\x36\n\x07version\x18\x01 \x01(\tB\x1c\xbaH\x19r\x17(\x08\x32\x13[0-9]+.[0-9]+.[0-9]R\x07version\"\xfb\x01\n\x0bMaintenance\x12\x38\n\x15kubernetes_autoupdate\x18\x01 \x01(\x08H\x00R\x14kubernetesAutoupdate\x88\x01\x01\x12<\n\x17machineimage_autoupdate\x18\x02 \x01(\x08H\x01R\x16machineimageAutoupdate\x88\x01\x01\x12>\n\x0btime_window\x18\x03 \x01(\x0b\x32\x1d.api.v1.MaintenanceTimeWindowR\ntimeWindowB\x18\n\x16_kubernetes_autoupdateB\x1a\n\x18_machineimage_autoupdate\"\x84\x01\n\x15MaintenanceTimeWindow\x12\"\n\x05\x62\x65gin\x18\x01 \x01(\x0b\x32\x0c.api.v1.TimeR\x05\x62\x65gin\x12G\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x10\xbaH\r\xaa\x01\n\x1a\x03\x08\xc0p2\x03\x08\x90\x1cR\x08\x64uration\"`\n\x04Time\x12\x1b\n\x04hour\x18\x01 \x01(\rB\x07\xbaH\x04*\x02\x18\x18R\x04hour\x12\x1f\n\x06minute\x18\x02 \x01(\rB\x07\xbaH\x04*\x02\x18<R\x06minute\x12\x1a\n\x08timezone\x18\x03 \x01(\tR\x08timezone\"\xf3\x01\n\x06Worker\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12-\n\x0cmachine_type\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0bmachineType\x12!\n\x07minsize\x18\x03 \x01(\rB\x07\xbaH\x04*\x02\x18 R\x07minsize\x12!\n\x07maxsize\x18\x04 \x01(\rB\x07\xbaH\x04*\x02\x18@R\x07maxsize\x12#\n\x08maxsurge\x18\x05 \x01(\rB\x07\xbaH\x04*\x02\x18@R\x08maxsurge\x12/\n\x0emaxunavailable\x18\x06 \x01(\rB\x07\xbaH\x04*\x02\x18@R\x0emaxunavailable\"\xdb\x02\n\x0cWorkerUpdate\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12\x32\n\x0cmachine_type\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x0bmachineType\x88\x01\x01\x12&\n\x07minsize\x18\x03 \x01(\rB\x07\xbaH\x04*\x02\x18 H\x01R\x07minsize\x88\x01\x01\x12&\n\x07maxsize\x18\x04 \x01(\rB\x07\xbaH\x04*\x02\x18@H\x02R\x07maxsize\x88\x01\x01\x12(\n\x08maxsurge\x18\x05 \x01(\rB\x07\xbaH\x04*\x02\x18@H\x03R\x08maxsurge\x88\x01\x01\x12\x34\n\x0emaxunavailable\x18\x06 \x01(\rB\x07\xbaH\x04*\x02\x18@H\x04R\x0emaxunavailable\x88\x01\x01\x42\x0f\n\r_machine_typeB\n\n\x08_minsizeB\n\n\x08_maxsizeB\x0b\n\t_maxsurgeB\x11\n\x0f_maxunavailable\"^\n\x18\x43lusterServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"\x97\x01\n\x1c\x43lusterServiceOperateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12\x33\n\x07operate\x18\x03 \x01(\x0e\x32\x0f.api.v1.OperateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07operate\"\xb8\x01\n#ClusterServiceGetCredentialsRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12>\n\nexpiration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\nexpiration\x88\x01\x01\x42\r\n\x0b_expiration\"A\n\x19\x43lusterServiceListRequest\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"\x9b\x02\n\x1b\x43lusterServiceCreateRequest\x12\x1f\n\x04name\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\x10\x02\x18\x0ch\x01R\x04name\x12$\n\x07project\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12\x1c\n\tpartition\x18\x04 \x01(\tR\tpartition\x12\x36\n\nkubernetes\x18\x06 \x01(\x0b\x32\x16.api.v1.KubernetesSpecR\nkubernetes\x12(\n\x07workers\x18\x07 \x03(\x0b\x32\x0e.api.v1.WorkerR\x07workers\x12\x35\n\x0bmaintenance\x18\x08 \x01(\x0b\x32\x13.api.v1.MaintenanceR\x0bmaintenance\"\xa9\x02\n\x1b\x43lusterServiceUpdateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12;\n\nkubernetes\x18\x03 \x01(\x0b\x32\x16.api.v1.KubernetesSpecH\x00R\nkubernetes\x88\x01\x01\x12.\n\x07workers\x18\x04 \x03(\x0b\x32\x14.api.v1.WorkerUpdateR\x07workers\x12:\n\x0bmaintenance\x18\x05 \x01(\x0b\x32\x13.api.v1.MaintenanceH\x01R\x0bmaintenance\x88\x01\x01\x42\r\n\x0b_kubernetesB\x0e\n\x0c_maintenance\"a\n\x1b\x43lusterServiceDeleteRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"t\n ClusterServiceWatchStatusRequest\x12!\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\x04uuid\x88\x01\x01\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07projectB\x07\n\x05_uuid\"\x9d\x03\n\rClusterStatus\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n\x08progress\x18\x02 \x01(\rR\x08progress\x12\x14\n\x05state\x18\x03 \x01(\tR\x05state\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12(\n\x10\x61pi_server_ready\x18\n \x01(\tR\x0e\x61piServerReady\x12.\n\x13\x63ontrol_plane_ready\x18\x0b \x01(\tR\x11\x63ontrolPlaneReady\x12\x1f\n\x0bnodes_ready\x18\x0c \x01(\tR\nnodesReady\x12\x36\n\x17system_components_ready\x18\r \x01(\tR\x15systemComponentsReady\x12?\n\x0blast_errors\x18\x0e \x03(\x0b\x32\x1e.api.v1.ClusterStatusLastErrorR\nlastErrors\x12>\n\nconditions\x18\x0f \x03(\x0b\x32\x1e.api.v1.ClusterStatusConditionR\nconditions\"\xaa\x01\n\x16\x43lusterStatusLastError\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\x07task_id\x18\x02 \x01(\tH\x00R\x06taskId\x88\x01\x01\x12\x44\n\x10last_update_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0elastUpdateTimeB\n\n\x08_task_id\"\x97\x02\n\x16\x43lusterStatusCondition\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason\x12%\n\x0estatus_message\x18\x04 \x01(\tR\rstatusMessage\x12L\n\x14last_transition_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x12lastTransitionTime\x12\x44\n\x10last_update_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0elastUpdateTime\"g\n\x11\x43lusterMonitoring\x12\x1a\n\x08username\x18\x01 \x01(\tR\x08username\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password\x12\x1a\n\x08\x65ndpoint\x18\x03 \x01(\tR\x08\x65ndpoint\"I\n\x1c\x43lusterServiceCreateResponse\x12)\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x0f.api.v1.ClusterR\x07\x63luster\"F\n\x19\x43lusterServiceGetResponse\x12)\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x0f.api.v1.ClusterR\x07\x63luster\"F\n$ClusterServiceGetCredentialsResponse\x12\x1e\n\nkubeconfig\x18\x01 \x01(\tR\nkubeconfig\"I\n\x1c\x43lusterServiceDeleteResponse\x12)\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x0f.api.v1.ClusterR\x07\x63luster\"I\n\x1c\x43lusterServiceUpdateResponse\x12)\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x0f.api.v1.ClusterR\x07\x63luster\"I\n\x1a\x43lusterServiceListResponse\x12+\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x0f.api.v1.ClusterR\x08\x63lusters\"R\n!ClusterServiceWatchStatusResponse\x12-\n\x06status\x18\x01 \x01(\x0b\x32\x15.api.v1.ClusterStatusR\x06status\"J\n\x1d\x43lusterServiceOperateResponse\x12)\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x0f.api.v1.ClusterR\x07\x63luster*b\n\x07Operate\x12\x17\n\x13OPERATE_UNSPECIFIED\x10\x00\x12\x15\n\x11OPERATE_RECONCILE\x10\x01\x12\x14\n\x10OPERATE_MAINTAIN\x10\x02\x12\x11\n\rOPERATE_RETRY\x10\x03\x32\xac\x06\n\x0e\x43lusterService\x12_\n\x06\x43reate\x12#.api.v1.ClusterServiceCreateRequest\x1a$.api.v1.ClusterServiceCreateResponse\"\n\xca\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12W\n\x03Get\x12 .api.v1.ClusterServiceGetRequest\x1a!.api.v1.ClusterServiceGetResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe8\xf3\x18\x02\x12Z\n\x04List\x12!.api.v1.ClusterServiceListRequest\x1a\".api.v1.ClusterServiceListResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe8\xf3\x18\x02\x12q\n\x0bWatchStatus\x12(.api.v1.ClusterServiceWatchStatusRequest\x1a).api.v1.ClusterServiceWatchStatusResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe8\xf3\x18\x02\x30\x01\x12[\n\x06\x44\x65lete\x12#.api.v1.ClusterServiceDeleteRequest\x1a$.api.v1.ClusterServiceDeleteResponse\"\x06\xca\xf3\x18\x02\x01\x02\x12_\n\x06Update\x12#.api.v1.ClusterServiceUpdateRequest\x1a$.api.v1.ClusterServiceUpdateResponse\"\n\xca\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12s\n\x0eGetCredentials\x12+.api.v1.ClusterServiceGetCredentialsRequest\x1a,.api.v1.ClusterServiceGetCredentialsResponse\"\x06\xca\xf3\x18\x02\x01\x02\x12^\n\x07Operate\x12$.api.v1.ClusterServiceOperateRequest\x1a%.api.v1.ClusterServiceOperateResponse\"\x06\xca\xf3\x18\x02\x01\x02\x42\x85\x01\n\ncom.api.v1B\x0c\x43lusterProtoP\x01Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\xa2\x02\x03\x41XX\xaa\x02\x06\x41pi.V1\xca\x02\x06\x41pi\\V1\xe2\x02\x12\x41pi\\V1\\GPBMetadata\xea\x02\x07\x41pi::V1b\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v1.cluster_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'\n\ncom.api.v1B\014ClusterProtoP\001Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\242\002\003AXX\252\002\006Api.V1\312\002\006Api\\V1\342\002\022Api\\V1\\GPBMetadata\352\002\007Api::V1'
39
+ _globals['_CLUSTER'].fields_by_name['uuid']._loaded_options = None
40
+ _globals['_CLUSTER'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
41
+ _globals['_CLUSTER'].fields_by_name['name']._loaded_options = None
42
+ _globals['_CLUSTER'].fields_by_name['name']._serialized_options = b'\272H\006r\004\020\002\030\014'
43
+ _globals['_CLUSTER'].fields_by_name['project']._loaded_options = None
44
+ _globals['_CLUSTER'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
45
+ _globals['_KUBERNETESSPEC'].fields_by_name['version']._loaded_options = None
46
+ _globals['_KUBERNETESSPEC'].fields_by_name['version']._serialized_options = b'\272H\031r\027(\0102\023[0-9]+.[0-9]+.[0-9]'
47
+ _globals['_MAINTENANCETIMEWINDOW'].fields_by_name['duration']._loaded_options = None
48
+ _globals['_MAINTENANCETIMEWINDOW'].fields_by_name['duration']._serialized_options = b'\272H\r\252\001\n\032\003\010\300p2\003\010\220\034'
49
+ _globals['_TIME'].fields_by_name['hour']._loaded_options = None
50
+ _globals['_TIME'].fields_by_name['hour']._serialized_options = b'\272H\004*\002\030\030'
51
+ _globals['_TIME'].fields_by_name['minute']._loaded_options = None
52
+ _globals['_TIME'].fields_by_name['minute']._serialized_options = b'\272H\004*\002\030<'
53
+ _globals['_WORKER'].fields_by_name['name']._loaded_options = None
54
+ _globals['_WORKER'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
55
+ _globals['_WORKER'].fields_by_name['machine_type']._loaded_options = None
56
+ _globals['_WORKER'].fields_by_name['machine_type']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
57
+ _globals['_WORKER'].fields_by_name['minsize']._loaded_options = None
58
+ _globals['_WORKER'].fields_by_name['minsize']._serialized_options = b'\272H\004*\002\030 '
59
+ _globals['_WORKER'].fields_by_name['maxsize']._loaded_options = None
60
+ _globals['_WORKER'].fields_by_name['maxsize']._serialized_options = b'\272H\004*\002\030@'
61
+ _globals['_WORKER'].fields_by_name['maxsurge']._loaded_options = None
62
+ _globals['_WORKER'].fields_by_name['maxsurge']._serialized_options = b'\272H\004*\002\030@'
63
+ _globals['_WORKER'].fields_by_name['maxunavailable']._loaded_options = None
64
+ _globals['_WORKER'].fields_by_name['maxunavailable']._serialized_options = b'\272H\004*\002\030@'
65
+ _globals['_WORKERUPDATE'].fields_by_name['name']._loaded_options = None
66
+ _globals['_WORKERUPDATE'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
67
+ _globals['_WORKERUPDATE'].fields_by_name['machine_type']._loaded_options = None
68
+ _globals['_WORKERUPDATE'].fields_by_name['machine_type']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
69
+ _globals['_WORKERUPDATE'].fields_by_name['minsize']._loaded_options = None
70
+ _globals['_WORKERUPDATE'].fields_by_name['minsize']._serialized_options = b'\272H\004*\002\030 '
71
+ _globals['_WORKERUPDATE'].fields_by_name['maxsize']._loaded_options = None
72
+ _globals['_WORKERUPDATE'].fields_by_name['maxsize']._serialized_options = b'\272H\004*\002\030@'
73
+ _globals['_WORKERUPDATE'].fields_by_name['maxsurge']._loaded_options = None
74
+ _globals['_WORKERUPDATE'].fields_by_name['maxsurge']._serialized_options = b'\272H\004*\002\030@'
75
+ _globals['_WORKERUPDATE'].fields_by_name['maxunavailable']._loaded_options = None
76
+ _globals['_WORKERUPDATE'].fields_by_name['maxunavailable']._serialized_options = b'\272H\004*\002\030@'
77
+ _globals['_CLUSTERSERVICEGETREQUEST'].fields_by_name['uuid']._loaded_options = None
78
+ _globals['_CLUSTERSERVICEGETREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
79
+ _globals['_CLUSTERSERVICEGETREQUEST'].fields_by_name['project']._loaded_options = None
80
+ _globals['_CLUSTERSERVICEGETREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
81
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['uuid']._loaded_options = None
82
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
83
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['project']._loaded_options = None
84
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
85
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['operate']._loaded_options = None
86
+ _globals['_CLUSTERSERVICEOPERATEREQUEST'].fields_by_name['operate']._serialized_options = b'\272H\005\202\001\002\020\001'
87
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST'].fields_by_name['uuid']._loaded_options = None
88
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
89
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST'].fields_by_name['project']._loaded_options = None
90
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
91
+ _globals['_CLUSTERSERVICELISTREQUEST'].fields_by_name['project']._loaded_options = None
92
+ _globals['_CLUSTERSERVICELISTREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
93
+ _globals['_CLUSTERSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
94
+ _globals['_CLUSTERSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\020\002\030\014h\001'
95
+ _globals['_CLUSTERSERVICECREATEREQUEST'].fields_by_name['project']._loaded_options = None
96
+ _globals['_CLUSTERSERVICECREATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
97
+ _globals['_CLUSTERSERVICEUPDATEREQUEST'].fields_by_name['uuid']._loaded_options = None
98
+ _globals['_CLUSTERSERVICEUPDATEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
99
+ _globals['_CLUSTERSERVICEUPDATEREQUEST'].fields_by_name['project']._loaded_options = None
100
+ _globals['_CLUSTERSERVICEUPDATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
101
+ _globals['_CLUSTERSERVICEDELETEREQUEST'].fields_by_name['uuid']._loaded_options = None
102
+ _globals['_CLUSTERSERVICEDELETEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
103
+ _globals['_CLUSTERSERVICEDELETEREQUEST'].fields_by_name['project']._loaded_options = None
104
+ _globals['_CLUSTERSERVICEDELETEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
105
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST'].fields_by_name['uuid']._loaded_options = None
106
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
107
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST'].fields_by_name['project']._loaded_options = None
108
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
109
+ _globals['_CLUSTERSERVICE'].methods_by_name['Create']._loaded_options = None
110
+ _globals['_CLUSTERSERVICE'].methods_by_name['Create']._serialized_options = b'\312\363\030\002\001\002\340\363\030\001'
111
+ _globals['_CLUSTERSERVICE'].methods_by_name['Get']._loaded_options = None
112
+ _globals['_CLUSTERSERVICE'].methods_by_name['Get']._serialized_options = b'\312\363\030\003\001\002\003\350\363\030\002'
113
+ _globals['_CLUSTERSERVICE'].methods_by_name['List']._loaded_options = None
114
+ _globals['_CLUSTERSERVICE'].methods_by_name['List']._serialized_options = b'\312\363\030\003\001\002\003\350\363\030\002'
115
+ _globals['_CLUSTERSERVICE'].methods_by_name['WatchStatus']._loaded_options = None
116
+ _globals['_CLUSTERSERVICE'].methods_by_name['WatchStatus']._serialized_options = b'\312\363\030\003\001\002\003\350\363\030\002'
117
+ _globals['_CLUSTERSERVICE'].methods_by_name['Delete']._loaded_options = None
118
+ _globals['_CLUSTERSERVICE'].methods_by_name['Delete']._serialized_options = b'\312\363\030\002\001\002'
119
+ _globals['_CLUSTERSERVICE'].methods_by_name['Update']._loaded_options = None
120
+ _globals['_CLUSTERSERVICE'].methods_by_name['Update']._serialized_options = b'\312\363\030\002\001\002\340\363\030\001'
121
+ _globals['_CLUSTERSERVICE'].methods_by_name['GetCredentials']._loaded_options = None
122
+ _globals['_CLUSTERSERVICE'].methods_by_name['GetCredentials']._serialized_options = b'\312\363\030\002\001\002'
123
+ _globals['_CLUSTERSERVICE'].methods_by_name['Operate']._loaded_options = None
124
+ _globals['_CLUSTERSERVICE'].methods_by_name['Operate']._serialized_options = b'\312\363\030\002\001\002'
125
+ _globals['_OPERATE']._serialized_start=4835
126
+ _globals['_OPERATE']._serialized_end=4933
127
+ _globals['_CLUSTER']._serialized_start=148
128
+ _globals['_CLUSTER']._serialized_end=789
129
+ _globals['_KUBERNETESSPEC']._serialized_start=791
130
+ _globals['_KUBERNETESSPEC']._serialized_end=863
131
+ _globals['_MAINTENANCE']._serialized_start=866
132
+ _globals['_MAINTENANCE']._serialized_end=1117
133
+ _globals['_MAINTENANCETIMEWINDOW']._serialized_start=1120
134
+ _globals['_MAINTENANCETIMEWINDOW']._serialized_end=1252
135
+ _globals['_TIME']._serialized_start=1254
136
+ _globals['_TIME']._serialized_end=1350
137
+ _globals['_WORKER']._serialized_start=1353
138
+ _globals['_WORKER']._serialized_end=1596
139
+ _globals['_WORKERUPDATE']._serialized_start=1599
140
+ _globals['_WORKERUPDATE']._serialized_end=1946
141
+ _globals['_CLUSTERSERVICEGETREQUEST']._serialized_start=1948
142
+ _globals['_CLUSTERSERVICEGETREQUEST']._serialized_end=2042
143
+ _globals['_CLUSTERSERVICEOPERATEREQUEST']._serialized_start=2045
144
+ _globals['_CLUSTERSERVICEOPERATEREQUEST']._serialized_end=2196
145
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST']._serialized_start=2199
146
+ _globals['_CLUSTERSERVICEGETCREDENTIALSREQUEST']._serialized_end=2383
147
+ _globals['_CLUSTERSERVICELISTREQUEST']._serialized_start=2385
148
+ _globals['_CLUSTERSERVICELISTREQUEST']._serialized_end=2450
149
+ _globals['_CLUSTERSERVICECREATEREQUEST']._serialized_start=2453
150
+ _globals['_CLUSTERSERVICECREATEREQUEST']._serialized_end=2736
151
+ _globals['_CLUSTERSERVICEUPDATEREQUEST']._serialized_start=2739
152
+ _globals['_CLUSTERSERVICEUPDATEREQUEST']._serialized_end=3036
153
+ _globals['_CLUSTERSERVICEDELETEREQUEST']._serialized_start=3038
154
+ _globals['_CLUSTERSERVICEDELETEREQUEST']._serialized_end=3135
155
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST']._serialized_start=3137
156
+ _globals['_CLUSTERSERVICEWATCHSTATUSREQUEST']._serialized_end=3253
157
+ _globals['_CLUSTERSTATUS']._serialized_start=3256
158
+ _globals['_CLUSTERSTATUS']._serialized_end=3669
159
+ _globals['_CLUSTERSTATUSLASTERROR']._serialized_start=3672
160
+ _globals['_CLUSTERSTATUSLASTERROR']._serialized_end=3842
161
+ _globals['_CLUSTERSTATUSCONDITION']._serialized_start=3845
162
+ _globals['_CLUSTERSTATUSCONDITION']._serialized_end=4124
163
+ _globals['_CLUSTERMONITORING']._serialized_start=4126
164
+ _globals['_CLUSTERMONITORING']._serialized_end=4229
165
+ _globals['_CLUSTERSERVICECREATERESPONSE']._serialized_start=4231
166
+ _globals['_CLUSTERSERVICECREATERESPONSE']._serialized_end=4304
167
+ _globals['_CLUSTERSERVICEGETRESPONSE']._serialized_start=4306
168
+ _globals['_CLUSTERSERVICEGETRESPONSE']._serialized_end=4376
169
+ _globals['_CLUSTERSERVICEGETCREDENTIALSRESPONSE']._serialized_start=4378
170
+ _globals['_CLUSTERSERVICEGETCREDENTIALSRESPONSE']._serialized_end=4448
171
+ _globals['_CLUSTERSERVICEDELETERESPONSE']._serialized_start=4450
172
+ _globals['_CLUSTERSERVICEDELETERESPONSE']._serialized_end=4523
173
+ _globals['_CLUSTERSERVICEUPDATERESPONSE']._serialized_start=4525
174
+ _globals['_CLUSTERSERVICEUPDATERESPONSE']._serialized_end=4598
175
+ _globals['_CLUSTERSERVICELISTRESPONSE']._serialized_start=4600
176
+ _globals['_CLUSTERSERVICELISTRESPONSE']._serialized_end=4673
177
+ _globals['_CLUSTERSERVICEWATCHSTATUSRESPONSE']._serialized_start=4675
178
+ _globals['_CLUSTERSERVICEWATCHSTATUSRESPONSE']._serialized_end=4757
179
+ _globals['_CLUSTERSERVICEOPERATERESPONSE']._serialized_start=4759
180
+ _globals['_CLUSTERSERVICEOPERATERESPONSE']._serialized_end=4833
181
+ _globals['_CLUSTERSERVICE']._serialized_start=4936
182
+ _globals['_CLUSTERSERVICE']._serialized_end=5748
183
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,311 @@
1
+ import datetime
2
+
3
+ from api.v1 import common_pb2 as _common_pb2
4
+ from buf.validate import validate_pb2 as _validate_pb2
5
+ from google.protobuf import duration_pb2 as _duration_pb2
6
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
7
+ from google.protobuf.internal import containers as _containers
8
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
9
+ from google.protobuf import descriptor as _descriptor
10
+ from google.protobuf import message as _message
11
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
12
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
13
+
14
+ DESCRIPTOR: _descriptor.FileDescriptor
15
+
16
+ class Operate(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
17
+ __slots__ = ()
18
+ OPERATE_UNSPECIFIED: _ClassVar[Operate]
19
+ OPERATE_RECONCILE: _ClassVar[Operate]
20
+ OPERATE_MAINTAIN: _ClassVar[Operate]
21
+ OPERATE_RETRY: _ClassVar[Operate]
22
+ OPERATE_UNSPECIFIED: Operate
23
+ OPERATE_RECONCILE: Operate
24
+ OPERATE_MAINTAIN: Operate
25
+ OPERATE_RETRY: Operate
26
+
27
+ class Cluster(_message.Message):
28
+ __slots__ = ("uuid", "name", "project", "partition", "kubernetes", "workers", "maintenance", "tenant", "created_at", "updated_at", "deleted_at", "status", "purpose", "monitoring")
29
+ UUID_FIELD_NUMBER: _ClassVar[int]
30
+ NAME_FIELD_NUMBER: _ClassVar[int]
31
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
32
+ PARTITION_FIELD_NUMBER: _ClassVar[int]
33
+ KUBERNETES_FIELD_NUMBER: _ClassVar[int]
34
+ WORKERS_FIELD_NUMBER: _ClassVar[int]
35
+ MAINTENANCE_FIELD_NUMBER: _ClassVar[int]
36
+ TENANT_FIELD_NUMBER: _ClassVar[int]
37
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
38
+ UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
39
+ DELETED_AT_FIELD_NUMBER: _ClassVar[int]
40
+ STATUS_FIELD_NUMBER: _ClassVar[int]
41
+ PURPOSE_FIELD_NUMBER: _ClassVar[int]
42
+ MONITORING_FIELD_NUMBER: _ClassVar[int]
43
+ uuid: str
44
+ name: str
45
+ project: str
46
+ partition: str
47
+ kubernetes: KubernetesSpec
48
+ workers: _containers.RepeatedCompositeFieldContainer[Worker]
49
+ maintenance: Maintenance
50
+ tenant: str
51
+ created_at: _timestamp_pb2.Timestamp
52
+ updated_at: _timestamp_pb2.Timestamp
53
+ deleted_at: _timestamp_pb2.Timestamp
54
+ status: ClusterStatus
55
+ purpose: str
56
+ monitoring: ClusterMonitoring
57
+ def __init__(self, uuid: _Optional[str] = ..., name: _Optional[str] = ..., project: _Optional[str] = ..., partition: _Optional[str] = ..., kubernetes: _Optional[_Union[KubernetesSpec, _Mapping]] = ..., workers: _Optional[_Iterable[_Union[Worker, _Mapping]]] = ..., maintenance: _Optional[_Union[Maintenance, _Mapping]] = ..., tenant: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., deleted_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., status: _Optional[_Union[ClusterStatus, _Mapping]] = ..., purpose: _Optional[str] = ..., monitoring: _Optional[_Union[ClusterMonitoring, _Mapping]] = ...) -> None: ...
58
+
59
+ class KubernetesSpec(_message.Message):
60
+ __slots__ = ("version",)
61
+ VERSION_FIELD_NUMBER: _ClassVar[int]
62
+ version: str
63
+ def __init__(self, version: _Optional[str] = ...) -> None: ...
64
+
65
+ class Maintenance(_message.Message):
66
+ __slots__ = ("kubernetes_autoupdate", "machineimage_autoupdate", "time_window")
67
+ KUBERNETES_AUTOUPDATE_FIELD_NUMBER: _ClassVar[int]
68
+ MACHINEIMAGE_AUTOUPDATE_FIELD_NUMBER: _ClassVar[int]
69
+ TIME_WINDOW_FIELD_NUMBER: _ClassVar[int]
70
+ kubernetes_autoupdate: bool
71
+ machineimage_autoupdate: bool
72
+ time_window: MaintenanceTimeWindow
73
+ def __init__(self, kubernetes_autoupdate: bool = ..., machineimage_autoupdate: bool = ..., time_window: _Optional[_Union[MaintenanceTimeWindow, _Mapping]] = ...) -> None: ...
74
+
75
+ class MaintenanceTimeWindow(_message.Message):
76
+ __slots__ = ("begin", "duration")
77
+ BEGIN_FIELD_NUMBER: _ClassVar[int]
78
+ DURATION_FIELD_NUMBER: _ClassVar[int]
79
+ begin: Time
80
+ duration: _duration_pb2.Duration
81
+ def __init__(self, begin: _Optional[_Union[Time, _Mapping]] = ..., duration: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ...
82
+
83
+ class Time(_message.Message):
84
+ __slots__ = ("hour", "minute", "timezone")
85
+ HOUR_FIELD_NUMBER: _ClassVar[int]
86
+ MINUTE_FIELD_NUMBER: _ClassVar[int]
87
+ TIMEZONE_FIELD_NUMBER: _ClassVar[int]
88
+ hour: int
89
+ minute: int
90
+ timezone: str
91
+ def __init__(self, hour: _Optional[int] = ..., minute: _Optional[int] = ..., timezone: _Optional[str] = ...) -> None: ...
92
+
93
+ class Worker(_message.Message):
94
+ __slots__ = ("name", "machine_type", "minsize", "maxsize", "maxsurge", "maxunavailable")
95
+ NAME_FIELD_NUMBER: _ClassVar[int]
96
+ MACHINE_TYPE_FIELD_NUMBER: _ClassVar[int]
97
+ MINSIZE_FIELD_NUMBER: _ClassVar[int]
98
+ MAXSIZE_FIELD_NUMBER: _ClassVar[int]
99
+ MAXSURGE_FIELD_NUMBER: _ClassVar[int]
100
+ MAXUNAVAILABLE_FIELD_NUMBER: _ClassVar[int]
101
+ name: str
102
+ machine_type: str
103
+ minsize: int
104
+ maxsize: int
105
+ maxsurge: int
106
+ maxunavailable: int
107
+ def __init__(self, name: _Optional[str] = ..., machine_type: _Optional[str] = ..., minsize: _Optional[int] = ..., maxsize: _Optional[int] = ..., maxsurge: _Optional[int] = ..., maxunavailable: _Optional[int] = ...) -> None: ...
108
+
109
+ class WorkerUpdate(_message.Message):
110
+ __slots__ = ("name", "machine_type", "minsize", "maxsize", "maxsurge", "maxunavailable")
111
+ NAME_FIELD_NUMBER: _ClassVar[int]
112
+ MACHINE_TYPE_FIELD_NUMBER: _ClassVar[int]
113
+ MINSIZE_FIELD_NUMBER: _ClassVar[int]
114
+ MAXSIZE_FIELD_NUMBER: _ClassVar[int]
115
+ MAXSURGE_FIELD_NUMBER: _ClassVar[int]
116
+ MAXUNAVAILABLE_FIELD_NUMBER: _ClassVar[int]
117
+ name: str
118
+ machine_type: str
119
+ minsize: int
120
+ maxsize: int
121
+ maxsurge: int
122
+ maxunavailable: int
123
+ def __init__(self, name: _Optional[str] = ..., machine_type: _Optional[str] = ..., minsize: _Optional[int] = ..., maxsize: _Optional[int] = ..., maxsurge: _Optional[int] = ..., maxunavailable: _Optional[int] = ...) -> None: ...
124
+
125
+ class ClusterServiceGetRequest(_message.Message):
126
+ __slots__ = ("uuid", "project")
127
+ UUID_FIELD_NUMBER: _ClassVar[int]
128
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
129
+ uuid: str
130
+ project: str
131
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ...) -> None: ...
132
+
133
+ class ClusterServiceOperateRequest(_message.Message):
134
+ __slots__ = ("uuid", "project", "operate")
135
+ UUID_FIELD_NUMBER: _ClassVar[int]
136
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
137
+ OPERATE_FIELD_NUMBER: _ClassVar[int]
138
+ uuid: str
139
+ project: str
140
+ operate: Operate
141
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ..., operate: _Optional[_Union[Operate, str]] = ...) -> None: ...
142
+
143
+ class ClusterServiceGetCredentialsRequest(_message.Message):
144
+ __slots__ = ("uuid", "project", "expiration")
145
+ UUID_FIELD_NUMBER: _ClassVar[int]
146
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
147
+ EXPIRATION_FIELD_NUMBER: _ClassVar[int]
148
+ uuid: str
149
+ project: str
150
+ expiration: _duration_pb2.Duration
151
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ..., expiration: _Optional[_Union[datetime.timedelta, _duration_pb2.Duration, _Mapping]] = ...) -> None: ...
152
+
153
+ class ClusterServiceListRequest(_message.Message):
154
+ __slots__ = ("project",)
155
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
156
+ project: str
157
+ def __init__(self, project: _Optional[str] = ...) -> None: ...
158
+
159
+ class ClusterServiceCreateRequest(_message.Message):
160
+ __slots__ = ("name", "project", "partition", "kubernetes", "workers", "maintenance")
161
+ NAME_FIELD_NUMBER: _ClassVar[int]
162
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
163
+ PARTITION_FIELD_NUMBER: _ClassVar[int]
164
+ KUBERNETES_FIELD_NUMBER: _ClassVar[int]
165
+ WORKERS_FIELD_NUMBER: _ClassVar[int]
166
+ MAINTENANCE_FIELD_NUMBER: _ClassVar[int]
167
+ name: str
168
+ project: str
169
+ partition: str
170
+ kubernetes: KubernetesSpec
171
+ workers: _containers.RepeatedCompositeFieldContainer[Worker]
172
+ maintenance: Maintenance
173
+ def __init__(self, name: _Optional[str] = ..., project: _Optional[str] = ..., partition: _Optional[str] = ..., kubernetes: _Optional[_Union[KubernetesSpec, _Mapping]] = ..., workers: _Optional[_Iterable[_Union[Worker, _Mapping]]] = ..., maintenance: _Optional[_Union[Maintenance, _Mapping]] = ...) -> None: ...
174
+
175
+ class ClusterServiceUpdateRequest(_message.Message):
176
+ __slots__ = ("uuid", "project", "kubernetes", "workers", "maintenance")
177
+ UUID_FIELD_NUMBER: _ClassVar[int]
178
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
179
+ KUBERNETES_FIELD_NUMBER: _ClassVar[int]
180
+ WORKERS_FIELD_NUMBER: _ClassVar[int]
181
+ MAINTENANCE_FIELD_NUMBER: _ClassVar[int]
182
+ uuid: str
183
+ project: str
184
+ kubernetes: KubernetesSpec
185
+ workers: _containers.RepeatedCompositeFieldContainer[WorkerUpdate]
186
+ maintenance: Maintenance
187
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ..., kubernetes: _Optional[_Union[KubernetesSpec, _Mapping]] = ..., workers: _Optional[_Iterable[_Union[WorkerUpdate, _Mapping]]] = ..., maintenance: _Optional[_Union[Maintenance, _Mapping]] = ...) -> None: ...
188
+
189
+ class ClusterServiceDeleteRequest(_message.Message):
190
+ __slots__ = ("uuid", "project")
191
+ UUID_FIELD_NUMBER: _ClassVar[int]
192
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
193
+ uuid: str
194
+ project: str
195
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ...) -> None: ...
196
+
197
+ class ClusterServiceWatchStatusRequest(_message.Message):
198
+ __slots__ = ("uuid", "project")
199
+ UUID_FIELD_NUMBER: _ClassVar[int]
200
+ PROJECT_FIELD_NUMBER: _ClassVar[int]
201
+ uuid: str
202
+ project: str
203
+ def __init__(self, uuid: _Optional[str] = ..., project: _Optional[str] = ...) -> None: ...
204
+
205
+ class ClusterStatus(_message.Message):
206
+ __slots__ = ("uuid", "progress", "state", "type", "api_server_ready", "control_plane_ready", "nodes_ready", "system_components_ready", "last_errors", "conditions")
207
+ UUID_FIELD_NUMBER: _ClassVar[int]
208
+ PROGRESS_FIELD_NUMBER: _ClassVar[int]
209
+ STATE_FIELD_NUMBER: _ClassVar[int]
210
+ TYPE_FIELD_NUMBER: _ClassVar[int]
211
+ API_SERVER_READY_FIELD_NUMBER: _ClassVar[int]
212
+ CONTROL_PLANE_READY_FIELD_NUMBER: _ClassVar[int]
213
+ NODES_READY_FIELD_NUMBER: _ClassVar[int]
214
+ SYSTEM_COMPONENTS_READY_FIELD_NUMBER: _ClassVar[int]
215
+ LAST_ERRORS_FIELD_NUMBER: _ClassVar[int]
216
+ CONDITIONS_FIELD_NUMBER: _ClassVar[int]
217
+ uuid: str
218
+ progress: int
219
+ state: str
220
+ type: str
221
+ api_server_ready: str
222
+ control_plane_ready: str
223
+ nodes_ready: str
224
+ system_components_ready: str
225
+ last_errors: _containers.RepeatedCompositeFieldContainer[ClusterStatusLastError]
226
+ conditions: _containers.RepeatedCompositeFieldContainer[ClusterStatusCondition]
227
+ def __init__(self, uuid: _Optional[str] = ..., progress: _Optional[int] = ..., state: _Optional[str] = ..., type: _Optional[str] = ..., api_server_ready: _Optional[str] = ..., control_plane_ready: _Optional[str] = ..., nodes_ready: _Optional[str] = ..., system_components_ready: _Optional[str] = ..., last_errors: _Optional[_Iterable[_Union[ClusterStatusLastError, _Mapping]]] = ..., conditions: _Optional[_Iterable[_Union[ClusterStatusCondition, _Mapping]]] = ...) -> None: ...
228
+
229
+ class ClusterStatusLastError(_message.Message):
230
+ __slots__ = ("description", "task_id", "last_update_time")
231
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
232
+ TASK_ID_FIELD_NUMBER: _ClassVar[int]
233
+ LAST_UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
234
+ description: str
235
+ task_id: str
236
+ last_update_time: _timestamp_pb2.Timestamp
237
+ def __init__(self, description: _Optional[str] = ..., task_id: _Optional[str] = ..., last_update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
238
+
239
+ class ClusterStatusCondition(_message.Message):
240
+ __slots__ = ("type", "status", "reason", "status_message", "last_transition_time", "last_update_time")
241
+ TYPE_FIELD_NUMBER: _ClassVar[int]
242
+ STATUS_FIELD_NUMBER: _ClassVar[int]
243
+ REASON_FIELD_NUMBER: _ClassVar[int]
244
+ STATUS_MESSAGE_FIELD_NUMBER: _ClassVar[int]
245
+ LAST_TRANSITION_TIME_FIELD_NUMBER: _ClassVar[int]
246
+ LAST_UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
247
+ type: str
248
+ status: str
249
+ reason: str
250
+ status_message: str
251
+ last_transition_time: _timestamp_pb2.Timestamp
252
+ last_update_time: _timestamp_pb2.Timestamp
253
+ def __init__(self, type: _Optional[str] = ..., status: _Optional[str] = ..., reason: _Optional[str] = ..., status_message: _Optional[str] = ..., last_transition_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
254
+
255
+ class ClusterMonitoring(_message.Message):
256
+ __slots__ = ("username", "password", "endpoint")
257
+ USERNAME_FIELD_NUMBER: _ClassVar[int]
258
+ PASSWORD_FIELD_NUMBER: _ClassVar[int]
259
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
260
+ username: str
261
+ password: str
262
+ endpoint: str
263
+ def __init__(self, username: _Optional[str] = ..., password: _Optional[str] = ..., endpoint: _Optional[str] = ...) -> None: ...
264
+
265
+ class ClusterServiceCreateResponse(_message.Message):
266
+ __slots__ = ("cluster",)
267
+ CLUSTER_FIELD_NUMBER: _ClassVar[int]
268
+ cluster: Cluster
269
+ def __init__(self, cluster: _Optional[_Union[Cluster, _Mapping]] = ...) -> None: ...
270
+
271
+ class ClusterServiceGetResponse(_message.Message):
272
+ __slots__ = ("cluster",)
273
+ CLUSTER_FIELD_NUMBER: _ClassVar[int]
274
+ cluster: Cluster
275
+ def __init__(self, cluster: _Optional[_Union[Cluster, _Mapping]] = ...) -> None: ...
276
+
277
+ class ClusterServiceGetCredentialsResponse(_message.Message):
278
+ __slots__ = ("kubeconfig",)
279
+ KUBECONFIG_FIELD_NUMBER: _ClassVar[int]
280
+ kubeconfig: str
281
+ def __init__(self, kubeconfig: _Optional[str] = ...) -> None: ...
282
+
283
+ class ClusterServiceDeleteResponse(_message.Message):
284
+ __slots__ = ("cluster",)
285
+ CLUSTER_FIELD_NUMBER: _ClassVar[int]
286
+ cluster: Cluster
287
+ def __init__(self, cluster: _Optional[_Union[Cluster, _Mapping]] = ...) -> None: ...
288
+
289
+ class ClusterServiceUpdateResponse(_message.Message):
290
+ __slots__ = ("cluster",)
291
+ CLUSTER_FIELD_NUMBER: _ClassVar[int]
292
+ cluster: Cluster
293
+ def __init__(self, cluster: _Optional[_Union[Cluster, _Mapping]] = ...) -> None: ...
294
+
295
+ class ClusterServiceListResponse(_message.Message):
296
+ __slots__ = ("clusters",)
297
+ CLUSTERS_FIELD_NUMBER: _ClassVar[int]
298
+ clusters: _containers.RepeatedCompositeFieldContainer[Cluster]
299
+ def __init__(self, clusters: _Optional[_Iterable[_Union[Cluster, _Mapping]]] = ...) -> None: ...
300
+
301
+ class ClusterServiceWatchStatusResponse(_message.Message):
302
+ __slots__ = ("status",)
303
+ STATUS_FIELD_NUMBER: _ClassVar[int]
304
+ status: ClusterStatus
305
+ def __init__(self, status: _Optional[_Union[ClusterStatus, _Mapping]] = ...) -> None: ...
306
+
307
+ class ClusterServiceOperateResponse(_message.Message):
308
+ __slots__ = ("cluster",)
309
+ CLUSTER_FIELD_NUMBER: _ClassVar[int]
310
+ cluster: Cluster
311
+ def __init__(self, cluster: _Optional[_Union[Cluster, _Mapping]] = ...) -> None: ...