|
libzypp 17.37.1
|
Repository metadata verification beyond GPG. More...
#include <zypp/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 (Pathname sigpathLocal_r, Pathname keypathLocal_r, 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 Symbols | |
(Note that these are not member symbols.) | |
| std::ostream & | operator<< (std::ostream &str, const PluginRepoverification::Impl &obj) |
| Stream output. | |
| std::ostream & | dumpOn (std::ostream &str, const PluginRepoverification::Impl &obj) |
| Verbose stream output. | |
| 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 266 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 270 of file PluginRepoverification.cc.
| zypp_private::repo::PluginRepoverification::~PluginRepoverification | ( | ) |
Dtor.
Definition at line 274 of file PluginRepoverification.cc.
| bool zypp_private::repo::PluginRepoverification::isNeeded | ( | ) | const |
Whether the last checkIfNeeded found plugins to execute at all.
Definition at line 278 of file PluginRepoverification.cc.
| bool zypp_private::repo::PluginRepoverification::checkIfNeeded | ( | ) |
Checks whether there are plugins to execute at all.
Definition at line 281 of file PluginRepoverification.cc.
| PluginRepoverification::Checker zypp_private::repo::PluginRepoverification::getChecker | ( | Pathname | sigpathLocal_r, |
| Pathname | keypathLocal_r, | ||
| RepoInfo | repo_r ) const |
FileChecker factory remembering the location of the master index files GPG signature and key.
Definition at line 284 of file PluginRepoverification.cc.
|
friend |
Definition at line 288 of file PluginRepoverification.cc.
|
friend |
Definition at line 291 of file PluginRepoverification.cc.
|
friend |
Definition at line 294 of file PluginRepoverification.cc.
|
Stream output.
Definition at line 288 of file PluginRepoverification.cc.
|
Verbose stream output.
|
Definition at line 294 of file PluginRepoverification.cc.
|
Definition at line 121 of file PluginRepoverification.h.
|
private |
Implementation class.
Pointer to implementation (ref).
Definition at line 108 of file PluginRepoverification.h.