aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkivedernikov <kivedernikov@yandex-team.com>2024-07-02 14:11:50 +0300
committerkivedernikov <kivedernikov@yandex-team.com>2024-07-02 14:22:20 +0300
commitaa95a328ada306559bd361a96c5348829d0e562e (patch)
tree609534f315c97e3d0f7b7a6e22c6e30f2c2e612d
parentdd2d8a66405a840578159546cbf0e9c3f4dd6350 (diff)
downloadydb-aa95a328ada306559bd361a96c5348829d0e562e.tar.gz
Introduce user directory in cypress proxy
wip 8fab7c3ecef51653c9686b12a30a8bccedf8261a
-rw-r--r--yt/yt/client/api/etc_client.h2
-rw-r--r--yt/yt/client/object_client/public.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/yt/yt/client/api/etc_client.h b/yt/yt/client/api/etc_client.h
index a485c87ae1..90e08fd8b2 100644
--- a/yt/yt/client/api/etc_client.h
+++ b/yt/yt/client/api/etc_client.h
@@ -23,6 +23,7 @@ struct TGetClusterMetaOptions
bool PopulateMasterCacheNodeAddresses = false;
bool PopulateTimestampProviderAddresses = false;
bool PopulateFeatures = false;
+ bool PopulateUserDirectory = false;
};
struct TClusterMeta
@@ -30,6 +31,7 @@ struct TClusterMeta
std::shared_ptr<NNodeTrackerClient::NProto::TNodeDirectory> NodeDirectory;
std::shared_ptr<NHiveClient::NProto::TClusterDirectory> ClusterDirectory;
std::shared_ptr<NChunkClient::NProto::TMediumDirectory> MediumDirectory;
+ std::shared_ptr<NObjectClient::NProto::TUserDirectory> UserDirectory;
std::vector<TString> MasterCacheNodeAddresses;
std::vector<TString> TimestampProviderAddresses;
NYTree::IMapNodePtr Features;
diff --git a/yt/yt/client/object_client/public.h b/yt/yt/client/object_client/public.h
index 3e755b4d8b..0b62274f1c 100644
--- a/yt/yt/client/object_client/public.h
+++ b/yt/yt/client/object_client/public.h
@@ -17,6 +17,14 @@ namespace NYT::NObjectClient {
////////////////////////////////////////////////////////////////////////////////
+namespace NProto {
+
+class TUserDirectory;
+
+} // namespace NProto
+
+////////////////////////////////////////////////////////////////////////////////
+
YT_DEFINE_ERROR_ENUM(
((PrerequisiteCheckFailed) (1000))
((InvalidObjectLifeStage) (1001))