[#292] get namespace endpoint #292

Merged
d.zayakin merged 1 commit from ChEktn/frostfs-testlib:s3_test_feature into support/v0.39 2024-09-18 12:30:07 +00:00

View file

@ -39,6 +39,9 @@ class S3Gate(NodeBase):
def get_endpoint(self) -> str:
return self._get_attribute(ConfigAttributes.ENDPOINT_DATA_0)
def get_ns_endpoint(self, ns_name: str) -> str:
return self._get_attribute(f"{ConfigAttributes.ENDPOINT_DATA_0}_namespace").format(namespace=ns_name)
def get_all_endpoints(self) -> list[str]:
return [
self._get_attribute(ConfigAttributes.ENDPOINT_DATA_0),