Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SSHStore::Connection Struct Reference
Inheritance diagram for nix::SSHStore::Connection:
nix::RemoteStore::Connection nix::WorkerProto::BasicClientConnection nix::WorkerProto::ClientHandshakeInfo nix::WorkerProto::BasicConnection

Public Member Functions

void closeWrite () override
Public Member Functions inherited from nix::WorkerProto::BasicClientConnection
virtual ~BasicClientConnection ()
std::exception_ptr processStderrReturn (Sink *sink=0, Source *source=0, bool flush=true, bool block=true)
void processStderr (bool *daemonException, Sink *sink=0, Source *source=0, bool flush=true, bool block=true)
ClientHandshakeInfo postHandshake (const StoreDirConfig &store)
void addTempRoot (const StoreDirConfig &remoteStore, bool *daemonException, const StorePath &path)
StorePathSet queryValidPaths (const StoreDirConfig &remoteStore, bool *daemonException, const StorePathSet &paths, SubstituteFlag maybeSubstitute)
std::optional< UnkeyedValidPathInfo > queryPathInfo (const StoreDirConfig &store, bool *daemonException, const StorePath &path)
void putBuildDerivationRequest (const StoreDirConfig &store, bool *daemonException, const StorePath &drvPath, const BasicDerivation &drv, BuildMode buildMode)
BuildResult getBuildDerivationResponse (const StoreDirConfig &store, bool *daemonException)
void narFromPath (const StoreDirConfig &store, bool *daemonException, const StorePath &path, fun< void(Source &)> receiveNar)
Public Member Functions inherited from nix::WorkerProto::BasicConnection
 operator WorkerProto::ReadConn ()
 operator WorkerProto::WriteConn ()
Public Member Functions inherited from nix::WorkerProto::ClientHandshakeInfo
bool operator== (const ClientHandshakeInfo &) const =default

Public Attributes

std::unique_ptr< SSHMaster::Connection > sshConn
Public Attributes inherited from nix::RemoteStore::Connection
std::chrono::time_point< std::chrono::steady_clock > startTime
LRUCache< StorePath, std::monostate > tempRootsPinned {65536}
Public Attributes inherited from nix::WorkerProto::BasicConnection
FdSink to
FdSource from
WorkerProto::Version protoVersion
Public Attributes inherited from nix::WorkerProto::ClientHandshakeInfo
std::optional< std::string > daemonNixVersion
std::optional< TrustedFlag > remoteTrustsUs

Additional Inherited Members

Static Public Member Functions inherited from nix::WorkerProto::BasicClientConnection
static Version handshake (BufferedSink &to, Source &from, const Version &localVersion)

Member Function Documentation

◆ closeWrite()

void nix::SSHStore::Connection::closeWrite ( )
inlineoverridevirtual

The documentation for this struct was generated from the following file:
  • libstore/ssh-store.cc