Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAPIEndpoints (0.19 sec)

  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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  3. cmd/admin-handlers.go

    	}
    	return subnetAdminPublicKey
    }
    
    func createHostAnonymizerForFSMode() map[string]string {
    	hostAnonymizer := map[string]string{
    		globalLocalNodeName: "server1",
    	}
    
    	apiEndpoints := getAPIEndpoints()
    	for _, ep := range apiEndpoints {
    		if len(ep) == 0 {
    			continue
    		}
    		if url, err := xnet.ParseHTTPURL(ep); err == nil {
    			// In FS mode the drive names don't include the host.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
Back to top