Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for modzip (0.47 sec)

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

    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"time"
    
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch/codehost"
    
    	"golang.org/x/mod/modfile"
    	"golang.org/x/mod/module"
    	"golang.org/x/mod/semver"
    	modzip "golang.org/x/mod/zip"
    )
    
    // A codeRepo implements modfetch.Repo using an underlying codehost.Repo.
    type codeRepo struct {
    	modPath string
    
    	// code is the repository containing this module.
    	code codehost.Repo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/nodestatus/setters_test.go

    				Status: v1.NodeStatus{
    					Addresses: []v1.NodeAddress{},
    				},
    			}
    
    			nodeIPValidator := func(nodeIP net.IP) error {
    				if nodeIP.IsLoopback() {
    					return fmt.Errorf("nodeIP can't be loopback address")
    				} else if nodeIP.IsMulticast() {
    					return fmt.Errorf("nodeIP can't be a multicast address")
    				}
    				return nil
    			}
    			nodeAddressesFunc := func() ([]v1.NodeAddress, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/kube/krt/join_test.go

    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    	})
    }
    
    func TestCollectionJoinSync(t *testing.T) {
    	c := kube.NewFakeClient(&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters.go

    ) Setter {
    	var nodeIP, secondaryNodeIP net.IP
    	if len(nodeIPs) > 0 {
    		nodeIP = nodeIPs[0]
    	}
    	preferIPv4 := nodeIP == nil || nodeIP.To4() != nil
    	isPreferredIPFamily := func(ip net.IP) bool { return (ip.To4() != nil) == preferIPv4 }
    	nodeIPSpecified := nodeIP != nil && !nodeIP.IsUnspecified()
    
    	if len(nodeIPs) > 1 {
    		secondaryNodeIP = nodeIPs[1]
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection_test.go

    			Labels:    map[string]string{"app": "foo"},
    		},
    		Status: corev1.PodStatus{PodIP: "2.3.4.5"},
    	}
    	pc.CreateOrUpdateStatus(pod)
    	pc.CreateOrUpdateStatus(pod2)
    	assert.EventuallyEqual(t, fetcherSorted(SimpleEndpoints), []SimpleEndpoint{
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    	})
    }
    
    type PodSizeCount struct {
    	Named
    	MatchingSizes int
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/proxier.go

    	minSyncPeriod time.Duration,
    	hostname string,
    	nodeIP net.IP,
    	recorder events.EventRecorder,
    	healthzServer *healthcheck.ProxierHealthServer,
    	healthzBindAddress string,
    	config config.KubeProxyWinkernelConfiguration,
    ) (*Proxier, error) {
    	if nodeIP == nil {
    		klog.InfoS("Invalid nodeIP, initializing kube-proxy with 127.0.0.1 as nodeIP")
    		nodeIP = netutils.ParseIPSloppy("127.0.0.1")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  10. 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)
Back to top