Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for printCLIAccessMsg (0.09 sec)

  1. cmd/server-startup-msg.go

    	// Prints credential, region and browser access.
    	printServerCommonMsg(strippedAPIEndpoints)
    
    	// Prints `mc` cli configuration message chooses
    	// first endpoint as default.
    	printCLIAccessMsg(strippedAPIEndpoints[0], "myminio")
    
    	// Prints documentation message.
    	printObjectAPIMsg()
    	if globalIsDistErasure {
    		logger.Startup(color.Bold(banner))
    	}
    }
    
    // Returns true if input is IPv6
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. cmd/server-startup-msg_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    	printCLIAccessMsg(apiEndpoints[0], "myminio")
    }
    
    // Test print startup message.
    func TestPrintStartupMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top