- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _new (0.15 sec)
-
cmd/net.go
// such as, ":9000", "localhost:9000", "http://localhost:9000/" func extractHostPort(hostAddr string) (string, string, error) { var addr, scheme string if hostAddr == "" { return "", "", errors.New("unable to process empty address") } // Simplify the work of url.Parse() and always send a url with if !strings.HasPrefix(hostAddr, "http://") && !strings.HasPrefix(hostAddr, "https://") { hostAddr = "//" + hostAddr
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet) if err != nil { return err } addedIPSnapshot = append(addedIPSnapshot, podIPs...) } } return pruneHostIPset(sets.New(addedIPSnapshot...), &s.hostsideProbeIPSet) } // addPodToHostNSIpset: // 1. get pod manifest // 2. Get all pod ips (might be several, v6/v4) // 3. update ipsets accordingly
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1)