Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for gvr (0.04 sec)

  1. pkg/controlplane/instance_test.go

    	for gvr, enable := range config.ResourceConfigs {
    		if !strings.Contains(gvr.Version, "beta") {
    			continue // only check beta things
    		}
    		if !enable {
    			continue // only check things that are enabled
    		}
    		if legacyEnabledBetaResources[gvr] {
    			continue // this is a legacy beta resource
    		}
    		if legacyBetaResourcesWithoutStableEquivalents[gvr.GroupResource()] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    		gvr.AuthorizationPolicy, kubetypes.StandardInformer, filter)
    	AuthzPolicies := krt.WrapClient[*securityclient.AuthorizationPolicy](authzPolicies, krt.WithName("AuthorizationPolicies"))
    
    	peerAuths := kclient.NewDelayedInformer[*securityclient.PeerAuthentication](options.Client,
    		gvr.PeerAuthentication, kubetypes.StandardInformer, filter)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. pkg/controller/resourcequota/resource_quota_monitor.go

    		return true
    	}
    	klog.FromContext(ctx).V(4).Info("QuotaMonitor process object",
    		"resource", event.gvr.String(),
    		"namespace", accessor.GetNamespace(),
    		"name", accessor.GetName(),
    		"uid", string(accessor.GetUID()),
    		"eventType", event.eventType,
    	)
    	qm.replenishmentFunc(ctx, event.gvr.GroupResource(), accessor.GetNamespace())
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	// Attempting to use same logic as webhook for constructing resource
    	// GVK, GVR, subresource
    	// Use the GVK, GVR that the matcher decided was equivalent to that of the request
    	// https://github.com/kubernetes/kubernetes/blob/90c362b3430bcbbf8f245fadbcd521dab39f1d7c/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go#L182-L210
    	gvk := equivalentKind
    	gvr := equivalentGVR
    	subresource := attr.GetSubresource()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. tests/integration/operator/uninstall_test.go

    	}
    }
    
    func checkIopExist(cs istiokube.CLIClient, iopName string) (bool, error) {
    	scopes.Framework.Infof("checking IstioOperator CR status")
    	gvr := iopv1alpha1.IstioOperatorGVR
    
    	_, err := cs.Dynamic().Resource(gvr).Namespace(IstioNamespace).Get(context.TODO(), iopName, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    		return false, nil
    	} else if err == nil {
    		return true, nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tests/integration/operator/switch_cr_test.go

    	scopes.Framework.Info("cleaning up in-cluster CRs")
    	gvr := iopv1alpha1.IstioOperatorGVR
    	crList, err := cs.Dynamic().Resource(gvr).Namespace(IstioNamespace).List(context.TODO(),
    		metav1.ListOptions{})
    	if err == nil {
    		for _, obj := range crList.Items {
    			t.Logf("deleting CR %v", obj.GetName())
    			if err := cs.Dynamic().Resource(gvr).Namespace(IstioNamespace).Delete(context.TODO(), obj.GetName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. pkg/config/schema/collection/schemas.go

    			}
    		}
    	}
    	return nil, false
    }
    
    // FindByGroupVersionResource searches and returns the first schema with the given GVR
    func (s Schemas) FindByGroupVersionResource(gvr schema.GroupVersionResource) (resource.Schema, bool) {
    	for _, rs := range s.byAddOrder {
    		if rs.GroupVersionResource() == gvr {
    			return rs, true
    		}
    	}
    
    	return nil, false
    }
    
    // All returns all known Schemas
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 08:10:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz.go

    			// we only need to authorize the parsed group/version
    			apiGroup = gv.Group
    			apiVersion = gv.Version
    			if gvr, err := v.resourceResolver.Resolve(gv.WithKind(paramKind.Kind)); err == nil {
    				// we only need to authorize the resolved resource
    				resource = gvr.Resource
    			}
    		}
    	}
    
    	var attrs authorizer.AttributesRecord
    
    	paramRef := binding.Spec.ParamRef
    	verb := "get"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 12:19:03 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. pilot/test/xds/fake.go

    			MeshWatcher:     mesh.NewFixedWatcher(m),
    			CRDs: []schema.GroupVersionResource{
    				// Install all CRDs used (mostly in Ambient)
    				gvr.AuthorizationPolicy,
    				gvr.PeerAuthentication,
    				gvr.KubernetesGateway,
    				gvr.KubernetesGateway,
    				gvr.WorkloadEntry,
    				gvr.ServiceEntry,
    			},
    		})
    		stop := test.NewStop(t)
    		// start default client informers after creating ingress/secret controllers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. pkg/config/schema/codegen/common.go

    			"Entries":     inp.Entries,
    			"PackageName": "gvk",
    		}),
    		writeTemplate("pkg/config/schema/gvr/resources.gen.go", gvrTemplate, map[string]any{
    			"Entries":     gvrEntries,
    			"PackageName": "gvr",
    		}),
    		writeTemplate("pilot/pkg/config/kube/crdclient/types.gen.go", crdclientTemplate, map[string]any{
    			"Entries":     inp.Entries,
    			"Packages":    inp.Packages,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top