'delete the object'

def delete(self):

    results = self._delete(self.kind, name=self.name, selector=self.selector)
    if ((results['returncode'] != 0) and ('stderr' in results) and ('"{}"    not    found'.format(self.name) in results['stderr'])):
        results['returncode'] = 0
    return results
