- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for gvr (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
pilot/pkg/config/kube/gateway/deploymentcontroller_test.go
} d.patcher = func(g schema.GroupVersionResource, name string, namespace string, data []byte, subresources ...string) error { if g == gvr.Service { reconciles.Inc() } if g == gvr.KubernetesGateway { b, err := yaml.JSONToYAML(data) if err != nil { return err } writes <- string(b) } return nil } stop := test.NewStop(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 16.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go
} return c.dispatcher.Dispatch(ctx, a, o, c.source.Hooks()) } func (c *Plugin[H]) shouldIgnoreResource(attr admission.Attributes) bool { gvr := attr.GetResource() // exclusion decision ignores the version. gr := gvr.GroupResource() return c.excludedResources.Has(gr)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 19:11:10 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/kube/kclient/crdwatcher.go
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/gateway-api/pkg/consts" "istio.io/istio/pilot/pkg/features" "istio.io/istio/pkg/config/schema/gvr" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/kube/controllers" "istio.io/istio/pkg/kube/kubetypes" "istio.io/istio/pkg/log" ) type crdWatcher struct { crds Informer[*metav1.PartialObjectMetadata]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/config/schema/kubetypes/common.go
"istio.io/istio/pkg/typemap" ) func MustGVRFromType[T runtime.Object]() schema.GroupVersionResource { if gk, ok := getGvk(ptr.Empty[T]()); ok { gr, ok := gvk.ToGVR(gk) if !ok { panic(fmt.Sprintf("unknown GVR for GVK %v", gk)) } return gr } if rp := typemap.Get[RegisterType[T]](registeredTypes); rp != nil { return (*rp).GetGVR() } panic("unknown kind: " + ptr.TypeName[T]()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gvr := corev1.SchemeGroupVersion.WithResource("pods") listerForPod := map[schema.GroupVersionResource]cache.GenericLister{ gvr: newGenericLister(gvr.GroupResource(), tt.objs), } evaluator := NewPodEvaluator(mockListerForResourceFunc(listerForPod), testingclock.NewFakeClock(time.Now()))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0)