def _clean(self):
if K8sCleanupPolicy.NAMESPACES in self.cleanup:<EOL><INDENT>self.cleanup_namespaces()<EOL><DEDENT>elif K8sCleanupPolicy.EVERYTHING in self.cleanup:<EOL><INDENT>self.cleanup_pods()<EOL>self.cleanup_services()<EOL>self.cleanup_deployments()<EOL><DEDENT>else:<EOL><INDENT>if K8sCleanupPolicy.PODS in self.cleanup:<EOL><INDENT>self.cleanup_pods()<EOL><DEDENT>if K8sCleanupPolicy.SERVICES in self.cleanup:<EOL><INDENT>self.cleanup_services()<EOL><DEDENT>if K8sCleanupPolicy.DEPLOYMENTS in self.cleanup:<EOL><INDENT>self.cleanup_deployments()<EOL><DEDENT><DEDENT>
Method for cleaning according to object cleanup policy value
:return: None