- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewFakeResourceManager (0.56 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go
type FakeResourceManager interface { ResourceManager Expect() ResourceManager HasExpectedNumberActions() bool Validate() error WaitForActions(ctx context.Context, timeout time.Duration) error } func NewFakeResourceManager() FakeResourceManager { return &fakeResourceManager{} } // a resource manager with helper functions for checking the actions // match expected. For Use in tests type fakeResourceManager struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go
case <-discoverySyncedCh: case <-ctx.Done(): } } func setup() *testEnvironment { env := &testEnvironment{ Interface: fake.NewSimpleClientset(), FakeResourceManager: aggregated.NewFakeResourceManager(), versionDiscoveryHandler: versionDiscoveryHandler{ discovery: make(map[schema.GroupVersion]*discovery.APIVersionHandler), }, groupDiscoveryHandler: groupDiscoveryHandler{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 12K bytes - Viewed (0)