Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for handleCommonArgs (0.09 sec)

  1. cmd/fmt-gen.go

    `,
    }
    
    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)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    		err = mergeDisksLayoutFromArgs(serverCmdArgs(ctx), ctxt)
    	}
    
    	return err
    }
    
    func handleCommonArgs(ctxt serverCtxt) {
    	if ctxt.JSON {
    		logger.EnableJSON()
    	}
    	if ctxt.Quiet {
    		logger.EnableQuiet()
    	}
    	if ctxt.Anonymous {
    		logger.EnableAnonymous()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. cmd/server-main.go

    				args:          list.Args,
    				setDriveCount: driveCount,
    			})
    		}
    	}
    	ctxt.Layout, err = buildDisksLayoutFromConfFile(pools)
    	return err
    }
    
    func serverHandleCmdArgs(ctxt serverCtxt) {
    	handleCommonArgs(ctxt)
    
    	logger.FatalIf(CheckLocalServerAddr(globalMinioAddr), "Unable to validate passed arguments")
    
    	var err error
    	var setupType SetupType
    
    	// Check and load TLS certificates.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top