oc_orchestrator
Loading...
Searching...
No Matches
work_queue_manage.py File Reference

Go to the source code of this file.

Namespaces

namespace  oc_orchestrator
namespace  oc_orchestrator.work_queue_manage

Functions

Path|None oc_orchestrator.work_queue_manage._plan_file (PlanPaths paths, str plan_id)
Path|None oc_orchestrator.work_queue_manage._terminal_plan_file (PlanPaths paths, str plan_id)
Path|None oc_orchestrator.work_queue_manage._plan_worktree (PlanPaths paths, str plan_id)
str|None oc_orchestrator.work_queue_manage._plan_title (PlanPaths paths, str plan_id)
str oc_orchestrator.work_queue_manage._plan_number (str plan_id)
QueueBackend oc_orchestrator.work_queue_manage._build_backend (argparse.Namespace args, Callable[[argparse.Namespace], QueueBackend]|None backend_factory=None)
PlanPaths oc_orchestrator.work_queue_manage._paths (argparse.Namespace args)
str oc_orchestrator.work_queue_manage._describe (WorkItem item)
str oc_orchestrator.work_queue_manage.format_state (QueueState state)
str oc_orchestrator.work_queue_manage.format_health_report (QueueState state, PlanPaths paths, Path|None agent_registry)
AgentInstanceRegistry|None oc_orchestrator.work_queue_manage._open_instance_registry (Path|None path)
str|None oc_orchestrator.work_queue_manage._instance_state (AgentInstanceRegistry registry, str agent_id)
str oc_orchestrator.work_queue_manage.format_reconcile_report (tuple[object,...] drifts, bool applied)
int oc_orchestrator.work_queue_manage._cmd_list (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_add (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_move (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_dequeue (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_complete (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_next (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_health (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_reconcile (argparse.Namespace args, QueueBackend backend)
int oc_orchestrator.work_queue_manage._cmd_history (argparse.Namespace args, QueueBackend backend)
argparse.ArgumentParser oc_orchestrator.work_queue_manage.build_parser (str prog=DEFAULT_PROG)
int oc_orchestrator.work_queue_manage.main (list[str]|None argv=None, *, str prog=DEFAULT_PROG, Callable[[argparse.Namespace], QueueBackend]|None backend_factory=None)

Variables

int oc_orchestrator.work_queue_manage.EXIT_OK = 0
int oc_orchestrator.work_queue_manage.EXIT_REFUSED = 1
int oc_orchestrator.work_queue_manage.EXIT_BACKEND = 2
tuple oc_orchestrator.work_queue_manage.NO_BACKEND_FACTORY
str oc_orchestrator.work_queue_manage.DISPATCH_LINE = "scripts/dispatch.ps1 {number} <model>"
dict oc_orchestrator.work_queue_manage._COMMANDS
str oc_orchestrator.work_queue_manage.DEFAULT_PROG = "python -m oc_orchestrator.work_queue_manage"