frogml 1.2.38__py3-none-any.whl → 1.2.47__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/__init__.py +1 -1
- frogml/_proto/com/jfrog/ml/model/deployment/v1/auto_scaling_pb2.py +43 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/auto_scaling_pb2.pyi +218 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/auto_scaling_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_pb2.py +53 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_pb2.pyi +258 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_service_pb2.py +58 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_service_pb2.pyi +224 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/deployment_service_pb2_grpc.py +206 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/environment_variables_configuration_pb2.py +33 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/environment_variables_configuration_pb2.pyi +99 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/environment_variables_configuration_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_artifact_identifier_pb2.py +31 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_artifact_identifier_pb2.pyi +99 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_artifact_identifier_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_brief_pb2.py +30 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_brief_pb2.pyi +55 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_brief_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_filter_pb2.py +42 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_filter_pb2.pyi +204 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/model_deployment_filter_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/probes_configuration_pb2.py +29 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/probes_configuration_pb2.pyi +60 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/probes_configuration_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/realtime_deployment_pb2.py +28 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/realtime_deployment_pb2.pyi +47 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/realtime_deployment_pb2_grpc.py +4 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/resource_configuration_pb2.py +27 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/resource_configuration_pb2.pyi +29 -0
- frogml/_proto/com/jfrog/ml/model/deployment/v1/resource_configuration_pb2_grpc.py +4 -0
- frogml/_proto/qwak/administration/cluster/v2/cluster_service_pb2.py +52 -0
- frogml/_proto/qwak/administration/cluster/v2/cluster_service_pb2.pyi +208 -0
- frogml/_proto/qwak/administration/cluster/v2/cluster_service_pb2_grpc.py +237 -0
- frogml/_proto/qwak/administration/v1/environments/environment_pb2.py +29 -0
- frogml/_proto/qwak/administration/v1/environments/environment_pb2.pyi +35 -0
- frogml/_proto/qwak/administration/v1/environments/environment_pb2_grpc.py +4 -0
- frogml/_proto/qwak/administration/v1/environments/environment_service_pb2.py +33 -0
- frogml/_proto/qwak/administration/v1/environments/environment_service_pb2.pyi +59 -0
- frogml/_proto/qwak/administration/v1/environments/environment_service_pb2_grpc.py +67 -0
- frogml/_proto/qwak/admiral/secret/v0/account_secret_pb2.py +33 -0
- frogml/_proto/qwak/admiral/secret/v0/account_secret_pb2.pyi +76 -0
- frogml/_proto/qwak/admiral/secret/v0/account_secret_pb2_grpc.py +4 -0
- frogml/_proto/qwak/admiral/secret/v0/system_secret_service_pb2.py +28 -15
- frogml/_proto/qwak/admiral/secret/v0/system_secret_service_pb2.pyi +89 -0
- frogml/_proto/qwak/admiral/secret/v0/system_secret_service_pb2_grpc.py +102 -0
- frogml/_proto/qwak/models/models_pb2.py +81 -79
- frogml/_proto/qwak/models/models_pb2.pyi +24 -0
- frogml/_proto/qwak/models/models_pb2_grpc.py +34 -0
- frogml/core/clients/administration/cluster_v2/__init__.py +1 -0
- frogml/core/clients/administration/cluster_v2/client.py +122 -0
- frogml/core/clients/administration/environment/client.py +28 -0
- frogml/core/clients/administration/environment_v1/__init__.py +1 -0
- frogml/core/clients/administration/environment_v1/client.py +53 -0
- frogml/core/clients/model_deployment_manager/__init__.py +1 -0
- frogml/core/clients/model_deployment_manager/client.py +103 -0
- frogml/core/inner/di_configuration/dependency_wiring.py +18 -16
- {frogml-1.2.38.dist-info → frogml-1.2.47.dist-info}/METADATA +1 -1
- {frogml-1.2.38.dist-info → frogml-1.2.47.dist-info}/RECORD +66 -14
- frogml_services_mock/mocks/cluster_v2_service.py +146 -0
- frogml_services_mock/mocks/environment_v0_service.py +175 -0
- frogml_services_mock/mocks/environment_v1_service.py +37 -0
- frogml_services_mock/mocks/frogml_mocks.py +17 -3
- frogml_services_mock/mocks/model_deployment_manager_service_mock.py +255 -0
- frogml_services_mock/services_mock.py +51 -2
- {frogml-1.2.38.dist-info → frogml-1.2.47.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: frogml._proto.qwak.administration/v1/environments/environment_service.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from frogml._proto.qwak.administration.v0.environments import environment_pb2 as qwak_dot_administration_dot_v0_dot_environments_dot_environment__pb2
|
|
16
|
+
from frogml._proto.qwak.administration.v1.environments import environment_pb2 as qwak_dot_administration_dot_v1_dot_environments_dot_environment__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=qwak/administration/v1/environments/environment_service.proto\x12\"qwak.administration.v1.environment\x1a\x35qwak/administration/v0/environments/environment.proto\x1a\x35qwak/administration/v1/environments/environment.proto\"\x98\x01\n\x18\x43reateEnvironmentRequest\x12\x18\n\x10\x65nvironment_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12N\n\x04spec\x18\x03 \x01(\x0b\x32@.qwak.administration.v1.environment.EnvironmentRuntimeConfigSpec\"b\n\x19\x43reateEnvironmentResponse\x12\x45\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32\x30.qwak.administration.environment.QwakEnvironment2\xa7\x01\n\x12\x45nvironmentService\x12\x90\x01\n\x11\x43reateEnvironment\x12<.qwak.administration.v1.environment.CreateEnvironmentRequest\x1a=.qwak.administration.v1.environment.CreateEnvironmentResponseB\xb5\x01\n!com.qwak.ai.administration.v1.apiP\x01Z\x8d\x01github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/administration/v1/environments;environment_v1b\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.administration.v1.environments.environment_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n!com.qwak.ai.administration.v1.apiP\001Z\215\001github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/administration/v1/environments;environment_v1'
|
|
27
|
+
_globals['_CREATEENVIRONMENTREQUEST']._serialized_start=212
|
|
28
|
+
_globals['_CREATEENVIRONMENTREQUEST']._serialized_end=364
|
|
29
|
+
_globals['_CREATEENVIRONMENTRESPONSE']._serialized_start=366
|
|
30
|
+
_globals['_CREATEENVIRONMENTRESPONSE']._serialized_end=464
|
|
31
|
+
_globals['_ENVIRONMENTSERVICE']._serialized_start=467
|
|
32
|
+
_globals['_ENVIRONMENTSERVICE']._serialized_end=634
|
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import frogml._proto.qwak.administration.v0.environments.environment_pb2
|
|
10
|
+
import frogml._proto.qwak.administration.v1.environments.environment_pb2
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class CreateEnvironmentRequest(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
20
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
SPEC_FIELD_NUMBER: builtins.int
|
|
22
|
+
environment_name: builtins.str
|
|
23
|
+
"""Environment name"""
|
|
24
|
+
cluster_id: builtins.str
|
|
25
|
+
"""The JFrogML Cluster the environment is deployed in."""
|
|
26
|
+
@property
|
|
27
|
+
def spec(self) -> frogml._proto.qwak.administration.v1.environments.environment_pb2.EnvironmentRuntimeConfigSpec:
|
|
28
|
+
"""Environment configuration"""
|
|
29
|
+
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
*,
|
|
33
|
+
environment_name: builtins.str = ...,
|
|
34
|
+
cluster_id: builtins.str = ...,
|
|
35
|
+
spec: frogml._proto.qwak.administration.v1.environments.environment_pb2.EnvironmentRuntimeConfigSpec | None = ...,
|
|
36
|
+
) -> None: ...
|
|
37
|
+
def HasField(self, field_name: typing.Literal["spec", b"spec"]) -> builtins.bool: ...
|
|
38
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "environment_name", b"environment_name", "spec", b"spec"]) -> None: ...
|
|
39
|
+
|
|
40
|
+
global___CreateEnvironmentRequest = CreateEnvironmentRequest
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class CreateEnvironmentResponse(google.protobuf.message.Message):
|
|
44
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
45
|
+
|
|
46
|
+
ENVIRONMENT_FIELD_NUMBER: builtins.int
|
|
47
|
+
@property
|
|
48
|
+
def environment(self) -> frogml._proto.qwak.administration.v0.environments.environment_pb2.QwakEnvironment:
|
|
49
|
+
"""Created environment"""
|
|
50
|
+
|
|
51
|
+
def __init__(
|
|
52
|
+
self,
|
|
53
|
+
*,
|
|
54
|
+
environment: frogml._proto.qwak.administration.v0.environments.environment_pb2.QwakEnvironment | None = ...,
|
|
55
|
+
) -> None: ...
|
|
56
|
+
def HasField(self, field_name: typing.Literal["environment", b"environment"]) -> builtins.bool: ...
|
|
57
|
+
def ClearField(self, field_name: typing.Literal["environment", b"environment"]) -> None: ...
|
|
58
|
+
|
|
59
|
+
global___CreateEnvironmentResponse = CreateEnvironmentResponse
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from frogml._proto.qwak.administration.v1.environments import environment_service_pb2 as qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class EnvironmentServiceStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.CreateEnvironment = channel.unary_unary(
|
|
18
|
+
'/qwak.administration.v1.environment.EnvironmentService/CreateEnvironment',
|
|
19
|
+
request_serializer=qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentRequest.SerializeToString,
|
|
20
|
+
response_deserializer=qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class EnvironmentServiceServicer(object):
|
|
25
|
+
"""Missing associated documentation comment in .proto file."""
|
|
26
|
+
|
|
27
|
+
def CreateEnvironment(self, request, context):
|
|
28
|
+
"""Create an environment
|
|
29
|
+
"""
|
|
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_EnvironmentServiceServicer_to_server(servicer, server):
|
|
36
|
+
rpc_method_handlers = {
|
|
37
|
+
'CreateEnvironment': grpc.unary_unary_rpc_method_handler(
|
|
38
|
+
servicer.CreateEnvironment,
|
|
39
|
+
request_deserializer=qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentRequest.FromString,
|
|
40
|
+
response_serializer=qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentResponse.SerializeToString,
|
|
41
|
+
),
|
|
42
|
+
}
|
|
43
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
44
|
+
'qwak.administration.v1.environment.EnvironmentService', rpc_method_handlers)
|
|
45
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# This class is part of an EXPERIMENTAL API.
|
|
49
|
+
class EnvironmentService(object):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
|
|
52
|
+
@staticmethod
|
|
53
|
+
def CreateEnvironment(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
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.administration.v1.environment.EnvironmentService/CreateEnvironment',
|
|
64
|
+
qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentRequest.SerializeToString,
|
|
65
|
+
qwak_dot_administration_dot_v1_dot_environments_dot_environment__service__pb2.CreateEnvironmentResponse.FromString,
|
|
66
|
+
options, channel_credentials,
|
|
67
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: frogml._proto.qwak.admiral/secret/v0/account_secret.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from frogml._proto.qwak.admiral.secret.v0 import secret_pb2 as qwak_dot_admiral_dot_secret_dot_v0_dot_secret__pb2
|
|
16
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+qwak/admiral/secret/v0/account_secret.proto\x12\x16qwak.admiral.secret.v0\x1a#qwak/admiral/secret/v0/secret.proto\x1a\x1cgoogle/protobuf/struct.proto\"H\n\x1d\x41\x63\x63ountSystemSecretIdentifier\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\"^\n\x1d\x41\x63\x63ountSystemSecretDefinition\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.qwak.admiral.secret.v0.AccountSystemSecretSpec\"\xb5\x01\n\x17\x41\x63\x63ountSystemSecretSpec\x12Q\n\x12\x61\x63\x63ount_identifier\x18\x01 \x01(\x0b\x32\x35.qwak.admiral.secret.v0.AccountSystemSecretIdentifier\x12G\n\x15\x61\x63\x63ount_system_secret\x18\x02 \x01(\x0b\x32(.qwak.admiral.secret.v0.SystemSecretSpecB\x8c\x01\n\x1d\x63om.qwak.ai.admiral.secret.v0P\x01Zigithub.com/qwak-ai/qwak-platform/services/core/go/admiral/admiral-api/pb/qwak/admiral/secret/v0;secret_v0b\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.admiral.secret.v0.account_secret_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\035com.qwak.ai.admiral.secret.v0P\001Zigithub.com/qwak-ai/qwak-platform/services/core/go/admiral/admiral-api/pb/qwak/admiral/secret/v0;secret_v0'
|
|
27
|
+
_globals['_ACCOUNTSYSTEMSECRETIDENTIFIER']._serialized_start=138
|
|
28
|
+
_globals['_ACCOUNTSYSTEMSECRETIDENTIFIER']._serialized_end=210
|
|
29
|
+
_globals['_ACCOUNTSYSTEMSECRETDEFINITION']._serialized_start=212
|
|
30
|
+
_globals['_ACCOUNTSYSTEMSECRETDEFINITION']._serialized_end=306
|
|
31
|
+
_globals['_ACCOUNTSYSTEMSECRETSPEC']._serialized_start=309
|
|
32
|
+
_globals['_ACCOUNTSYSTEMSECRETSPEC']._serialized_end=490
|
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import frogml._proto.qwak.admiral.secret.v0.secret_pb2
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class AccountSystemSecretIdentifier(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17
|
+
|
|
18
|
+
ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
19
|
+
SECRET_NAME_FIELD_NUMBER: builtins.int
|
|
20
|
+
account_id: builtins.str
|
|
21
|
+
"""account id"""
|
|
22
|
+
secret_name: builtins.str
|
|
23
|
+
"""secret name"""
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
account_id: builtins.str = ...,
|
|
28
|
+
secret_name: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["account_id", b"account_id", "secret_name", b"secret_name"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___AccountSystemSecretIdentifier = AccountSystemSecretIdentifier
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class AccountSystemSecretDefinition(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
SPEC_FIELD_NUMBER: builtins.int
|
|
39
|
+
@property
|
|
40
|
+
def spec(self) -> global___AccountSystemSecretSpec:
|
|
41
|
+
"""Secret spec"""
|
|
42
|
+
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
spec: global___AccountSystemSecretSpec | None = ...,
|
|
47
|
+
) -> None: ...
|
|
48
|
+
def HasField(self, field_name: typing.Literal["spec", b"spec"]) -> builtins.bool: ...
|
|
49
|
+
def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ...
|
|
50
|
+
|
|
51
|
+
global___AccountSystemSecretDefinition = AccountSystemSecretDefinition
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class AccountSystemSecretSpec(google.protobuf.message.Message):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
56
|
+
|
|
57
|
+
ACCOUNT_IDENTIFIER_FIELD_NUMBER: builtins.int
|
|
58
|
+
ACCOUNT_SYSTEM_SECRET_FIELD_NUMBER: builtins.int
|
|
59
|
+
@property
|
|
60
|
+
def account_identifier(self) -> global___AccountSystemSecretIdentifier:
|
|
61
|
+
"""Secret identifier"""
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def account_system_secret(self) -> frogml._proto.qwak.admiral.secret.v0.secret_pb2.SystemSecretSpec:
|
|
65
|
+
"""Secret"""
|
|
66
|
+
|
|
67
|
+
def __init__(
|
|
68
|
+
self,
|
|
69
|
+
*,
|
|
70
|
+
account_identifier: global___AccountSystemSecretIdentifier | None = ...,
|
|
71
|
+
account_system_secret: frogml._proto.qwak.admiral.secret.v0.secret_pb2.SystemSecretSpec | None = ...,
|
|
72
|
+
) -> None: ...
|
|
73
|
+
def HasField(self, field_name: typing.Literal["account_identifier", b"account_identifier", "account_system_secret", b"account_system_secret"]) -> builtins.bool: ...
|
|
74
|
+
def ClearField(self, field_name: typing.Literal["account_identifier", b"account_identifier", "account_system_secret", b"account_system_secret"]) -> None: ...
|
|
75
|
+
|
|
76
|
+
global___AccountSystemSecretSpec = AccountSystemSecretSpec
|
|
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
from frogml._proto.qwak.admiral.secret.v0 import secret_pb2 as qwak_dot_admiral_dot_secret_dot_v0_dot_secret__pb2
|
|
16
|
+
from frogml._proto.qwak.admiral.secret.v0 import account_secret_pb2 as qwak_dot_admiral_dot_secret_dot_v0_dot_account__secret__pb2
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2qwak/admiral/secret/v0/system_secret_service.proto\x12\x16qwak.admiral.secret.v0\x1a#qwak/admiral/secret/v0/secret.proto\"d\n\x16SetSystemSecretRequest\x12J\n\x07options\x18\x01 \x01(\x0b\x32\x39.qwak.admiral.secret.v0.SetSystemEnvironmentSecretOptions\"\x19\n\x17SetSystemSecretResponse\"d\n\x19\x44\x65leteSystemSecretRequest\x12G\n\nidentifier\x18\x01 \x01(\x0b\x32\x33.qwak.admiral.secret.v0.EnvironmentSecretIdentifier\"\x1c\n\x1a\x44\x65leteSystemSecretResponse\"a\n\x16GetSystemSecretRequest\x12G\n\nidentifier\x18\x01 \x01(\x0b\x32\x33.qwak.admiral.secret.v0.EnvironmentSecretIdentifier\"d\n\x17GetSystemSecretResponse\x12I\n\x11secret_definition\x18\x01 \x01(\x0b\x32..qwak.admiral.secret.v0.
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2qwak/admiral/secret/v0/system_secret_service.proto\x12\x16qwak.admiral.secret.v0\x1a#qwak/admiral/secret/v0/secret.proto\x1a+qwak/admiral/secret/v0/account_secret.proto\"d\n\x16SetSystemSecretRequest\x12J\n\x07options\x18\x01 \x01(\x0b\x32\x39.qwak.admiral.secret.v0.SetSystemEnvironmentSecretOptions\"\x19\n\x17SetSystemSecretResponse\"d\n\x19\x44\x65leteSystemSecretRequest\x12G\n\nidentifier\x18\x01 \x01(\x0b\x32\x33.qwak.admiral.secret.v0.EnvironmentSecretIdentifier\"\x1c\n\x1a\x44\x65leteSystemSecretResponse\"a\n\x16GetSystemSecretRequest\x12G\n\nidentifier\x18\x01 \x01(\x0b\x32\x33.qwak.admiral.secret.v0.EnvironmentSecretIdentifier\"d\n\x17GetSystemSecretResponse\x12I\n\x11secret_definition\x18\x01 \x01(\x0b\x32..qwak.admiral.secret.v0.SystemSecretDefinition\"^\n\x1dSetAccountSystemSecretRequest\x12=\n\x04spec\x18\x01 \x01(\x0b\x32/.qwak.admiral.secret.v0.AccountSystemSecretSpec\" \n\x1eSetAccountSystemSecretResponse\"r\n\x1dGetAccountSystemSecretRequest\x12Q\n\x12\x61\x63\x63ount_identifier\x18\x01 \x01(\x0b\x32\x35.qwak.admiral.secret.v0.AccountSystemSecretIdentifier\"z\n\x1eGetAccountSystemSecretResponse\x12X\n\x19\x61\x63\x63ount_secret_definition\x18\x01 \x01(\x0b\x32\x35.qwak.admiral.secret.v0.AccountSystemSecretDefinition\"u\n DeleteAccountSystemSecretRequest\x12Q\n\x12\x61\x63\x63ount_identifier\x18\x01 \x01(\x0b\x32\x35.qwak.admiral.secret.v0.AccountSystemSecretIdentifier\"#\n!DeleteAccountSystemSecretResponse2\xa1\x06\n\x13SystemSecretService\x12r\n\x0fSetSystemSecret\x12..qwak.admiral.secret.v0.SetSystemSecretRequest\x1a/.qwak.admiral.secret.v0.SetSystemSecretResponse\x12{\n\x12\x44\x65leteSystemSecret\x12\x31.qwak.admiral.secret.v0.DeleteSystemSecretRequest\x1a\x32.qwak.admiral.secret.v0.DeleteSystemSecretResponse\x12r\n\x0fGetSystemSecret\x12..qwak.admiral.secret.v0.GetSystemSecretRequest\x1a/.qwak.admiral.secret.v0.GetSystemSecretResponse\x12\x87\x01\n\x16SetAccountSystemSecret\x12\x35.qwak.admiral.secret.v0.SetAccountSystemSecretRequest\x1a\x36.qwak.admiral.secret.v0.SetAccountSystemSecretResponse\x12\x87\x01\n\x16GetAccountSystemSecret\x12\x35.qwak.admiral.secret.v0.GetAccountSystemSecretRequest\x1a\x36.qwak.admiral.secret.v0.GetAccountSystemSecretResponse\x12\x90\x01\n\x19\x44\x65leteAccountSystemSecret\x12\x38.qwak.admiral.secret.v0.DeleteAccountSystemSecretRequest\x1a\x39.qwak.admiral.secret.v0.DeleteAccountSystemSecretResponseB\x8c\x01\n\x1d\x63om.qwak.ai.admiral.secret.v0P\x01Zigithub.com/qwak-ai/qwak-platform/services/core/go/admiral/admiral-api/pb/qwak/admiral/secret/v0;secret_v0b\x06proto3')
|
|
19
20
|
|
|
20
21
|
_globals = globals()
|
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,18 +24,30 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.admiral.secret.v0.syst
|
|
|
23
24
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
25
|
_globals['DESCRIPTOR']._options = None
|
|
25
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n\035com.qwak.ai.admiral.secret.v0P\001Zigithub.com/qwak-ai/qwak-platform/services/core/go/admiral/admiral-api/pb/qwak/admiral/secret/v0;secret_v0'
|
|
26
|
-
_globals['_SETSYSTEMSECRETREQUEST']._serialized_start=
|
|
27
|
-
_globals['_SETSYSTEMSECRETREQUEST']._serialized_end=
|
|
28
|
-
_globals['_SETSYSTEMSECRETRESPONSE']._serialized_start=
|
|
29
|
-
_globals['_SETSYSTEMSECRETRESPONSE']._serialized_end=
|
|
30
|
-
_globals['_DELETESYSTEMSECRETREQUEST']._serialized_start=
|
|
31
|
-
_globals['_DELETESYSTEMSECRETREQUEST']._serialized_end=
|
|
32
|
-
_globals['_DELETESYSTEMSECRETRESPONSE']._serialized_start=
|
|
33
|
-
_globals['_DELETESYSTEMSECRETRESPONSE']._serialized_end=
|
|
34
|
-
_globals['_GETSYSTEMSECRETREQUEST']._serialized_start=
|
|
35
|
-
_globals['_GETSYSTEMSECRETREQUEST']._serialized_end=
|
|
36
|
-
_globals['_GETSYSTEMSECRETRESPONSE']._serialized_start=
|
|
37
|
-
_globals['_GETSYSTEMSECRETRESPONSE']._serialized_end=
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
27
|
+
_globals['_SETSYSTEMSECRETREQUEST']._serialized_start=160
|
|
28
|
+
_globals['_SETSYSTEMSECRETREQUEST']._serialized_end=260
|
|
29
|
+
_globals['_SETSYSTEMSECRETRESPONSE']._serialized_start=262
|
|
30
|
+
_globals['_SETSYSTEMSECRETRESPONSE']._serialized_end=287
|
|
31
|
+
_globals['_DELETESYSTEMSECRETREQUEST']._serialized_start=289
|
|
32
|
+
_globals['_DELETESYSTEMSECRETREQUEST']._serialized_end=389
|
|
33
|
+
_globals['_DELETESYSTEMSECRETRESPONSE']._serialized_start=391
|
|
34
|
+
_globals['_DELETESYSTEMSECRETRESPONSE']._serialized_end=419
|
|
35
|
+
_globals['_GETSYSTEMSECRETREQUEST']._serialized_start=421
|
|
36
|
+
_globals['_GETSYSTEMSECRETREQUEST']._serialized_end=518
|
|
37
|
+
_globals['_GETSYSTEMSECRETRESPONSE']._serialized_start=520
|
|
38
|
+
_globals['_GETSYSTEMSECRETRESPONSE']._serialized_end=620
|
|
39
|
+
_globals['_SETACCOUNTSYSTEMSECRETREQUEST']._serialized_start=622
|
|
40
|
+
_globals['_SETACCOUNTSYSTEMSECRETREQUEST']._serialized_end=716
|
|
41
|
+
_globals['_SETACCOUNTSYSTEMSECRETRESPONSE']._serialized_start=718
|
|
42
|
+
_globals['_SETACCOUNTSYSTEMSECRETRESPONSE']._serialized_end=750
|
|
43
|
+
_globals['_GETACCOUNTSYSTEMSECRETREQUEST']._serialized_start=752
|
|
44
|
+
_globals['_GETACCOUNTSYSTEMSECRETREQUEST']._serialized_end=866
|
|
45
|
+
_globals['_GETACCOUNTSYSTEMSECRETRESPONSE']._serialized_start=868
|
|
46
|
+
_globals['_GETACCOUNTSYSTEMSECRETRESPONSE']._serialized_end=990
|
|
47
|
+
_globals['_DELETEACCOUNTSYSTEMSECRETREQUEST']._serialized_start=992
|
|
48
|
+
_globals['_DELETEACCOUNTSYSTEMSECRETREQUEST']._serialized_end=1109
|
|
49
|
+
_globals['_DELETEACCOUNTSYSTEMSECRETRESPONSE']._serialized_start=1111
|
|
50
|
+
_globals['_DELETEACCOUNTSYSTEMSECRETRESPONSE']._serialized_end=1146
|
|
51
|
+
_globals['_SYSTEMSECRETSERVICE']._serialized_start=1149
|
|
52
|
+
_globals['_SYSTEMSECRETSERVICE']._serialized_end=1950
|
|
40
53
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,6 +6,7 @@ isort:skip_file
|
|
|
6
6
|
import builtins
|
|
7
7
|
import google.protobuf.descriptor
|
|
8
8
|
import google.protobuf.message
|
|
9
|
+
import frogml._proto.qwak.admiral.secret.v0.account_secret_pb2
|
|
9
10
|
import frogml._proto.qwak.admiral.secret.v0.secret_pb2
|
|
10
11
|
import typing
|
|
11
12
|
|
|
@@ -104,3 +105,91 @@ class GetSystemSecretResponse(google.protobuf.message.Message):
|
|
|
104
105
|
def ClearField(self, field_name: typing.Literal["secret_definition", b"secret_definition"]) -> None: ...
|
|
105
106
|
|
|
106
107
|
global___GetSystemSecretResponse = GetSystemSecretResponse
|
|
108
|
+
|
|
109
|
+
@typing.final
|
|
110
|
+
class SetAccountSystemSecretRequest(google.protobuf.message.Message):
|
|
111
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
112
|
+
|
|
113
|
+
SPEC_FIELD_NUMBER: builtins.int
|
|
114
|
+
@property
|
|
115
|
+
def spec(self) -> frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretSpec: ...
|
|
116
|
+
def __init__(
|
|
117
|
+
self,
|
|
118
|
+
*,
|
|
119
|
+
spec: frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretSpec | None = ...,
|
|
120
|
+
) -> None: ...
|
|
121
|
+
def HasField(self, field_name: typing.Literal["spec", b"spec"]) -> builtins.bool: ...
|
|
122
|
+
def ClearField(self, field_name: typing.Literal["spec", b"spec"]) -> None: ...
|
|
123
|
+
|
|
124
|
+
global___SetAccountSystemSecretRequest = SetAccountSystemSecretRequest
|
|
125
|
+
|
|
126
|
+
@typing.final
|
|
127
|
+
class SetAccountSystemSecretResponse(google.protobuf.message.Message):
|
|
128
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
129
|
+
|
|
130
|
+
def __init__(
|
|
131
|
+
self,
|
|
132
|
+
) -> None: ...
|
|
133
|
+
|
|
134
|
+
global___SetAccountSystemSecretResponse = SetAccountSystemSecretResponse
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class GetAccountSystemSecretRequest(google.protobuf.message.Message):
|
|
138
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
139
|
+
|
|
140
|
+
ACCOUNT_IDENTIFIER_FIELD_NUMBER: builtins.int
|
|
141
|
+
@property
|
|
142
|
+
def account_identifier(self) -> frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretIdentifier: ...
|
|
143
|
+
def __init__(
|
|
144
|
+
self,
|
|
145
|
+
*,
|
|
146
|
+
account_identifier: frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretIdentifier | None = ...,
|
|
147
|
+
) -> None: ...
|
|
148
|
+
def HasField(self, field_name: typing.Literal["account_identifier", b"account_identifier"]) -> builtins.bool: ...
|
|
149
|
+
def ClearField(self, field_name: typing.Literal["account_identifier", b"account_identifier"]) -> None: ...
|
|
150
|
+
|
|
151
|
+
global___GetAccountSystemSecretRequest = GetAccountSystemSecretRequest
|
|
152
|
+
|
|
153
|
+
@typing.final
|
|
154
|
+
class GetAccountSystemSecretResponse(google.protobuf.message.Message):
|
|
155
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
156
|
+
|
|
157
|
+
ACCOUNT_SECRET_DEFINITION_FIELD_NUMBER: builtins.int
|
|
158
|
+
@property
|
|
159
|
+
def account_secret_definition(self) -> frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretDefinition: ...
|
|
160
|
+
def __init__(
|
|
161
|
+
self,
|
|
162
|
+
*,
|
|
163
|
+
account_secret_definition: frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretDefinition | None = ...,
|
|
164
|
+
) -> None: ...
|
|
165
|
+
def HasField(self, field_name: typing.Literal["account_secret_definition", b"account_secret_definition"]) -> builtins.bool: ...
|
|
166
|
+
def ClearField(self, field_name: typing.Literal["account_secret_definition", b"account_secret_definition"]) -> None: ...
|
|
167
|
+
|
|
168
|
+
global___GetAccountSystemSecretResponse = GetAccountSystemSecretResponse
|
|
169
|
+
|
|
170
|
+
@typing.final
|
|
171
|
+
class DeleteAccountSystemSecretRequest(google.protobuf.message.Message):
|
|
172
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
173
|
+
|
|
174
|
+
ACCOUNT_IDENTIFIER_FIELD_NUMBER: builtins.int
|
|
175
|
+
@property
|
|
176
|
+
def account_identifier(self) -> frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretIdentifier: ...
|
|
177
|
+
def __init__(
|
|
178
|
+
self,
|
|
179
|
+
*,
|
|
180
|
+
account_identifier: frogml._proto.qwak.admiral.secret.v0.account_secret_pb2.AccountSystemSecretIdentifier | None = ...,
|
|
181
|
+
) -> None: ...
|
|
182
|
+
def HasField(self, field_name: typing.Literal["account_identifier", b"account_identifier"]) -> builtins.bool: ...
|
|
183
|
+
def ClearField(self, field_name: typing.Literal["account_identifier", b"account_identifier"]) -> None: ...
|
|
184
|
+
|
|
185
|
+
global___DeleteAccountSystemSecretRequest = DeleteAccountSystemSecretRequest
|
|
186
|
+
|
|
187
|
+
@typing.final
|
|
188
|
+
class DeleteAccountSystemSecretResponse(google.protobuf.message.Message):
|
|
189
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
190
|
+
|
|
191
|
+
def __init__(
|
|
192
|
+
self,
|
|
193
|
+
) -> None: ...
|
|
194
|
+
|
|
195
|
+
global___DeleteAccountSystemSecretResponse = DeleteAccountSystemSecretResponse
|
|
@@ -29,6 +29,21 @@ class SystemSecretServiceStub(object):
|
|
|
29
29
|
request_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetSystemSecretRequest.SerializeToString,
|
|
30
30
|
response_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetSystemSecretResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.SetAccountSystemSecret = channel.unary_unary(
|
|
33
|
+
'/qwak.admiral.secret.v0.SystemSecretService/SetAccountSystemSecret',
|
|
34
|
+
request_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretRequest.SerializeToString,
|
|
35
|
+
response_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.GetAccountSystemSecret = channel.unary_unary(
|
|
38
|
+
'/qwak.admiral.secret.v0.SystemSecretService/GetAccountSystemSecret',
|
|
39
|
+
request_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretRequest.SerializeToString,
|
|
40
|
+
response_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.DeleteAccountSystemSecret = channel.unary_unary(
|
|
43
|
+
'/qwak.admiral.secret.v0.SystemSecretService/DeleteAccountSystemSecret',
|
|
44
|
+
request_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretRequest.SerializeToString,
|
|
45
|
+
response_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretResponse.FromString,
|
|
46
|
+
)
|
|
32
47
|
|
|
33
48
|
|
|
34
49
|
class SystemSecretServiceServicer(object):
|
|
@@ -55,6 +70,27 @@ class SystemSecretServiceServicer(object):
|
|
|
55
70
|
context.set_details('Method not implemented!')
|
|
56
71
|
raise NotImplementedError('Method not implemented!')
|
|
57
72
|
|
|
73
|
+
def SetAccountSystemSecret(self, request, context):
|
|
74
|
+
"""Create or Update a value for an account system secret
|
|
75
|
+
"""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def GetAccountSystemSecret(self, request, context):
|
|
81
|
+
"""Get account system secret
|
|
82
|
+
"""
|
|
83
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
84
|
+
context.set_details('Method not implemented!')
|
|
85
|
+
raise NotImplementedError('Method not implemented!')
|
|
86
|
+
|
|
87
|
+
def DeleteAccountSystemSecret(self, request, context):
|
|
88
|
+
"""Delete account level secret
|
|
89
|
+
"""
|
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
91
|
+
context.set_details('Method not implemented!')
|
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
|
93
|
+
|
|
58
94
|
|
|
59
95
|
def add_SystemSecretServiceServicer_to_server(servicer, server):
|
|
60
96
|
rpc_method_handlers = {
|
|
@@ -73,6 +109,21 @@ def add_SystemSecretServiceServicer_to_server(servicer, server):
|
|
|
73
109
|
request_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetSystemSecretRequest.FromString,
|
|
74
110
|
response_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetSystemSecretResponse.SerializeToString,
|
|
75
111
|
),
|
|
112
|
+
'SetAccountSystemSecret': grpc.unary_unary_rpc_method_handler(
|
|
113
|
+
servicer.SetAccountSystemSecret,
|
|
114
|
+
request_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretRequest.FromString,
|
|
115
|
+
response_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretResponse.SerializeToString,
|
|
116
|
+
),
|
|
117
|
+
'GetAccountSystemSecret': grpc.unary_unary_rpc_method_handler(
|
|
118
|
+
servicer.GetAccountSystemSecret,
|
|
119
|
+
request_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretRequest.FromString,
|
|
120
|
+
response_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretResponse.SerializeToString,
|
|
121
|
+
),
|
|
122
|
+
'DeleteAccountSystemSecret': grpc.unary_unary_rpc_method_handler(
|
|
123
|
+
servicer.DeleteAccountSystemSecret,
|
|
124
|
+
request_deserializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretRequest.FromString,
|
|
125
|
+
response_serializer=qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretResponse.SerializeToString,
|
|
126
|
+
),
|
|
76
127
|
}
|
|
77
128
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
78
129
|
'qwak.admiral.secret.v0.SystemSecretService', rpc_method_handlers)
|
|
@@ -133,3 +184,54 @@ class SystemSecretService(object):
|
|
|
133
184
|
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetSystemSecretResponse.FromString,
|
|
134
185
|
options, channel_credentials,
|
|
135
186
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
187
|
+
|
|
188
|
+
@staticmethod
|
|
189
|
+
def SetAccountSystemSecret(request,
|
|
190
|
+
target,
|
|
191
|
+
options=(),
|
|
192
|
+
channel_credentials=None,
|
|
193
|
+
call_credentials=None,
|
|
194
|
+
insecure=False,
|
|
195
|
+
compression=None,
|
|
196
|
+
wait_for_ready=None,
|
|
197
|
+
timeout=None,
|
|
198
|
+
metadata=None):
|
|
199
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.admiral.secret.v0.SystemSecretService/SetAccountSystemSecret',
|
|
200
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretRequest.SerializeToString,
|
|
201
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.SetAccountSystemSecretResponse.FromString,
|
|
202
|
+
options, channel_credentials,
|
|
203
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
204
|
+
|
|
205
|
+
@staticmethod
|
|
206
|
+
def GetAccountSystemSecret(request,
|
|
207
|
+
target,
|
|
208
|
+
options=(),
|
|
209
|
+
channel_credentials=None,
|
|
210
|
+
call_credentials=None,
|
|
211
|
+
insecure=False,
|
|
212
|
+
compression=None,
|
|
213
|
+
wait_for_ready=None,
|
|
214
|
+
timeout=None,
|
|
215
|
+
metadata=None):
|
|
216
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.admiral.secret.v0.SystemSecretService/GetAccountSystemSecret',
|
|
217
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretRequest.SerializeToString,
|
|
218
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.GetAccountSystemSecretResponse.FromString,
|
|
219
|
+
options, channel_credentials,
|
|
220
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
221
|
+
|
|
222
|
+
@staticmethod
|
|
223
|
+
def DeleteAccountSystemSecret(request,
|
|
224
|
+
target,
|
|
225
|
+
options=(),
|
|
226
|
+
channel_credentials=None,
|
|
227
|
+
call_credentials=None,
|
|
228
|
+
insecure=False,
|
|
229
|
+
compression=None,
|
|
230
|
+
wait_for_ready=None,
|
|
231
|
+
timeout=None,
|
|
232
|
+
metadata=None):
|
|
233
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.admiral.secret.v0.SystemSecretService/DeleteAccountSystemSecret',
|
|
234
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretRequest.SerializeToString,
|
|
235
|
+
qwak_dot_admiral_dot_secret_dot_v0_dot_system__secret__service__pb2.DeleteAccountSystemSecretResponse.FromString,
|
|
236
|
+
options, channel_credentials,
|
|
237
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|