Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAPIEndpoints (0.32 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/server-main.go

    			go globalBatchJobsMetrics.purgeJobMetrics()
    		})
    
    		// Prints the formatted startup message, if err is not nil then it prints additional information as well.
    		printStartupMessage(getAPIEndpoints(), err)
    
    		// Print a warning at the end of the startup banner so it is more noticeable
    		if newObject.BackendInfo().StandardSCParity == 0 && !globalIsErasureSD {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  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 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