kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go

var coolFooCRD

var coolBarCRD

var coolFooDiscovery

var mergedDiscovery

func init() {}

type testEnvironment

func (env *testEnvironment) Start(ctx context.Context) {}

func setup() *testEnvironment {}

func TestResourceManagerExistingCRD(t *testing.T) {}

// Tests that if a CRD is added a runtime, the discovery controller will
// put its information in the discovery document
func TestResourceManagerAddedCRD(t *testing.T) {}

// Test that having multiple CRDs in the same version will add both
// versions to discovery.
func TestMultipleCRDSameVersion(t *testing.T) {}

// Tests that if a CRD is deleted at runtime, the discovery controller will
// remove its information from its ResourceManager
func TestDiscoveryControllerResourceManagerRemovedCRD(t *testing.T) {}