frostfs-testlib/src/frostfs_testlib/storage/grpc_operations/client_wrappers.py
Dmitriy Zayakin c27fb5747b [#376] Added ape manager group command to grpc client
Signed-off-by: Dmitriy Zayakin
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2025-05-06 12:50:11 +00:00

15 lines
781 B
Python

from frostfs_testlib.cli.frostfs_cli.cli import FrostfsCli
from frostfs_testlib.storage.grpc_operations import implementations, interfaces, interfaces_wrapper
class CliClientWrapper(interfaces_wrapper.GrpcClientWrapper):
def __init__(self, cli: FrostfsCli) -> None:
self.cli = cli
self.object: interfaces.ObjectInterface = implementations.ObjectOperations(self.cli)
self.container: interfaces.ContainerInterface = implementations.ContainerOperations(self.cli)
self.netmap: interfaces.NetmapInterface = implementations.NetmapOperations(self.cli)
self.ape_manager: interfaces.ApeManagerInterface = implementations.ApeManagerOperations(self.cli)
class RpcClientWrapper(interfaces_wrapper.GrpcClientWrapper):
pass # The next series