code: func (sink *influxdbSink) GetPodsFromNamespace(namespace string) ([]string, error) {
  	if !nameAllowedChars.MatchString(namespace) {
  		return nil, fmt.Errorf("Invalid namespace name %q", namespace)
  	}
  	// This is a bit difficult for the influx query language, so we cheat a bit here --
  	// we just get all series for the uptime measurement for pods which match our namespace
  	// (any measurement should work here, though)
  	q := fmt.Sprintf("SHOW SERIES FROM %q WHERE %s = '%s' AND type = '%s'", core.MetricUptime.MetricDescriptor.Name, core.LabelNamespaceName.Key, namespace, core.MetricSetTypePod)
  	return sink.stringListQueryCol(q, core.LabelPodName.Key, fmt.Sprintf("Unable to list pods in namespace %q", namespace))
  }
docs: // GetPodsFromNamespace retrieves the list of pods in a given namespace