/pkg/src/modules/ |
H A D | p5s.py | 45 The second element is a dictionary of image properties. 112 pub.properties["signature-policy"] = v 115 pub.properties["signature-required-names"] = v 168 'cfg' is an ImageConfig which contains the properties of the image on 253 sp = p.properties.get("signature-policy") 257 srn = p.properties.get("signature-required-names") 260 p.properties["signature-required-names"]
|
H A D | config.py | 34 Provides storage and retrieval of property sections and properties via 38 Provides storage and retrieval of property data via its child properties. 218 """Base class for properties.""" 335 properties to an existing configuration object if the property name 393 """Class representing properties with a boolean value.""" 470 """Class representing properties with a publisher prefix/alias value.""" 489 """Class representing properties with that can only have one of a set 544 """Class representing properties with a list of string values that may 601 """Class representing properties with a value specified as a list of 743 """Class representing publisher URI properties [all...] |
/pkg/src/modules/client/ |
H A D | imageconfig.py | 106 URLs, publishers, properties, etc. that allow an Image to operate.""" 108 # This dictionary defines the set of default properties and property 112 cfg.PropertySection("filter", properties=[]), 113 cfg.PropertySection("image", properties=[ 116 cfg.PropertySection("property", properties=[ 127 cfg.PropertySection("variant", properties=[]), 128 cfg.PropertySectionTemplate("^authority_.*", properties=[ 162 cfg.PropertySection("image", properties=[ 167 cfg.PropertySection("property", properties=[ 197 cfg.PropertySection("facet", properties [all...] |
H A D | publisher.py | 107 # The strings in the value field refer to the boolean properties of the 145 # These properties are declared here so that they show up in the pydoc 172 # Note that the properties set here are intentionally lacking 511 """A method used to prevent certain properties defined in the 521 # Ensure we can't set any of the following properties. 523 "proxies is an invalid property for ProxyURI properties") 526 "ssl_cert is an invalid property for ProxyURI properties") 529 "ssl_key is an invalid property for ProxyURI properties") 532 "priority is an invalid property for ProxyURI properties") 535 "trailing_slash is an invalid property for ProxyURI properties") 3097 properties = DictProperty(__get_prop, __set_prop, __del_prop, variable [all...] |
H A D | client_api.py | 108 properties=props) 128 subcommand), properties=props, required=required) 132 properties = {} 143 properties[optn] = schema 145 properties[opt] = schema 147 properties[opt] = schema 158 "properties": properties 167 "properties": { 182 "properties" [all...] |
H A D | rad_pkg.py | 215 properties = property(get_any("_properties"), set_any("_properties")) variable in class:PkgPublisher
|
H A D | image.py | 641 ensure ssl_cert and ssl_key properties of publisher repository 1568 def set_properties(self, properties): 1569 properties = { "property": properties } 1571 self.cfg.set_properties(properties) 1617 def properties(self): member in class:Image
|
/pkg/src/tests/api/ |
H A D | t_config.py | 163 # properties don't cause a traceback. 229 """Verify boolean properties work as expected.""" 270 """Verify defined properties work as expected.""" 297 """Verify integer properties work as expected.""" 436 """Verify list properties work as expected.""" 539 """Verify publisher properties work as expected.""" 575 """Verify simple list properties work as expected.""" 630 """Verify publisher URI properties work as expected.""" 670 """Verify publisher URI list properties work as expected.""" 714 """Verify publisher URI list properties wor [all...] |
H A D | t_pkg_api_install.py | 718 properties={ "publisher": { "prefix": "test2" } })
|
/pkg/src/tests/cli/ |
H A D | t_pkg_sysrepo.py | 189 # names to tuples of (image properties, PC objects). The image 190 # properties are stored in a dictionary that maps the name of 1842 p.prefix + ":" + p.properties["signature-policy"], 1862 p.prefix + ":" + p.properties["signature-policy"], 1883 p.prefix + ":" + p.properties["signature-policy"]) 1886 " ".join(p.properties["signature-required-names"])) 1907 p.properties["signature-policy"], 1911 p.properties) 1915 p.properties["signature-policy"], 1942 p.properties["signatur [all...] |
H A D | t_pkg_publisher.py | 451 """Test that properties set on publishers are correctly 574 self.create_repo(repo_dir, properties={ "publisher": { 583 self.create_repo(repo_dir, properties={ "publisher": { 591 self.create_repo(repo_dir, properties={ "publisher": { 1099 self.create_repo(repo_path, properties={ "publisher": {
|
H A D | t_pkgsend.py | 754 properties={ "publisher": { "prefix": "test" }}) 783 properties={ "publisher": { "prefix": "test" } }) 790 properties={ "publisher": { "prefix": "test" } }) 815 properties={ "publisher": { "prefix": "test" } })
|
H A D | t_fix.py | 527 self.create_repo(repodir, properties={ "publisher": {
|
H A D | t_pkg_depotd.py | 528 self.create_repo(repopath, properties={ "publisher": { 996 # Apply publisher properties and update.
|
H A D | t_pkg_install.py | 622 self.create_repo(t1dir, properties={ "publisher": { 637 self.create_repo(t2dir, properties={ "publisher": { 668 self.create_repo(t1dir, properties={ "publisher": { 683 self.create_repo(t2dir, properties={ "publisher": {
|
H A D | t_pkgrepo.py | 307 # Verify get handles unknown properties gracefully. 311 # properties cannot be found. 420 # Verify set can set single value properties. 429 # Verify set can set multi-value properties. 439 # Verify set can set unknown properties. 457 # Verify setting publisher properties fails for version 3 471 # Add a publisher by setting properties for one that doesn't 478 # Verify get handles unknown properties gracefully. 482 # Verify get returns partial failure if only some properties 569 # properties tha [all...] |
/pkg/src/ |
H A D | depot.py | 845 sr.repository_create(inst_root, properties=repo_props) 858 log_obj=cherrypy, mirror=mirror, properties=repo_props,
|
H A D | client.py | 3949 # All other properties are single value, so if only one (or no) 4022 # If specific properties were named, list them in the order 4024 pargs = sorted(list(img.properties())) 4247 command line into a dictionary. Make sure duplicate properties were 4274 List the linked image properties associated with a child or parent 4318 Change the specified linked image properties. This may result in 4608 usage(_("properties to be set must be of the "
|
/pkg/src/modules/server/ |
H A D | repository.py | 2567 properties=misc.EmptyDict, read_only=False, root=None, 2608 create=create, properties=properties) 2613 properties=misc.EmptyI): 2646 overrides=properties) 2683 overrides=properties, 2801 properties=misc.EmptyDict): 2809 properties=properties) 4169 # This dictionary defines the set of default properties an [all...] |
/pkg/src/tests/ |
H A D | pkg5unittest.py | 3155 def create_repo(self, repodir, properties=EmptyDict, version=None): 3165 properties=properties, version=version) 3170 properties=properties) 3184 debug_features=EmptyI, properties=EmptyI, start=False): 3209 for section in properties: 3210 for prop, val in six.iteritems(properties[section]): 3230 self.create_repo(repodir, properties=properties) [all...] |
/pkg/src/modules/publish/ |
H A D | transaction.py | 256 repo = sr.Repository(properties=repo_props,
|