chalkpy 2.89.22__py3-none-any.whl → 2.95.3__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.
- chalk/__init__.py +2 -1
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/artifacts/v1/chart_pb2.py +36 -33
- chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +41 -1
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +8 -7
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +5 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +19 -13
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +37 -0
- chalk/_gen/chalk/common/v1/online_query_pb2.py +54 -54
- chalk/_gen/chalk/common/v1/online_query_pb2.pyi +13 -1
- chalk/_gen/chalk/common/v1/script_task_pb2.py +13 -11
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +19 -1
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +123 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +25 -0
- chalk/_gen/chalk/graph/v1/sources_pb2.py +94 -84
- chalk/_gen/chalk/graph/v1/sources_pb2.pyi +56 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +54 -27
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +131 -3
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.py +45 -0
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.pyi +14 -0
- chalk/_gen/chalk/python/v1/types_pb2.py +14 -14
- chalk/_gen/chalk/python/v1/types_pb2.pyi +8 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +76 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +156 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +258 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +84 -0
- chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
- chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
- chalk/_gen/chalk/server/v1/branches_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/branches_pb2.pyi +80 -0
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +372 -272
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +479 -12
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +360 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +96 -0
- chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
- chalk/_gen/chalk/server/v1/clickhouse_pb2.py +42 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2.pyi +17 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +153 -107
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +146 -4
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.py +11 -3
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +59 -35
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +127 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +90 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +264 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/datasets_pb2.py +36 -24
- chalk/_gen/chalk/server/v1/datasets_pb2.pyi +71 -2
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/deploy_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deployment_pb2.py +20 -15
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +25 -0
- chalk/_gen/chalk/server/v1/environment_pb2.py +25 -15
- chalk/_gen/chalk/server/v1/environment_pb2.pyi +93 -1
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.pyi +64 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/graph_pb2.py +41 -3
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +191 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +92 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +32 -0
- chalk/_gen/chalk/server/v1/incident_pb2.py +57 -0
- chalk/_gen/chalk/server/v1/incident_pb2.pyi +165 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.pyi +38 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/integrations_pb2.py +11 -9
- chalk/_gen/chalk/server/v1/integrations_pb2.pyi +34 -2
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
- chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.py +73 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.pyi +212 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.py +217 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.pyi +74 -0
- chalk/_gen/chalk/server/v1/model_registry_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/model_registry_pb2.pyi +4 -1
- chalk/_gen/chalk/server/v1/monitoring_pb2.py +84 -75
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +1 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +136 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2.py +32 -10
- chalk/_gen/chalk/server/v1/offline_queries_pb2.pyi +73 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/queries_pb2.py +76 -48
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +155 -2
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -6
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +75 -2
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +24 -12
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +61 -1
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2.py +26 -14
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +33 -3
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
- chalk/_gen/chalk/server/v1/team_pb2.py +156 -137
- chalk/_gen/chalk/server/v1/team_pb2.pyi +56 -10
- chalk/_gen/chalk/server/v1/team_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
- chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/trace_pb2.py +50 -28
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +121 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.pyi +42 -0
- chalk/_gen/chalk/server/v1/webhook_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/webhook_pb2.pyi +18 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +19 -7
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +96 -3
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.py +48 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.pyi +20 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
- chalk/_lsp/error_builder.py +11 -0
- chalk/_monitoring/Chart.py +1 -3
- chalk/_version.py +1 -1
- chalk/cli.py +5 -10
- chalk/client/client.py +178 -64
- chalk/client/client_async.py +154 -0
- chalk/client/client_async_impl.py +22 -0
- chalk/client/client_grpc.py +738 -112
- chalk/client/client_impl.py +541 -136
- chalk/client/dataset.py +27 -6
- chalk/client/models.py +99 -2
- chalk/client/serialization/model_serialization.py +126 -10
- chalk/config/project_config.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1154 -0
- chalk/df/ast_parser.py +2 -10
- chalk/features/_class_property.py +7 -0
- chalk/features/_embedding/embedding.py +1 -0
- chalk/features/_embedding/sentence_transformer.py +1 -1
- chalk/features/_encoding/converter.py +83 -2
- chalk/features/_encoding/pyarrow.py +20 -4
- chalk/features/_encoding/rich.py +1 -3
- chalk/features/_tensor.py +1 -2
- chalk/features/dataframe/_filters.py +14 -5
- chalk/features/dataframe/_impl.py +91 -36
- chalk/features/dataframe/_validation.py +11 -7
- chalk/features/feature_field.py +40 -30
- chalk/features/feature_set.py +1 -2
- chalk/features/feature_set_decorator.py +1 -0
- chalk/features/feature_wrapper.py +42 -3
- chalk/features/hooks.py +81 -12
- chalk/features/inference.py +65 -10
- chalk/features/resolver.py +338 -56
- chalk/features/tag.py +1 -3
- chalk/features/underscore_features.py +2 -1
- chalk/functions/__init__.py +456 -21
- chalk/functions/holidays.py +1 -3
- chalk/gitignore/gitignore_parser.py +5 -1
- chalk/importer.py +186 -74
- chalk/ml/__init__.py +6 -2
- chalk/ml/model_hooks.py +368 -51
- chalk/ml/model_reference.py +68 -10
- chalk/ml/model_version.py +34 -21
- chalk/ml/utils.py +143 -40
- chalk/operators/_utils.py +14 -3
- chalk/parsed/_proto/export.py +22 -0
- chalk/parsed/duplicate_input_gql.py +4 -0
- chalk/parsed/expressions.py +1 -3
- chalk/parsed/json_conversions.py +21 -14
- chalk/parsed/to_proto.py +16 -4
- chalk/parsed/user_types_to_json.py +31 -10
- chalk/parsed/validation_from_registries.py +182 -0
- chalk/queries/named_query.py +16 -6
- chalk/queries/scheduled_query.py +13 -1
- chalk/serialization/parsed_annotation.py +25 -12
- chalk/sql/__init__.py +221 -0
- chalk/sql/_internal/integrations/athena.py +6 -1
- chalk/sql/_internal/integrations/bigquery.py +22 -2
- chalk/sql/_internal/integrations/databricks.py +61 -18
- chalk/sql/_internal/integrations/mssql.py +281 -0
- chalk/sql/_internal/integrations/postgres.py +11 -3
- chalk/sql/_internal/integrations/redshift.py +4 -0
- chalk/sql/_internal/integrations/snowflake.py +11 -2
- chalk/sql/_internal/integrations/util.py +2 -1
- chalk/sql/_internal/sql_file_resolver.py +55 -10
- chalk/sql/_internal/sql_source.py +36 -2
- chalk/streams/__init__.py +1 -3
- chalk/streams/_kafka_source.py +5 -1
- chalk/streams/_windows.py +16 -4
- chalk/streams/types.py +1 -2
- chalk/utils/__init__.py +1 -3
- chalk/utils/_otel_version.py +13 -0
- chalk/utils/async_helpers.py +14 -5
- chalk/utils/df_utils.py +2 -2
- chalk/utils/duration.py +1 -3
- chalk/utils/job_log_display.py +538 -0
- chalk/utils/missing_dependency.py +5 -4
- chalk/utils/notebook.py +255 -2
- chalk/utils/pl_helpers.py +190 -37
- chalk/utils/pydanticutil/pydantic_compat.py +1 -2
- chalk/utils/storage_client.py +246 -0
- chalk/utils/threading.py +1 -3
- chalk/utils/tracing.py +194 -86
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/METADATA +53 -21
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/RECORD +268 -198
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
from chalk._gen.chalk.artifacts.v1 import chart_pb2 as _chart_pb2
|
|
2
|
+
from chalk._gen.chalk.chart.v1 import densetimeserieschart_pb2 as _densetimeserieschart_pb2
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
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 IncidentEntityKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
19
|
+
__slots__ = ()
|
|
20
|
+
INCIDENT_ENTITY_KIND_UNSPECIFIED: _ClassVar[IncidentEntityKind]
|
|
21
|
+
INCIDENT_ENTITY_KIND_FEATURE: _ClassVar[IncidentEntityKind]
|
|
22
|
+
INCIDENT_ENTITY_KIND_RESOLVER: _ClassVar[IncidentEntityKind]
|
|
23
|
+
INCIDENT_ENTITY_KIND_SCHEDULED_QUERY: _ClassVar[IncidentEntityKind]
|
|
24
|
+
|
|
25
|
+
INCIDENT_ENTITY_KIND_UNSPECIFIED: IncidentEntityKind
|
|
26
|
+
INCIDENT_ENTITY_KIND_FEATURE: IncidentEntityKind
|
|
27
|
+
INCIDENT_ENTITY_KIND_RESOLVER: IncidentEntityKind
|
|
28
|
+
INCIDENT_ENTITY_KIND_SCHEDULED_QUERY: IncidentEntityKind
|
|
29
|
+
|
|
30
|
+
class IncidentLinkedEntity(_message.Message):
|
|
31
|
+
__slots__ = ("entity_kind", "entity_id")
|
|
32
|
+
ENTITY_KIND_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
entity_kind: IncidentEntityKind
|
|
35
|
+
entity_id: str
|
|
36
|
+
def __init__(
|
|
37
|
+
self, entity_kind: _Optional[_Union[IncidentEntityKind, str]] = ..., entity_id: _Optional[str] = ...
|
|
38
|
+
) -> None: ...
|
|
39
|
+
|
|
40
|
+
class IncidentGroup(_message.Message):
|
|
41
|
+
__slots__ = ("group_key", "value")
|
|
42
|
+
GROUP_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
group_key: str
|
|
45
|
+
value: str
|
|
46
|
+
def __init__(self, group_key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
47
|
+
|
|
48
|
+
class MetricIncident(_message.Message):
|
|
49
|
+
__slots__ = ("id", "started_at", "closed_at", "metric_config", "linked_entity", "dedupe_key", "groups")
|
|
50
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
STARTED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
CLOSED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
METRIC_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
LINKED_ENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
DEDUPE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
GROUPS_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
id: str
|
|
58
|
+
started_at: _timestamp_pb2.Timestamp
|
|
59
|
+
closed_at: _timestamp_pb2.Timestamp
|
|
60
|
+
metric_config: _chart_pb2.MetricConfig
|
|
61
|
+
linked_entity: IncidentLinkedEntity
|
|
62
|
+
dedupe_key: str
|
|
63
|
+
groups: _containers.RepeatedCompositeFieldContainer[IncidentGroup]
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
id: _Optional[str] = ...,
|
|
67
|
+
started_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
68
|
+
closed_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
69
|
+
metric_config: _Optional[_Union[_chart_pb2.MetricConfig, _Mapping]] = ...,
|
|
70
|
+
linked_entity: _Optional[_Union[IncidentLinkedEntity, _Mapping]] = ...,
|
|
71
|
+
dedupe_key: _Optional[str] = ...,
|
|
72
|
+
groups: _Optional[_Iterable[_Union[IncidentGroup, _Mapping]]] = ...,
|
|
73
|
+
) -> None: ...
|
|
74
|
+
|
|
75
|
+
class GetIncidentRequest(_message.Message):
|
|
76
|
+
__slots__ = ("incident_id",)
|
|
77
|
+
INCIDENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
incident_id: str
|
|
79
|
+
def __init__(self, incident_id: _Optional[str] = ...) -> None: ...
|
|
80
|
+
|
|
81
|
+
class GetIncidentResponse(_message.Message):
|
|
82
|
+
__slots__ = ("incident",)
|
|
83
|
+
INCIDENT_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
incident: MetricIncident
|
|
85
|
+
def __init__(self, incident: _Optional[_Union[MetricIncident, _Mapping]] = ...) -> None: ...
|
|
86
|
+
|
|
87
|
+
class GetIncidentAlertsChartRequest(_message.Message):
|
|
88
|
+
__slots__ = ("incident_id", "point_limit")
|
|
89
|
+
INCIDENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
POINT_LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
incident_id: str
|
|
92
|
+
point_limit: int
|
|
93
|
+
def __init__(self, incident_id: _Optional[str] = ..., point_limit: _Optional[int] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class GetIncidentAlertsChartResponse(_message.Message):
|
|
96
|
+
__slots__ = ("chart",)
|
|
97
|
+
CHART_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
chart: _densetimeserieschart_pb2.DenseTimeSeriesChart
|
|
99
|
+
def __init__(
|
|
100
|
+
self, chart: _Optional[_Union[_densetimeserieschart_pb2.DenseTimeSeriesChart, _Mapping]] = ...
|
|
101
|
+
) -> None: ...
|
|
102
|
+
|
|
103
|
+
class ListIncidentsPageToken(_message.Message):
|
|
104
|
+
__slots__ = ("created_at_hwm", "id_hwm")
|
|
105
|
+
CREATED_AT_HWM_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
ID_HWM_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
created_at_hwm: _timestamp_pb2.Timestamp
|
|
108
|
+
id_hwm: str
|
|
109
|
+
def __init__(
|
|
110
|
+
self, created_at_hwm: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id_hwm: _Optional[str] = ...
|
|
111
|
+
) -> None: ...
|
|
112
|
+
|
|
113
|
+
class ListIncidentsFilters(_message.Message):
|
|
114
|
+
__slots__ = (
|
|
115
|
+
"created_at_lower_bound_inclusive",
|
|
116
|
+
"created_at_upper_bound_exclusive",
|
|
117
|
+
"has_closed_filter",
|
|
118
|
+
"linked_entity_kind_filter",
|
|
119
|
+
"linked_entity_id_filter",
|
|
120
|
+
)
|
|
121
|
+
CREATED_AT_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
CREATED_AT_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
HAS_CLOSED_FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
LINKED_ENTITY_KIND_FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
LINKED_ENTITY_ID_FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
created_at_lower_bound_inclusive: _timestamp_pb2.Timestamp
|
|
127
|
+
created_at_upper_bound_exclusive: _timestamp_pb2.Timestamp
|
|
128
|
+
has_closed_filter: bool
|
|
129
|
+
linked_entity_kind_filter: IncidentEntityKind
|
|
130
|
+
linked_entity_id_filter: str
|
|
131
|
+
def __init__(
|
|
132
|
+
self,
|
|
133
|
+
created_at_lower_bound_inclusive: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
134
|
+
created_at_upper_bound_exclusive: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
135
|
+
has_closed_filter: bool = ...,
|
|
136
|
+
linked_entity_kind_filter: _Optional[_Union[IncidentEntityKind, str]] = ...,
|
|
137
|
+
linked_entity_id_filter: _Optional[str] = ...,
|
|
138
|
+
) -> None: ...
|
|
139
|
+
|
|
140
|
+
class ListIncidentsRequest(_message.Message):
|
|
141
|
+
__slots__ = ("filters", "limit", "page_token")
|
|
142
|
+
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
filters: ListIncidentsFilters
|
|
146
|
+
limit: int
|
|
147
|
+
page_token: str
|
|
148
|
+
def __init__(
|
|
149
|
+
self,
|
|
150
|
+
filters: _Optional[_Union[ListIncidentsFilters, _Mapping]] = ...,
|
|
151
|
+
limit: _Optional[int] = ...,
|
|
152
|
+
page_token: _Optional[str] = ...,
|
|
153
|
+
) -> None: ...
|
|
154
|
+
|
|
155
|
+
class ListIncidentsResponse(_message.Message):
|
|
156
|
+
__slots__ = ("incidents", "next_page_token")
|
|
157
|
+
INCIDENTS_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
159
|
+
incidents: _containers.RepeatedCompositeFieldContainer[MetricIncident]
|
|
160
|
+
next_page_token: str
|
|
161
|
+
def __init__(
|
|
162
|
+
self,
|
|
163
|
+
incidents: _Optional[_Iterable[_Union[MetricIncident, _Mapping]]] = ...,
|
|
164
|
+
next_page_token: _Optional[str] = ...,
|
|
165
|
+
) -> None: ...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/server/v1/indexing_job.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.artifacts.v1 import export_pb2 as chalk_dot_artifacts_dot_v1_dot_export__pb2
|
|
17
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
+
b'\n"chalk/server/v1/indexing_job.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x1f\x63halk/auth/v1/permissions.proto"\x99\x01\n\x1bGetIndexingJobStatusRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12U\n\x15\x64irectory_prefix_enum\x18\x02 \x01(\x0e\x32!.chalk.server.v1.DirectoryOptionsR\x13\x64irectoryPrefixEnum"R\n\x1cGetIndexingJobStatusResponse\x12\x32\n\x06\x65xport\x18\x01 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xport*\xb2\x01\n\x10\x44irectoryOptions\x12!\n\x1d\x44IRECTORY_OPTIONS_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44IRECTORY_OPTIONS_MAIN\x10\x01\x12\x1c\n\x18\x44IRECTORY_OPTIONS_SHADOW\x10\x02\x12\x1d\n\x19\x44IRECTORY_OPTIONS_DRY_RUN\x10\x03\x12"\n\x1e\x44IRECTORY_OPTIONS_INDEXING_JOB\x10\x04\x32\x91\x01\n\x12IndexingJobService\x12{\n\x14GetIndexingJobStatus\x12,.chalk.server.v1.GetIndexingJobStatusRequest\x1a-.chalk.server.v1.GetIndexingJobStatusResponse"\x06\x90\x02\x01\x80}\x0b\x42\x99\x01\n\x13\x63om.chalk.server.v1B\x10IndexingJobProtoP\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
|
+
)
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.indexing_job_pb2", _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
_globals["DESCRIPTOR"]._options = None
|
|
29
|
+
_globals[
|
|
30
|
+
"DESCRIPTOR"
|
|
31
|
+
]._serialized_options = b"\n\023com.chalk.server.v1B\020IndexingJobProtoP\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"
|
|
32
|
+
_globals["_INDEXINGJOBSERVICE"].methods_by_name["GetIndexingJobStatus"]._options = None
|
|
33
|
+
_globals["_INDEXINGJOBSERVICE"].methods_by_name[
|
|
34
|
+
"GetIndexingJobStatus"
|
|
35
|
+
]._serialized_options = b"\220\002\001\200}\013"
|
|
36
|
+
_globals["_DIRECTORYOPTIONS"]._serialized_start = 362
|
|
37
|
+
_globals["_DIRECTORYOPTIONS"]._serialized_end = 540
|
|
38
|
+
_globals["_GETINDEXINGJOBSTATUSREQUEST"]._serialized_start = 122
|
|
39
|
+
_globals["_GETINDEXINGJOBSTATUSREQUEST"]._serialized_end = 275
|
|
40
|
+
_globals["_GETINDEXINGJOBSTATUSRESPONSE"]._serialized_start = 277
|
|
41
|
+
_globals["_GETINDEXINGJOBSTATUSRESPONSE"]._serialized_end = 359
|
|
42
|
+
_globals["_INDEXINGJOBSERVICE"]._serialized_start = 543
|
|
43
|
+
_globals["_INDEXINGJOBSERVICE"]._serialized_end = 688
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
from chalk._gen.chalk.artifacts.v1 import export_pb2 as _export_pb2
|
|
2
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class DirectoryOptions(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
DIRECTORY_OPTIONS_UNSPECIFIED: _ClassVar[DirectoryOptions]
|
|
13
|
+
DIRECTORY_OPTIONS_MAIN: _ClassVar[DirectoryOptions]
|
|
14
|
+
DIRECTORY_OPTIONS_SHADOW: _ClassVar[DirectoryOptions]
|
|
15
|
+
DIRECTORY_OPTIONS_DRY_RUN: _ClassVar[DirectoryOptions]
|
|
16
|
+
DIRECTORY_OPTIONS_INDEXING_JOB: _ClassVar[DirectoryOptions]
|
|
17
|
+
|
|
18
|
+
DIRECTORY_OPTIONS_UNSPECIFIED: DirectoryOptions
|
|
19
|
+
DIRECTORY_OPTIONS_MAIN: DirectoryOptions
|
|
20
|
+
DIRECTORY_OPTIONS_SHADOW: DirectoryOptions
|
|
21
|
+
DIRECTORY_OPTIONS_DRY_RUN: DirectoryOptions
|
|
22
|
+
DIRECTORY_OPTIONS_INDEXING_JOB: DirectoryOptions
|
|
23
|
+
|
|
24
|
+
class GetIndexingJobStatusRequest(_message.Message):
|
|
25
|
+
__slots__ = ("deployment_id", "directory_prefix_enum")
|
|
26
|
+
DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
DIRECTORY_PREFIX_ENUM_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
deployment_id: str
|
|
29
|
+
directory_prefix_enum: DirectoryOptions
|
|
30
|
+
def __init__(
|
|
31
|
+
self, deployment_id: _Optional[str] = ..., directory_prefix_enum: _Optional[_Union[DirectoryOptions, str]] = ...
|
|
32
|
+
) -> None: ...
|
|
33
|
+
|
|
34
|
+
class GetIndexingJobStatusResponse(_message.Message):
|
|
35
|
+
__slots__ = ("export",)
|
|
36
|
+
EXPORT_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
export: _export_pb2.Export
|
|
38
|
+
def __init__(self, export: _Optional[_Union[_export_pb2.Export, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,78 @@
|
|
|
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 indexing_job_pb2 as chalk_dot_server_dot_v1_dot_indexing__job__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class IndexingJobServiceStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.GetIndexingJobStatus = channel.unary_unary(
|
|
19
|
+
"/chalk.server.v1.IndexingJobService/GetIndexingJobStatus",
|
|
20
|
+
request_serializer=chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusRequest.SerializeToString,
|
|
21
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class IndexingJobServiceServicer(object):
|
|
26
|
+
"""Missing associated documentation comment in .proto file."""
|
|
27
|
+
|
|
28
|
+
def GetIndexingJobStatus(self, request, context):
|
|
29
|
+
"""GetIndexingStatus checks if the indexing job has completed successfully for a deployment"""
|
|
30
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
31
|
+
context.set_details("Method not implemented!")
|
|
32
|
+
raise NotImplementedError("Method not implemented!")
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def add_IndexingJobServiceServicer_to_server(servicer, server):
|
|
36
|
+
rpc_method_handlers = {
|
|
37
|
+
"GetIndexingJobStatus": grpc.unary_unary_rpc_method_handler(
|
|
38
|
+
servicer.GetIndexingJobStatus,
|
|
39
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusRequest.FromString,
|
|
40
|
+
response_serializer=chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusResponse.SerializeToString,
|
|
41
|
+
),
|
|
42
|
+
}
|
|
43
|
+
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.IndexingJobService", rpc_method_handlers)
|
|
44
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# This class is part of an EXPERIMENTAL API.
|
|
48
|
+
class IndexingJobService(object):
|
|
49
|
+
"""Missing associated documentation comment in .proto file."""
|
|
50
|
+
|
|
51
|
+
@staticmethod
|
|
52
|
+
def GetIndexingJobStatus(
|
|
53
|
+
request,
|
|
54
|
+
target,
|
|
55
|
+
options=(),
|
|
56
|
+
channel_credentials=None,
|
|
57
|
+
call_credentials=None,
|
|
58
|
+
insecure=False,
|
|
59
|
+
compression=None,
|
|
60
|
+
wait_for_ready=None,
|
|
61
|
+
timeout=None,
|
|
62
|
+
metadata=None,
|
|
63
|
+
):
|
|
64
|
+
return grpc.experimental.unary_unary(
|
|
65
|
+
request,
|
|
66
|
+
target,
|
|
67
|
+
"/chalk.server.v1.IndexingJobService/GetIndexingJobStatus",
|
|
68
|
+
chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusRequest.SerializeToString,
|
|
69
|
+
chalk_dot_server_dot_v1_dot_indexing__job__pb2.GetIndexingJobStatusResponse.FromString,
|
|
70
|
+
options,
|
|
71
|
+
channel_credentials,
|
|
72
|
+
insecure,
|
|
73
|
+
call_credentials,
|
|
74
|
+
compression,
|
|
75
|
+
wait_for_ready,
|
|
76
|
+
timeout,
|
|
77
|
+
metadata,
|
|
78
|
+
)
|
|
@@ -0,0 +1,38 @@
|
|
|
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.indexing_job_pb2 import (
|
|
11
|
+
GetIndexingJobStatusRequest,
|
|
12
|
+
GetIndexingJobStatusResponse,
|
|
13
|
+
)
|
|
14
|
+
from grpc import (
|
|
15
|
+
Channel,
|
|
16
|
+
Server,
|
|
17
|
+
ServicerContext,
|
|
18
|
+
UnaryUnaryMultiCallable,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
class IndexingJobServiceStub:
|
|
22
|
+
def __init__(self, channel: Channel) -> None: ...
|
|
23
|
+
GetIndexingJobStatus: UnaryUnaryMultiCallable[
|
|
24
|
+
GetIndexingJobStatusRequest,
|
|
25
|
+
GetIndexingJobStatusResponse,
|
|
26
|
+
]
|
|
27
|
+
"""GetIndexingStatus checks if the indexing job has completed successfully for a deployment"""
|
|
28
|
+
|
|
29
|
+
class IndexingJobServiceServicer(metaclass=ABCMeta):
|
|
30
|
+
@abstractmethod
|
|
31
|
+
def GetIndexingJobStatus(
|
|
32
|
+
self,
|
|
33
|
+
request: GetIndexingJobStatusRequest,
|
|
34
|
+
context: ServicerContext,
|
|
35
|
+
) -> GetIndexingJobStatusResponse:
|
|
36
|
+
"""GetIndexingStatus checks if the indexing job has completed successfully for a deployment"""
|
|
37
|
+
|
|
38
|
+
def add_IndexingJobServiceServicer_to_server(servicer: IndexingJobServiceServicer, server: Server) -> None: ...
|
|
@@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n"chalk/server/v1/integrations.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a)chalk/server/v1/environment_secrets.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x92\x02\n\x0bIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x34\n\x04kind\x18\x03 \x01(\x0e\x32 .chalk.server.v1.IntegrationKindR\x04kind\x12%\n\x0e\x65nvironment_id\x18\x04 \x01(\tR\renvironmentId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAtB\x07\n\x05_name"\x94\x01\n\x16IntegrationWithSecrets\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration\x12:\n\x07secrets\x18\x02 \x03(\x0b\x32 .chalk.server.v1.SecretWithValueR\x07secrets"\x19\n\x17ListIntegrationsRequest"\\\n\x18ListIntegrationsResponse\x12@\n\x0cintegrations\x18\x01 \x03(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0cintegrations"=\n!ListIntegrationsAndSecretsRequest\x12\x18\n\x07\x64\x65\x63rypt\x18\x01 \x01(\x08R\x07\x64\x65\x63rypt"\xba\x01\n"ListIntegrationsAndSecretsResponse\x12K\n\x0cintegrations\x18\x01 \x03(\x0b\x32\'.chalk.server.v1.IntegrationWithSecretsR\x0cintegrations\x12G\n\x0e\x63ustom_secrets\x18\x02 \x03(\x0b\x32 .chalk.server.v1.SecretWithValueR\rcustomSecrets"d\n\x1aGetIntegrationValueRequest\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId\x12\x1f\n\x0bsecret_name\x18\x02 \x01(\tR\nsecretName"r\n\x1bGetIntegrationValueResponse\x12\x43\n\x0bsecretvalue\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.SecretValueH\x00R\x0bsecretvalue\x88\x01\x01\x42\x0e\n\x0c_secretvalue">\n\x15GetIntegrationRequest\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId"\x9d\x01\n\x16GetIntegrationResponse\x12\x66\n\x18integration_with_secrets\x18\x01 \x01(\x0b\x32\'.chalk.server.v1.IntegrationWithSecretsH\x00R\x16integrationWithSecrets\x88\x01\x01\x42\x1b\n\x19_integration_with_secrets"\xbe\x02\n\x18InsertIntegrationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12K\n\x10integration_kind\x18\x02 \x01(\x0e\x32 .chalk.server.v1.IntegrationKindR\x0fintegrationKind\x12x\n\x15\x65nvironment_variables\x18\x03 \x03(\x0b\x32\x43.chalk.server.v1.InsertIntegrationRequest.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"[\n\x19InsertIntegrationResponse\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration"\x98\x02\n\x18UpdateIntegrationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0eintegration_id\x18\x02 \x01(\tR\rintegrationId\x12x\n\x15\x65nvironment_variables\x18\x03 \x03(\x0b\x32\x43.chalk.server.v1.UpdateIntegrationRequest.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"[\n\x19UpdateIntegrationResponse\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration"*\n\x18\x44\x65leteIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1b\n\x19\x44\x65leteIntegrationResponse"\
|
|
23
|
+
b'\n"chalk/server/v1/integrations.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a)chalk/server/v1/environment_secrets.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x92\x02\n\x0bIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x34\n\x04kind\x18\x03 \x01(\x0e\x32 .chalk.server.v1.IntegrationKindR\x04kind\x12%\n\x0e\x65nvironment_id\x18\x04 \x01(\tR\renvironmentId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAtB\x07\n\x05_name"\x94\x01\n\x16IntegrationWithSecrets\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration\x12:\n\x07secrets\x18\x02 \x03(\x0b\x32 .chalk.server.v1.SecretWithValueR\x07secrets"\x19\n\x17ListIntegrationsRequest"\\\n\x18ListIntegrationsResponse\x12@\n\x0cintegrations\x18\x01 \x03(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0cintegrations"=\n!ListIntegrationsAndSecretsRequest\x12\x18\n\x07\x64\x65\x63rypt\x18\x01 \x01(\x08R\x07\x64\x65\x63rypt"\xba\x01\n"ListIntegrationsAndSecretsResponse\x12K\n\x0cintegrations\x18\x01 \x03(\x0b\x32\'.chalk.server.v1.IntegrationWithSecretsR\x0cintegrations\x12G\n\x0e\x63ustom_secrets\x18\x02 \x03(\x0b\x32 .chalk.server.v1.SecretWithValueR\rcustomSecrets"d\n\x1aGetIntegrationValueRequest\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId\x12\x1f\n\x0bsecret_name\x18\x02 \x01(\tR\nsecretName"r\n\x1bGetIntegrationValueResponse\x12\x43\n\x0bsecretvalue\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.SecretValueH\x00R\x0bsecretvalue\x88\x01\x01\x42\x0e\n\x0c_secretvalue">\n\x15GetIntegrationRequest\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId"\x9d\x01\n\x16GetIntegrationResponse\x12\x66\n\x18integration_with_secrets\x18\x01 \x01(\x0b\x32\'.chalk.server.v1.IntegrationWithSecretsH\x00R\x16integrationWithSecrets\x88\x01\x01\x42\x1b\n\x19_integration_with_secrets"\xbe\x02\n\x18InsertIntegrationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12K\n\x10integration_kind\x18\x02 \x01(\x0e\x32 .chalk.server.v1.IntegrationKindR\x0fintegrationKind\x12x\n\x15\x65nvironment_variables\x18\x03 \x03(\x0b\x32\x43.chalk.server.v1.InsertIntegrationRequest.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"[\n\x19InsertIntegrationResponse\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration"\x98\x02\n\x18UpdateIntegrationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0eintegration_id\x18\x02 \x01(\tR\rintegrationId\x12x\n\x15\x65nvironment_variables\x18\x03 \x03(\x0b\x32\x43.chalk.server.v1.UpdateIntegrationRequest.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"[\n\x19UpdateIntegrationResponse\x12>\n\x0bintegration\x18\x01 \x01(\x0b\x32\x1c.chalk.server.v1.IntegrationR\x0bintegration"*\n\x18\x44\x65leteIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1b\n\x19\x44\x65leteIntegrationResponse"\xd7\x01\n\x10PreviewedMessage\x12!\n\x0cvalue_base64\x18\x01 \x01(\tR\x0bvalueBase64\x12"\n\nkey_base64\x18\x02 \x01(\tH\x00R\tkeyBase64\x88\x01\x01\x12\x14\n\x05topic\x18\x03 \x01(\tR\x05topic\x12\x1c\n\tpartition\x18\x04 \x01(\tR\tpartition\x12\x16\n\x06offset\x18\x05 \x01(\tR\x06offset\x12!\n\x0ctimestamp_ms\x18\x06 \x01(\x03R\x0btimestampMsB\r\n\x0b_key_base64"\x90\x03\n\x16TestIntegrationRequest\x12\x34\n\x04kind\x18\x01 \x01(\x0e\x32 .chalk.server.v1.IntegrationKindR\x04kind\x12v\n\x15\x65nvironment_variables\x18\x02 \x03(\x0b\x32\x41.chalk.server.v1.TestIntegrationRequest.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x12*\n\x0eintegration_id\x18\x03 \x01(\tH\x00R\rintegrationId\x88\x01\x01\x12,\n\x0finclude_preview\x18\x04 \x01(\x08H\x01R\x0eincludePreview\x88\x01\x01\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x11\n\x0f_integration_idB\x12\n\x10_include_preview"\xf1\x01\n\x17TestIntegrationResponse\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x18\n\x07success\x18\x02 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12,\n\x0flatency_seconds\x18\x04 \x01(\x01H\x00R\x0elatencySeconds\x88\x01\x01\x12L\n\x10preview_messages\x18\x05 \x03(\x0b\x32!.chalk.server.v1.PreviewedMessageR\x0fpreviewMessagesB\x12\n\x10_latency_seconds*\xe7\x04\n\x0fIntegrationKind\x12 \n\x1cINTEGRATION_KIND_UNSPECIFIED\x10\x00\x12\x1b\n\x17INTEGRATION_KIND_ATHENA\x10\x01\x12\x18\n\x14INTEGRATION_KIND_AWS\x10\x02\x12\x1d\n\x19INTEGRATION_KIND_BIGQUERY\x10\x03\x12\x1f\n\x1bINTEGRATION_KIND_CLICKHOUSE\x10\x04\x12\x1b\n\x17INTEGRATION_KIND_COHERE\x10\x05\x12\x1f\n\x1bINTEGRATION_KIND_DATABRICKS\x10\x06\x12\x1d\n\x19INTEGRATION_KIND_DYNAMODB\x10\x07\x12\x18\n\x14INTEGRATION_KIND_GCP\x10\x08\x12\x1a\n\x16INTEGRATION_KIND_KAFKA\x10\t\x12\x1c\n\x18INTEGRATION_KIND_KINESIS\x10\n\x12\x1a\n\x16INTEGRATION_KIND_MYSQL\x10\x0b\x12\x1b\n\x17INTEGRATION_KIND_OPENAI\x10\x0c\x12\x1f\n\x1bINTEGRATION_KIND_POSTGRESQL\x10\r\x12\x1b\n\x17INTEGRATION_KIND_PUBSUB\x10\x0e\x12\x1d\n\x19INTEGRATION_KIND_REDSHIFT\x10\x0f\x12\x1e\n\x1aINTEGRATION_KIND_SNOWFLAKE\x10\x10\x12\x1c\n\x18INTEGRATION_KIND_SPANNER\x10\x11\x12\x1a\n\x16INTEGRATION_KIND_TRINO\x10\x12\x12\x1a\n\x16INTEGRATION_KIND_MSSQL\x10\x13\x32\xbf\x07\n\x13IntegrationsService\x12l\n\x10ListIntegrations\x12(.chalk.server.v1.ListIntegrationsRequest\x1a).chalk.server.v1.ListIntegrationsResponse"\x03\x80}\x14\x12\x8a\x01\n\x1aListIntegrationsAndSecrets\x12\x32.chalk.server.v1.ListIntegrationsAndSecretsRequest\x1a\x33.chalk.server.v1.ListIntegrationsAndSecretsResponse"\x03\x80}\x13\x12u\n\x13GetIntegrationValue\x12+.chalk.server.v1.GetIntegrationValueRequest\x1a,.chalk.server.v1.GetIntegrationValueResponse"\x03\x80}\x13\x12\x66\n\x0eGetIntegration\x12&.chalk.server.v1.GetIntegrationRequest\x1a\'.chalk.server.v1.GetIntegrationResponse"\x03\x80}\x13\x12u\n\x11InsertIntegration\x12).chalk.server.v1.InsertIntegrationRequest\x1a*.chalk.server.v1.InsertIntegrationResponse"\t\x80}\x12\x8a\xd3\x0e\x02\x08\x02\x12u\n\x11UpdateIntegration\x12).chalk.server.v1.UpdateIntegrationRequest\x1a*.chalk.server.v1.UpdateIntegrationResponse"\t\x80}\x12\x8a\xd3\x0e\x02\x08\x02\x12u\n\x11\x44\x65leteIntegration\x12).chalk.server.v1.DeleteIntegrationRequest\x1a*.chalk.server.v1.DeleteIntegrationResponse"\t\x80}\x12\x8a\xd3\x0e\x02\x08\x02\x12i\n\x0fTestIntegration\x12\'.chalk.server.v1.TestIntegrationRequest\x1a(.chalk.server.v1.TestIntegrationResponse"\x03\x80}\x14\x42\x9a\x01\n\x13\x63om.chalk.server.v1B\x11IntegrationsProtoP\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
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -59,8 +59,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
59
59
|
]._serialized_options = b"\200}\022\212\323\016\002\010\002"
|
|
60
60
|
_globals["_INTEGRATIONSSERVICE"].methods_by_name["TestIntegration"]._options = None
|
|
61
61
|
_globals["_INTEGRATIONSSERVICE"].methods_by_name["TestIntegration"]._serialized_options = b"\200}\024"
|
|
62
|
-
_globals["_INTEGRATIONKIND"]._serialized_start =
|
|
63
|
-
_globals["_INTEGRATIONKIND"]._serialized_end =
|
|
62
|
+
_globals["_INTEGRATIONKIND"]._serialized_start = 3163
|
|
63
|
+
_globals["_INTEGRATIONKIND"]._serialized_end = 3778
|
|
64
64
|
_globals["_INTEGRATION"]._serialized_start = 192
|
|
65
65
|
_globals["_INTEGRATION"]._serialized_end = 466
|
|
66
66
|
_globals["_INTEGRATIONWITHSECRETS"]._serialized_start = 469
|
|
@@ -97,12 +97,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
97
97
|
_globals["_DELETEINTEGRATIONREQUEST"]._serialized_end = 2266
|
|
98
98
|
_globals["_DELETEINTEGRATIONRESPONSE"]._serialized_start = 2268
|
|
99
99
|
_globals["_DELETEINTEGRATIONRESPONSE"]._serialized_end = 2295
|
|
100
|
-
_globals["
|
|
101
|
-
_globals["
|
|
100
|
+
_globals["_PREVIEWEDMESSAGE"]._serialized_start = 2298
|
|
101
|
+
_globals["_PREVIEWEDMESSAGE"]._serialized_end = 2513
|
|
102
|
+
_globals["_TESTINTEGRATIONREQUEST"]._serialized_start = 2516
|
|
103
|
+
_globals["_TESTINTEGRATIONREQUEST"]._serialized_end = 2916
|
|
102
104
|
_globals["_TESTINTEGRATIONREQUEST_ENVIRONMENTVARIABLESENTRY"]._serialized_start = 1682
|
|
103
105
|
_globals["_TESTINTEGRATIONREQUEST_ENVIRONMENTVARIABLESENTRY"]._serialized_end = 1753
|
|
104
|
-
_globals["_TESTINTEGRATIONRESPONSE"]._serialized_start =
|
|
105
|
-
_globals["_TESTINTEGRATIONRESPONSE"]._serialized_end =
|
|
106
|
-
_globals["_INTEGRATIONSSERVICE"]._serialized_start =
|
|
107
|
-
_globals["_INTEGRATIONSSERVICE"]._serialized_end =
|
|
106
|
+
_globals["_TESTINTEGRATIONRESPONSE"]._serialized_start = 2919
|
|
107
|
+
_globals["_TESTINTEGRATIONRESPONSE"]._serialized_end = 3160
|
|
108
|
+
_globals["_INTEGRATIONSSERVICE"]._serialized_start = 3781
|
|
109
|
+
_globals["_INTEGRATIONSSERVICE"]._serialized_end = 4740
|
|
108
110
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,6 +37,7 @@ class IntegrationKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
37
37
|
INTEGRATION_KIND_SNOWFLAKE: _ClassVar[IntegrationKind]
|
|
38
38
|
INTEGRATION_KIND_SPANNER: _ClassVar[IntegrationKind]
|
|
39
39
|
INTEGRATION_KIND_TRINO: _ClassVar[IntegrationKind]
|
|
40
|
+
INTEGRATION_KIND_MSSQL: _ClassVar[IntegrationKind]
|
|
40
41
|
|
|
41
42
|
INTEGRATION_KIND_UNSPECIFIED: IntegrationKind
|
|
42
43
|
INTEGRATION_KIND_ATHENA: IntegrationKind
|
|
@@ -57,6 +58,7 @@ INTEGRATION_KIND_REDSHIFT: IntegrationKind
|
|
|
57
58
|
INTEGRATION_KIND_SNOWFLAKE: IntegrationKind
|
|
58
59
|
INTEGRATION_KIND_SPANNER: IntegrationKind
|
|
59
60
|
INTEGRATION_KIND_TRINO: IntegrationKind
|
|
61
|
+
INTEGRATION_KIND_MSSQL: IntegrationKind
|
|
60
62
|
|
|
61
63
|
class Integration(_message.Message):
|
|
62
64
|
__slots__ = ("id", "name", "kind", "environment_id", "created_at", "updated_at")
|
|
@@ -218,8 +220,32 @@ class DeleteIntegrationResponse(_message.Message):
|
|
|
218
220
|
__slots__ = ()
|
|
219
221
|
def __init__(self) -> None: ...
|
|
220
222
|
|
|
223
|
+
class PreviewedMessage(_message.Message):
|
|
224
|
+
__slots__ = ("value_base64", "key_base64", "topic", "partition", "offset", "timestamp_ms")
|
|
225
|
+
VALUE_BASE64_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
KEY_BASE64_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
TOPIC_FIELD_NUMBER: _ClassVar[int]
|
|
228
|
+
PARTITION_FIELD_NUMBER: _ClassVar[int]
|
|
229
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
230
|
+
TIMESTAMP_MS_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
+
value_base64: str
|
|
232
|
+
key_base64: str
|
|
233
|
+
topic: str
|
|
234
|
+
partition: str
|
|
235
|
+
offset: str
|
|
236
|
+
timestamp_ms: int
|
|
237
|
+
def __init__(
|
|
238
|
+
self,
|
|
239
|
+
value_base64: _Optional[str] = ...,
|
|
240
|
+
key_base64: _Optional[str] = ...,
|
|
241
|
+
topic: _Optional[str] = ...,
|
|
242
|
+
partition: _Optional[str] = ...,
|
|
243
|
+
offset: _Optional[str] = ...,
|
|
244
|
+
timestamp_ms: _Optional[int] = ...,
|
|
245
|
+
) -> None: ...
|
|
246
|
+
|
|
221
247
|
class TestIntegrationRequest(_message.Message):
|
|
222
|
-
__slots__ = ("kind", "environment_variables", "integration_id")
|
|
248
|
+
__slots__ = ("kind", "environment_variables", "integration_id", "include_preview")
|
|
223
249
|
class EnvironmentVariablesEntry(_message.Message):
|
|
224
250
|
__slots__ = ("key", "value")
|
|
225
251
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -231,30 +257,36 @@ class TestIntegrationRequest(_message.Message):
|
|
|
231
257
|
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
232
258
|
ENVIRONMENT_VARIABLES_FIELD_NUMBER: _ClassVar[int]
|
|
233
259
|
INTEGRATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
260
|
+
INCLUDE_PREVIEW_FIELD_NUMBER: _ClassVar[int]
|
|
234
261
|
kind: IntegrationKind
|
|
235
262
|
environment_variables: _containers.ScalarMap[str, str]
|
|
236
263
|
integration_id: str
|
|
264
|
+
include_preview: bool
|
|
237
265
|
def __init__(
|
|
238
266
|
self,
|
|
239
267
|
kind: _Optional[_Union[IntegrationKind, str]] = ...,
|
|
240
268
|
environment_variables: _Optional[_Mapping[str, str]] = ...,
|
|
241
269
|
integration_id: _Optional[str] = ...,
|
|
270
|
+
include_preview: bool = ...,
|
|
242
271
|
) -> None: ...
|
|
243
272
|
|
|
244
273
|
class TestIntegrationResponse(_message.Message):
|
|
245
|
-
__slots__ = ("kind", "success", "message", "latency_seconds")
|
|
274
|
+
__slots__ = ("kind", "success", "message", "latency_seconds", "preview_messages")
|
|
246
275
|
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
247
276
|
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
248
277
|
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
249
278
|
LATENCY_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
279
|
+
PREVIEW_MESSAGES_FIELD_NUMBER: _ClassVar[int]
|
|
250
280
|
kind: str
|
|
251
281
|
success: bool
|
|
252
282
|
message: str
|
|
253
283
|
latency_seconds: float
|
|
284
|
+
preview_messages: _containers.RepeatedCompositeFieldContainer[PreviewedMessage]
|
|
254
285
|
def __init__(
|
|
255
286
|
self,
|
|
256
287
|
kind: _Optional[str] = ...,
|
|
257
288
|
success: bool = ...,
|
|
258
289
|
message: _Optional[str] = ...,
|
|
259
290
|
latency_seconds: _Optional[float] = ...,
|
|
291
|
+
preview_messages: _Optional[_Iterable[_Union[PreviewedMessage, _Mapping]]] = ...,
|
|
260
292
|
) -> None: ...
|
|
@@ -15,12 +15,16 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
|
|
16
16
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
17
17
|
from chalk._gen.chalk.kubernetes.v1 import events_pb2 as chalk_dot_kubernetes_dot_v1_dot_events__pb2
|
|
18
|
+
from chalk._gen.chalk.kubernetes.v1 import (
|
|
19
|
+
horizontalpodautoscaler_pb2 as chalk_dot_kubernetes_dot_v1_dot_horizontalpodautoscaler__pb2,
|
|
20
|
+
)
|
|
18
21
|
from chalk._gen.chalk.kubernetes.v1 import persistentvolume_pb2 as chalk_dot_kubernetes_dot_v1_dot_persistentvolume__pb2
|
|
22
|
+
from chalk._gen.chalk.kubernetes.v1 import scaledobject_pb2 as chalk_dot_kubernetes_dot_v1_dot_scaledobject__pb2
|
|
19
23
|
from chalk._gen.chalk.kubernetes.v1 import serviceaccounts_pb2 as chalk_dot_kubernetes_dot_v1_dot_serviceaccounts__pb2
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n\x1a\x63halk/server/v1/kube.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a chalk/kubernetes/v1/events.proto\x1a*chalk/kubernetes/v1/persistentvolume.proto\x1a)chalk/kubernetes/v1/serviceaccounts.proto"\xb2\x02\n\x1bGetPodStackTraceDumpRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12\x19\n\x08pod_name\x18\x02 \x01(\tR\x07podName\x12*\n\x0e\x63ontainer_name\x18\x03 \x01(\tH\x02R\rcontainerName\x88\x01\x01\x12\x1f\n\nprocess_id\x18\x04 \x01(\x05H\x00R\tprocessId\x12#\n\x0cprocess_name\x18\x05 \x01(\tH\x00R\x0bprocessName\x12\x30\n\x13\x61uto_detect_process\x18\x06 \x01(\x08H\x00R\x11\x61utoDetectProcessB\x10\n\x0eprocess_filterB\x0c\n\n_namespaceB\x11\n\x0f_container_name"?\n\x1cGetPodStackTraceDumpResponse\x12\x1f\n\x0bstack_trace\x18\x01 \x01(\tR\nstackTrace"\x84\x02\n\x1aGetKubernetesEventsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x12*\n\x0e\x66ield_selector\x18\x04 \x01(\tH\x03R\rfieldSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selectorB\x11\n\x0f_field_selector"`\n\x1bGetKubernetesEventsResponse\x12\x41\n\x06\x65vents\x18\x01 \x03(\x0b\x32).chalk.kubernetes.v1.ChalkKubernetesEventR\x06\x65vents"\'\n%GetKubernetesPersistentVolumesRequest"x\n&GetKubernetesPersistentVolumesResponse\x12N\n\x07volumes\x18\x01 \x03(\x0b\x32\x34.chalk.kubernetes.v1.ChalkKubernetesPersistentVolumeR\x07volumes"\xce\x01\n#GetKubernetesServiceAccountsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\x80\x01\n$GetKubernetesServiceAccountsResponse\x12X\n\x10service_accounts\x18\x01 \x03(\x0b\x32-.chalk.kubernetes.v1.KubernetesServiceAccountR\
|
|
27
|
+
b'\n\x1a\x63halk/server/v1/kube.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a chalk/kubernetes/v1/events.proto\x1a\x31\x63halk/kubernetes/v1/horizontalpodautoscaler.proto\x1a*chalk/kubernetes/v1/persistentvolume.proto\x1a&chalk/kubernetes/v1/scaledobject.proto\x1a)chalk/kubernetes/v1/serviceaccounts.proto"\xb2\x02\n\x1bGetPodStackTraceDumpRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12\x19\n\x08pod_name\x18\x02 \x01(\tR\x07podName\x12*\n\x0e\x63ontainer_name\x18\x03 \x01(\tH\x02R\rcontainerName\x88\x01\x01\x12\x1f\n\nprocess_id\x18\x04 \x01(\x05H\x00R\tprocessId\x12#\n\x0cprocess_name\x18\x05 \x01(\tH\x00R\x0bprocessName\x12\x30\n\x13\x61uto_detect_process\x18\x06 \x01(\x08H\x00R\x11\x61utoDetectProcessB\x10\n\x0eprocess_filterB\x0c\n\n_namespaceB\x11\n\x0f_container_name"?\n\x1cGetPodStackTraceDumpResponse\x12\x1f\n\x0bstack_trace\x18\x01 \x01(\tR\nstackTrace"\x84\x02\n\x1aGetKubernetesEventsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x12*\n\x0e\x66ield_selector\x18\x04 \x01(\tH\x03R\rfieldSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selectorB\x11\n\x0f_field_selector"`\n\x1bGetKubernetesEventsResponse\x12\x41\n\x06\x65vents\x18\x01 \x03(\x0b\x32).chalk.kubernetes.v1.ChalkKubernetesEventR\x06\x65vents"\'\n%GetKubernetesPersistentVolumesRequest"x\n&GetKubernetesPersistentVolumesResponse\x12N\n\x07volumes\x18\x01 \x03(\x0b\x32\x34.chalk.kubernetes.v1.ChalkKubernetesPersistentVolumeR\x07volumes"\xce\x01\n#GetKubernetesServiceAccountsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\x80\x01\n$GetKubernetesServiceAccountsResponse\x12X\n\x10service_accounts\x18\x01 \x03(\x0b\x32-.chalk.kubernetes.v1.KubernetesServiceAccountR\x0fserviceAccounts"\xca\x01\n\x1fGetKubernetesAutoscalersRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\xc1\x01\n GetKubernetesAutoscalersResponse\x12J\n\x04hpas\x18\x01 \x03(\x0b\x32\x36.chalk.kubernetes.v1.KubernetesHorizontalPodAutoscalerR\x04hpas\x12Q\n\rscaledobjects\x18\x02 \x03(\x0b\x32+.chalk.kubernetes.v1.KubernetesScaledObjectR\rscaledobjects2\xc0\x05\n\x0bKubeService\x12{\n\x14GetPodStackTraceDump\x12,.chalk.server.v1.GetPodStackTraceDumpRequest\x1a-.chalk.server.v1.GetPodStackTraceDumpResponse"\x06\x90\x02\x01\x80}\x0b\x12x\n\x13GetKubernetesEvents\x12+.chalk.server.v1.GetKubernetesEventsRequest\x1a,.chalk.server.v1.GetKubernetesEventsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x99\x01\n\x1eGetKubernetesPersistentVolumes\x12\x36.chalk.server.v1.GetKubernetesPersistentVolumesRequest\x1a\x37.chalk.server.v1.GetKubernetesPersistentVolumesResponse"\x06\x90\x02\x01\x80}\x0b\x12\x93\x01\n\x1cGetKubernetesServiceAccounts\x12\x34.chalk.server.v1.GetKubernetesServiceAccountsRequest\x1a\x35.chalk.server.v1.GetKubernetesServiceAccountsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x87\x01\n\x18GetKubernetesAutoscalers\x12\x30.chalk.server.v1.GetKubernetesAutoscalersRequest\x1a\x31.chalk.server.v1.GetKubernetesAutoscalersResponse"\x06\x90\x02\x01\x80}\x0b\x42\x92\x01\n\x13\x63om.chalk.server.v1B\tKubeProtoP\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
28
|
)
|
|
25
29
|
|
|
26
30
|
_globals = globals()
|
|
@@ -43,22 +47,28 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
43
47
|
_globals["_KUBESERVICE"].methods_by_name[
|
|
44
48
|
"GetKubernetesServiceAccounts"
|
|
45
49
|
]._serialized_options = b"\220\002\001\200}\013"
|
|
46
|
-
_globals["
|
|
47
|
-
_globals["
|
|
48
|
-
_globals["
|
|
49
|
-
_globals["
|
|
50
|
-
_globals["
|
|
51
|
-
_globals["
|
|
52
|
-
_globals["
|
|
53
|
-
_globals["
|
|
54
|
-
_globals["
|
|
55
|
-
_globals["
|
|
56
|
-
_globals["
|
|
57
|
-
_globals["
|
|
58
|
-
_globals["
|
|
59
|
-
_globals["
|
|
60
|
-
_globals["
|
|
61
|
-
_globals["
|
|
62
|
-
_globals["
|
|
63
|
-
_globals["
|
|
50
|
+
_globals["_KUBESERVICE"].methods_by_name["GetKubernetesAutoscalers"]._options = None
|
|
51
|
+
_globals["_KUBESERVICE"].methods_by_name["GetKubernetesAutoscalers"]._serialized_options = b"\220\002\001\200}\013"
|
|
52
|
+
_globals["_GETPODSTACKTRACEDUMPREQUEST"]._serialized_start = 293
|
|
53
|
+
_globals["_GETPODSTACKTRACEDUMPREQUEST"]._serialized_end = 599
|
|
54
|
+
_globals["_GETPODSTACKTRACEDUMPRESPONSE"]._serialized_start = 601
|
|
55
|
+
_globals["_GETPODSTACKTRACEDUMPRESPONSE"]._serialized_end = 664
|
|
56
|
+
_globals["_GETKUBERNETESEVENTSREQUEST"]._serialized_start = 667
|
|
57
|
+
_globals["_GETKUBERNETESEVENTSREQUEST"]._serialized_end = 927
|
|
58
|
+
_globals["_GETKUBERNETESEVENTSRESPONSE"]._serialized_start = 929
|
|
59
|
+
_globals["_GETKUBERNETESEVENTSRESPONSE"]._serialized_end = 1025
|
|
60
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESREQUEST"]._serialized_start = 1027
|
|
61
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESREQUEST"]._serialized_end = 1066
|
|
62
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESRESPONSE"]._serialized_start = 1068
|
|
63
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESRESPONSE"]._serialized_end = 1188
|
|
64
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSREQUEST"]._serialized_start = 1191
|
|
65
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSREQUEST"]._serialized_end = 1397
|
|
66
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSRESPONSE"]._serialized_start = 1400
|
|
67
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSRESPONSE"]._serialized_end = 1528
|
|
68
|
+
_globals["_GETKUBERNETESAUTOSCALERSREQUEST"]._serialized_start = 1531
|
|
69
|
+
_globals["_GETKUBERNETESAUTOSCALERSREQUEST"]._serialized_end = 1733
|
|
70
|
+
_globals["_GETKUBERNETESAUTOSCALERSRESPONSE"]._serialized_start = 1736
|
|
71
|
+
_globals["_GETKUBERNETESAUTOSCALERSRESPONSE"]._serialized_end = 1929
|
|
72
|
+
_globals["_KUBESERVICE"]._serialized_start = 1932
|
|
73
|
+
_globals["_KUBESERVICE"]._serialized_end = 2636
|
|
64
74
|
# @@protoc_insertion_point(module_scope)
|