Module rugged.commands.lib.update_metadata
Functions
def update_snapshot_metadata() ‑> None
-
Expand source code
def update_snapshot_metadata() -> None: """ Dispatch the task to update snapshot metadata. """ result, message = run_task(workers['snapshot']['name'], 'update_snapshot_task') if result: log.info(message) else: log.error(message) error = "Failed to update snapshot metadata. "\ "Check the logs for more detailed error reporting." sys.exit(error)
Dispatch the task to update snapshot metadata.
def update_targets_metadata() ‑> None
-
Expand source code
def update_targets_metadata() -> None: """ Dispatch the task to update targets metadata. """ result, message = run_task(workers['targets']['name'], 'update_targets_task') if result: log.info(message) else: log.error(message) error = "Failed to update targets metadata. "\ "Check the logs for more detailed error reporting." sys.exit(error)
Dispatch the task to update targets metadata.
def update_timestamp_metadata() ‑> None
-
Expand source code
def update_timestamp_metadata() -> None: """ Dispatch the task to update timestamp metadata. """ result, message = run_task(workers['timestamp']['name'], 'update_timestamp_task') if result: log.info(message) else: log.error(message) error = "Failed to update timestamp metadata. "\ "Check the logs for more detailed error reporting." sys.exit(error)
Dispatch the task to update timestamp metadata.