/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
cloud/blockstore/libs/cells/impl/cell.h
31 строка
994 B
yegorskii
get rid of NCloud::HasField in cells config (#4178)
21 авг 2025, 11:58
Не верифицирован
21 авг 2025, 11:58
2d1f803
Код
Авторство
О чём код?
#pragma once #include "bootstrap.h" #include <cloud/blockstore/libs/cells/iface/config.h> #include <cloud/blockstore/libs/cells/iface/host_endpoint.h> #include <cloud/blockstore/libs/client/client.h> #include <cloud/blockstore/libs/client/config.h> namespace NCloud::NBlockStore::NCells { //////////////////////////////////////////////////////////////////////////////// struct ICell: public IStartable { [[nodiscard]] virtual TResultOrError<TCellHostEndpoint> GetCellClient( const NClient::TClientAppConfigPtr& clientConfig) = 0; [[nodiscard]] virtual TCellHostEndpoints GetCellClients( const NClient::TClientAppConfigPtr& clientConfig) = 0; }; using ICellPtr = std::shared_ptr<ICell>; //////////////////////////////////////////////////////////////////////////////// ICellPtr CreateCell(TBootstrap bootstrap, TCellConfigPtr config); //////////////////////////////////////////////////////////////////////////////// } // namespace NCloud::NBlockStore::NCells