Lines Matching defs:history
79 import pkg.client.history as history
123 RESULT_CANCELED = history.RESULT_CANCELED
124 RESULT_NOTHING_TO_DO = history.RESULT_NOTHING_TO_DO
125 RESULT_SUCCEEDED = history.RESULT_SUCCEEDED
126 RESULT_FAILED_BAD_REQUEST = history.RESULT_FAILED_BAD_REQUEST
127 RESULT_FAILED_CONFIGURATION = history.RESULT_FAILED_CONFIGURATION
128 RESULT_FAILED_CONSTRAINED = history.RESULT_FAILED_CONSTRAINED
129 RESULT_FAILED_LOCKED = history.RESULT_FAILED_LOCKED
130 RESULT_FAILED_SEARCH = history.RESULT_FAILED_SEARCH
131 RESULT_FAILED_STORAGE = history.RESULT_FAILED_STORAGE
132 RESULT_FAILED_TRANSPORT = history.RESULT_FAILED_TRANSPORT
133 RESULT_FAILED_ACTUATOR = history.RESULT_FAILED_ACTUATOR
134 RESULT_FAILED_OUTOFMEMORY = history.RESULT_FAILED_OUTOFMEMORY
135 RESULT_CONFLICTING_ACTIONS = history.RESULT_CONFLICTING_ACTIONS
136 RESULT_FAILED_UNKNOWN = history.RESULT_FAILED_UNKNOWN
749 self._img.history.abort(result)
1595 # create a history entry
1820 executed and whether history will be recorded after
2501 path to find history xml files, return an array of paths that
2526 files = glob.glob(os.path.join(self._img.history.path,
2529 raise apx.HistoryRequestException(_("No history "
2535 as per __utc_format(), return a list of history filenames that
2537 the equivalent of just retrieving history for that single date
2541 all_entries = sorted(os.listdir(self._img.history.path))
2591 self._img.history.path, "{0}*".format(
2607 entries = os.listdir(self._img.history.path)
2610 # No history to list.
2625 # Yield each history entry object as it is loaded.
2627 yield history.History(
2628 root_dir=self._img.history.root_dir,
2732 if self._img.history.operation_name:
2739 if self._img.history.operation_name:
2748 if self._img.history.operation_name:
2948 if self._img.history.operation_name:
4667 """Discard history information about in-progress operations."""
4668 self._img.history.clear()
5383 history.
5385 'result' should be a pkg.client.history constant value
5391 self._img.history.log_operation_end(error=error, result=result,
5396 history for the current opreation."""
5397 self._img.history.log_operation_error(error)
5401 history."""
5404 if name in history.DISCARDED_OPERATIONS:
5409 self._img.history.log_operation_start(name,
5514 """Deletes all client history."""
5516 self._img.history.purge(be_name=be_name, be_uuid=be_uuid)