- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getAPIEndpoints (0.15 sec)
-
cmd/event-notification.go
"x-amz-id-2": args.RespElements["nodeId"], "x-minio-origin-endpoint": func() string { if globalMinioEndpoint != "" { return globalMinioEndpoint } return getAPIEndpoints()[0] }(), // MinIO specific custom elements. } // Add deployment as part of response elements. respElements["x-minio-deployment-id"] = globalDeploymentID() if args.RespElements["content-length"] != "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/net.go
for _, ip := range ipList { consoleEndpoints = append(consoleEndpoints, getURLScheme(globalIsTLS)+"://"+net.JoinHostPort(ip, globalMinioConsolePort)) } return consoleEndpoints } func getAPIEndpoints() (apiEndpoints []string) { if globalMinioEndpoint != "" { return []string{globalMinioEndpoint} } var ipList []string if globalMinioHost == "" { ipList = sortIPs(localIP4.ToSlice())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
cmd/net_test.go
{"localhost", "80", "http://localhost:80"}, } for i, testCase := range testCases { globalMinioHost, globalMinioPort = testCase.host, testCase.port apiEndpoints := getAPIEndpoints() apiEndpointSet := set.CreateStringSet(apiEndpoints...) if !apiEndpointSet.Contains(testCase.expectedResult) { t.Fatalf("test %d: expected: Found, got: Not Found", i+1) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0)