kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics_test.go

const testIssuer

func TestRecordAuthenticationLatency(t *testing.T) {}

type dummyAuthenticator

func (a *dummyAuthenticator) AuthenticateToken(ctx context.Context, token string) (*authenticator.Response, bool, error) {}

func (a *dummyAuthenticator) HealthCheck() error {}

type dummyClock

func (d dummyClock) Now() time.Time {}

func (d dummyClock) Since(t time.Time) time.Duration {}