code: func (m *Client) ListPods(labels map[string]string) (*client.PodList, error) {
  	var pods []client.Pod
  
  	for _, v := range m.Pods {
  		if labelFilterMatch(v.Metadata.Labels, labels) {
  			pods = append(pods, *v)
  		}
  	}
  	return &client.PodList{
  		Items: pods,
  	}, nil
  }
docs: // ListPods ...