Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for NamespacedName (0.34 sec)

  1. pkg/revisions/tag_watcher.go

    }
    
    func NewTagWatcher(client kube.Client, revision string) TagWatcher {
    	p := &tagWatcher{
    		revision: revision,
    	}
    	p.queue = controllers.NewQueue("tag", controllers.WithReconciler(func(key types.NamespacedName) error {
    		p.notifyHandlers()
    		return nil
    	}))
    	p.webhooks = kclient.NewFiltered[*admissionregistrationv1.MutatingWebhookConfiguration](client, kubetypes.Filter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/kube.go

    		ingressServiceLabel = fmt.Sprintf("istio=%s", serviceLabelOverride)
    	}
    	name := types.NamespacedName{Name: ingressServiceName, Namespace: ingressServiceNamespace}
    	return i.CustomIngressFor(c, name, ingressServiceLabel)
    }
    
    func (i *istioImpl) EastWestGatewayFor(c cluster.Cluster) ingress.Instance {
    	name := types.NamespacedName{Name: eastWestIngressServiceName, Namespace: i.cfg.SystemNamespace}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. pkg/kube/util.go

    func GetDeployMetaFromPod(pod *corev1.Pod) (types.NamespacedName, metav1.TypeMeta) {
    	if pod == nil {
    		return types.NamespacedName{}, metav1.TypeMeta{}
    	}
    	// try to capture more useful namespace/name info for deployments, etc.
    	// TODO(dougreid): expand to enable lookup of OWNERs recursively a la kubernetesenv
    
    	deployMeta := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tests/integration/ambient/baseline_test.go

    						New(t, apps.All).
    						// TODO eventually we can do this for uncaptured -> l7
    						FromMatch(match.Not(match.ServiceName(echo.NamespacedName{
    							Name:      "uncaptured",
    							Namespace: apps.Namespace,
    						}))).
    						ToMatch(match.ServiceName(echo.NamespacedName{
    							Name:      "uncaptured",
    							Namespace: apps.Namespace,
    						})).
    						Config(cfg.WithParams(param.Params{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. tests/integration/pilot/gateway_test.go

    				host:  "foo.example.com",
    			},
    		}
    		testCases = append(testCases, additionalTestCases...)
    	}
    	for _, tc := range testCases {
    		t.NewSubTest(fmt.Sprintf("gateway-connectivity-from-%s", tc.from[0].NamespacedName())).Run(func(t framework.TestContext) {
    			tc.from[0].CallOrFail(t, echo.CallOptions{
    				Port: echo.Port{
    					Protocol:    protocol.HTTP,
    					ServicePort: 80,
    				},
    				Scheme: scheme.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/sidecar_simulation_test.go

    			args.GwMatches = make([]types.NamespacedName, 0, len(args.Matches))
    			for _, m := range args.Matches {
    				spl := strings.Split(m, ".")
    				if len(spl) != 5 {
    					t.Skipf("unsupported match: %v", spl)
    				}
    				if spl[0] == "*" {
    					t.Skipf("unsupported match: %v", spl)
    				}
    				args.GwMatches = append(args.GwMatches, types.NamespacedName{
    					Namespace: spl[1],
    					Name:      spl[0],
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		true,
    		schema.GroupResource{Resource: "pods"},
    		"1",
    	)
    	forgetWatcherFn = forgetWatcher(cacher, w, 0, namespacedName{}, "", false)
    	addWatcher := func(w *cacheWatcher) {
    		cacher.Lock()
    		defer cacher.Unlock()
    
    		cacher.watchers.addWatcher(w, 0, namespacedName{}, "", false)
    	}
    
    	addWatcher(w)
    	assertCacherInternalState(1, 0)
    
    	forgetWatcherWrapped(false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		{wantBackoff: 10 * time.Second},
    		{wantBackoff: 10 * time.Second},
    		{wantBackoff: 10 * time.Second},
    	}
    	pod := st.MakePod().Name("test-pod").Namespace("test-ns").UID("test-uid").Obj()
    
    	podID := types.NamespacedName{
    		Namespace: pod.Namespace,
    		Name:      pod.Name,
    	}
    	if err := q.Add(logger, pod); err != nil {
    		t.Fatal(err)
    	}
    
    	for i, step := range steps {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top