frogml-core 0.0.19__py3-none-any.whl → 0.0.21__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.
frogml_core/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Top-level package for frogml."""
2
2
 
3
3
  __author__ = "jfrog"
4
- __version__ = "0.0.19"
4
+ __version__ = "0.0.21"
5
5
 
6
6
  from frogml_core.inner.di_configuration import wire_dependencies
7
7
  from frogml_core.model.model_version_tracking import ( # noqa: F401,E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: frogml-core
3
- Version: 0.0.19
3
+ Version: 0.0.21
4
4
  Summary: frogml Core contains the necessary objects and communication tools for using the Jfrog ml Platform
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -1,4 +1,4 @@
1
- frogml_core/__init__.py,sha256=SuxasxuXh-oOyiHcALJ5CRq404CcZQCY54VJ06ftIF0,777
1
+ frogml_core/__init__.py,sha256=zk8r8XU7wB-QKEUdl23FHhWRaG5axnPXpST8XM8j-GM,777
2
2
  frogml_core/automations/__init__.py,sha256=j2gD15MN-xVWhI5rAFsDwhL0CIyICLNT0scXsKvNBkU,1547
3
3
  frogml_core/automations/automation_executions.py,sha256=xpOb9Dq8gPPGNQDJTvBBZbNz4woZDRZY0HqnLSu7pwU,3230
4
4
  frogml_core/automations/automations.py,sha256=GKEQyQMi8sxX5oZn62PaxPi0zD8IaJRjBkhczRJxHNs,13070
@@ -842,8 +842,8 @@ frogml_proto/qwak/kube_deployment_captain/alerting_pb2_grpc.py,sha256=1oboBPFxaT
842
842
  frogml_proto/qwak/kube_deployment_captain/batch_job_pb2.py,sha256=ZsfBxb7kK6WFaArChEkd9V8PFJ_C62s51S4dZute6OA,28172
843
843
  frogml_proto/qwak/kube_deployment_captain/batch_job_pb2.pyi,sha256=KLyFPYDjltXubE2x-TjNgbN6Vcp4_6VCbtqD8653ZEM,37284
844
844
  frogml_proto/qwak/kube_deployment_captain/batch_job_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
845
- frogml_proto/qwak/kube_deployment_captain/deployment_pb2.py,sha256=0smCzk3nWnZtChSizG6HZx5By79p7x-tnrdV5dHQCwY,13445
846
- frogml_proto/qwak/kube_deployment_captain/deployment_pb2.pyi,sha256=PjizqKZ8_aaz0CgMREH5auOBnoeIT18lfr_b0dfHx-A,22974
845
+ frogml_proto/qwak/kube_deployment_captain/deployment_pb2.py,sha256=rJkPlQVYK2B9P5YpI4HzL01mrESsmJ2Sx8h6srABfZI,15014
846
+ frogml_proto/qwak/kube_deployment_captain/deployment_pb2.pyi,sha256=bz0RQJozm_Go4OKysv7RS6UsVfu9dNUc_8xMss7v07Y,24472
847
847
  frogml_proto/qwak/kube_deployment_captain/deployment_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
848
848
  frogml_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.py,sha256=jFcv1f9nE7YrIDGNd5-Y2lkGRgjB22BuSDpVoUp4fjE,12858
849
849
  frogml_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.pyi,sha256=15sSBt-7G0y_TtuHYIOzSl0cKRLDFsCdLswxTJFRAzc,16933
@@ -1019,6 +1019,6 @@ frogml_services_mock/mocks/workspace_manager_service_mock.py,sha256=WbOiWgOyr-xT
1019
1019
  frogml_services_mock/services_mock.py,sha256=_34z6rFCHFwcSni-9eyJlrH264xsL_QDNmG-EBv0zMc,20281
1020
1020
  frogml_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1021
1021
  frogml_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
1022
- frogml_core-0.0.19.dist-info/METADATA,sha256=KWodBht9OUKQIs7JZoyf-s72TtV5RnpA-23CIanMwUU,2099
1023
- frogml_core-0.0.19.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1024
- frogml_core-0.0.19.dist-info/RECORD,,
1022
+ frogml_core-0.0.21.dist-info/METADATA,sha256=zaCO3-2Bl7Wnb6btbXnmJlarfsJo4v_JrTGuPcD2Ewk,2099
1023
+ frogml_core-0.0.21.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1024
+ frogml_core-0.0.21.dist-info/RECORD,,
@@ -16,7 +16,7 @@ _sym_db = _symbol_database.Default()
16
16
  from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-qwak/kube_deployment_captain/deployment.proto\x12\x1cqwak.kube.deployment.captain\x1a\x1egoogle/protobuf/wrappers.proto\"\x84\x02\n\x1dKubeAdvancedDeploymentOptions\x12\x19\n\x11number_of_workers\x18\x01 \x01(\x05\x12\x1f\n\x17http_request_timeout_ms\x18\x02 \x01(\x05\x12/\n\x0b\x64\x61\x65mon_mode\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x13\x63ustom_iam_role_arn\x18\x04 \x01(\t\x12\x16\n\x0emax_batch_size\x18\x05 \x01(\x05\x12(\n deployment_process_timeout_limit\x18\x06 \x01(\x05\x12\x17\n\x0fpurchase_option\x18\x07 \x01(\t\"\xaf\x01\n\x13KubeServingStrategy\x12G\n\x0frealtime_config\x18\x01 \x01(\x0b\x32,.qwak.kube.deployment.captain.RealTimeConfigH\x00\x12\x43\n\rstream_config\x18\x02 \x01(\x0b\x32*.qwak.kube.deployment.captain.StreamConfigH\x00\x42\n\n\x08Strategy\"\xb5\x01\n\x0f\x41utoScalingSpec\x12\x19\n\x11min_replica_count\x18\x01 \x01(\x05\x12\x19\n\x11max_replica_count\x18\x02 \x01(\x05\x12\x18\n\x10polling_interval\x18\x03 \x01(\x05\x12\x18\n\x10\x63ool_down_period\x18\x04 \x01(\x05\x12\x38\n\x08triggers\x18\x05 \x03(\x0b\x32&.qwak.kube.deployment.captain.Triggers\"i\n\x08Triggers\x12M\n\x12prometheus_trigger\x18\x01 \x01(\x0b\x32/.qwak.kube.deployment.captain.PrometheusTriggerH\x00\x42\x0e\n\x0ctrigger_type\"J\n\x11PrometheusTrigger\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12\x11\n\tthreshold\x18\x02 \x01(\x05\x12\r\n\x05query\x18\x03 \x01(\t\"W\n\x0eRealTimeConfig\x12\'\n\x1fselected_variation_mapping_name\x18\x01 \x01(\t\x12\x1c\n\x14\x61ssumed_iam_role_arn\x18\x02 \x01(\t\"[\n\x0cStreamConfig\x12:\n\x05kafka\x18\x01 \x01(\x0b\x32).qwak.kube.deployment.captain.KafkaConfigH\x00\x42\x0f\n\rconfiguration\"\xb7\x05\n\x0bKafkaConfig\x12\x44\n\x08\x63onsumer\x18\x01 \x01(\x0b\x32\x32.qwak.kube.deployment.captain.KafkaConfig.Consumer\x12\x44\n\x08producer\x18\x02 \x01(\x0b\x32\x32.qwak.kube.deployment.captain.KafkaConfig.Producer\x12\x0f\n\x07workers\x18\x03 \x01(\x05\x1a\x9b\x02\n\x08\x43onsumer\x12\x18\n\x10\x62ootstrap_server\x18\x01 \x03(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12\r\n\x05group\x18\x03 \x01(\t\x12\x0f\n\x07timeout\x18\x04 \x01(\x05\x12[\n\x10\x61uto_offset_type\x18\x05 \x01(\x0e\x32\x41.qwak.kube.deployment.captain.KafkaConfig.Consumer.AutoOffSetType\x12\x16\n\x0emax_batch_size\x18\x06 \x01(\x05\x12\x18\n\x10max_poll_latency\x18\x07 \x01(\x01\"7\n\x0e\x41utoOffSetType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x45\x41RLIEST\x10\x01\x12\n\n\x06LATEST\x10\x02\x1a\xec\x01\n\x08Producer\x12\x18\n\x10\x62ootstrap_server\x18\x01 \x03(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12\\\n\x10\x63ompression_type\x18\x03 \x01(\x0e\x32\x42.qwak.kube.deployment.captain.KafkaConfig.Producer.CompressionType\"Y\n\x0f\x43ompressionType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x08\n\x04GZIP\x10\x02\x12\n\n\x06SNAPPY\x10\x03\x12\x07\n\x03LZ4\x10\x04\x12\x08\n\x04ZSTD\x10\x05\"\xa9\x05\n\x12KubeDeploymentSize\x12\x16\n\x0enumber_of_pods\x18\x01 \x01(\x05\x12\x0b\n\x03\x63pu\x18\x02 \x01(\x02\x12\x15\n\rmemory_amount\x18\x03 \x01(\x05\x12Q\n\x0cmemory_units\x18\x04 \x01(\x0e\x32;.qwak.kube.deployment.captain.KubeDeploymentSize.MemoryUnit\x12T\n\rgpu_resources\x18\x05 \x01(\x0b\x32=.qwak.kube.deployment.captain.KubeDeploymentSize.GpuResources\x1an\n\x0cGpuResources\x12J\n\x08gpu_type\x18\x01 \x01(\x0e\x32\x38.qwak.kube.deployment.captain.KubeDeploymentSize.GpuType\x12\x12\n\ngpu_amount\x18\x02 \x01(\x05\"\x90\x02\n\x07GpuType\x12\x0f\n\x0bINVALID_GPU\x10\x00\x12\x0e\n\nNVIDIA_K80\x10\x01\x12\x0f\n\x0bNVIDIA_V100\x10\x02\x12\x0f\n\x0bNVIDIA_A100\x10\x03\x12\r\n\tNVIDIA_T4\x10\x04\x12\x0f\n\x0bNVIDIA_A10G\x10\x05\x12\r\n\tNVIDIA_L4\x10\x06\x12\x14\n\x10NVIDIA_T4_1_4_15\x10\x07\x12\x14\n\x10NVIDIA_T4_1_8_30\x10\x08\x12\x15\n\x11NVIDIA_T4_1_16_60\x10\t\x12\x1e\n\x1aNVIDIA_A100_80GB_8_96_1360\x10\n\x12\x16\n\x12NVIDIA_V100_1_8_52\x10\x0b\x12\x18\n\x14NVIDIA_V100_4_32_208\x10\x0c\"+\n\nMemoryUnit\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03MIB\x10\x01\x12\x07\n\x03GIB\x10\x02\"\xc3\x01\n\x1dKubeRuntimeDeploymentSettings\x12_\n\x11root_logger_level\x18\x01 \x01(\x0e\x32\x44.qwak.kube.deployment.captain.KubeRuntimeDeploymentSettings.LogLevel\"A\n\x08LogLevel\x12\x0b\n\x07NOT_SET\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x08\n\x04WARN\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04*;\n\x12KubeDeploymentType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08REALTIME\x10\x01\x12\n\n\x06STREAM\x10\x02\x42+\n\'com.qwak.ai.kube.deployment.captain.apiP\x01\x62\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-qwak/kube_deployment_captain/deployment.proto\x12\x1cqwak.kube.deployment.captain\x1a\x1egoogle/protobuf/wrappers.proto\"\x84\x02\n\x1dKubeAdvancedDeploymentOptions\x12\x19\n\x11number_of_workers\x18\x01 \x01(\x05\x12\x1f\n\x17http_request_timeout_ms\x18\x02 \x01(\x05\x12/\n\x0b\x64\x61\x65mon_mode\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x1b\n\x13\x63ustom_iam_role_arn\x18\x04 \x01(\t\x12\x16\n\x0emax_batch_size\x18\x05 \x01(\x05\x12(\n deployment_process_timeout_limit\x18\x06 \x01(\x05\x12\x17\n\x0fpurchase_option\x18\x07 \x01(\t\"\xaf\x01\n\x13KubeServingStrategy\x12G\n\x0frealtime_config\x18\x01 \x01(\x0b\x32,.qwak.kube.deployment.captain.RealTimeConfigH\x00\x12\x43\n\rstream_config\x18\x02 \x01(\x0b\x32*.qwak.kube.deployment.captain.StreamConfigH\x00\x42\n\n\x08Strategy\"\xb5\x01\n\x0f\x41utoScalingSpec\x12\x19\n\x11min_replica_count\x18\x01 \x01(\x05\x12\x19\n\x11max_replica_count\x18\x02 \x01(\x05\x12\x18\n\x10polling_interval\x18\x03 \x01(\x05\x12\x18\n\x10\x63ool_down_period\x18\x04 \x01(\x05\x12\x38\n\x08triggers\x18\x05 \x03(\x0b\x32&.qwak.kube.deployment.captain.Triggers\"i\n\x08Triggers\x12M\n\x12prometheus_trigger\x18\x01 \x01(\x0b\x32/.qwak.kube.deployment.captain.PrometheusTriggerH\x00\x42\x0e\n\x0ctrigger_type\"\x94\x02\n\x11PrometheusTrigger\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12\x11\n\tthreshold\x18\x02 \x01(\x05\x12\r\n\x05query\x18\x03 \x01(\t\x12T\n\x11value_metric_type\x18\x04 \x01(\x0b\x32\x37.qwak.kube.deployment.captain.ValuePrometheusMetricTypeH\x00\x12\x63\n\x19\x61verage_value_metric_type\x18\x05 \x01(\x0b\x32>.qwak.kube.deployment.captain.AverageValuePrometheusMetricTypeH\x00\x42\r\n\x0bmetric_type\"\x1b\n\x19ValuePrometheusMetricType\"\"\n AverageValuePrometheusMetricType\"W\n\x0eRealTimeConfig\x12\'\n\x1fselected_variation_mapping_name\x18\x01 \x01(\t\x12\x1c\n\x14\x61ssumed_iam_role_arn\x18\x02 \x01(\t\"[\n\x0cStreamConfig\x12:\n\x05kafka\x18\x01 \x01(\x0b\x32).qwak.kube.deployment.captain.KafkaConfigH\x00\x42\x0f\n\rconfiguration\"\xb7\x05\n\x0bKafkaConfig\x12\x44\n\x08\x63onsumer\x18\x01 \x01(\x0b\x32\x32.qwak.kube.deployment.captain.KafkaConfig.Consumer\x12\x44\n\x08producer\x18\x02 \x01(\x0b\x32\x32.qwak.kube.deployment.captain.KafkaConfig.Producer\x12\x0f\n\x07workers\x18\x03 \x01(\x05\x1a\x9b\x02\n\x08\x43onsumer\x12\x18\n\x10\x62ootstrap_server\x18\x01 \x03(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12\r\n\x05group\x18\x03 \x01(\t\x12\x0f\n\x07timeout\x18\x04 \x01(\x05\x12[\n\x10\x61uto_offset_type\x18\x05 \x01(\x0e\x32\x41.qwak.kube.deployment.captain.KafkaConfig.Consumer.AutoOffSetType\x12\x16\n\x0emax_batch_size\x18\x06 \x01(\x05\x12\x18\n\x10max_poll_latency\x18\x07 \x01(\x01\"7\n\x0e\x41utoOffSetType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x45\x41RLIEST\x10\x01\x12\n\n\x06LATEST\x10\x02\x1a\xec\x01\n\x08Producer\x12\x18\n\x10\x62ootstrap_server\x18\x01 \x03(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12\\\n\x10\x63ompression_type\x18\x03 \x01(\x0e\x32\x42.qwak.kube.deployment.captain.KafkaConfig.Producer.CompressionType\"Y\n\x0f\x43ompressionType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cUNCOMPRESSED\x10\x01\x12\x08\n\x04GZIP\x10\x02\x12\n\n\x06SNAPPY\x10\x03\x12\x07\n\x03LZ4\x10\x04\x12\x08\n\x04ZSTD\x10\x05\"\xa9\x05\n\x12KubeDeploymentSize\x12\x16\n\x0enumber_of_pods\x18\x01 \x01(\x05\x12\x0b\n\x03\x63pu\x18\x02 \x01(\x02\x12\x15\n\rmemory_amount\x18\x03 \x01(\x05\x12Q\n\x0cmemory_units\x18\x04 \x01(\x0e\x32;.qwak.kube.deployment.captain.KubeDeploymentSize.MemoryUnit\x12T\n\rgpu_resources\x18\x05 \x01(\x0b\x32=.qwak.kube.deployment.captain.KubeDeploymentSize.GpuResources\x1an\n\x0cGpuResources\x12J\n\x08gpu_type\x18\x01 \x01(\x0e\x32\x38.qwak.kube.deployment.captain.KubeDeploymentSize.GpuType\x12\x12\n\ngpu_amount\x18\x02 \x01(\x05\"\x90\x02\n\x07GpuType\x12\x0f\n\x0bINVALID_GPU\x10\x00\x12\x0e\n\nNVIDIA_K80\x10\x01\x12\x0f\n\x0bNVIDIA_V100\x10\x02\x12\x0f\n\x0bNVIDIA_A100\x10\x03\x12\r\n\tNVIDIA_T4\x10\x04\x12\x0f\n\x0bNVIDIA_A10G\x10\x05\x12\r\n\tNVIDIA_L4\x10\x06\x12\x14\n\x10NVIDIA_T4_1_4_15\x10\x07\x12\x14\n\x10NVIDIA_T4_1_8_30\x10\x08\x12\x15\n\x11NVIDIA_T4_1_16_60\x10\t\x12\x1e\n\x1aNVIDIA_A100_80GB_8_96_1360\x10\n\x12\x16\n\x12NVIDIA_V100_1_8_52\x10\x0b\x12\x18\n\x14NVIDIA_V100_4_32_208\x10\x0c\"+\n\nMemoryUnit\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03MIB\x10\x01\x12\x07\n\x03GIB\x10\x02\"\xc3\x01\n\x1dKubeRuntimeDeploymentSettings\x12_\n\x11root_logger_level\x18\x01 \x01(\x0e\x32\x44.qwak.kube.deployment.captain.KubeRuntimeDeploymentSettings.LogLevel\"A\n\x08LogLevel\x12\x0b\n\x07NOT_SET\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x08\n\x04WARN\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04*;\n\x12KubeDeploymentType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08REALTIME\x10\x01\x12\n\n\x06STREAM\x10\x02\x42+\n\'com.qwak.ai.kube.deployment.captain.apiP\x01\x62\x06proto3')
20
20
 
21
21
  _KUBEDEPLOYMENTTYPE = DESCRIPTOR.enum_types_by_name['KubeDeploymentType']
22
22
  KubeDeploymentType = enum_type_wrapper.EnumTypeWrapper(_KUBEDEPLOYMENTTYPE)
@@ -30,6 +30,8 @@ _KUBESERVINGSTRATEGY = DESCRIPTOR.message_types_by_name['KubeServingStrategy']
30
30
  _AUTOSCALINGSPEC = DESCRIPTOR.message_types_by_name['AutoScalingSpec']
31
31
  _TRIGGERS = DESCRIPTOR.message_types_by_name['Triggers']
32
32
  _PROMETHEUSTRIGGER = DESCRIPTOR.message_types_by_name['PrometheusTrigger']
33
+ _VALUEPROMETHEUSMETRICTYPE = DESCRIPTOR.message_types_by_name['ValuePrometheusMetricType']
34
+ _AVERAGEVALUEPROMETHEUSMETRICTYPE = DESCRIPTOR.message_types_by_name['AverageValuePrometheusMetricType']
33
35
  _REALTIMECONFIG = DESCRIPTOR.message_types_by_name['RealTimeConfig']
34
36
  _STREAMCONFIG = DESCRIPTOR.message_types_by_name['StreamConfig']
35
37
  _KAFKACONFIG = DESCRIPTOR.message_types_by_name['KafkaConfig']
@@ -78,6 +80,20 @@ PrometheusTrigger = _reflection.GeneratedProtocolMessageType('PrometheusTrigger'
78
80
  })
79
81
  _sym_db.RegisterMessage(PrometheusTrigger)
80
82
 
83
+ ValuePrometheusMetricType = _reflection.GeneratedProtocolMessageType('ValuePrometheusMetricType', (_message.Message,), {
84
+ 'DESCRIPTOR' : _VALUEPROMETHEUSMETRICTYPE,
85
+ '__module__' : 'qwak.kube_deployment_captain.deployment_pb2'
86
+ # @@protoc_insertion_point(class_scope:qwak.kube.deployment.captain.ValuePrometheusMetricType)
87
+ })
88
+ _sym_db.RegisterMessage(ValuePrometheusMetricType)
89
+
90
+ AverageValuePrometheusMetricType = _reflection.GeneratedProtocolMessageType('AverageValuePrometheusMetricType', (_message.Message,), {
91
+ 'DESCRIPTOR' : _AVERAGEVALUEPROMETHEUSMETRICTYPE,
92
+ '__module__' : 'qwak.kube_deployment_captain.deployment_pb2'
93
+ # @@protoc_insertion_point(class_scope:qwak.kube.deployment.captain.AverageValuePrometheusMetricType)
94
+ })
95
+ _sym_db.RegisterMessage(AverageValuePrometheusMetricType)
96
+
81
97
  RealTimeConfig = _reflection.GeneratedProtocolMessageType('RealTimeConfig', (_message.Message,), {
82
98
  'DESCRIPTOR' : _REALTIMECONFIG,
83
99
  '__module__' : 'qwak.kube_deployment_captain.deployment_pb2'
@@ -141,8 +157,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
141
157
 
142
158
  DESCRIPTOR._options = None
143
159
  DESCRIPTOR._serialized_options = b'\n\'com.qwak.ai.kube.deployment.captain.apiP\001'
144
- _KUBEDEPLOYMENTTYPE._serialized_start=2681
145
- _KUBEDEPLOYMENTTYPE._serialized_end=2740
160
+ _KUBEDEPLOYMENTTYPE._serialized_start=2949
161
+ _KUBEDEPLOYMENTTYPE._serialized_end=3008
146
162
  _KUBEADVANCEDDEPLOYMENTOPTIONS._serialized_start=112
147
163
  _KUBEADVANCEDDEPLOYMENTOPTIONS._serialized_end=372
148
164
  _KUBESERVINGSTRATEGY._serialized_start=375
@@ -151,32 +167,36 @@ if _descriptor._USE_C_DESCRIPTORS == False:
151
167
  _AUTOSCALINGSPEC._serialized_end=734
152
168
  _TRIGGERS._serialized_start=736
153
169
  _TRIGGERS._serialized_end=841
154
- _PROMETHEUSTRIGGER._serialized_start=843
155
- _PROMETHEUSTRIGGER._serialized_end=917
156
- _REALTIMECONFIG._serialized_start=919
157
- _REALTIMECONFIG._serialized_end=1006
158
- _STREAMCONFIG._serialized_start=1008
159
- _STREAMCONFIG._serialized_end=1099
160
- _KAFKACONFIG._serialized_start=1102
161
- _KAFKACONFIG._serialized_end=1797
162
- _KAFKACONFIG_CONSUMER._serialized_start=1275
163
- _KAFKACONFIG_CONSUMER._serialized_end=1558
164
- _KAFKACONFIG_CONSUMER_AUTOOFFSETTYPE._serialized_start=1503
165
- _KAFKACONFIG_CONSUMER_AUTOOFFSETTYPE._serialized_end=1558
166
- _KAFKACONFIG_PRODUCER._serialized_start=1561
167
- _KAFKACONFIG_PRODUCER._serialized_end=1797
168
- _KAFKACONFIG_PRODUCER_COMPRESSIONTYPE._serialized_start=1708
169
- _KAFKACONFIG_PRODUCER_COMPRESSIONTYPE._serialized_end=1797
170
- _KUBEDEPLOYMENTSIZE._serialized_start=1800
171
- _KUBEDEPLOYMENTSIZE._serialized_end=2481
172
- _KUBEDEPLOYMENTSIZE_GPURESOURCES._serialized_start=2051
173
- _KUBEDEPLOYMENTSIZE_GPURESOURCES._serialized_end=2161
174
- _KUBEDEPLOYMENTSIZE_GPUTYPE._serialized_start=2164
175
- _KUBEDEPLOYMENTSIZE_GPUTYPE._serialized_end=2436
176
- _KUBEDEPLOYMENTSIZE_MEMORYUNIT._serialized_start=2438
177
- _KUBEDEPLOYMENTSIZE_MEMORYUNIT._serialized_end=2481
178
- _KUBERUNTIMEDEPLOYMENTSETTINGS._serialized_start=2484
179
- _KUBERUNTIMEDEPLOYMENTSETTINGS._serialized_end=2679
180
- _KUBERUNTIMEDEPLOYMENTSETTINGS_LOGLEVEL._serialized_start=2614
181
- _KUBERUNTIMEDEPLOYMENTSETTINGS_LOGLEVEL._serialized_end=2679
170
+ _PROMETHEUSTRIGGER._serialized_start=844
171
+ _PROMETHEUSTRIGGER._serialized_end=1120
172
+ _VALUEPROMETHEUSMETRICTYPE._serialized_start=1122
173
+ _VALUEPROMETHEUSMETRICTYPE._serialized_end=1149
174
+ _AVERAGEVALUEPROMETHEUSMETRICTYPE._serialized_start=1151
175
+ _AVERAGEVALUEPROMETHEUSMETRICTYPE._serialized_end=1185
176
+ _REALTIMECONFIG._serialized_start=1187
177
+ _REALTIMECONFIG._serialized_end=1274
178
+ _STREAMCONFIG._serialized_start=1276
179
+ _STREAMCONFIG._serialized_end=1367
180
+ _KAFKACONFIG._serialized_start=1370
181
+ _KAFKACONFIG._serialized_end=2065
182
+ _KAFKACONFIG_CONSUMER._serialized_start=1543
183
+ _KAFKACONFIG_CONSUMER._serialized_end=1826
184
+ _KAFKACONFIG_CONSUMER_AUTOOFFSETTYPE._serialized_start=1771
185
+ _KAFKACONFIG_CONSUMER_AUTOOFFSETTYPE._serialized_end=1826
186
+ _KAFKACONFIG_PRODUCER._serialized_start=1829
187
+ _KAFKACONFIG_PRODUCER._serialized_end=2065
188
+ _KAFKACONFIG_PRODUCER_COMPRESSIONTYPE._serialized_start=1976
189
+ _KAFKACONFIG_PRODUCER_COMPRESSIONTYPE._serialized_end=2065
190
+ _KUBEDEPLOYMENTSIZE._serialized_start=2068
191
+ _KUBEDEPLOYMENTSIZE._serialized_end=2749
192
+ _KUBEDEPLOYMENTSIZE_GPURESOURCES._serialized_start=2319
193
+ _KUBEDEPLOYMENTSIZE_GPURESOURCES._serialized_end=2429
194
+ _KUBEDEPLOYMENTSIZE_GPUTYPE._serialized_start=2432
195
+ _KUBEDEPLOYMENTSIZE_GPUTYPE._serialized_end=2704
196
+ _KUBEDEPLOYMENTSIZE_MEMORYUNIT._serialized_start=2706
197
+ _KUBEDEPLOYMENTSIZE_MEMORYUNIT._serialized_end=2749
198
+ _KUBERUNTIMEDEPLOYMENTSETTINGS._serialized_start=2752
199
+ _KUBERUNTIMEDEPLOYMENTSETTINGS._serialized_end=2947
200
+ _KUBERUNTIMEDEPLOYMENTSETTINGS_LOGLEVEL._serialized_start=2882
201
+ _KUBERUNTIMEDEPLOYMENTSETTINGS_LOGLEVEL._serialized_end=2947
182
202
  # @@protoc_insertion_point(module_scope)
@@ -155,23 +155,51 @@ class PrometheusTrigger(google.protobuf.message.Message):
155
155
  METRIC_NAME_FIELD_NUMBER: builtins.int
156
156
  THRESHOLD_FIELD_NUMBER: builtins.int
157
157
  QUERY_FIELD_NUMBER: builtins.int
158
+ VALUE_METRIC_TYPE_FIELD_NUMBER: builtins.int
159
+ AVERAGE_VALUE_METRIC_TYPE_FIELD_NUMBER: builtins.int
158
160
  metric_name: builtins.str
159
161
  """Name to identify the Metric in the external.metrics.k8s.io API"""
160
162
  threshold: builtins.int
161
163
  """Value to initiate scaling on"""
162
164
  query: builtins.str
163
165
  """Promql syntax query"""
166
+ @property
167
+ def value_metric_type(self) -> global___ValuePrometheusMetricType: ...
168
+ @property
169
+ def average_value_metric_type(self) -> global___AverageValuePrometheusMetricType: ...
164
170
  def __init__(
165
171
  self,
166
172
  *,
167
173
  metric_name: builtins.str = ...,
168
174
  threshold: builtins.int = ...,
169
175
  query: builtins.str = ...,
176
+ value_metric_type: global___ValuePrometheusMetricType | None = ...,
177
+ average_value_metric_type: global___AverageValuePrometheusMetricType | None = ...,
170
178
  ) -> None: ...
171
- def ClearField(self, field_name: typing_extensions.Literal["metric_name", b"metric_name", "query", b"query", "threshold", b"threshold"]) -> None: ...
179
+ def HasField(self, field_name: typing_extensions.Literal["average_value_metric_type", b"average_value_metric_type", "metric_type", b"metric_type", "value_metric_type", b"value_metric_type"]) -> builtins.bool: ...
180
+ def ClearField(self, field_name: typing_extensions.Literal["average_value_metric_type", b"average_value_metric_type", "metric_name", b"metric_name", "metric_type", b"metric_type", "query", b"query", "threshold", b"threshold", "value_metric_type", b"value_metric_type"]) -> None: ...
181
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["metric_type", b"metric_type"]) -> typing_extensions.Literal["value_metric_type", "average_value_metric_type"] | None: ...
172
182
 
173
183
  global___PrometheusTrigger = PrometheusTrigger
174
184
 
185
+ class ValuePrometheusMetricType(google.protobuf.message.Message):
186
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
187
+
188
+ def __init__(
189
+ self,
190
+ ) -> None: ...
191
+
192
+ global___ValuePrometheusMetricType = ValuePrometheusMetricType
193
+
194
+ class AverageValuePrometheusMetricType(google.protobuf.message.Message):
195
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
196
+
197
+ def __init__(
198
+ self,
199
+ ) -> None: ...
200
+
201
+ global___AverageValuePrometheusMetricType = AverageValuePrometheusMetricType
202
+
175
203
  class RealTimeConfig(google.protobuf.message.Message):
176
204
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
177
205