- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AllIPv6 (0.25 sec)
-
pilot/pkg/util/network/ip.go
if unwrapAddr.Is4() { break } } log.Infof("Addr resolved to: %s", resolvedAddr) return resolvedAddr, nil } // AllIPv6 checks the addresses slice and returns true if all addresses // are valid IPv6 address, for all other cases it returns false. func AllIPv6(ipAddrs []string) bool { for i := 0; i < len(ipAddrs); i++ { addr, err := netip.ParseAddr(ipAddrs[i]) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 21:27:21 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/envoy/proxy.go
func (e *envoy) UpdateConfig(config []byte) error { return os.WriteFile(e.ConfigPath, config, 0o666) } func (e *envoy) args(fname string, overrideFname string) []string { proxyLocalAddressType := "v4" if network.AllIPv6(e.NodeIPs) { proxyLocalAddressType = "v6" } startupArgs := []string{ "-c", fname, "--drain-time-s", fmt.Sprint(int(e.DrainDuration.AsDuration().Seconds())),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/model/proxy.go
const ( IPv4 IPMode = iota + 1 IPv6 Dual ) func DiscoverIPMode(addrs []string) IPMode { if networkutil.AllIPv4(addrs) { return IPv4 } else if networkutil.AllIPv6(addrs) { return IPv6 } return Dual
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/bootstrap/config.go
// IPv4 only opts = append(opts, option.Localhost(option.LocalhostIPv4), option.Wildcard(option.WildcardIPv4), option.DNSLookupFamily(option.DNSLookupFamilyIPv4)) } else if network.AllIPv6(cfg.Metadata.InstanceIPs) { // IPv6 only opts = append(opts, option.Localhost(option.LocalhostIPv6), option.Wildcard(option.WildcardIPv6), option.DNSLookupFamily(option.DNSLookupFamilyIPv6)) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder.go
case cluster.Cluster_STRICT_DNS, cluster.Cluster_LOGICAL_DNS: if networkutil.AllIPv4(cb.proxyIPAddresses) { // IPv4 only c.DnsLookupFamily = cluster.Cluster_V4_ONLY } else if networkutil.AllIPv6(cb.proxyIPAddresses) { // IPv6 only c.DnsLookupFamily = cluster.Cluster_V6_ONLY } else { // Dual Stack if features.EnableDualStack {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 31.6K bytes - Viewed (0)