def cleanup_deployments(self):
deployments = self.list_deployments()<EOL>for deployment in deployments:<EOL><INDENT>if deployment.namespace in self.managed_namespaces:<EOL><INDENT>deployment.delete()<EOL><DEDENT><DEDENT>
Delete all deployments created in namespaces associated with this backend
:return: None