Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::MountedSSHStoreConfig Struct Reference
Inheritance diagram for nix::MountedSSHStoreConfig:
nix::SSHStoreConfig nix::LocalFSStoreConfig nix::RemoteStoreConfig nix::CommonSSHStoreConfig nix::StoreConfig nix::StoreConfig nix::StoreConfig nix::StoreConfigBase nix::StoreDirConfig nix::StoreConfigBase nix::StoreDirConfig nix::StoreConfigBase nix::StoreDirConfig nix::Config nix::Config nix::Config nix::AbstractConfig nix::AbstractConfig nix::AbstractConfig

Public Member Functions

 MountedSSHStoreConfig (StringMap params)
 MountedSSHStoreConfig (const ParsedURL::Authority &authority, StringMap params)
ref< Store > openStore () const override
Public Member Functions inherited from nix::SSHStoreConfig
 SSHStoreConfig (const Params &params)
 SSHStoreConfig (const ParsedURL::Authority &authority, const Params &params)
ref< Store > openStore () const override
StoreReference getReference () const override
Public Member Functions inherited from nix::RemoteStoreConfig
 RemoteStoreConfig (const Params &params, FilePathType pathType)
Public Member Functions inherited from nix::StoreConfig
 StoreConfig (const Params &params, FilePathType pathType)
StringMap getQueryParams () const
virtual bool getReadOnly () const
virtual std::string getHumanReadableURI () const
Public Member Functions inherited from nix::StoreConfigBase
 StoreConfigBase (const StoreReference::Params &params, FilePathType pathType)
Public Member Functions inherited from nix::Config
 Config (StringMap initials={})
bool set (const std::string &name, const std::string &value) override
void addSetting (AbstractSetting *setting)
void getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) const override
void resetOverridden () override
nlohmann::json toJSON () override
std::string toKeyValue (bool overriddenOnly=false) override
void convertToArgs (Args &args, const std::string &category) override
Public Member Functions inherited from nix::AbstractConfig
void applyConfig (const std::string &contents, const std::string &path="<unknown>")
void warnUnknownSettings ()
void reapplyUnknownSettings ()
Public Member Functions inherited from nix::StoreDirConfig
StorePath parseStorePath (std::string_view path) const
StorePath parseStorePathCanonical (std::string_view path) const
std::optional< StorePath > maybeParseStorePath (std::string_view path) const
std::string printStorePath (const StorePath &path) const
StringSet printStorePathSet (const StorePathSet &path) const
std::size_t maxCanonicalStorePathLen () const noexcept
bool isInStore (std::string_view path) const
bool isStorePath (std::string_view path) const
std::pair< StorePath, CanonPath > toStorePath (std::string_view path) const
StorePath makeStorePath (std::string_view type, std::string_view hash, std::string_view name) const
StorePath makeStorePath (std::string_view type, const Hash &hash, std::string_view name) const
StorePath makeOutputPath (std::string_view id, const Hash &hash, std::string_view name) const
StorePath makeFixedOutputPath (std::string_view name, const FixedOutputInfo &info) const
StorePath makeFixedOutputPathFromCA (std::string_view name, const ContentAddressWithReferences &ca) const
std::pair< StorePath, Hash > computeStorePath (std::string_view name, const SourcePath &path, ContentAddressMethod method=ContentAddressMethod::Raw::NixArchive, HashAlgorithm hashAlgo=HashAlgorithm::SHA256, const StorePathSet &references={}, PathFilter &filter=defaultPathFilter) const
Public Member Functions inherited from nix::CommonSSHStoreConfig
 CommonSSHStoreConfig (const Params &params)
 CommonSSHStoreConfig (const ParsedURL::Authority &authority, const Params &params)
SSHMaster createSSHMaster (bool useMaster, Descriptor logFD=INVALID_DESCRIPTOR) const
Public Member Functions inherited from nix::LocalFSStoreConfig
 LocalFSStoreConfig (const Params &params)
 LocalFSStoreConfig (const std::filesystem::path &path, const Params &params)
const std::filesystem::path & getStateDir () const override
const std::filesystem::path & getLogDir () const override

Static Public Member Functions

static const std::string name ()
static StringSet uriSchemes ()
static std::string doc ()
static std::optional< ExperimentalFeature > experimentalFeature ()
Static Public Member Functions inherited from nix::SSHStoreConfig
static const std::string name ()
static StringSet uriSchemes ()
static std::string doc ()
Static Public Member Functions inherited from nix::StoreConfig
static StringSet getDefaultSystemFeatures ()
static std::string doc ()
static std::optional< ExperimentalFeature > experimentalFeature ()

Additional Inherited Members

Public Types inherited from nix::StoreConfig
using Params = StoreReference::Params
Public Types inherited from nix::Config
using Settings = std::map<std::string, SettingData>
Public Attributes inherited from nix::SSHStoreConfig
Setting< Strings > remoteProgram
Public Attributes inherited from nix::RemoteStoreConfig
Setting< int > maxConnections
Setting< unsigned int > maxConnectionAge
Public Attributes inherited from nix::StoreConfig
Setting< int > pathInfoCacheSize
Setting< bool > isTrusted
Setting< int > priority
Setting< bool > wantMassQuery
Setting< StringSet > systemFeatures
Public Attributes inherited from nix::StoreConfigBase
StoreDirSetting storeDir_
Public Attributes inherited from nix::StoreDirConfig
const std::string & storeDir
Public Attributes inherited from nix::CommonSSHStoreConfig
Setting< std::optional< AbsolutePath > > sshKey
Setting< std::string > sshPublicHostKey
Setting< bool > compress {this, false, "compress", "Whether to enable SSH compression."}
Setting< std::string > remoteStore
ParsedURL::Authority authority
Public Attributes inherited from nix::LocalFSStoreConfig
Setting< std::optional< AbsolutePath > > rootDir = makeRootDirSetting(*this, std::nullopt)
Setting< AbsolutePath > stateDir
Setting< AbsolutePath > logDir
Setting< AbsolutePath > realStoreDir
Protected Types inherited from nix::StoreConfigBase
enum struct  FilePathType { Unix , Native }
Protected Member Functions inherited from nix::AbstractConfig
 AbstractConfig (StringMap initials={})
Protected Attributes inherited from nix::AbstractConfig
StringMap unknownSettings

Member Function Documentation

◆ openStore()

ref< Store > nix::MountedSSHStore::Config::openStore ( ) const
overridevirtual

Open a store of the type corresponding to this configuration type.

Implements nix::StoreConfig.


The documentation for this struct was generated from the following files:
  • libstore/include/nix/store/ssh-store.hh
  • libstore/ssh-store.cc