cap-sdk-python 2.0.2__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/PKG-INFO +1 -1
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/safety_pb2.py +10 -10
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap_sdk_python.egg-info/PKG-INFO +1 -1
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/pyproject.toml +1 -1
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/README.md +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/__init__.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/bus.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/client.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/__init__.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/__init__.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/__init__.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/__init__.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/alert_pb2.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/alert_pb2_grpc.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/buspacket_pb2.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/buspacket_pb2_grpc.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/heartbeat_pb2.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/heartbeat_pb2_grpc.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/job_pb2.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/job_pb2_grpc.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/pb/coretex/agent/v1/safety_pb2_grpc.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap/worker.py +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap_sdk_python.egg-info/SOURCES.txt +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap_sdk_python.egg-info/dependency_links.txt +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap_sdk_python.egg-info/requires.txt +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/cap_sdk_python.egg-info/top_level.txt +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/setup.cfg +0 -0
- {cap_sdk_python-2.0.2 → cap_sdk_python-2.0.4}/tests/test_sdk.py +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from coretex.agent.v1 import job_pb2 as coretex_dot_agent_dot_v1_dot_job__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63oretex/agent/v1/safety.proto\x12\x10\x63oretex.agent.v1\x1a\x1a\x63oretex/agent/v1/job.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63oretex/agent/v1/safety.proto\x12\x10\x63oretex.agent.v1\x1a\x1a\x63oretex/agent/v1/job.proto\"\xea\x02\n\x12PolicyCheckRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\r\n\x05topic\x18\x02 \x01(\t\x12\x0e\n\x06tenant\x18\x03 \x01(\t\x12/\n\x08priority\x18\x04 \x01(\x0e\x32\x1d.coretex.agent.v1.JobPriority\x12\x16\n\x0e\x65stimated_cost\x18\x05 \x01(\x01\x12(\n\x06\x62udget\x18\x06 \x01(\x0b\x32\x18.coretex.agent.v1.Budget\x12\x14\n\x0cprincipal_id\x18\x07 \x01(\t\x12@\n\x06labels\x18\x08 \x03(\x0b\x32\x30.coretex.agent.v1.PolicyCheckRequest.LabelsEntry\x12\x11\n\tmemory_id\x18\t \x01(\t\x12\x18\n\x10\x65\x66\x66\x65\x63tive_config\x18\n \x01(\x0c\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x13PolicyCheckResponse\x12\x30\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32\x1e.coretex.agent.v1.DecisionType\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x1c\n\x14redacted_context_ptr\x18\x03 \x01(\t*\x9b\x01\n\x0c\x44\x65\x63isionType\x12\x1d\n\x19\x44\x45\x43ISION_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x44\x45\x43ISION_TYPE_ALLOW\x10\x01\x12\x16\n\x12\x44\x45\x43ISION_TYPE_DENY\x10\x02\x12\x1f\n\x1b\x44\x45\x43ISION_TYPE_REQUIRE_HUMAN\x10\x03\x12\x1a\n\x16\x44\x45\x43ISION_TYPE_THROTTLE\x10\x04\x32\x64\n\x0cSafetyKernel\x12T\n\x05\x43heck\x12$.coretex.agent.v1.PolicyCheckRequest\x1a%.coretex.agent.v1.PolicyCheckResponseB\x87\x01\n\x17\x61i.coretex.cap.agent.v1P\x01Z/github.com/coretexos/cap/v2/go/coretex/agent/v1\xaa\x02\x10\x63oretex.Agent.V1\xca\x02\x10\x63oretex\\Agent\\V1\xea\x02\x12\x63oretex::Agent::V1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,14 +35,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027ai.coretex.cap.agent.v1P\001Z/github.com/coretexos/cap/v2/go/coretex/agent/v1\252\002\020coretex.Agent.V1\312\002\020coretex\\Agent\\V1\352\002\022coretex::Agent::V1'
|
|
36
36
|
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._loaded_options = None
|
|
37
37
|
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_DECISIONTYPE']._serialized_start=
|
|
39
|
-
_globals['_DECISIONTYPE']._serialized_end=
|
|
38
|
+
_globals['_DECISIONTYPE']._serialized_start=564
|
|
39
|
+
_globals['_DECISIONTYPE']._serialized_end=719
|
|
40
40
|
_globals['_POLICYCHECKREQUEST']._serialized_start=80
|
|
41
|
-
_globals['_POLICYCHECKREQUEST']._serialized_end=
|
|
42
|
-
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._serialized_start=
|
|
43
|
-
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._serialized_end=
|
|
44
|
-
_globals['_POLICYCHECKRESPONSE']._serialized_start=
|
|
45
|
-
_globals['_POLICYCHECKRESPONSE']._serialized_end=
|
|
46
|
-
_globals['_SAFETYKERNEL']._serialized_start=
|
|
47
|
-
_globals['_SAFETYKERNEL']._serialized_end=
|
|
41
|
+
_globals['_POLICYCHECKREQUEST']._serialized_end=442
|
|
42
|
+
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._serialized_start=397
|
|
43
|
+
_globals['_POLICYCHECKREQUEST_LABELSENTRY']._serialized_end=442
|
|
44
|
+
_globals['_POLICYCHECKRESPONSE']._serialized_start=444
|
|
45
|
+
_globals['_POLICYCHECKRESPONSE']._serialized_end=561
|
|
46
|
+
_globals['_SAFETYKERNEL']._serialized_start=721
|
|
47
|
+
_globals['_SAFETYKERNEL']._serialized_end=821
|
|
48
48
|
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|