- Sort Score
- Result 10 results
- Languages All
Results 71 - 79 of 79 for gvr (0.07 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
func (c *conversionTestContext) versionedClient(ns string, version string) dynamic.ResourceInterface { gvr := schema.GroupVersionResource{Group: c.crd.Spec.Group, Version: version, Resource: c.crd.Spec.Names.Plural} if c.crd.Spec.Scope != apiextensionsv1.ClusterScoped { return c.dynamicClient.Resource(gvr).Namespace(ns) } return c.dynamicClient.Resource(gvr) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
} return selectors } func (e *quotaEvaluator) Evaluate(a admission.Attributes) error { e.init.Do(e.start) // is this resource ignored? gvr := a.GetResource() gr := gvr.GroupResource() if _, ok := e.ignoredResources[gr]; ok { return nil } // if we do not know how to evaluate use for this resource, create an evaluator evaluator := e.registry.Get(gr)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
}, }, } gvk := schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Endpoints"} gvr := schema.GroupVersionResource{Group: "", Version: "v1", Resource: "endpoints"} return admission.NewAttributesRecord(object, oldObject, gvk, namespace, name, gvr, "", admission.Create, &metav1.CreateOptions{}, false, nil) } func endpointStatusUpdateAttributes() admission.Attributes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go
oldObject.SetNamespace(namespace) gvr := kind.GroupVersion().WithResource(resource) subResource := "" userInfo := user.DefaultInfo{ Name: "webhook-test", UID: "webhook-test", } options := &metav1.UpdateOptions{} return &FakeAttributes{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 47.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
} gvr := schema.GroupVersionResource{Group: group, Version: version, Resource: resource} var c fakemetadata.MetadataClient if namespace == "" { c = ctx.metadataClient.Resource(gvr).(fakemetadata.MetadataClient) } else { c = ctx.metadataClient.Resource(gvr).Namespace(namespace).(fakemetadata.MetadataClient) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/kube/client.go
return func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := tracker.Watch(gvr, ns) if err != nil { return false, nil, err } c.informerWatchesPending.Dec() return true, watch, nil } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
// TODO refactor all tests to use real watch mechanism, see #72327 client.AddWatchReactor("*", func(action k8stesting.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := reactor.Watch(gvr, ns) if err != nil { return false, nil, err } return true, watch, nil })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
gvk := gvkProvider.GroupVersionKind(a.group.GroupVersion) apiResource.Group = gvk.Group apiResource.Version = gvk.Version apiResource.Kind = gvk.Kind } // Record the existence of the GVR and the corresponding GVK a.group.EquivalentResourceRegistry.RegisterKindFor(reqScope.Resource, reqScope.Subresource, fqKindToRegister) return &apiResource, resourceInfo, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
VR_EXPECTATION_EVENTS={'Vr.AcquireGvrFrame':{'histogramName':'acquire_frame','description':'Duration acquire a frame from GVR','hasCpuTime':true,},'Vr.DrawFrame':{'histogramName':'draw_frame','description':'Duration to render one frame','hasCpuTime':true,},'Vr.PostSubmitDrawOnGpu':{'histogramName':'post_submit_draw_on_gpu','description':'Duration to draw a frame on GPU post submit to '+'GVR. Note this duration may include time spent on '+'reprojection','hasCpuTime':false,},'Vr.ProcessControllerInput':{'...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)