Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for modzip (0.12 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/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/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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubelet/lifecycle/handlers_test.go

    	f.ID = id
    	return []byte(f.Msg), f.Err
    }
    
    func stubPodStatusProvider(podIP string) podStatusProvider {
    	return podStatusProviderFunc(func(uid types.UID, name, namespace string) (*kubecontainer.PodStatus, error) {
    		return &kubecontainer.PodStatus{
    			ID:        uid,
    			Name:      name,
    			Namespace: namespace,
    			IPs:       []string{podIP},
    		}, nil
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

                group = "org"
    
                task myZip(type: Zip) {
                    archiveFileName = "transitive.zip"
                    destinationDirectory = layout.buildDirectory
                }
    
                configurations {
                    "default" {
                        canBeConsumed = false
                        outgoing {
                            artifact(tasks.myZip)
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/conversion.go

    	}
    
    	// If both fields (v1.PodIPs and v1.PodIP) are provided and differ, then PodIP is authoritative for compatibility with older kubelets
    	if (len(in.PodIP) > 0 && len(in.PodIPs) > 0) && (in.PodIP != in.PodIPs[0].IP) {
    		out.PodIPs = []core.PodIP{
    			{
    				IP: in.PodIP,
    			},
    		}
    	}
    	// at the this point, autoConvert copied v1.PodIPs -> core.PodIPs
    	// if v1.PodIPs was empty but v1.PodIP is not, then set core.PodIPs[0] with v1.PodIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top