Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mustSplitHostPort (0.18 sec)

  1. cmd/common-main.go

    	}
    
    	globalMinioHost, globalMinioPort = mustSplitHostPort(addr)
    	if globalMinioPort == "0" {
    		p, err := xnet.GetFreePort()
    		if err != nil {
    			logger.FatalIf(err, "Unable to get free port for S3 API on the host")
    		}
    		globalMinioPort = p.String()
    		globalDynamicAPIPort = true
    	}
    
    	if globalBrowserEnabled {
    		globalMinioConsoleHost, globalMinioConsolePort = mustSplitHostPort(consoleAddr)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	globalInternodeInterfaceOnce.Do(func() {
    		if interfaceName != "" {
    			globalInternodeInterface = interfaceName
    			return
    		}
    		ip := "127.0.0.1"
    		host, _ := mustSplitHostPort(globalLocalNodeName)
    		if host != "" {
    			if net.ParseIP(host) != nil {
    				ip = host
    			} else {
    				ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
    				defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  3. cmd/test-utils_test.go

    	globalObjLayerMutex.Lock()
    	globalObjectAPI = objLayer
    	globalObjLayerMutex.Unlock()
    
    	// initialize peer rpc
    	host, port := mustSplitHostPort(testServer.Server.Listener.Addr().String())
    	globalMinioHost = host
    	globalMinioPort = port
    	globalMinioAddr = getEndpointsLocalAddr(testServer.Disks)
    
    	initAllSubsystems(ctx)
    
    	globalEtcdClient = nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top