kubernetes/pkg/serviceaccount/openidmetadata_test.go

const exampleIssuer

func setupServer(t *testing.T, iss string, keys serviceaccount.PublicKeysGetter) (*httptest.Server, string) {}

var defaultKeys

type Configuration

type proxyKeyGetter

func (p *proxyKeyGetter) AddListener(listener serviceaccount.Listener) {}

func TestServeConfiguration(t *testing.T) {}

func expectConfiguration(t *testing.T, reqURL string, want Configuration) {}

func TestServeKeys(t *testing.T) {}

func expectKeys(t *testing.T, reqURL string, wantKeys []jose.JSONWebKey) {}

func TestURLBoundaries(t *testing.T) {}

func TestNewOpenIDMetadata(t *testing.T) {}