kubernetes/staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller_test.go

const defConfigMapName

const defConfigMapNamespace

const defUsernameHeadersKey

const defUIDHeadersKey

const defGroupHeadersKey

const defExtraHeaderPrefixesKey

const defAllowedClientNamesKey

type expectedHeadersHolder

func TestRequestHeaderAuthRequestController(t *testing.T) {}

func TestRequestHeaderAuthRequestControllerPreserveState(t *testing.T) {}

func TestRequestHeaderAuthRequestControllerSyncOnce(t *testing.T) {}

func defaultConfigMap(t *testing.T, usernameHeaderVal, uidHeaderVal, groupHeadersVal, extraHeaderPrefixesVal, allowedClientNamesVal []string) *corev1.ConfigMap {}

func newDefaultTarget() *RequestHeaderAuthRequestController {}

func validateExpectedHeaders(t *testing.T, target *RequestHeaderAuthRequestController, expected expectedHeadersHolder) {}