/pkg/src/modules/server/ |
H A D | api.py | 129 # Seed the set of allowed packages with the set of FMRIs that 132 allowed = dict( 139 self.__get_allowed_packages(cat, pfmris[-1], allowed, 147 set(six.iterkeys(allowed)) 151 aset = allowed.setdefault(pkg_name, set()) 179 for name in sorted(allowed) 180 for entry in sorted(allowed[name], key=sort_ver, 184 def __get_allowed_packages(self, cat, pfmri, allowed, 209 aset = allowed.setdefault(ifmri.pkg_name, set()) 233 allowed [all...] |
H A D | depot.py | 579 _("Directory listing not allowed.")) 613 _("Directory listing not allowed.")) 654 "{0} is not allowed".format(method)) 728 "{0} is not allowed".format(method)) 1755 _("Directory listing not allowed.")) 1868 _("Directory listing not allowed.")) 2172 cfg.PropDefined("cfg_file", allowed=["", "<pathname>"]), 2174 cfg.PropList("debug", allowed=["", "headers", 2178 cfg.PropDefined("image_root", allowed=["", 2180 cfg.PropDefined("inst_root", allowed 2197 allowed=["", "<pathname>", "none"]), variable in class:DepotConfig 2201 allowed=["", "<pathname>", "none"]), variable in class:DepotConfig 2204 allowed=["", "<pathname>"]), variable in class:DepotConfig [all...] |
H A D | repository.py | 3402 package name. Only patterns that contain wildcards are allowed 4198 cfg.PropDefined("icon", allowed=["", "<pathname>"], 4200 cfg.PropDefined("logo", allowed=["", "<pathname>"], 4231 cfg.PropDefined("icon", allowed=["", "<pathname>"], 4233 cfg.PropDefined("logo", allowed=["", "<pathname>"],
|
/pkg/src/modules/ |
H A D | config.py | 220 # Whitespace (except single space), '/', and '\' are never allowed. 283 """Raises an InvalidPropertyValueError if 'value' is not allowed 287 # Only string values are allowed. 339 def __init__(self, name_pattern, allowed=None, default=None, 355 self.__allowed = allowed 361 return self.__class__(self.__name, allowed=self.__allowed, 372 pargs["allowed"] = self.__allowed 482 # Only string values are allowed. 492 def __init__(self, name, allowed=misc.EmptyI, default="", 494 self.__allowed = allowed 539 def allowed(self): member in class:PropDefined [all...] |
/pkg/src/tests/api/ |
H A D | t_config.py | 281 # Verify allowed value functionality permits expected values. 282 p = propcls("def", allowed=["", "<pathname>", "<exec:pathname>", 288 # Verify allowed value functionality denies unexpected values. 289 p = propcls("def", allowed=["<abspathname>"], 502 # Verify allowed value functionality permits expected values. 503 p = propcls("list", allowed=["", "<pathname>", 508 # Verify allowed value functionality denies unexpected values. 509 p = propcls("list", allowed=["<pathname>"], 838 ({ "allowed": ["always", "never"], "default": "never", 840 { "allowed" 1045 allowed=["<pathname>", "builtin"], variable in class:_TestConfigBase 1048 allowed=["", "<pathname>", "builtin"]), variable in class:_TestConfigBase [all...] |
/pkg/src/modules/client/ |
H A D | imageconfig.py | 170 cfg.PropDefined(BE_POLICY, allowed=["default", 173 cfg.PropDefined(CONTENT_UPDATE_POLICY, allowed=["default", 183 allowed=list(sigpolicy.Policy.policies()) + [DEF_TOKEN], variable in class:ImageConfig 208 prop_type=cfg.PropDefined, allowed=["site", "vendor", 213 prop_type=cfg.PropDefined, allowed=["site", "vendor", 243 allowed=list(sigpolicy.Policy.policies()) + [DEF_TOKEN], variable in class:ImageConfig 1432 """Return whether a publisher is allowed to move in the search
|
H A D | pkg_solver.py | 67 _TRIM_DEP_OBSOLETE = 1 # all versions allowed by dep are obsolete 68 _TRIM_DEP_TRIMMED = 2 # all versions allowed by dep already trimmed 70 _TRIM_FREEZE = 4 # pkg not allowed by freeze 72 _TRIM_INSTALLED_INC = 6 # not allowed by installed pkg incorporation 80 _TRIM_PROPOSED_INC = 14 # not allowed by requested pkg incorporation 137 # check if we're allowed to use the solver 266 self.__allowed_downgrades = set() # allowed downrev FMRIs 550 requires new version of java not allowed by installed 693 # no version of this package is allowed 750 'possible_set' is the set of FMRIs potentially allowed fo [all...] |