Purger#
- class nublado.purger.purger.Purger(config, logger=None)#
Bases:
objectObject to plan and execute filesystem purges.
- Parameters:
config (
Config)logger (
Optional[BoundLogger], default:None)
Methods Summary
execute()Create a plan, report it, and immediately execute it.
plan()Scan our directories and assemble a plan.
purge()report()Report what directories are to be purged.
set_policy_file(policy_file)Methods Documentation
- async execute()#
Create a plan, report it, and immediately execute it.
This is the do-it-all method and will be the usual entrypoint for actual use.
- Return type: