kubernetes/staging/src/k8s.io/pod-security-admission/admission/namespace.go

func NamespaceGetterFromClient(client kubernetes.Interface) NamespaceGetter {}

func NamespaceGetterFromListerAndClient(lister corev1listers.NamespaceLister, client kubernetes.Interface) NamespaceGetter {}

type namespaceGetter

func (n *namespaceGetter) GetNamespace(ctx context.Context, name string) (namespace *corev1.Namespace, err error) {}