Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for modzip (0.6 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/par"
    	"cmd/go/internal/robustio"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    
    	"golang.org/x/mod/module"
    	"golang.org/x/mod/sumdb/dirhash"
    	modzip "golang.org/x/mod/zip"
    )
    
    var downloadCache par.ErrCache[module.Version, string] // version → directory
    
    var ErrToolchain = errors.New("internal error: invalid operation on toolchain module")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    	testcases := []struct {
    		name      string
    		nodeIP    string
    		criPodIPs []string
    		podIPs    []v1.PodIP
    	}{
    		{
    			name:      "Simple",
    			nodeIP:    "",
    			criPodIPs: []string{"10.0.0.1"},
    			podIPs: []v1.PodIP{
    				{IP: "10.0.0.1"},
    			},
    		},
    		{
    			name:      "Dual-stack",
    			nodeIP:    "",
    			criPodIPs: []string{"10.0.0.1", "fd01::1234"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/bootstrap/config.go

    		// Inbound downstream metrics are named as: http.{pod_ip}_{port}.downstream_rq_*
    		// Other outbound downstream metrics are numerous and not very interesting for a sidecar.
    		// specifying http.{pod_ip}_  as a prefix will capture these downstream metrics.
    		return substituteValues(inclusionOption, "{pod_ip}", nodeIPs)
    	}
    
    	extraStatTags := make([]string, 0, len(config.ExtraStatTags))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status.go

    func validateNodeIP(nodeIP net.IP) error {
    	// Honor IP limitations set in setNodeStatus()
    	if nodeIP.To4() == nil && nodeIP.To16() == nil {
    		return fmt.Errorf("nodeIP must be a valid IP address")
    	}
    	if nodeIP.IsLoopback() {
    		return fmt.Errorf("nodeIP can't be loopback address")
    	}
    	if nodeIP.IsMulticast() {
    		return fmt.Errorf("nodeIP can't be a multicast address")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	var podStatus corev1.PodStatus
    	if v6IP {
    		podStatus = corev1.PodStatus{
    			PodIP:  "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164",
    			PodIPs: []corev1.PodIP{{IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164"}, {IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"}},
    		}
    	} else {
    		podStatus = corev1.PodStatus{
    			PodIP:  "2.2.2.2",
    			PodIPs: []corev1.PodIP{{IP: "2.2.2.2"}, {IP: "3.3.3.3"}},
    		}
    	}
    
    	return &corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. cni/pkg/util/podutil.go

    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    // otherwise fallback to 'PodIP'.
    //
    // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
    // K8S may not have received the pod IPs yet, and may not report the pod as having any.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			name:   "simple pod not running and not have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher_test.go

    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod-bingo",
    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/ambient/waypoint.go

    	inbound  istioKube.PortForwarder
    	outbound istioKube.PortForwarder
    	pod      v1.Pod
    }
    
    func (k kubeComponent) Namespace() namespace.Instance {
    	return k.ns
    }
    
    func (k kubeComponent) PodIP() string {
    	return k.pod.Status.PodIP
    }
    
    func (k kubeComponent) Inbound() string {
    	return k.inbound.Address()
    }
    
    func (k kubeComponent) Outbound() string {
    	return k.outbound.Address()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pkg/bootstrap/instance_test.go

    		"upstream_rq_time,upstream_cx_tx_bytes_total,upstream_cx_rx_bytes_total,upstream_cx_total"
    
    	// example downstream metric: http.10.16.48.230_8080.downstream_rq_2xx
    	// http.<pod_ip>_<port>.downstream_rq_2xx
    	// This metric is collected at the inbound listener at a sidecar.
    	// All the other downstream metrics at a sidecar are from the application to the local sidecar.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top