const extensionsGroupName …
var v1GroupVersion …
var scheme …
var codecs …
var parameterCodec …
func init() { … }
func buildTestOpenAPIDefinition() kubeopenapi.OpenAPIDefinition { … }
func testGetOpenAPIDefinitions(_ kubeopenapi.ReferenceCallback) map[string]kubeopenapi.OpenAPIDefinition { … }
func setUp(t *testing.T) (Config, *assert.Assertions) { … }
func newMaster(t *testing.T) (*GenericAPIServer, Config, *assert.Assertions) { … }
func TestNew(t *testing.T) { … }
func TestInstallAPIGroups(t *testing.T) { … }
func TestPrepareRun(t *testing.T) { … }
func TestUpdateOpenAPISpec(t *testing.T) { … }
func TestCustomHandlerChain(t *testing.T) { … }
func TestNotRestRoutesHaveAuth(t *testing.T) { … }
func TestMuxAndDiscoveryCompleteSignals(t *testing.T) { … }
type mockAuthorizer …
func (authz *mockAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { … }
type testGetterStorage …
func (p *testGetterStorage) NamespaceScoped() bool { … }
func (p *testGetterStorage) New() runtime.Object { … }
func (p *testGetterStorage) Destroy() { … }
func (p *testGetterStorage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { … }
func (p *testGetterStorage) GetSingularName() string { … }
type testNoVerbsStorage …
func (p *testNoVerbsStorage) NamespaceScoped() bool { … }
func (p *testNoVerbsStorage) New() runtime.Object { … }
func (p *testNoVerbsStorage) Destroy() { … }
func (p *testNoVerbsStorage) GetSingularName() string { … }
func fakeVersion() version.Info { … }
func TestGracefulShutdown(t *testing.T) { … }
func TestWarningWithRequestTimeout(t *testing.T) { … }
func newGenericAPIServerHandlerChain(t *testing.T, path string, handler http.Handler) http.Handler { … }