libzypp  15.28.6
zypp::RepoInfo::Impl Struct Reference

RepoInfo implementation. More...

Public Member Functions

 Impl ()
 
 ~Impl ()
 
void setProbedType (const repo::RepoType &t) const
 
Pathname licenseTgz () const
 
const
RepoVariablesReplacedUrlList
baseUrls () const
 
RepoVariablesReplacedUrlListbaseUrls ()
 
bool baseurl2dump () const
 
const
RepoVariablesReplacedUrlList
gpgKeyUrls () const
 
RepoVariablesReplacedUrlListgpgKeyUrls ()
 
const std::set< std::string > & contentKeywords () const
 
void addContent (const std::string &keyword_r)
 
bool hasContent () const
 
bool hasContent (const std::string &keyword_r) const
 
TriBool rawGpgCheck () const
 
TriBool rawRepoGpgCheck () const
 
TriBool rawPkgGpgCheck () const
 
void rawGpgCheck (TriBool val_r)
 
void rawRepoGpgCheck (TriBool val_r)
 
void rawPkgGpgCheck (TriBool val_r)
 
bool cfgGpgCheck () const
 
TriBool cfgRepoGpgCheck () const
 
TriBool cfgPkgGpgCheck () const
 
TriBool internalValidRepoSignature () const
 Signature check result needs to be stored/retrieved from _metadatapath. More...
 
void internalSetValidRepoSignature (TriBool value_r)
 
bool internalUnsignedConfirmed () const
 We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e. More...
 
bool triBoolFromPath (const Pathname &path_r, TriBool &ret_r) const
 
TriBool triBoolFromPath (const Pathname &path_r) const
 

Public Attributes

TriBool keeppackages
 
RepoVariablesReplacedUrl _mirrorListUrl
 
bool _mirrorListForceMetalink
 
repo::RepoType type
 
Pathname path
 
std::string service
 
std::string targetDistro
 
Pathname metadatapath
 
Pathname packagespath
 
DefaultIntegral< unsigned,
defaultPriority
priority
 
bool emptybaseurls
 
repo::RepoVariablesUrlReplacer replacer
 

Static Public Attributes

static const unsigned defaultPriority = 99
 
static const unsigned noPriority = unsigned(-1)
 

Private Member Functions

Implclone () const
 clone for RWCOW_pointer More...
 

Private Attributes

TriBool _rawGpgCheck
 default gpgcheck behavior: Y/N/ZConf More...
 
TriBool _rawRepoGpgCheck
 need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _rawPkgGpgCheck
 need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _validRepoSignature
 have signed and valid repo metadata More...
 
RepoVariablesReplacedUrlList _baseUrls
 
std::pair< FalseBool, std::set
< std::string > > 
_keywords
 
RepoVariablesReplacedUrlList _gpgKeyUrls
 

Friends

ImplrwcowClone (const Impl *rhs)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RepoInfo::Impl &obj)
 

Detailed Description

RepoInfo implementation.

Definition at line 43 of file RepoInfo.cc.

Constructor & Destructor Documentation

zypp::RepoInfo::Impl::Impl ( )
inline

Definition at line 45 of file RepoInfo.cc.

zypp::RepoInfo::Impl::~Impl ( )
inline

Definition at line 56 of file RepoInfo.cc.

Member Function Documentation

void zypp::RepoInfo::Impl::setProbedType ( const repo::RepoType t) const
inline

Definition at line 63 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::licenseTgz ( ) const
inline

Definition at line 74 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( ) const
inline

Definition at line 77 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( )
inline

Definition at line 90 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::baseurl2dump ( ) const
inline

Definition at line 93 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( ) const
inline

Definition at line 97 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( )
inline

Definition at line 100 of file RepoInfo.cc.

const std::set<std::string>& zypp::RepoInfo::Impl::contentKeywords ( ) const
inline

Definition at line 104 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::addContent ( const std::string &  keyword_r)
inline

Definition at line 107 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::hasContent ( ) const
inline

Definition at line 110 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::hasContent ( const std::string &  keyword_r) const
inline

Definition at line 155 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::internalValidRepoSignature ( ) const
inline

Signature check result needs to be stored/retrieved from _metadatapath.

Don't call them from outside validRepoSignature/setValidRepoSignature

Definition at line 162 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::internalSetValidRepoSignature ( TriBool  value_r)
inline

Definition at line 176 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::internalUnsignedConfirmed ( ) const
inline

We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e.

user accepted the unsigned repo in Downloader. A test whether internalValidRepoSignature is indeterminate would include not yet checked repos, which is unwanted here.

Definition at line 198 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r,
TriBool ret_r 
) const
inline

Definition at line 204 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r) const
inline

Definition at line 230 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawGpgCheck ( ) const
inline

Definition at line 241 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawRepoGpgCheck ( ) const
inline

Definition at line 242 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawPkgGpgCheck ( ) const
inline

Definition at line 243 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawGpgCheck ( TriBool  val_r)
inline

Definition at line 245 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawRepoGpgCheck ( TriBool  val_r)
inline

Definition at line 246 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawPkgGpgCheck ( TriBool  val_r)
inline

Definition at line 247 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::cfgGpgCheck ( ) const
inline

Definition at line 249 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgRepoGpgCheck ( ) const
inline

Definition at line 251 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgPkgGpgCheck ( ) const
inline

Definition at line 253 of file RepoInfo.cc.

Impl* zypp::RepoInfo::Impl::clone ( ) const
inlineprivate

clone for RWCOW_pointer

Definition at line 280 of file RepoInfo.cc.

Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs)
friend
std::ostream & operator<< ( std::ostream &  str,
const RepoInfo::Impl obj 
)
related

Stream output

Definition at line 286 of file RepoInfo.cc.

Member Data Documentation

const unsigned zypp::RepoInfo::Impl::defaultPriority = 99
static

Definition at line 60 of file RepoInfo.cc.

const unsigned zypp::RepoInfo::Impl::noPriority = unsigned(-1)
static

Definition at line 61 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawGpgCheck
private

default gpgcheck behavior: Y/N/ZConf

Definition at line 236 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawRepoGpgCheck
private

need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 237 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawPkgGpgCheck
private

need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 238 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_validRepoSignature
private

have signed and valid repo metadata

Definition at line 257 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::keeppackages

Definition at line 259 of file RepoInfo.cc.

RepoVariablesReplacedUrl zypp::RepoInfo::Impl::_mirrorListUrl

Definition at line 260 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::_mirrorListForceMetalink

Definition at line 261 of file RepoInfo.cc.

repo::RepoType zypp::RepoInfo::Impl::type

Definition at line 262 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::path

Definition at line 263 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::service

Definition at line 264 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::targetDistro

Definition at line 265 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::metadatapath

Definition at line 266 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::packagespath

Definition at line 267 of file RepoInfo.cc.

DefaultIntegral<unsigned,defaultPriority> zypp::RepoInfo::Impl::priority

Definition at line 268 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::emptybaseurls
mutable

Definition at line 269 of file RepoInfo.cc.

repo::RepoVariablesUrlReplacer zypp::RepoInfo::Impl::replacer

Definition at line 270 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_baseUrls
mutableprivate

Definition at line 273 of file RepoInfo.cc.

std::pair<FalseBool, std::set<std::string> > zypp::RepoInfo::Impl::_keywords
mutableprivate

Definition at line 274 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_gpgKeyUrls
private

Definition at line 276 of file RepoInfo.cc.


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