- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for IPv4 (0.12 sec)
-
cmd/net.go
"runtime" "sort" "strings" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/logger" xnet "github.com/minio/pkg/v2/net" ) // IPv4 addresses of local host. var localIP4 = mustGetLocalIP4() // mustSplitHostPort is a wrapper to net.SplitHostPort() where error is assumed to be a fatal. func mustSplitHostPort(hostPort string) (host, port string) {
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/iptables/iptables_test.go
if err != nil { t.Fatal(err) } compareToGolden(t, false, tt.name, ext.ExecutedAll) } func ipstr(ipv6 bool) string { if ipv6 { return "ipv6" } return "ipv4" } func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) { t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
noClusterID := "failed to automatically determine the --clusterID" files, err := os.ReadDir("testdata/vmconfig") if err != nil { t.Fatal(err) } testCases := map[string]map[string]string{ "ipv4": { "internalIP": "10.10.10.10", "ingressIP": "10.10.10.11", }, "ipv6": { "internalIP": "fd00:10:96::1", "ingressIP": "fd00:10:96::2", }, } for _, dir := range files {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
internal/http/dial_linux.go
// Number of probes. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5) // Wait time after successful probe in seconds. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 4.3K bytes - Viewed (3) -
istioctl/pkg/writer/envoy/configdump/route_test.go
expected: "example.com", }, { desc: "test domains with port", domains: []string{"example.com", "example.com:8080"}, expected: "example.com", }, { desc: "test domains with ipv4 addresses", domains: []string{"example.com", "example.com:8080", "1.2.3.4", "1.2.3.4:8080"}, expected: "example.com, 1.2.3.4", }, { desc: "test domains with ipv6 addresses",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
internal/config/errors.go
"", ) ErrInvalidAddressFlag = newErrFn( "--address input is invalid", "Please check --address parameter", `--address binds to a specific ADDRESS:PORT, ADDRESS can be an IPv4/IPv6 address or hostname (default port is ':9000') Examples: --address ':443' --address '172.16.34.31:9000' --address '[fe80::da00:a6c8:e3ae:ddd7]:9000'`, ) ErrInvalidEndpoint = newErrFn(
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 18 22:25:32 GMT 2024 - 9.1K bytes - Viewed (0) -
cmd/server-main.go
}, }) // On macOS, if a process already listens on LOCALIPADDR:PORT, net.Listen() falls back // to IPv6 address ie minio will start listening on IPv6 address whereas another // (non-)minio process is listening on IPv4 of given port. // To avoid this error situation we check for port availability. logger.FatalIf(xhttp.CheckPortAvailability(globalMinioHost, globalMinioPort, globalTCPOptions), "Unable to start the server") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 34.9K bytes - Viewed (1)