- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for syncResourceQuota (0.34 sec)
-
pkg/controller/resourcequota/resource_quota_controller.go
} if err != nil { logger.Error(err, "Unable to retrieve resource quota from store", "key", key) return err } return rq.syncResourceQuota(ctx, resourceQuota) } // syncResourceQuota runs a complete sync of resource quota status across all known kinds func (rq *Controller) syncResourceQuota(ctx context.Context, resourceQuota *v1.ResourceQuota) (err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
testCase.errorGVR: newErrorLister(), } qc := setupQuotaController(t, kubeClient, mockListerForResourceFunc(listersForResourceConfig), mockDiscoveryFunc) defer close(qc.stop) if err := qc.syncResourceQuota(context.TODO(), &testCase.quota); err != nil { if len(testCase.expectedError) == 0 || !strings.Contains(err.Error(), testCase.expectedError) { t.Fatalf("test: %s, unexpected error: %v", testName, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0)