ocs_ci/ocs/resources/pvc.py
def reclaim_policy(self):
        """
        Returns the reclaim policy of pvc in namespace

        Returns:
            str: Reclaim policy Reclaim or Delete
        """

        data = dict()
        data['api_version'] = self.api_version
        data['kind'] = 'StorageClass'
        data['metadata'] = {
            'name': self.backed_sc, 'namespace': self.namespace
        }
        sc_obj = OCS(**data)
        sc_obj.reload()
        return sc_obj.get().get('reclaimPolicy')

        Returns the reclaim policy of pvc in namespace

        Returns:
            str: Reclaim policy Reclaim or Delete
        
Returns the reclaim policy of pvc in namespace
Returns the reclaim policy of pvc in namespace
def reclaim_policy(self):
        data = dict()
        data['api_version'] = self.api_version
        data['kind'] = 'StorageClass'
        data['metadata'] = {
            'name': self.backed_sc, 'namespace': self.namespace
        }
        sc_obj = OCS(**data)
        sc_obj.reload()
        return sc_obj.get().get('reclaimPolicy')
def reclaim_policy ( self ) : data = dict ( ) data [ 'api_version' ] = self . api_version data [ 'kind' ] = 'StorageClass' data [ 'metadata' ] = { 'name' : self . backed_sc , 'namespace' : self . namespace } sc_obj = OCS ( ** data ) sc_obj . reload ( ) return sc_obj . get ( ) . get ( 'reclaimPolicy' )
Returns the reclaim policy of pvc in namespace
Returns the reclaim policy of pvc in namespace
"""
        Returns the reclaim policy of pvc in namespace

        Returns:
            str: Reclaim policy Reclaim or Delete
        """
Reclaim policy Reclaim or Delete
Reclaim policy Reclaim or Delete
str
self