Clean

jujuna.clean.clean(ctrl_name='', model_name='', ignore=[], wait=False, force=False, dry_run=False, endpoint='', username='', password='', cacert='', **kwargs)

Destroy applications present in the current or selected model.

Connection requires juju client configs to be present locally or specification of credentialls: endpoint (e.g. 127.0.0.1:17070), username, password, and model uuid as model_name.

Parameters:
  • ctrl_name – juju controller
  • model_name – juju model name or uuid
  • ignore – list of application names
  • wait – boolean
  • force – boolean
  • dry_run – boolean
  • endpoint – string
  • username – string
  • password – string
  • cacert – string