'return label information'

def get(self):

    result_dict = {}
    label_list = []
    if self.name:
        result = self._get(resource=self.kind, name=self.name, selector=self.selector)
        if (result['results'][0] and ('labels' in result['results'][0]['metadata'])):
            label_list.append(result['results'][0]['metadata']['labels'])
        else:
            label_list.append({})
    else:
        result = self._get(resource=self.kind, selector=self.selector)
        for item in result['results'][0]['items']:
            if ('labels' in item['metadata']):
                label_list.append(item['metadata']['labels'])
            else:
                label_list.append({})
    self.current_labels = label_list
    result_dict['labels'] = self.current_labels
    result_dict['item_count'] = len(self.current_labels)
    result['results'] = result_dict
    return result
