- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 136 for GVK (0.09 sec)
-
pkg/scheduler/eventhandlers.go
continue } // Fall back to try dynamic informers. gvr, _ := schema.ParseResourceArg(string(gvk)) dynInformer := dynInformerFactory.ForResource(*gvr).Informer() if handlerRegistration, err = dynInformer.AddEventHandler( buildEvtResHandler(at, gvk, strings.Title(gvr.Resource)), ); err != nil { return err } handlers = append(handlers, handlerRegistration) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:04 UTC 2024 - 24K bytes - Viewed (0) -
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) -
operator/pkg/helmreconciler/prune.go
if err != nil { return err } selector = selector.Add(*componentRequirement) resources := PrunedResourcesSchemas() for _, gvk := range resources { // First, we collect all objects for the provided GVK objects := &unstructured.UnstructuredList{} objects.SetGroupVersionKind(gvk) if err := h.client.List(context.TODO(), objects, client.MatchingLabelsSelector{Selector: selector}); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 15.9K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
}, } wgA = config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.WorkloadGroup, Namespace: "a", Name: "wg-a", Labels: map[string]string{ "grouplabel": "notonentry", }, }, Spec: tmplA, Status: nil, } wgAWrongNs = config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.WorkloadGroup, Namespace: "wrong", Name: "wg-a",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
pkg/config/analysis/local/istiod_analyze.go
FiltersByGVK: map[config.GroupVersionKind]kubetypes.Filter{ gvk.Secret: { FieldSelector: secretFieldSelector, }, gvk.Namespace: { FieldSelector: namespaceFieldSelector, }, gvk.Service: { FieldSelector: generalSelectors, }, gvk.Pod: { FieldSelector: generalSelectors, }, gvk.Deployment: { FieldSelector: generalSelectors, }, }, }, krs)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:13 UTC 2024 - 21.6K bytes - Viewed (0) -
pilot/pkg/model/authorization_test.go
Group: gvk.KubernetesGateway.Group, Kind: gvk.KubernetesGateway.Kind, Name: "my-gateway", Namespace: "bar", } policyWithServiceRef := proto.Clone(policy).(*authpb.AuthorizationPolicy) policyWithServiceRef.TargetRef = &selectorpb.PolicyTargetReference{ Group: gvk.Service.Group, Kind: gvk.Service.Kind, Name: "foo-svc", Namespace: "foo", }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/credentialprovider/plugin/plugin.go
gvk, err := json.DefaultMetaFactory.Interpret(data) if err != nil { return nil, fmt.Errorf("error reading GVK from response: %w", err) } if gvk.GroupVersion().String() != e.apiVersion { return nil, fmt.Errorf("apiVersion from credential plugin response did not match expected apiVersion:%s, actual apiVersion:%s", e.apiVersion, gvk.GroupVersion().String()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 05:07:28 UTC 2024 - 17.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go
allErrs := field.ErrorList{} gvk := schema.FromAPIVersionAndKind(ownerReference.APIVersion, ownerReference.Kind) // gvk.Group is empty for the legacy group. if len(gvk.Version) == 0 { allErrs = append(allErrs, field.Invalid(fldPath.Child("apiVersion"), ownerReference.APIVersion, "version must not be empty")) } if len(gvk.Kind) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 03:12:31 UTC 2022 - 12K bytes - Viewed (0) -
pilot/pkg/model/authentication.go
globalMutualTLSMode: MTLSUnknown, rootNamespace: env.Mesh().GetRootNamespace(), } policy.addRequestAuthentication(sortConfigByCreationTime(env.List(gvk.RequestAuthentication, NamespaceAll))) policy.addPeerAuthentication(sortConfigByCreationTime(env.List(gvk.PeerAuthentication, NamespaceAll))) return policy } func (policy *AuthenticationPolicies) addRequestAuthentication(configs []config.Config) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 10.1K bytes - Viewed (0)