Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for printServerCommonMsg (0.2 sec)

  1. cmd/server-startup-msg.go

    		startupBanner(&builder)
    		logger.Startup(builder.String())
    	}
    
    	strippedAPIEndpoints := stripStandardPorts(apiEndpoints, globalMinioHost)
    
    	// 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.
    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"}
    	printServerCommonMsg(apiEndpoints)
    }
    
    // Tests print cli access message.
    func TestPrintCLIAccessMsg(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    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