Lines Matching defs:api
69 import pkg.client.api as api
88 from pkg.client.api import (IMG_TYPE_ENTIRE, IMG_TYPE_PARTIAL,
1531 return api.ImageInterface(imgdir, CLIENT_API_VERSION,
1655 # All the api interface functions that we invoke have some
1796 plan = api.PlanDescription()
1837 """Do something that involves the api.
1841 assignment and will be passed directly on to the api
1860 # normal api behavior which doesn't prevent an api
1922 # if we're starting a new operation, reset the api. we do
2797 if return_type == api.Query.RETURN_ACTIONS:
2898 query = [api.Query(qtext, case_sensitive,
2954 api.Query.RETURN_ACTIONS:
2961 api.Query.RETURN_ACTIONS:
3353 pkg_list = api.ImageInterface.LIST_INSTALLED
3355 pkg_list = api.ImageInterface.LIST_NEWEST
3899 # XXX image property management should be in pkg.client.api
3921 # XXX image property management should be in pkg.client.api
3966 # XXX image property management should be in pkg.client.api
3991 # XXX image property management should be in pkg.client.api
4014 # XXX image property management should be in pkg.client.api
4660 _api_inst = api.image_create(PKG_CLIENT_NAME, CLIENT_API_VERSION,
5502 mydir, provided_image_dir = api.get_default_image_root(
5733 "{client} while the library\nAPI version is {api}.").format(
5735 api=__e.expected_version
5777 """Attempt to gracefully handle SIGHUP and SIGTERM by telling the api