From 9ab21a7f3d7e349b05ceaad5862d7e72a6d7e7b4 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 1 Jul 2024 14:56:32 +0200 Subject: Pass Auth::TLS instance to BazelApi and ServeApi --- src/other_tools/just_mr/setup_utils.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/other_tools/just_mr/setup_utils.hpp') diff --git a/src/other_tools/just_mr/setup_utils.hpp b/src/other_tools/just_mr/setup_utils.hpp index f29dbef1..2ae08d41 100644 --- a/src/other_tools/just_mr/setup_utils.hpp +++ b/src/other_tools/just_mr/setup_utils.hpp @@ -60,16 +60,17 @@ void DefaultReachableRepositories( std::optional const& absent_file_opt) noexcept -> std::shared_ptr; -void SetupRemoteConfig(std::optional const& remote_exec_addr, - std::optional const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) noexcept; +void SetupAuthConfig(MultiRepoRemoteAuthArguments const& authargs) noexcept; + +void SetupRemoteConfig( + std::optional const& remote_exec_addr, + std::optional const& remote_serve_addr) noexcept; /// \brief Setup of a 'just serve' remote API based on just-mr arguments. -/// \returns RemoteServeConfig if initialization was successfull or std::nullopt +/// \returns RemoteServeConfig if initialization was successful or std::nullopt /// if failed. [[nodiscard]] auto CreateServeConfig( - std::optional const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) noexcept + std::optional const& remote_serve_addr) noexcept -> std::optional; } // namespace Utils -- cgit v1.2.3