chalkpy 2.96.4__py3-none-any.whl → 2.96.6__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 (30) hide show
  1. chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +4 -4
  2. chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +8 -0
  3. chalk/_gen/chalk/auth/v1/permissions_pb2.py +11 -3
  4. chalk/_gen/chalk/auth/v1/permissions_pb2.pyi +4 -0
  5. chalk/_gen/chalk/graph/v1/graph_pb2.py +92 -92
  6. chalk/_gen/chalk/server/v1/benchmark_pb2.py +33 -31
  7. chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +12 -1
  8. chalk/_gen/chalk/server/v1/builder_pb2.py +240 -238
  9. chalk/_gen/chalk/server/v1/builder_pb2.pyi +20 -2
  10. chalk/_gen/chalk/server/v1/deployment_pb2.py +8 -6
  11. chalk/_gen/chalk/server/v1/infrastructure_pipelines_pb2.py +76 -0
  12. chalk/_gen/chalk/server/v1/infrastructure_pipelines_pb2.pyi +92 -0
  13. chalk/_gen/chalk/server/v1/infrastructure_pipelines_pb2_grpc.py +262 -0
  14. chalk/_gen/chalk/server/v1/infrastructure_pipelines_pb2_grpc.pyi +86 -0
  15. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +9 -3
  16. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +119 -0
  17. chalk/_gen/chalk/server/v1/scheduler_pb2.py +14 -12
  18. chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +19 -9
  19. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +7 -5
  20. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +13 -0
  21. chalk/_version.py +1 -1
  22. chalk/features/resolver.py +99 -11
  23. chalk/functions/__init__.py +69 -0
  24. chalk/parsed/_proto/export.py +2 -0
  25. chalk/parsed/to_proto.py +3 -1
  26. {chalkpy-2.96.4.dist-info → chalkpy-2.96.6.dist-info}/METADATA +1 -1
  27. {chalkpy-2.96.4.dist-info → chalkpy-2.96.6.dist-info}/RECORD +30 -26
  28. {chalkpy-2.96.4.dist-info → chalkpy-2.96.6.dist-info}/WHEEL +1 -1
  29. {chalkpy-2.96.4.dist-info → chalkpy-2.96.6.dist-info}/entry_points.txt +0 -0
  30. {chalkpy-2.96.4.dist-info → chalkpy-2.96.6.dist-info}/top_level.txt +0 -0
@@ -722,6 +722,8 @@ class ClusterTimescaleSpecs(_message.Message):
722
722
  "bootstrap_cloud_resources",
723
723
  "suspended",
724
724
  "ip_allowlist",
725
+ "gateway_port",
726
+ "gateway_id",
725
727
  )
726
728
  class PostgresParametersEntry(_message.Message):
727
729
  __slots__ = ("key", "value")
@@ -766,6 +768,8 @@ class ClusterTimescaleSpecs(_message.Message):
766
768
  BOOTSTRAP_CLOUD_RESOURCES_FIELD_NUMBER: _ClassVar[int]
767
769
  SUSPENDED_FIELD_NUMBER: _ClassVar[int]
768
770
  IP_ALLOWLIST_FIELD_NUMBER: _ClassVar[int]
771
+ GATEWAY_PORT_FIELD_NUMBER: _ClassVar[int]
772
+ GATEWAY_ID_FIELD_NUMBER: _ClassVar[int]
769
773
  timescale_image: str
770
774
  database_name: str
771
775
  database_replicas: int
@@ -793,6 +797,8 @@ class ClusterTimescaleSpecs(_message.Message):
793
797
  bootstrap_cloud_resources: bool
794
798
  suspended: bool
795
799
  ip_allowlist: _containers.RepeatedScalarFieldContainer[str]
800
+ gateway_port: int
801
+ gateway_id: str
796
802
  def __init__(
797
803
  self,
798
804
  timescale_image: _Optional[str] = ...,
@@ -822,6 +828,8 @@ class ClusterTimescaleSpecs(_message.Message):
822
828
  bootstrap_cloud_resources: bool = ...,
823
829
  suspended: bool = ...,
824
830
  ip_allowlist: _Optional[_Iterable[str]] = ...,
831
+ gateway_port: _Optional[int] = ...,
832
+ gateway_id: _Optional[str] = ...,
825
833
  ) -> None: ...
826
834
 
827
835
  class CreateClusterTimescaleDBResponse(_message.Message):
@@ -1369,6 +1377,7 @@ class BackgroundPersistenceDeploymentSpecs(_message.Message):
1369
1377
  "writers",
1370
1378
  "bootstrap_cloud_resources",
1371
1379
  "suspended",
1380
+ "observability_daemons",
1372
1381
  )
1373
1382
  COMMON_PERSISTENCE_SPECS_FIELD_NUMBER: _ClassVar[int]
1374
1383
  API_SERVER_HOST_FIELD_NUMBER: _ClassVar[int]
@@ -1384,6 +1393,7 @@ class BackgroundPersistenceDeploymentSpecs(_message.Message):
1384
1393
  WRITERS_FIELD_NUMBER: _ClassVar[int]
1385
1394
  BOOTSTRAP_CLOUD_RESOURCES_FIELD_NUMBER: _ClassVar[int]
1386
1395
  SUSPENDED_FIELD_NUMBER: _ClassVar[int]
1396
+ OBSERVABILITY_DAEMONS_FIELD_NUMBER: _ClassVar[int]
1387
1397
  common_persistence_specs: BackgroundPersistenceCommonSpecs
1388
1398
  api_server_host: str
1389
1399
  kafka_sasl_secret: str
@@ -1398,6 +1408,7 @@ class BackgroundPersistenceDeploymentSpecs(_message.Message):
1398
1408
  writers: _containers.RepeatedCompositeFieldContainer[BackgroundPersistenceWriterSpecs]
1399
1409
  bootstrap_cloud_resources: bool
1400
1410
  suspended: bool
1411
+ observability_daemons: _containers.RepeatedCompositeFieldContainer[ObservabilityDaemonSpec]
1401
1412
  def __init__(
1402
1413
  self,
1403
1414
  common_persistence_specs: _Optional[_Union[BackgroundPersistenceCommonSpecs, _Mapping]] = ...,
@@ -1414,6 +1425,7 @@ class BackgroundPersistenceDeploymentSpecs(_message.Message):
1414
1425
  writers: _Optional[_Iterable[_Union[BackgroundPersistenceWriterSpecs, _Mapping]]] = ...,
1415
1426
  bootstrap_cloud_resources: bool = ...,
1416
1427
  suspended: bool = ...,
1428
+ observability_daemons: _Optional[_Iterable[_Union[ObservabilityDaemonSpec, _Mapping]]] = ...,
1417
1429
  ) -> None: ...
1418
1430
 
1419
1431
  class CreateClusterBackgroundPersistenceResponse(_message.Message):
@@ -1552,15 +1564,21 @@ class PerfCollectorSpec(_message.Message):
1552
1564
  ) -> None: ...
1553
1565
 
1554
1566
  class PerfettoDaemonSpec(_message.Message):
1555
- __slots__ = ("config_text", "max_retained_runs", "interval")
1567
+ __slots__ = ("config_text", "max_retained_runs", "interval", "trigger_name")
1556
1568
  CONFIG_TEXT_FIELD_NUMBER: _ClassVar[int]
1557
1569
  MAX_RETAINED_RUNS_FIELD_NUMBER: _ClassVar[int]
1558
1570
  INTERVAL_FIELD_NUMBER: _ClassVar[int]
1571
+ TRIGGER_NAME_FIELD_NUMBER: _ClassVar[int]
1559
1572
  config_text: str
1560
1573
  max_retained_runs: int
1561
1574
  interval: int
1575
+ trigger_name: str
1562
1576
  def __init__(
1563
- self, config_text: _Optional[str] = ..., max_retained_runs: _Optional[int] = ..., interval: _Optional[int] = ...
1577
+ self,
1578
+ config_text: _Optional[str] = ...,
1579
+ max_retained_runs: _Optional[int] = ...,
1580
+ interval: _Optional[int] = ...,
1581
+ trigger_name: _Optional[str] = ...,
1564
1582
  ) -> None: ...
1565
1583
 
1566
1584
  class ObservabilityDaemonSpec(_message.Message):
@@ -18,7 +18,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
18
18
 
19
19
 
20
20
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
21
- b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xed\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x12\x39\n\x19uses_uploaded_proto_graph\x18\x02 \x01(\x08R\x16usesUploadedProtoGraph\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\xc2\x10\n\nDeployment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x06status\x12\'\n\x0f\x64\x65ployment_tags\x18\x04 \x03(\tR\x0e\x64\x65ploymentTags\x12$\n\x0e\x63loud_build_id\x18\x05 \x01(\tR\x0c\x63loudBuildId\x12!\n\x0ctriggered_by\x18\x06 \x01(\tR\x0btriggeredBy\x12\x38\n\x15requirements_filepath\x18\x07 \x01(\tH\x00R\x14requirementsFilepath\x88\x01\x01\x12\x34\n\x13\x64ockerfile_filepath\x18\x08 \x01(\tH\x01R\x12\x64ockerfileFilepath\x88\x01\x01\x12\x1d\n\x07runtime\x18\t \x01(\tH\x02R\x07runtime\x88\x01\x01\x12\'\n\x0f\x63halkpy_version\x18\n \x01(\tR\x0e\x63halkpyVersion\x12.\n\x13raw_dependency_hash\x18\x0b \x01(\tR\x11rawDependencyHash\x12\x37\n\x15\x66inal_dependency_hash\x18\x0c \x01(\tH\x03R\x13\x66inalDependencyHash\x88\x01\x01\x12\x37\n\x15is_preview_deployment\x18\r \x01(\x08H\x04R\x13isPreviewDeployment\x88\x01\x01\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1d\n\ngit_commit\x18\x10 \x01(\tR\tgitCommit\x12\x15\n\x06git_pr\x18\x11 \x01(\tR\x05gitPr\x12\x1d\n\ngit_branch\x18\x12 \x01(\tR\tgitBranch\x12(\n\x10git_author_email\x18\x13 \x01(\tR\x0egitAuthorEmail\x12\x16\n\x06\x62ranch\x18\x14 \x01(\tR\x06\x62ranch\x12)\n\x10project_settings\x18\x15 \x01(\tR\x0fprojectSettings\x12\x32\n\x12requirements_files\x18\x16 \x01(\tH\x05R\x11requirementsFiles\x88\x01\x01\x12\x17\n\x07git_tag\x18\x17 \x01(\tR\x06gitTag\x12$\n\x0e\x62\x61se_image_sha\x18\x18 \x01(\tR\x0c\x62\x61seImageSha\x12\x46\n\x11status_changed_at\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fstatusChangedAt\x12;\n\x17pinned_platform_version\x18\x1a \x01(\tH\x06R\x15pinnedPlatformVersion\x88\x01\x01\x12\x39\n\x16preview_deployment_tag\x18\x1b \x01(\tH\x07R\x14previewDeploymentTag\x88\x01\x01\x12X\n\x0eprofiling_mode\x18\x1c \x01(\x0e\x32(.chalk.server.v1.DeploymentProfilingModeB\x02\x18\x01H\x08R\rprofilingMode\x88\x01\x01\x12\x31\n\x12source_image_specs\x18\x1d \x01(\x0cH\tR\x10sourceImageSpecs\x88\x01\x01\x12\x39\n\x19uses_uploaded_proto_graph\x18\x1e \x01(\x08R\x16usesUploadedProtoGraph\x12Q\n\rbuild_profile\x18\x1f \x01(\x0e\x32\'.chalk.server.v1.DeploymentBuildProfileH\nR\x0c\x62uildProfile\x88\x01\x01\x12\x36\n\x15\x63ustomer_cicd_job_url\x18 \x01(\tH\x0bR\x12\x63ustomerCicdJobUrl\x88\x01\x01\x12\x30\n\x11\x63ustomer_metadata\x18! \x01(\tH\x0cR\x10\x63ustomerMetadata\x88\x01\x01\x12-\n\x10\x63ustomer_vcs_url\x18" \x01(\tH\rR\x0e\x63ustomerVcsUrl\x88\x01\x01\x12\x34\n\x13\x64isplay_description\x18# \x01(\tH\x0eR\x12\x64isplayDescription\x88\x01\x01\x12\x31\n\x12git_commit_message\x18$ \x01(\tH\x0fR\x10gitCommitMessage\x88\x01\x01\x42\x18\n\x16_requirements_filepathB\x16\n\x14_dockerfile_filepathB\n\n\x08_runtimeB\x18\n\x16_final_dependency_hashB\x18\n\x16_is_preview_deploymentB\x15\n\x13_requirements_filesB\x1a\n\x18_pinned_platform_versionB\x19\n\x17_preview_deployment_tagB\x11\n\x0f_profiling_modeB\x15\n\x13_source_image_specsB\x10\n\x0e_build_profileB\x18\n\x16_customer_cicd_job_urlB\x14\n\x12_customer_metadataB\x13\n\x11_customer_vcs_urlB\x16\n\x14_display_descriptionB\x15\n\x13_git_commit_message*\xde\x03\n\x10\x44\x65ploymentStatus\x12!\n\x1d\x44\x45PLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_UNKNOWN\x10\x01\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_PENDING\x10\x02\x12\x1c\n\x18\x44\x45PLOYMENT_STATUS_QUEUED\x10\x03\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_WORKING\x10\x04\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_SUCCESS\x10\x05\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_FAILURE\x10\x06\x12$\n DEPLOYMENT_STATUS_INTERNAL_ERROR\x10\x07\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_TIMEOUT\x10\x08\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_CANCELLED\x10\t\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_EXPIRED\x10\n\x12!\n\x1d\x44\x45PLOYMENT_STATUS_BOOT_ERRORS\x10\x0b\x12%\n!DEPLOYMENT_STATUS_AWAITING_SOURCE\x10\x0c\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_DEPLOYING\x10\r*\x8e\x01\n\x17\x44\x65ploymentProfilingMode\x12)\n%DEPLOYMENT_PROFILING_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x45PLOYMENT_PROFILING_MODE_NONE\x10\x01\x12 \n\x1c\x44\x45PLOYMENT_PROFILING_MODE_O2\x10\x02\x1a\x02\x18\x01\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0f\x44\x65ploymentProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
21
+ b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xed\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x12\x39\n\x19uses_uploaded_proto_graph\x18\x02 \x01(\x08R\x16usesUploadedProtoGraph\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\xc6\x10\n\nDeployment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x06status\x12\'\n\x0f\x64\x65ployment_tags\x18\x04 \x03(\tR\x0e\x64\x65ploymentTags\x12$\n\x0e\x63loud_build_id\x18\x05 \x01(\tR\x0c\x63loudBuildId\x12!\n\x0ctriggered_by\x18\x06 \x01(\tR\x0btriggeredBy\x12\x38\n\x15requirements_filepath\x18\x07 \x01(\tH\x00R\x14requirementsFilepath\x88\x01\x01\x12\x34\n\x13\x64ockerfile_filepath\x18\x08 \x01(\tH\x01R\x12\x64ockerfileFilepath\x88\x01\x01\x12\x1d\n\x07runtime\x18\t \x01(\tH\x02R\x07runtime\x88\x01\x01\x12\'\n\x0f\x63halkpy_version\x18\n \x01(\tR\x0e\x63halkpyVersion\x12.\n\x13raw_dependency_hash\x18\x0b \x01(\tR\x11rawDependencyHash\x12\x37\n\x15\x66inal_dependency_hash\x18\x0c \x01(\tH\x03R\x13\x66inalDependencyHash\x88\x01\x01\x12\x37\n\x15is_preview_deployment\x18\r \x01(\x08H\x04R\x13isPreviewDeployment\x88\x01\x01\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1d\n\ngit_commit\x18\x10 \x01(\tR\tgitCommit\x12\x15\n\x06git_pr\x18\x11 \x01(\tR\x05gitPr\x12\x1d\n\ngit_branch\x18\x12 \x01(\tR\tgitBranch\x12(\n\x10git_author_email\x18\x13 \x01(\tR\x0egitAuthorEmail\x12\x16\n\x06\x62ranch\x18\x14 \x01(\tR\x06\x62ranch\x12)\n\x10project_settings\x18\x15 \x01(\tR\x0fprojectSettings\x12\x32\n\x12requirements_files\x18\x16 \x01(\tH\x05R\x11requirementsFiles\x88\x01\x01\x12\x17\n\x07git_tag\x18\x17 \x01(\tR\x06gitTag\x12$\n\x0e\x62\x61se_image_sha\x18\x18 \x01(\tR\x0c\x62\x61seImageSha\x12\x46\n\x11status_changed_at\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fstatusChangedAt\x12;\n\x17pinned_platform_version\x18\x1a \x01(\tH\x06R\x15pinnedPlatformVersion\x88\x01\x01\x12=\n\x16preview_deployment_tag\x18\x1b \x01(\tB\x02\x18\x01H\x07R\x14previewDeploymentTag\x88\x01\x01\x12X\n\x0eprofiling_mode\x18\x1c \x01(\x0e\x32(.chalk.server.v1.DeploymentProfilingModeB\x02\x18\x01H\x08R\rprofilingMode\x88\x01\x01\x12\x31\n\x12source_image_specs\x18\x1d \x01(\x0cH\tR\x10sourceImageSpecs\x88\x01\x01\x12\x39\n\x19uses_uploaded_proto_graph\x18\x1e \x01(\x08R\x16usesUploadedProtoGraph\x12Q\n\rbuild_profile\x18\x1f \x01(\x0e\x32\'.chalk.server.v1.DeploymentBuildProfileH\nR\x0c\x62uildProfile\x88\x01\x01\x12\x36\n\x15\x63ustomer_cicd_job_url\x18 \x01(\tH\x0bR\x12\x63ustomerCicdJobUrl\x88\x01\x01\x12\x30\n\x11\x63ustomer_metadata\x18! \x01(\tH\x0cR\x10\x63ustomerMetadata\x88\x01\x01\x12-\n\x10\x63ustomer_vcs_url\x18" \x01(\tH\rR\x0e\x63ustomerVcsUrl\x88\x01\x01\x12\x34\n\x13\x64isplay_description\x18# \x01(\tH\x0eR\x12\x64isplayDescription\x88\x01\x01\x12\x31\n\x12git_commit_message\x18$ \x01(\tH\x0fR\x10gitCommitMessage\x88\x01\x01\x42\x18\n\x16_requirements_filepathB\x16\n\x14_dockerfile_filepathB\n\n\x08_runtimeB\x18\n\x16_final_dependency_hashB\x18\n\x16_is_preview_deploymentB\x15\n\x13_requirements_filesB\x1a\n\x18_pinned_platform_versionB\x19\n\x17_preview_deployment_tagB\x11\n\x0f_profiling_modeB\x15\n\x13_source_image_specsB\x10\n\x0e_build_profileB\x18\n\x16_customer_cicd_job_urlB\x14\n\x12_customer_metadataB\x13\n\x11_customer_vcs_urlB\x16\n\x14_display_descriptionB\x15\n\x13_git_commit_message*\xde\x03\n\x10\x44\x65ploymentStatus\x12!\n\x1d\x44\x45PLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_UNKNOWN\x10\x01\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_PENDING\x10\x02\x12\x1c\n\x18\x44\x45PLOYMENT_STATUS_QUEUED\x10\x03\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_WORKING\x10\x04\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_SUCCESS\x10\x05\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_FAILURE\x10\x06\x12$\n DEPLOYMENT_STATUS_INTERNAL_ERROR\x10\x07\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_TIMEOUT\x10\x08\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_CANCELLED\x10\t\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_EXPIRED\x10\n\x12!\n\x1d\x44\x45PLOYMENT_STATUS_BOOT_ERRORS\x10\x0b\x12%\n!DEPLOYMENT_STATUS_AWAITING_SOURCE\x10\x0c\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_DEPLOYING\x10\r*\x8e\x01\n\x17\x44\x65ploymentProfilingMode\x12)\n%DEPLOYMENT_PROFILING_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x45PLOYMENT_PROFILING_MODE_NONE\x10\x01\x12 \n\x1c\x44\x45PLOYMENT_PROFILING_MODE_O2\x10\x02\x1a\x02\x18\x01\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0f\x44\x65ploymentProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
22
22
  )
23
23
 
24
24
  _globals = globals()
@@ -33,12 +33,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
33
33
  _globals["_DEPLOYMENTPROFILINGMODE"]._serialized_options = b"\030\001"
34
34
  _globals["_SOURCEIMAGESPECS_SPECSENTRY"]._options = None
35
35
  _globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_options = b"8\001"
36
+ _globals["_DEPLOYMENT"].fields_by_name["preview_deployment_tag"]._options = None
37
+ _globals["_DEPLOYMENT"].fields_by_name["preview_deployment_tag"]._serialized_options = b"\030\001"
36
38
  _globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._options = None
37
39
  _globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._serialized_options = b"\030\001"
38
- _globals["_DEPLOYMENTSTATUS"]._serialized_start = 2784
39
- _globals["_DEPLOYMENTSTATUS"]._serialized_end = 3262
40
- _globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start = 3265
41
- _globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end = 3407
40
+ _globals["_DEPLOYMENTSTATUS"]._serialized_start = 2788
41
+ _globals["_DEPLOYMENTSTATUS"]._serialized_end = 3266
42
+ _globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start = 3269
43
+ _globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end = 3411
42
44
  _globals["_INSTANCESIZING"]._serialized_start = 122
43
45
  _globals["_INSTANCESIZING"]._serialized_end = 258
44
46
  _globals["_SOURCEIMAGESPEC"]._serialized_start = 261
@@ -48,5 +50,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
48
50
  _globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_start = 574
49
51
  _globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_end = 664
50
52
  _globals["_DEPLOYMENT"]._serialized_start = 667
51
- _globals["_DEPLOYMENT"]._serialized_end = 2781
53
+ _globals["_DEPLOYMENT"]._serialized_end = 2785
52
54
  # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,76 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/server/v1/infrastructure_pipelines.proto
4
+ # Protobuf Python Version: 4.25.3
5
+ """Generated protocol buffer code."""
6
+
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ from google.protobuf.internal import builder as _builder
11
+ # @@protoc_insertion_point(imports)
12
+
13
+ _sym_db = _symbol_database.Default()
14
+
15
+
16
+ from chalk._gen.chalk.argo.v1 import workflow_pb2 as chalk_dot_argo_dot_v1_dot_workflow__pb2
17
+ from chalk._gen.chalk.auth.v1 import audit_pb2 as chalk_dot_auth_dot_v1_dot_audit__pb2
18
+ from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
19
+ from chalk._gen.chalk.flags.v1 import flags_pb2 as chalk_dot_flags_dot_v1_dot_flags__pb2
20
+
21
+
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23
+ b'\n.chalk/server/v1/infrastructure_pipelines.proto\x12\x0f\x63halk.server.v1\x1a\x1c\x63halk/argo/v1/workflow.proto\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1a\x63halk/flags/v1/flags.proto"i\n ListMetadataArgoWorkflowsRequest\x12;\n\x05phase\x18\x01 \x01(\x0e\x32 .chalk.argo.v1.ArgoWorkflowPhaseH\x00R\x05phase\x88\x01\x01\x42\x08\n\x06_phase"^\n!ListMetadataArgoWorkflowsResponse\x12\x39\n\tworkflows\x18\x01 \x03(\x0b\x32\x1b.chalk.argo.v1.ArgoWorkflowR\tworkflows"E\n\x1eGetMetadataArgoWorkflowRequest\x12#\n\rworkflow_name\x18\x01 \x01(\tR\x0cworkflowName"Z\n\x1fGetMetadataArgoWorkflowResponse\x12\x37\n\x08workflow\x18\x01 \x01(\x0b\x32\x1b.chalk.argo.v1.ArgoWorkflowR\x08workflow"x\n!ResumeMetadataArgoWorkflowRequest\x12#\n\rworkflow_name\x18\x01 \x01(\tR\x0cworkflowName\x12 \n\tnode_name\x18\x02 \x01(\tH\x00R\x08nodeName\x88\x01\x01\x42\x0c\n\n_node_name"V\n"ResumeMetadataArgoWorkflowResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"q\n\x1fStopMetadataArgoWorkflowRequest\x12#\n\rworkflow_name\x18\x01 \x01(\tR\x0cworkflowName\x12\x1d\n\x07message\x18\x02 \x01(\tH\x00R\x07message\x88\x01\x01\x42\n\n\x08_message"T\n StopMetadataArgoWorkflowResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"f\n"GetMetadataArgoWorkflowLogsRequest\x12#\n\rworkflow_name\x18\x01 \x01(\tR\x0cworkflowName\x12\x1b\n\tnode_name\x18\x02 \x01(\tR\x08nodeName"q\n#GetMetadataArgoWorkflowLogsResponse\x12\x19\n\x08pod_name\x18\x01 \x01(\tR\x07podName\x12\x1b\n\tnode_name\x18\x02 \x01(\tR\x08nodeName\x12\x12\n\x04logs\x18\x03 \x01(\tR\x04logs2\xc7\t\n\x1eInfrastructurePipelinesService\x12\xea\x01\n\x19ListMetadataArgoWorkflows\x12\x31.chalk.server.v1.ListMetadataArgoWorkflowsRequest\x1a\x32.chalk.server.v1.ListMetadataArgoWorkflowsResponse"f\x90\x02\x01\x80}\x1e\x92\xd3\x0e\\\n\x1fmetadata_argo_workflows_enabled\x12\x39This action is not enabled. Please contact Chalk Support.\x12\xe4\x01\n\x17GetMetadataArgoWorkflow\x12/.chalk.server.v1.GetMetadataArgoWorkflowRequest\x1a\x30.chalk.server.v1.GetMetadataArgoWorkflowResponse"f\x90\x02\x01\x80}\x1e\x92\xd3\x0e\\\n\x1fmetadata_argo_workflows_enabled\x12\x39This action is not enabled. Please contact Chalk Support.\x12\xf0\x01\n\x1aResumeMetadataArgoWorkflow\x12\x32.chalk.server.v1.ResumeMetadataArgoWorkflowRequest\x1a\x33.chalk.server.v1.ResumeMetadataArgoWorkflowResponse"i\x80}\x1f\x8a\xd3\x0e\x02\x08\x02\x92\xd3\x0e\\\n\x1fmetadata_argo_workflows_enabled\x12\x39This action is not enabled. Please contact Chalk Support.\x12\xea\x01\n\x18StopMetadataArgoWorkflow\x12\x30.chalk.server.v1.StopMetadataArgoWorkflowRequest\x1a\x31.chalk.server.v1.StopMetadataArgoWorkflowResponse"i\x80}\x1f\x8a\xd3\x0e\x02\x08\x02\x92\xd3\x0e\\\n\x1fmetadata_argo_workflows_enabled\x12\x39This action is not enabled. Please contact Chalk Support.\x12\xf0\x01\n\x1bGetMetadataArgoWorkflowLogs\x12\x33.chalk.server.v1.GetMetadataArgoWorkflowLogsRequest\x1a\x34.chalk.server.v1.GetMetadataArgoWorkflowLogsResponse"f\x90\x02\x01\x80}\x1e\x92\xd3\x0e\\\n\x1fmetadata_argo_workflows_enabled\x12\x39This action is not enabled. Please contact Chalk Support.B\xa5\x01\n\x13\x63om.chalk.server.v1B\x1cInfrastructurePipelinesProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
24
+ )
25
+
26
+ _globals = globals()
27
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
28
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.infrastructure_pipelines_pb2", _globals)
29
+ if _descriptor._USE_C_DESCRIPTORS == False:
30
+ _globals["DESCRIPTOR"]._options = None
31
+ _globals[
32
+ "DESCRIPTOR"
33
+ ]._serialized_options = b"\n\023com.chalk.server.v1B\034InfrastructurePipelinesProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
34
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name["ListMetadataArgoWorkflows"]._options = None
35
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name[
36
+ "ListMetadataArgoWorkflows"
37
+ ]._serialized_options = b"\220\002\001\200}\036\222\323\016\\\n\037metadata_argo_workflows_enabled\0229This action is not enabled. Please contact Chalk Support."
38
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name["GetMetadataArgoWorkflow"]._options = None
39
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name[
40
+ "GetMetadataArgoWorkflow"
41
+ ]._serialized_options = b"\220\002\001\200}\036\222\323\016\\\n\037metadata_argo_workflows_enabled\0229This action is not enabled. Please contact Chalk Support."
42
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name["ResumeMetadataArgoWorkflow"]._options = None
43
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name[
44
+ "ResumeMetadataArgoWorkflow"
45
+ ]._serialized_options = b"\200}\037\212\323\016\002\010\002\222\323\016\\\n\037metadata_argo_workflows_enabled\0229This action is not enabled. Please contact Chalk Support."
46
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name["StopMetadataArgoWorkflow"]._options = None
47
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name[
48
+ "StopMetadataArgoWorkflow"
49
+ ]._serialized_options = b"\200}\037\212\323\016\002\010\002\222\323\016\\\n\037metadata_argo_workflows_enabled\0229This action is not enabled. Please contact Chalk Support."
50
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name["GetMetadataArgoWorkflowLogs"]._options = None
51
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"].methods_by_name[
52
+ "GetMetadataArgoWorkflowLogs"
53
+ ]._serialized_options = b"\220\002\001\200}\036\222\323\016\\\n\037metadata_argo_workflows_enabled\0229This action is not enabled. Please contact Chalk Support."
54
+ _globals["_LISTMETADATAARGOWORKFLOWSREQUEST"]._serialized_start = 185
55
+ _globals["_LISTMETADATAARGOWORKFLOWSREQUEST"]._serialized_end = 290
56
+ _globals["_LISTMETADATAARGOWORKFLOWSRESPONSE"]._serialized_start = 292
57
+ _globals["_LISTMETADATAARGOWORKFLOWSRESPONSE"]._serialized_end = 386
58
+ _globals["_GETMETADATAARGOWORKFLOWREQUEST"]._serialized_start = 388
59
+ _globals["_GETMETADATAARGOWORKFLOWREQUEST"]._serialized_end = 457
60
+ _globals["_GETMETADATAARGOWORKFLOWRESPONSE"]._serialized_start = 459
61
+ _globals["_GETMETADATAARGOWORKFLOWRESPONSE"]._serialized_end = 549
62
+ _globals["_RESUMEMETADATAARGOWORKFLOWREQUEST"]._serialized_start = 551
63
+ _globals["_RESUMEMETADATAARGOWORKFLOWREQUEST"]._serialized_end = 671
64
+ _globals["_RESUMEMETADATAARGOWORKFLOWRESPONSE"]._serialized_start = 673
65
+ _globals["_RESUMEMETADATAARGOWORKFLOWRESPONSE"]._serialized_end = 759
66
+ _globals["_STOPMETADATAARGOWORKFLOWREQUEST"]._serialized_start = 761
67
+ _globals["_STOPMETADATAARGOWORKFLOWREQUEST"]._serialized_end = 874
68
+ _globals["_STOPMETADATAARGOWORKFLOWRESPONSE"]._serialized_start = 876
69
+ _globals["_STOPMETADATAARGOWORKFLOWRESPONSE"]._serialized_end = 960
70
+ _globals["_GETMETADATAARGOWORKFLOWLOGSREQUEST"]._serialized_start = 962
71
+ _globals["_GETMETADATAARGOWORKFLOWLOGSREQUEST"]._serialized_end = 1064
72
+ _globals["_GETMETADATAARGOWORKFLOWLOGSRESPONSE"]._serialized_start = 1066
73
+ _globals["_GETMETADATAARGOWORKFLOWLOGSRESPONSE"]._serialized_end = 1179
74
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"]._serialized_start = 1182
75
+ _globals["_INFRASTRUCTUREPIPELINESSERVICE"]._serialized_end = 2405
76
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,92 @@
1
+ from chalk._gen.chalk.argo.v1 import workflow_pb2 as _workflow_pb2
2
+ from chalk._gen.chalk.auth.v1 import audit_pb2 as _audit_pb2
3
+ from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
4
+ from chalk._gen.chalk.flags.v1 import flags_pb2 as _flags_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from typing import (
9
+ ClassVar as _ClassVar,
10
+ Iterable as _Iterable,
11
+ Mapping as _Mapping,
12
+ Optional as _Optional,
13
+ Union as _Union,
14
+ )
15
+
16
+ DESCRIPTOR: _descriptor.FileDescriptor
17
+
18
+ class ListMetadataArgoWorkflowsRequest(_message.Message):
19
+ __slots__ = ("phase",)
20
+ PHASE_FIELD_NUMBER: _ClassVar[int]
21
+ phase: _workflow_pb2.ArgoWorkflowPhase
22
+ def __init__(self, phase: _Optional[_Union[_workflow_pb2.ArgoWorkflowPhase, str]] = ...) -> None: ...
23
+
24
+ class ListMetadataArgoWorkflowsResponse(_message.Message):
25
+ __slots__ = ("workflows",)
26
+ WORKFLOWS_FIELD_NUMBER: _ClassVar[int]
27
+ workflows: _containers.RepeatedCompositeFieldContainer[_workflow_pb2.ArgoWorkflow]
28
+ def __init__(self, workflows: _Optional[_Iterable[_Union[_workflow_pb2.ArgoWorkflow, _Mapping]]] = ...) -> None: ...
29
+
30
+ class GetMetadataArgoWorkflowRequest(_message.Message):
31
+ __slots__ = ("workflow_name",)
32
+ WORKFLOW_NAME_FIELD_NUMBER: _ClassVar[int]
33
+ workflow_name: str
34
+ def __init__(self, workflow_name: _Optional[str] = ...) -> None: ...
35
+
36
+ class GetMetadataArgoWorkflowResponse(_message.Message):
37
+ __slots__ = ("workflow",)
38
+ WORKFLOW_FIELD_NUMBER: _ClassVar[int]
39
+ workflow: _workflow_pb2.ArgoWorkflow
40
+ def __init__(self, workflow: _Optional[_Union[_workflow_pb2.ArgoWorkflow, _Mapping]] = ...) -> None: ...
41
+
42
+ class ResumeMetadataArgoWorkflowRequest(_message.Message):
43
+ __slots__ = ("workflow_name", "node_name")
44
+ WORKFLOW_NAME_FIELD_NUMBER: _ClassVar[int]
45
+ NODE_NAME_FIELD_NUMBER: _ClassVar[int]
46
+ workflow_name: str
47
+ node_name: str
48
+ def __init__(self, workflow_name: _Optional[str] = ..., node_name: _Optional[str] = ...) -> None: ...
49
+
50
+ class ResumeMetadataArgoWorkflowResponse(_message.Message):
51
+ __slots__ = ("status", "message")
52
+ STATUS_FIELD_NUMBER: _ClassVar[int]
53
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
54
+ status: str
55
+ message: str
56
+ def __init__(self, status: _Optional[str] = ..., message: _Optional[str] = ...) -> None: ...
57
+
58
+ class StopMetadataArgoWorkflowRequest(_message.Message):
59
+ __slots__ = ("workflow_name", "message")
60
+ WORKFLOW_NAME_FIELD_NUMBER: _ClassVar[int]
61
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
62
+ workflow_name: str
63
+ message: str
64
+ def __init__(self, workflow_name: _Optional[str] = ..., message: _Optional[str] = ...) -> None: ...
65
+
66
+ class StopMetadataArgoWorkflowResponse(_message.Message):
67
+ __slots__ = ("status", "message")
68
+ STATUS_FIELD_NUMBER: _ClassVar[int]
69
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
70
+ status: str
71
+ message: str
72
+ def __init__(self, status: _Optional[str] = ..., message: _Optional[str] = ...) -> None: ...
73
+
74
+ class GetMetadataArgoWorkflowLogsRequest(_message.Message):
75
+ __slots__ = ("workflow_name", "node_name")
76
+ WORKFLOW_NAME_FIELD_NUMBER: _ClassVar[int]
77
+ NODE_NAME_FIELD_NUMBER: _ClassVar[int]
78
+ workflow_name: str
79
+ node_name: str
80
+ def __init__(self, workflow_name: _Optional[str] = ..., node_name: _Optional[str] = ...) -> None: ...
81
+
82
+ class GetMetadataArgoWorkflowLogsResponse(_message.Message):
83
+ __slots__ = ("pod_name", "node_name", "logs")
84
+ POD_NAME_FIELD_NUMBER: _ClassVar[int]
85
+ NODE_NAME_FIELD_NUMBER: _ClassVar[int]
86
+ LOGS_FIELD_NUMBER: _ClassVar[int]
87
+ pod_name: str
88
+ node_name: str
89
+ logs: str
90
+ def __init__(
91
+ self, pod_name: _Optional[str] = ..., node_name: _Optional[str] = ..., logs: _Optional[str] = ...
92
+ ) -> None: ...
@@ -0,0 +1,262 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+
4
+ import grpc
5
+
6
+ from chalk._gen.chalk.server.v1 import (
7
+ infrastructure_pipelines_pb2 as chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2,
8
+ )
9
+
10
+
11
+ class InfrastructurePipelinesServiceStub(object):
12
+ """Missing associated documentation comment in .proto file."""
13
+
14
+ def __init__(self, channel):
15
+ """Constructor.
16
+
17
+ Args:
18
+ channel: A grpc.Channel.
19
+ """
20
+ self.ListMetadataArgoWorkflows = channel.unary_unary(
21
+ "/chalk.server.v1.InfrastructurePipelinesService/ListMetadataArgoWorkflows",
22
+ request_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsRequest.SerializeToString,
23
+ response_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsResponse.FromString,
24
+ )
25
+ self.GetMetadataArgoWorkflow = channel.unary_unary(
26
+ "/chalk.server.v1.InfrastructurePipelinesService/GetMetadataArgoWorkflow",
27
+ request_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowRequest.SerializeToString,
28
+ response_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowResponse.FromString,
29
+ )
30
+ self.ResumeMetadataArgoWorkflow = channel.unary_unary(
31
+ "/chalk.server.v1.InfrastructurePipelinesService/ResumeMetadataArgoWorkflow",
32
+ request_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowRequest.SerializeToString,
33
+ response_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowResponse.FromString,
34
+ )
35
+ self.StopMetadataArgoWorkflow = channel.unary_unary(
36
+ "/chalk.server.v1.InfrastructurePipelinesService/StopMetadataArgoWorkflow",
37
+ request_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowRequest.SerializeToString,
38
+ response_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowResponse.FromString,
39
+ )
40
+ self.GetMetadataArgoWorkflowLogs = channel.unary_unary(
41
+ "/chalk.server.v1.InfrastructurePipelinesService/GetMetadataArgoWorkflowLogs",
42
+ request_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsRequest.SerializeToString,
43
+ response_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsResponse.FromString,
44
+ )
45
+
46
+
47
+ class InfrastructurePipelinesServiceServicer(object):
48
+ """Missing associated documentation comment in .proto file."""
49
+
50
+ def ListMetadataArgoWorkflows(self, request, context):
51
+ """Missing associated documentation comment in .proto file."""
52
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
53
+ context.set_details("Method not implemented!")
54
+ raise NotImplementedError("Method not implemented!")
55
+
56
+ def GetMetadataArgoWorkflow(self, request, context):
57
+ """Missing associated documentation comment in .proto file."""
58
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
59
+ context.set_details("Method not implemented!")
60
+ raise NotImplementedError("Method not implemented!")
61
+
62
+ def ResumeMetadataArgoWorkflow(self, request, context):
63
+ """Missing associated documentation comment in .proto file."""
64
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
65
+ context.set_details("Method not implemented!")
66
+ raise NotImplementedError("Method not implemented!")
67
+
68
+ def StopMetadataArgoWorkflow(self, request, context):
69
+ """Missing associated documentation comment in .proto file."""
70
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
71
+ context.set_details("Method not implemented!")
72
+ raise NotImplementedError("Method not implemented!")
73
+
74
+ def GetMetadataArgoWorkflowLogs(self, request, context):
75
+ """Missing associated documentation comment in .proto file."""
76
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
77
+ context.set_details("Method not implemented!")
78
+ raise NotImplementedError("Method not implemented!")
79
+
80
+
81
+ def add_InfrastructurePipelinesServiceServicer_to_server(servicer, server):
82
+ rpc_method_handlers = {
83
+ "ListMetadataArgoWorkflows": grpc.unary_unary_rpc_method_handler(
84
+ servicer.ListMetadataArgoWorkflows,
85
+ request_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsRequest.FromString,
86
+ response_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsResponse.SerializeToString,
87
+ ),
88
+ "GetMetadataArgoWorkflow": grpc.unary_unary_rpc_method_handler(
89
+ servicer.GetMetadataArgoWorkflow,
90
+ request_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowRequest.FromString,
91
+ response_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowResponse.SerializeToString,
92
+ ),
93
+ "ResumeMetadataArgoWorkflow": grpc.unary_unary_rpc_method_handler(
94
+ servicer.ResumeMetadataArgoWorkflow,
95
+ request_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowRequest.FromString,
96
+ response_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowResponse.SerializeToString,
97
+ ),
98
+ "StopMetadataArgoWorkflow": grpc.unary_unary_rpc_method_handler(
99
+ servicer.StopMetadataArgoWorkflow,
100
+ request_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowRequest.FromString,
101
+ response_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowResponse.SerializeToString,
102
+ ),
103
+ "GetMetadataArgoWorkflowLogs": grpc.unary_unary_rpc_method_handler(
104
+ servicer.GetMetadataArgoWorkflowLogs,
105
+ request_deserializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsRequest.FromString,
106
+ response_serializer=chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsResponse.SerializeToString,
107
+ ),
108
+ }
109
+ generic_handler = grpc.method_handlers_generic_handler(
110
+ "chalk.server.v1.InfrastructurePipelinesService", rpc_method_handlers
111
+ )
112
+ server.add_generic_rpc_handlers((generic_handler,))
113
+
114
+
115
+ # This class is part of an EXPERIMENTAL API.
116
+ class InfrastructurePipelinesService(object):
117
+ """Missing associated documentation comment in .proto file."""
118
+
119
+ @staticmethod
120
+ def ListMetadataArgoWorkflows(
121
+ request,
122
+ target,
123
+ options=(),
124
+ channel_credentials=None,
125
+ call_credentials=None,
126
+ insecure=False,
127
+ compression=None,
128
+ wait_for_ready=None,
129
+ timeout=None,
130
+ metadata=None,
131
+ ):
132
+ return grpc.experimental.unary_unary(
133
+ request,
134
+ target,
135
+ "/chalk.server.v1.InfrastructurePipelinesService/ListMetadataArgoWorkflows",
136
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsRequest.SerializeToString,
137
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ListMetadataArgoWorkflowsResponse.FromString,
138
+ options,
139
+ channel_credentials,
140
+ insecure,
141
+ call_credentials,
142
+ compression,
143
+ wait_for_ready,
144
+ timeout,
145
+ metadata,
146
+ )
147
+
148
+ @staticmethod
149
+ def GetMetadataArgoWorkflow(
150
+ request,
151
+ target,
152
+ options=(),
153
+ channel_credentials=None,
154
+ call_credentials=None,
155
+ insecure=False,
156
+ compression=None,
157
+ wait_for_ready=None,
158
+ timeout=None,
159
+ metadata=None,
160
+ ):
161
+ return grpc.experimental.unary_unary(
162
+ request,
163
+ target,
164
+ "/chalk.server.v1.InfrastructurePipelinesService/GetMetadataArgoWorkflow",
165
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowRequest.SerializeToString,
166
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowResponse.FromString,
167
+ options,
168
+ channel_credentials,
169
+ insecure,
170
+ call_credentials,
171
+ compression,
172
+ wait_for_ready,
173
+ timeout,
174
+ metadata,
175
+ )
176
+
177
+ @staticmethod
178
+ def ResumeMetadataArgoWorkflow(
179
+ request,
180
+ target,
181
+ options=(),
182
+ channel_credentials=None,
183
+ call_credentials=None,
184
+ insecure=False,
185
+ compression=None,
186
+ wait_for_ready=None,
187
+ timeout=None,
188
+ metadata=None,
189
+ ):
190
+ return grpc.experimental.unary_unary(
191
+ request,
192
+ target,
193
+ "/chalk.server.v1.InfrastructurePipelinesService/ResumeMetadataArgoWorkflow",
194
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowRequest.SerializeToString,
195
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.ResumeMetadataArgoWorkflowResponse.FromString,
196
+ options,
197
+ channel_credentials,
198
+ insecure,
199
+ call_credentials,
200
+ compression,
201
+ wait_for_ready,
202
+ timeout,
203
+ metadata,
204
+ )
205
+
206
+ @staticmethod
207
+ def StopMetadataArgoWorkflow(
208
+ request,
209
+ target,
210
+ options=(),
211
+ channel_credentials=None,
212
+ call_credentials=None,
213
+ insecure=False,
214
+ compression=None,
215
+ wait_for_ready=None,
216
+ timeout=None,
217
+ metadata=None,
218
+ ):
219
+ return grpc.experimental.unary_unary(
220
+ request,
221
+ target,
222
+ "/chalk.server.v1.InfrastructurePipelinesService/StopMetadataArgoWorkflow",
223
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowRequest.SerializeToString,
224
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.StopMetadataArgoWorkflowResponse.FromString,
225
+ options,
226
+ channel_credentials,
227
+ insecure,
228
+ call_credentials,
229
+ compression,
230
+ wait_for_ready,
231
+ timeout,
232
+ metadata,
233
+ )
234
+
235
+ @staticmethod
236
+ def GetMetadataArgoWorkflowLogs(
237
+ request,
238
+ target,
239
+ options=(),
240
+ channel_credentials=None,
241
+ call_credentials=None,
242
+ insecure=False,
243
+ compression=None,
244
+ wait_for_ready=None,
245
+ timeout=None,
246
+ metadata=None,
247
+ ):
248
+ return grpc.experimental.unary_unary(
249
+ request,
250
+ target,
251
+ "/chalk.server.v1.InfrastructurePipelinesService/GetMetadataArgoWorkflowLogs",
252
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsRequest.SerializeToString,
253
+ chalk_dot_server_dot_v1_dot_infrastructure__pipelines__pb2.GetMetadataArgoWorkflowLogsResponse.FromString,
254
+ options,
255
+ channel_credentials,
256
+ insecure,
257
+ call_credentials,
258
+ compression,
259
+ wait_for_ready,
260
+ timeout,
261
+ metadata,
262
+ )
@@ -0,0 +1,86 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from abc import (
7
+ ABCMeta,
8
+ abstractmethod,
9
+ )
10
+ from chalk._gen.chalk.server.v1.infrastructure_pipelines_pb2 import (
11
+ GetMetadataArgoWorkflowLogsRequest,
12
+ GetMetadataArgoWorkflowLogsResponse,
13
+ GetMetadataArgoWorkflowRequest,
14
+ GetMetadataArgoWorkflowResponse,
15
+ ListMetadataArgoWorkflowsRequest,
16
+ ListMetadataArgoWorkflowsResponse,
17
+ ResumeMetadataArgoWorkflowRequest,
18
+ ResumeMetadataArgoWorkflowResponse,
19
+ StopMetadataArgoWorkflowRequest,
20
+ StopMetadataArgoWorkflowResponse,
21
+ )
22
+ from grpc import (
23
+ Channel,
24
+ Server,
25
+ ServicerContext,
26
+ UnaryUnaryMultiCallable,
27
+ )
28
+
29
+ class InfrastructurePipelinesServiceStub:
30
+ def __init__(self, channel: Channel) -> None: ...
31
+ ListMetadataArgoWorkflows: UnaryUnaryMultiCallable[
32
+ ListMetadataArgoWorkflowsRequest,
33
+ ListMetadataArgoWorkflowsResponse,
34
+ ]
35
+ GetMetadataArgoWorkflow: UnaryUnaryMultiCallable[
36
+ GetMetadataArgoWorkflowRequest,
37
+ GetMetadataArgoWorkflowResponse,
38
+ ]
39
+ ResumeMetadataArgoWorkflow: UnaryUnaryMultiCallable[
40
+ ResumeMetadataArgoWorkflowRequest,
41
+ ResumeMetadataArgoWorkflowResponse,
42
+ ]
43
+ StopMetadataArgoWorkflow: UnaryUnaryMultiCallable[
44
+ StopMetadataArgoWorkflowRequest,
45
+ StopMetadataArgoWorkflowResponse,
46
+ ]
47
+ GetMetadataArgoWorkflowLogs: UnaryUnaryMultiCallable[
48
+ GetMetadataArgoWorkflowLogsRequest,
49
+ GetMetadataArgoWorkflowLogsResponse,
50
+ ]
51
+
52
+ class InfrastructurePipelinesServiceServicer(metaclass=ABCMeta):
53
+ @abstractmethod
54
+ def ListMetadataArgoWorkflows(
55
+ self,
56
+ request: ListMetadataArgoWorkflowsRequest,
57
+ context: ServicerContext,
58
+ ) -> ListMetadataArgoWorkflowsResponse: ...
59
+ @abstractmethod
60
+ def GetMetadataArgoWorkflow(
61
+ self,
62
+ request: GetMetadataArgoWorkflowRequest,
63
+ context: ServicerContext,
64
+ ) -> GetMetadataArgoWorkflowResponse: ...
65
+ @abstractmethod
66
+ def ResumeMetadataArgoWorkflow(
67
+ self,
68
+ request: ResumeMetadataArgoWorkflowRequest,
69
+ context: ServicerContext,
70
+ ) -> ResumeMetadataArgoWorkflowResponse: ...
71
+ @abstractmethod
72
+ def StopMetadataArgoWorkflow(
73
+ self,
74
+ request: StopMetadataArgoWorkflowRequest,
75
+ context: ServicerContext,
76
+ ) -> StopMetadataArgoWorkflowResponse: ...
77
+ @abstractmethod
78
+ def GetMetadataArgoWorkflowLogs(
79
+ self,
80
+ request: GetMetadataArgoWorkflowLogsRequest,
81
+ context: ServicerContext,
82
+ ) -> GetMetadataArgoWorkflowLogsResponse: ...
83
+
84
+ def add_InfrastructurePipelinesServiceServicer_to_server(
85
+ servicer: InfrastructurePipelinesServiceServicer, server: Server
86
+ ) -> None: ...