Searched defs:cfg (Results 1 - 13 of 13) sorted by relevance

/pkg/src/tests/cli/
H A Dt_util_merge.py33 import pkg.config as cfg namespace
145 except cfg.ConfigError as e:
H A Dt_pkg_image_create.py37 import pkg.config as cfg namespace
H A Dt_pkgmerge.py33 import pkg.config as cfg namespace
H A Dt_pkgrecv.py36 import pkg.config as cfg namespace
265 except cfg.ConfigError as e:
/pkg/src/modules/publish/
H A Dtransaction.py39 import pkg.config as cfg namespace
263 except cfg.ConfigError as e:
374 self.transport.cfg.max_transfer_checks:
/pkg/src/
H A Ddepot-config.py49 import pkg.config as cfg namespace
183 default_pub = repository.cfg.get_property("publisher", "prefix")
184 except cfg.UnknownPropertyError:
H A Ddepot.py106 import pkg.config as cfg namespace
155 [-t socket_timeout] [--cfg] [--content-root]
178 --cfg The pathname of the file to use when reading and writing
229 SMF FMRI must be provided using the --cfg option.
293 long_opts = ["add-content", "cfg=", "cfg-file=",
329 elif opt == "--cfg":
331 elif opt == "--cfg-file":
/pkg/src/tests/api/
H A Dt_config.py46 import pkg.config as cfg namespace
72 self.assertRaises(cfg.InvalidPropertyValueError,
76 p = cfg.PropBool(propname)
77 self.assertRaises(cfg.InvalidPropertyValueError,
138 propcls = cfg.Property
145 self.assertRaises(cfg.InvalidPropertyNameError,
232 propcls = cfg.PropBool
273 propcls = cfg.PropDefined
293 self.assertRaises(cfg.InvalidPropertyValueError,
300 propcls = cfg
[all...]
/pkg/src/modules/client/transport/
H A Drepo.py47 import pkg.config as cfg namespace
1269 except cfg.ConfigError as e:
/pkg/src/modules/client/
H A Dimageconfig.py40 import pkg.config as cfg namespace
104 class ImageConfig(cfg.FileConfig):
112 cfg.PropertySection("filter", properties=[]),
113 cfg.PropertySection("image", properties=[
114 cfg.PropInt("version"),
116 cfg.PropertySection("property", properties=[
117 cfg.PropList("publisher-search-order"),
118 cfg.PropPublisher("preferred-authority"),
119 cfg.PropBool("display-coprights", default=True),
120 cfg
[all...]
H A Dimage.py64 import pkg.config as cfg namespace
174 self.cfg = None
302 txt = self.cfg.get_policy_str(imageconfig.SIGNATURE_POLICY)
303 names = self.cfg.get_property("property",
562 self.cfg = imageconfig.ImageConfig(self.__cfgpathname,
567 self.cfg = imageconfig.BlendedConfig(self.cfg,
571 self.cfg.get_policy("use-system-repo"))
615 for pub in self.cfg.publishers.values():
616 # self.cfg
[all...]
/pkg/src/modules/server/
H A Ddepot.py74 import pkg.config as cfg namespace
157 self.cfg = dconf
193 if not repo.cfg.get_property("publisher", "prefix"):
340 prefix = self.repo.cfg.get_property("publisher",
380 if type(self.cfg) == cfg.SMFConfig:
383 self.cfg.reset()
1229 pub = self.repo.cfg.get_property(
2170 cfg.PropertySection("pkg", [
2171 cfg
[all...]
H A Drepository.py50 import pkg.config as cfg namespace
2649 self.version = int(self.cfg.get_property("repository",
2651 except (cfg.PropertyConfigError, ValueError):
2662 (self.cfg.version > 3 and
2691 self.cfg.set_property("repository", "version",
2721 int(cfg.FileConfig(os.path.join(
2730 def_pub = self.cfg.get_property("publisher", "prefix")
2886 self.cfg.write()
3178 pub = self.cfg.get_property("publisher", "prefix")
3194 alias = self.cfg
4134 cfg = property(lambda self: self.__cfg) variable in class:Repository
[all...]

Completed in 82 milliseconds