Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buildServerCtxt (0.37 sec)

  1. cmd/fmt-gen.go

         {{.Prompt}} {{.HelpName}} http://node{1...32}.example.com/mnt/export{1...32}
    
    `,
    }
    
    func fmtGenMain(ctxt *cli.Context) {
    	deploymentID := ctxt.String("deployment-id")
    	err := buildServerCtxt(ctxt, &globalServerCtxt)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	handleCommonArgs(globalServerCtxt)
    	pools, _, err := createServerEndpoints(globalMinioAddr, globalServerCtxt.Layout.pools, globalServerCtxt.Layout.legacy)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create the directory `%s`: %w", dirAbs, err)
    	}
    
    	return &ConfigDir{path: dirAbs}, nil
    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. cmd/server-main.go

    	// Handle early server environment vars
    	serverHandleEarlyEnvVars()
    
    	// Handle all server command args and build the disks layout
    	bootstrapTrace("serverHandleCmdArgs", func() {
    		err := buildServerCtxt(ctx, &globalServerCtxt)
    		logger.FatalIf(err, "Unable to prepare the list of endpoints")
    
    		serverHandleCmdArgs(globalServerCtxt)
    	})
    
    	// DNS cache subsystem to reduce outgoing DNS requests
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top