| libzypp 17.37.14
    | 
 
  
| Public Member Functions | |
| PackageProviderImpl (RepoMediaAccess &access_r, TPackagePtr &&package_r, PackageProviderPolicy &&policy_r) | |
| Ctor taking the Package to provide. | |
| PackageProviderImpl (const PackageProviderImpl &)=delete | |
| PackageProviderImpl (PackageProviderImpl &&)=delete | |
| PackageProviderImpl & | operator= (const PackageProviderImpl &)=delete | 
| PackageProviderImpl & | operator= (PackageProviderImpl &&)=delete | 
| ~PackageProviderImpl () override | |
| ManagedFile | providePackage () const override | 
| Provide the package. | |
| ManagedFile | providePackageFromCache () const override | 
| Provide the package if it is cached. | |
| bool | isCached () const override | 
| Whether the package is cached. | |
| Public Member Functions inherited from zypp::repo::PackageProvider::Impl | |
| Impl () | |
| Impl (const Impl &)=delete | |
| Impl (Impl &&)=delete | |
| Impl & | operator= (const Impl &)=delete | 
| Impl & | operator= (Impl &&)=delete | 
| virtual | ~Impl () | 
| Protected Types | |
| using | Base = PackageProviderImpl<TPackage> | 
| using | Report = callback::SendReport<repo::DownloadResolvableReport> | 
| Protected Member Functions | |
| ManagedFile | doProvidePackageFromCache () const | 
| Lookup the final rpm in cache. | |
| virtual ManagedFile | doProvidePackage () const | 
| Actually provide the final rpm. | |
| Report & | report () const | 
| Access to the DownloadResolvableReport. | |
| bool | progressPackageDownload (int value) const | 
| Redirect ProvideFilePolicy package download progress to this. | |
| Private Types | |
| using | TPackagePtr = typename TPackage::constPtr | 
| using | UserData = callback::UserData | 
| Validate a rpm packages signature. | |||
| This is the FileChecker passed down to the Fetcher to validate a provided rpm package. This builtin checker includes the workflow communicating with the user in case of a problem with the package signature. 
 
 | |||
| using | ScopedGuard = shared_ptr<void> | ||
| using | RpmDb = target::rpm::RpmDb | ||
| PackageProviderPolicy | _policy | ||
| TPackagePtr | _package | ||
| RepoMediaAccess & | _access | ||
| bool | _retry | ||
| shared_ptr< Report > | _report | ||
| Target_Ptr | _target | ||
| void | rpmSigFileChecker (const Pathname &file_r) const | ||
| RpmDb::CheckPackageResult | packageSigCheck (const Pathname &path_r, bool isMandatory_r, UserData &userData) const | ||
| Actual rpm package signature check. | |||
| void | resolveSignatureErrorAction (repo::DownloadResolvableReport::Action action_r) const | ||
| React on signature verification error user action. | |||
| void | defaultReportSignatureError (RpmDb::CheckPackageResult ret, const std::string &detail_r=std::string()) const | ||
| Default signature verification error handling. | |||
| ScopedGuard | newReport () const | ||
Definition at line 112 of file PackageProvider.cc.
| 
 | private | 
Definition at line 114 of file PackageProvider.cc.
| 
 | private | 
Definition at line 115 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 154 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 155 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 294 of file PackageProvider.cc.
| 
 | private | 
Definition at line 356 of file PackageProvider.cc.
| 
 | inline | 
Ctor taking the Package to provide.
Definition at line 118 of file PackageProvider.cc.
| 
 | delete | 
| 
 | delete | 
| 
 | inlineoverride | 
Definition at line 131 of file PackageProvider.cc.
| 
 | delete | 
| 
 | delete | 
| 
 | overridevirtual | 
Provide the package.
The basic workflow.
| Exception. | 
Implements zypp::repo::PackageProvider::Impl.
Definition at line 376 of file PackageProvider.cc.
| 
 | inlineoverridevirtual | 
Provide the package if it is cached.
Implements zypp::repo::PackageProvider::Impl.
Definition at line 141 of file PackageProvider.cc.
| 
 | inlineoverridevirtual | 
Whether the package is cached.
Implements zypp::repo::PackageProvider::Impl.
Definition at line 150 of file PackageProvider.cc.
| 
 | inlineprotected | 
Lookup the final rpm in cache.
A cache hit will return a non empty ManagedFile and an empty one on cache miss.
Definition at line 164 of file PackageProvider.cc.
| 
 | inlineprotectedvirtual | 
Actually provide the final rpm.
Report start/problem/finish and retry loop are hadled by providePackage. Here you trigger just progress and delta/plugin callbacks as needed.
Proxy method for progressPackageDownload is provided here.
Reimplemented in zypp::repo::RpmPackageProvider.
Definition at line 181 of file PackageProvider.cc.
| 
 | inlineprotected | 
Access to the DownloadResolvableReport.
Definition at line 194 of file PackageProvider.cc.
| 
 | inlineprotected | 
Redirect ProvideFilePolicy package download progress to this.
Definition at line 198 of file PackageProvider.cc.
| 
 | inlineprotected | 
Definition at line 216 of file PackageProvider.cc.
| 
 | inlineprotected | 
Actual rpm package signature check.
Definition at line 297 of file PackageProvider.cc.
| 
 | inlineprotected | 
React on signature verification error user action.
Definition at line 324 of file PackageProvider.cc.
| 
 | inlineprotected | 
Default signature verification error handling.
Definition at line 340 of file PackageProvider.cc.
| 
 | inlineprivate | 
Definition at line 358 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 351 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 352 of file PackageProvider.cc.
| 
 | protected | 
Definition at line 353 of file PackageProvider.cc.
| 
 | mutableprivate | 
Definition at line 369 of file PackageProvider.cc.
| 
 | mutableprivate | 
Definition at line 370 of file PackageProvider.cc.
| 
 | mutableprivate | 
Definition at line 371 of file PackageProvider.cc.