libzypp 17.31.23
|
Repository metadata verification beyond GPG. More...
#include <repo/PluginRepoverification.h>
Classes | |
class | Checker |
FileChecker checking all repoverification plugins. More... | |
class | Impl |
PluginRepoverification implementation. More... | |
Public Member Functions | |
PluginRepoverification () | |
Default ctor, do nothing. | |
PluginRepoverification (Pathname plugindir_r, Pathname chroot_r=Pathname()) | |
Ctor monitoring a plugindir_r and optional chroot for plugin execution. | |
~PluginRepoverification () | |
Dtor. | |
bool | isNeeded () const |
Whether the last checkIfNeeded found plugins to execute at all. | |
bool | checkIfNeeded () |
Checks whether there are plugins to execute at all. | |
Checker | getChecker (const Pathname &sigpathLocal_r, const Pathname &keypathLocal_r, const RepoInfo &repo_r) const |
FileChecker factory remembering the location of the master index files GPG signature and key. | |
Private Types | |
using | ExceptionType = PluginRepoverificationCheckException |
Private Attributes | |
RW_pointer< Impl > | _pimpl |
Implementation class. | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const PluginRepoverification &obj) |
std::ostream & | dumpOn (std::ostream &str, const PluginRepoverification &obj) |
bool | operator== (const PluginRepoverification &lhs, const PluginRepoverification &rhs) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const PluginRepoverification &obj) |
Stream output. | |
std::ostream & | dumOn (std::ostream &str, const PluginRepoverification &obj) |
Verbose stream output. | |
bool | operator== (const PluginRepoverification &lhs, const PluginRepoverification &rhs) |
bool | operator!= (const PluginRepoverification &lhs, const PluginRepoverification &rhs) |
Repository metadata verification beyond GPG.
Implements the repoverification plugin setup and workflow. Also serves as factory for a file FileChecker that can be passed to e.g. repo::Downloader when fetching the repos master index file.
If a root dir is defined, plugin scripts will be executed chrooted.
Definition at line 52 of file PluginRepoverification.h.
|
private |
Definition at line 58 of file PluginRepoverification.h.
zypp_private::repo::PluginRepoverification::PluginRepoverification | ( | ) |
Default ctor, do nothing.
Definition at line 261 of file PluginRepoverification.cc.
zypp_private::repo::PluginRepoverification::PluginRepoverification | ( | Pathname | plugindir_r, |
Pathname | chroot_r = Pathname() |
||
) |
Ctor monitoring a plugindir_r and optional chroot for plugin execution.
Definition at line 265 of file PluginRepoverification.cc.
zypp_private::repo::PluginRepoverification::~PluginRepoverification | ( | ) |
Dtor.
Definition at line 269 of file PluginRepoverification.cc.
bool zypp_private::repo::PluginRepoverification::isNeeded | ( | ) | const |
Whether the last checkIfNeeded found plugins to execute at all.
Definition at line 273 of file PluginRepoverification.cc.
bool zypp_private::repo::PluginRepoverification::checkIfNeeded | ( | ) |
Checks whether there are plugins to execute at all.
Definition at line 276 of file PluginRepoverification.cc.
PluginRepoverification::Checker zypp_private::repo::PluginRepoverification::getChecker | ( | const Pathname & | sigpathLocal_r, |
const Pathname & | keypathLocal_r, | ||
const RepoInfo & | repo_r | ||
) | const |
FileChecker factory remembering the location of the master index files GPG signature and key.
Definition at line 279 of file PluginRepoverification.cc.
|
friend |
Definition at line 284 of file PluginRepoverification.cc.
|
friend |
Definition at line 287 of file PluginRepoverification.cc.
|
friend |
Definition at line 290 of file PluginRepoverification.cc.
|
related |
Stream output.
Definition at line 284 of file PluginRepoverification.cc.
|
related |
Verbose stream output.
|
related |
Definition at line 290 of file PluginRepoverification.cc.
|
related |
Definition at line 121 of file PluginRepoverification.h.
|
private |
Implementation class.
Pointer to implementation (ref).
Definition at line 108 of file PluginRepoverification.h.