Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAPIEndpoints (0.07 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top