Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 163 for NamespacedName (0.34 sec)

  1. pkg/proxy/iptables/proxier_test.go

    		},
    	}
    	epsFunc(eps)
    	return eps
    }
    
    func makeNSN(namespace, name string) types.NamespacedName {
    	return types.NamespacedName{Namespace: namespace, Name: name}
    }
    
    func makeServicePortName(ns, name, port string, protocol v1.Protocol) proxy.ServicePortName {
    	return proxy.ServicePortName{
    		NamespacedName: makeNSN(ns, name),
    		Port:           port,
    		Protocol:       protocol,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  2. pkg/kube/krt/filter.go

    		attrs = append(attrs, "generic")
    	}
    	res := strings.Join(attrs, ",")
    	return fmt.Sprintf("{%s}", res)
    }
    
    // FilterObjectName selects a Kubernetes object by name.
    func FilterObjectName(name types.NamespacedName) FetchOption {
    	return func(h *dependency) {
    		// Translate to a key lookup
    		h.filter.keys = smallset.New(keyFunc(name.Name, name.Namespace))
    	}
    }
    
    func FilterKey(k string) FetchOption {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    			TargetPort:  uint32(p.TargetPort.IntVal),
    		})
    	}
    
    	addresses, err := slices.MapErr(getVIPs(svc), a.toNetworkAddress)
    	if err != nil {
    		log.Warnf("fail to parse service %v: %v", config.NamespacedName(svc), err)
    		return nil
    	}
    	// handle svc waypoint scenario
    	var waypointAddress *workloadapi.GatewayAddress
    	if w != nil {
    		waypointAddress = a.getWaypointAddress(w)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_test.go

    			"goodbye.hello.example.org": exampleNestedWildcardService,
    		}
    
    		wildcardIndex := map[host.Name]types.NamespacedName{
    			"*.example.org":       virtualServiceWithWildcardHost.NamespacedName(),
    			"*.hello.example.org": virtualServiceWithNestedWildcardHost.NamespacedName(),
    		}
    
    		vhosts := route.BuildSidecarVirtualHostWrapper(nil, node(cg), cg.PushContext(), serviceRegistry,
    			[]config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/ingress/status.go

    }
    
    func (s *StatusSyncer) enqueueAll() {
    	for _, ing := range s.ingresses.List(metav1.NamespaceAll, labels.Everything()) {
    		s.queue.AddObject(ing)
    	}
    }
    
    func (s *StatusSyncer) Reconcile(key types.NamespacedName) error {
    	log := statusLog.WithLabels("ingress", key)
    	ing := s.ingresses.Get(key.Name, key.Namespace)
    	if ing == nil {
    		log.Debugf("ingress removed, no action")
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tests/integration/security/normalization_test.go

    pathNormalization:
      normalization: %v`, tt.ntype.String()))
    
    					newTrafficTest(t, apps.Ns1.All.Instances()).
    						FromMatch(match.ServiceName(apps.Ns1.A.NamespacedName())).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							for _, expected := range tt.expectations {
    								expected := expected
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. pkg/kube/kclient/crdwatcher.go

    	// From the spec: "Its name MUST be in the format <.spec.name>.<.spec.group>."
    	name := fmt.Sprintf("%s.%s", s.Resource, s.Group)
    	return c.crds.Get(name, "") != nil
    }
    
    func (c *crdWatcher) Reconcile(key types.NamespacedName) error {
    	c.mutex.Lock()
    	callbacks, f := c.callbacks[key.Name]
    	if !f {
    		c.mutex.Unlock()
    		return nil
    	}
    	// Delete them so we do not run again
    	delete(c.callbacks, key.Name)
    	c.mutex.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. pkg/webhooks/webhookpatch.go

    	return w.queue.HasSynced()
    }
    
    // webhookPatchTask takes the result of patchMutatingWebhookConfig and modifies the result for use in task queue
    func (w *WebhookCertPatcher) webhookPatchTask(o types.NamespacedName) error {
    	err := w.patchMutatingWebhookConfig(o.Name)
    
    	// do not want to retry the task if these errors occur, they indicate that
    	// we should no longer be patching the given webhook
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier.go

    	svcPort := &servicePortInfo{BaseServicePortInfo: bsvcPortInfo}
    
    	// Store the following for performance reasons.
    	svcName := types.NamespacedName{Namespace: service.Namespace, Name: service.Name}
    	svcPortName := proxy.ServicePortName{NamespacedName: svcName, Port: port.Name}
    	svcPort.nameString = svcPortName.String()
    
    	chainNameBase := servicePortChainNameBase(&svcPortName, strings.ToLower(string(svcPort.Protocol())))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/common/deployment/echos.go

    				if config.Namespace.Name() == ns.Get().Name() {
    					found = true
    					break
    				}
    			}
    			if !found {
    				return fmt.Errorf("custom echo deployment %s uses unconfigured namespace %s",
    					config.NamespacedName().String(), config.NamespaceName())
    			}
    		}
    	}
    
    	if len(c.Namespaces) > 0 {
    		c.NamespaceCount = len(c.Namespaces)
    	} else if c.NamespaceCount <= 0 {
    		c.NamespaceCount = 1
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top