func replicationcontrollers(dm *DependencyManager) func(...string) ([]corev1.ReplicationController, error) {
	return func(s ...string) ([]corev1.ReplicationController, error) {
		if namespace, selector, err := parseNamespaceSelector(s...); err == nil {
			return dm.ReplicationControllers(namespace, selector)
		} else {
			return nil, err
		}
	}
}
{{replicationcontrollers "selector" "namespace"}}
package main
import (
	corev1 "k8s.io/api/core/v1"
)
func kubeObjectsFuncMap(dm *DependencyManager) map[string]interface{} {
	return map[string]interface{}{
		"pods":                   pods(dm),
		"services":               services(dm),
		"replicationcontrollers": replicationcontrollers(dm),
		"events":                 events(dm),
		"endpoints":              endpoints(dm),
		"nodes":                  nodes(dm),
		"namespaces":             namespaces(dm),
		"componentstatuses":      componentstatuses(dm),
		"configmaps":             configmaps(dm),
		"limitranges":            limitranges(dm),
		"persistentvolumes":      persistentvolumes(dm),
		"persistentvolumeclaims": persistentvolumeclaims(dm),
		"podtemplates":           podtemplates(dm),
		"resourcequotas":         resourcequotas(dm),
		"secrets":                secrets(dm),
		"serviceaccounts":        serviceaccounts(dm),
	}
}
func pods(dm *DependencyManager) func(...string) ([]corev1.Pod, error) {
	return func(s ...string) ([]corev1.Pod, error) {
		if namespace, selector, err := parseNamespaceSelector(s...); err == nil {
			return dm.Pods(namespace, selector)
		} else {
			return nil, err
		}
	}
}
func services(dm *DependencyManager) func(...string) ([]corev1.Service, error) {
	return func(s ...string) ([]corev1.Service, error) {
		if namespace, selector, err := parseNamespaceSelector(s...); err == nil {
			return dm.Services(namespace, selector)
		} else {
			return nil, err
		}
	}
}