userver: dump::EncryptedOperationsFactory Class Reference
Loading...
Searching...
No Matches
dump::EncryptedOperationsFactory Class Referencefinal

Detailed Description

Definition at line 71 of file operations_encrypted.hpp.

Inheritance diagram for dump::EncryptedOperationsFactory:

Public Member Functions

 EncryptedOperationsFactory (SecretKey &&secret_key, std::filesystem::perms perms)
 Creates a factory that encrypts dumps with the specified key and writes them with the specified permissions.
template<fs::blocking::impl::LegacyPermissions Permissions>
 EncryptedOperationsFactory (SecretKey &&secret_key, Permissions perms)
std::unique_ptr< Reader > CreateReader (std::string full_path) override
std::unique_ptr< Writer > CreateWriter (std::string full_path, tracing::ScopeTime &scope) override

Constructor & Destructor Documentation

◆ EncryptedOperationsFactory()

template<fs::blocking::impl::LegacyPermissions Permissions>
dump::EncryptedOperationsFactory::EncryptedOperationsFactory ( SecretKey && secret_key,
Permissions perms )
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Accepts boost::filesystem::perms; permission option flags are ignored.

Deprecated
use the std::filesystem overload

Definition at line 81 of file operations_encrypted.hpp.

Member Function Documentation

◆ CreateReader()

std::unique_ptr< Reader > dump::EncryptedOperationsFactory::CreateReader ( std::string full_path)
overridevirtual

◆ CreateWriter()

std::unique_ptr< Writer > dump::EncryptedOperationsFactory::CreateWriter ( std::string full_path,
tracing::ScopeTime & scope )
overridevirtual

The documentation for this class was generated from the following file: