Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Forster (0.17 sec)

  1. istioctl/pkg/util/handlers/handlers.go

    	client, podName, namespace, selector, err := getClientForResource(resname, ns, factory)
    	if err != nil {
    		return "", "", err
    	}
    	if podName != "" {
    		return podName, namespace, nil
    	}
    	// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    	sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    	timeout := 2 * time.Second
    	if getFirstPodFunc == nil {
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    		sort.Sort(sortBy(pods))
    		return config.NamespacedName(pods[0]), nil
    	}
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top