- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for admitPV (0.11 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
func restfulCreateNamedResource(r rest.NamedCreater, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction { return func(req *restful.Request, res *restful.Response) { handlers.CreateNamedResource(r, &scope, admit)(res.ResponseWriter, req.Request) } } func restfulCreateResource(r rest.Creater, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
if err != nil { t.Errorf("ResourceQuota should admit all deletes: %v", err) } } // TestAdmissionIgnoresSubresources verifies that the admission controller ignores subresources // It verifies that creation of a pod that would have exceeded quota is properly failed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
err := testContext.Plugin.Dispatch( testContext, // Object is irrelevant/unchecked for this test. Just test that // the evaluator is executed, and returns admit meaning the params // passed was a configmap attributeRecord(nil, fakeParams, admission.Create), &admission.RuntimeObjectInterfaces{}, ) require.ErrorContains(t, err, `Denied`)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission_test.go
} informerFactory.Start(wait.NeverStop) testPod := validPod("testPod", 1, api.ResourceRequirements{}) err = admissiontesting.WithReinvocationTesting(t, handler).Admit(context.TODO(), admission.NewAttributesRecord(&testPod, nil, api.Kind("Pod").WithVersion("version"), limitRange.Namespace, "testPod", api.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
} c.podsGetter = a.podsGetter c.nodesGetter = a.nodesGetter err := c.Admit(context.TODO(), a.attributes, nil) if (err == nil) != (len(a.err) == 0) { t.Errorf("nodePlugin.Admit() error = %v, expected %v", err, a.err) return } if len(a.err) > 0 && !strings.Contains(err.Error(), a.err) { t.Errorf("nodePlugin.Admit() error = %v, expected %v", err, a.err) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
nodeInfo: framework.NewNodeInfo( newResourcePod(framework.Resource{MilliCPU: 0, Memory: 0, ScalarResources: map[v1.ResourceName]int64{extendedResourceA: 2}})), name: "extended resource allocatable admits multiple init containers", wantInsufficientResources: []InsufficientResource{}, }, { pod: newResourceInitPod(newResourcePod(framework.Resource{}),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0)