Package coprs :: Module models :: Class MockChroot
[hide private]
[frames] | no frames]

Class MockChroot

source code


Representation of mock chroot

Instance Methods [hide private]
 
name(self)
Textual representation of name of this chroot
source code
 
name_release(self)
Textual representation of name of this or release
source code
 
os(self)
Textual representation of the operating system name
source code
 
serializable_attributes(self) source code

Inherited from helpers.Serializer: to_dict

Class Methods [hide private]
 
latest_fedora_branched_chroot(cls, arch='x86_64') source code
Class Variables [hide private]
  __table_args__ = db.UniqueConstraint('os_release', 'os_version...
  id = db.Column(db.Integer, primary_key= True)
  os_release = db.Column(db.String(50), nullable= False)
  os_version = db.Column(db.String(50), nullable= False)
  arch = db.Column(db.String(50), nullable= False)
  is_active = db.Column(db.Boolean, default= True)
  distgit_branch_name = db.Column(db.String(50), db.ForeignKey("...
  distgit_branch = db.relationship("DistGitBranch", backref= db....
Method Details [hide private]

name(self)

source code 

Textual representation of name of this chroot

Decorators:
  • @property

name_release(self)

source code 

Textual representation of name of this or release

Decorators:
  • @property

os(self)

source code 

Textual representation of the operating system name

Decorators:
  • @property

serializable_attributes(self)

source code 
Decorators:
  • @property
Overrides: helpers.Serializer.serializable_attributes

Class Variable Details [hide private]

__table_args__

Value:
db.UniqueConstraint('os_release', 'os_version', 'arch', name= 'mock_ch\
root_uniq'),

distgit_branch_name

Value:
db.Column(db.String(50), db.ForeignKey("dist_git_branch.name"), nullab\
le= False)

distgit_branch

Value:
db.relationship("DistGitBranch", backref= db.backref("chroots"))