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

Go to the source code of this file.

Namespaces

namespace  oc_orchestrator
namespace  oc_orchestrator.plans

Functions

tuple[str, str]|None oc_orchestrator.plans.parse_plan_filename (str name)
Path|None oc_orchestrator.plans._find_plan_file (Path plans_dir, str plan_id)
None oc_orchestrator.plans._rename_to_state (Path plans_dir, str plan_id, str new_status)
tuple[PlanInventory, Path] oc_orchestrator.plans._resolve_inventory (PlanInventory|None inventory, Path plans_dir)
tuple[str, Path] oc_orchestrator.plans.create_plan (str description, str|None session_name=None, *, PlanInventory|None inventory=None, Path|None plans_dir=None)
PlanRecord oc_orchestrator.plans._transition (str plan_id, str new_status, PlanInventory|None inventory, Path|None plans_dir)
PlanRecord oc_orchestrator.plans.pause_plan (str plan_id, *, PlanInventory|None inventory=None, Path|None plans_dir=None)
PlanRecord oc_orchestrator.plans.continue_plan (str plan_id, *, PlanInventory|None inventory=None, Path|None plans_dir=None)
PlanRecord oc_orchestrator.plans.complete_plan (str plan_id, *, PlanInventory|None inventory=None, Path|None plans_dir=None)
PlanRecord oc_orchestrator.plans.abort_plan (str plan_id, *, PlanInventory|None inventory=None, Path|None plans_dir=None)
list[PlanRecord] oc_orchestrator.plans.list_plans (*, PlanInventory|None inventory=None)
PlanRecord|None oc_orchestrator.plans.find_plan_by_id (str plan_id_or_prefix, *, PlanInventory|None inventory=None)
str|None oc_orchestrator.plans.get_plan_status (str plan_id, *, PlanInventory|None inventory=None)