Searched refs:pkgdefs (Results 1 - 25 of 41) sorted by relevance

12

/pkg/src/modules/client/linkedimage/
H A Dsystem.py34 import pkg.client.pkgdefs as pkgdefs namespace
125 return li.LI_RVTuple(pkgdefs.EXIT_OK, None, None)
H A Dcommon.py64 import pkg.client.pkgdefs as pkgdefs namespace
157 assert rv not in [pkgdefs.EXIT_OK, pkgdefs.EXIT_NOP] or e is None
159 assert rv == pkgdefs.EXIT_OK or p_dict is None
1549 return LI_RVTuple(pkgdefs.EXIT_OOPS, e, None)
1559 return LI_RVTuple(pkgdefs.EXIT_DIVERGED, e,
1561 return LI_RVTuple(pkgdefs.EXIT_OK, None, None)
1566 return LI_RVTuple(pkgdefs.EXIT_DIVERGED, e, None)
1568 return LI_RVTuple(pkgdefs
[all...]
H A Dzone.py41 import pkg.client.pkgdefs as pkgdefs namespace
364 return li.LI_RVTuple(pkgdefs.EXIT_OK, None, None)
/pkg/src/modules/
H A Dapi_common.py34 import pkg.client.pkgdefs as pkgdefs namespace
119 KNOWN = pkgdefs.PKG_STATE_KNOWN
120 INSTALLED = pkgdefs.PKG_STATE_INSTALLED
121 UPGRADABLE = pkgdefs.PKG_STATE_UPGRADABLE
122 OBSOLETE = pkgdefs.PKG_STATE_OBSOLETE
123 RENAMED = pkgdefs.PKG_STATE_RENAMED
124 UNSUPPORTED = pkgdefs.PKG_STATE_UNSUPPORTED
125 FROZEN = pkgdefs.PKG_STATE_FROZEN
/pkg/src/modules/client/
H A Doptions.py27 import pkg.client.pkgdefs as pkgdefs namespace
695 opts_new[STAGE] = pkgdefs.API_STAGE_DEFAULT
698 if opts_new[STAGE] not in pkgdefs.api_stage_values:
1290 pkgdefs.PKG_OP_ATTACH : opts_attach_linked,
1291 pkgdefs.PKG_OP_AUDIT_LINKED : opts_audit_linked,
1292 pkgdefs.PKG_OP_CHANGE_FACET : opts_install,
1293 pkgdefs.PKG_OP_CHANGE_VARIANT : opts_install,
1294 pkgdefs.PKG_OP_DEHYDRATE : opts_dehydrate,
1295 pkgdefs
[all...]
H A Dpkgremote.py42 import pkg.client.pkgdefs as pkgdefs namespace
498 rv = pkgdefs.EXIT_OOPS
511 rv = pkgdefs.EXIT_OOPS
515 rv = pkgdefs.EXIT_OOPS
H A Drad_pkg.py35 import pkg.client.pkgdefs as pkgdefs namespace
42 SUCCEED = pkgdefs.EXIT_OK
43 ERROR = pkgdefs.EXIT_OOPS
44 INVALIDOPTION = pkgdefs.EXIT_BADOPT
45 PARTIALSUCCEED = pkgdefs.EXIT_PARTIAL
46 NO_OP = pkgdefs.EXIT_NOP
47 ACTUATOR_TIMEOUT = pkgdefs.EXIT_ACTUATOR
H A Dimage.py57 import pkg.client.pkgdefs as pkgdefs namespace
1463 if pkgdefs.PKG_STATE_INSTALLED in states:
2065 states.discard(pkgdefs.PKG_STATE_INSTALLED)
2070 states.add(pkgdefs.PKG_STATE_INSTALLED)
2085 if pkgdefs.PKG_STATE_ALT_SOURCE in states:
2087 pkgdefs.PKG_STATE_UPGRADABLE)
2089 pkgdefs.PKG_STATE_ALT_SOURCE)
2091 pkgdefs.PKG_STATE_KNOWN)
2092 elif pkgdefs
[all...]
H A Dprogress.py47 import pkg.client.pkgdefs as pkgdefs namespace
2164 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2170 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2199 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2211 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2557 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2563 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2586 if self.linked_pkg_op == pkgdefs.PKG_OP_PUBCHECK:
2600 if self.linked_pkg_op == pkgdefs
[all...]
H A Dapi_errors.py36 import pkg.client.pkgdefs as pkgdefs namespace
2970 exitrv = pkgdefs.EXIT_OOPS
3014 exitrv = pkgdefs.EXIT_EACCESS
3027 exitrv = pkgdefs.EXIT_DIVERGED
3054 exitrv = pkgdefs.EXIT_EACCESS
3104 exitrv = pkgdefs.EXIT_PARENTOP
3138 exitrv = pkgdefs.EXIT_EACCESS
3148 exitrv = pkgdefs.EXIT_EACCESS
3209 exitrv = pkgdefs
[all...]
H A Dapi.py85 import pkg.client.pkgdefs as pkgdefs namespace
103 from pkg.client.pkgdefs import * # pylint: disable=W0401
2356 is a pkg.client.pkgdefs return value and if an error was
2385 pkg.client.pkgdefs return value and if an error was
3419 if pkgdefs.PKG_STATE_INSTALLED not in states:
3520 states = [pkgdefs.PKG_STATE_KNOWN,
3521 pkgdefs.PKG_STATE_ALT_SOURCE]
3523 states.append(pkgdefs.PKG_STATE_V1)
3527 pkgdefs
[all...]
H A Dimageplan.py59 import pkg.client.pkgdefs as pkgdefs namespace
74 from pkg.client.pkgdefs import (PKG_OP_DEHYDRATE, PKG_OP_REHYDRATE, MSG_ERROR,
482 if (exec_op == pkgdefs.PKG_OP_UNINSTALL and
484 (exec_op != pkgdefs.PKG_OP_UNINSTALL
499 supported_exec_ops = [pkgdefs.PKG_OP_UPDATE,
500 pkgdefs.PKG_OP_UNINSTALL]
655 pkgdefs.PKG_OP_UNINSTALL, solver)
1243 pkgdefs.PKG_OP_UNINSTALL, solver)
1319 pkgdefs
[all...]
/pkg/src/util/publish/
H A Dpkgsurf.py84 import pkg.client.pkgdefs as pkgdefs namespace
143 def usage(usage_error=None, cmd=None, retcode=pkgdefs.EXIT_BADOPT):
181 def abort(err=None, retcode=pkgdefs.EXIT_OOPS):
718 usage(retcode=pkgdefs.EXIT_OK)
785 ret = pkgdefs.EXIT_OK
788 ret = pkgdefs.EXIT_OOPS
812 __ret = pkgdefs.EXIT_OOPS
815 __ret = pkgdefs.EXIT_OOPS
820 __ret = pkgdefs
[all...]
H A Dpkgmogrify.py38 from pkg.client.pkgdefs import EXIT_OK, EXIT_OOPS, EXIT_BADOPT, EXIT_PARTIAL
H A Dpkglint.py40 from pkg.client.pkgdefs import EXIT_OK, EXIT_OOPS, EXIT_BADOPT
H A Dpkgdiff.py45 from pkg.client.pkgdefs import EXIT_OK, EXIT_OOPS, EXIT_BADOPT, EXIT_PARTIAL
/pkg/src/modules/server/
H A Dapi.py36 import pkg.client.pkgdefs as pkgdefs namespace
94 PKG_STATE_OBSOLETE = pkgdefs.PKG_STATE_OBSOLETE
95 PKG_STATE_RENAMED = pkgdefs.PKG_STATE_RENAMED
165 pkgdefs.PKG_STATE_RENAMED)
170 pkgdefs.PKG_STATE_OBSOLETE)
223 pkgdefs.PKG_STATE_RENAMED)
228 pkgdefs.PKG_STATE_OBSOLETE)
/pkg/src/modules/actions/
H A Ddepend.py39 import pkg.client.pkgdefs as pkgdefs namespace
183 if required and pkgdefs.PKG_STATE_OBSOLETE in \
/pkg/src/
H A Dpull.py46 import pkg.client.pkgdefs as pkgdefs namespace
958 return pkgdefs.EXIT_PARTIAL
960 return pkgdefs.EXIT_OOPS
961 return pkgdefs.EXIT_OK
1308 return pkgdefs.EXIT_PARTIAL
1310 return pkgdefs.EXIT_OOPS
1311 return pkgdefs.EXIT_OK
1718 return pkgdefs.EXIT_PARTIAL
1720 return pkgdefs
[all...]
/pkg/src/tests/cli/
H A Dt_pkgrecv.py37 import pkg.client.pkgdefs as pkgdefs namespace
1068 " ".join(pfmris)), exit=pkgdefs.EXIT_OOPS)
1077 " ".join(pfmris)), exit=pkgdefs.EXIT_OOPS)
1088 duri, arg_string), exit=pkgdefs.EXIT_PARTIAL)
1097 duri, arg_string), exit=pkgdefs.EXIT_PARTIAL)
H A Dt_pkg_search.py44 import pkg.client.pkgdefs as pkgdefs namespace
696 mdata = { "states": [pkgdefs.PKG_STATE_INSTALLED] }
H A Dt_pkg_varcet.py41 from pkg.client.pkgdefs import EXIT_OOPS
H A Dt_change_variant.py36 from pkg.client.pkgdefs import *
H A Dt_pkg_image_update.py30 from pkg.client.pkgdefs import *
/pkg/src/tests/api/
H A Dt_api.py36 import pkg.client.pkgdefs as pkgdefs namespace

Completed in 829 milliseconds

12