Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createServerEndpoints (0.28 sec)

  1. cmd/fmt-gen.go

    	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)
    	}
    
    	zipFile, err := os.Create("format.json.zip")
    	if err != nil {
    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/endpoint-ellipses.go

    		}
    		ctxt.Layout.pools = append(ctxt.Layout.pools, poolDisksLayout{cmdline: arg, layout: setArgs})
    	}
    	return
    }
    
    // CreateServerEndpoints - validates and creates new endpoints from input args, supports
    // both ellipses and without ellipses transparently.
    func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) (
    	endpointServerPools EndpointServerPools, setupType SetupType, err error,
    ) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    			srvCtxt := serverCtxt{}
    			err := mergeDisksLayoutFromArgs(testCase.args, &srvCtxt)
    			if err != nil && testCase.success {
    				t.Fatalf("Test %d: unexpected error: %v", i+1, err)
    			}
    			_, _, err = createServerEndpoints(testCase.serverAddr, srvCtxt.Layout.pools, srvCtxt.Layout.legacy)
    			if err != nil && testCase.success {
    				t.Errorf("Test %d: Expected success but failed instead %s", i+1, err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. cmd/server-main.go

    	for _, publicCrt := range globalPublicCerts {
    		globalRootCAs.AddCert(publicCrt)
    	}
    
    	// Register root CAs for remote ENVs
    	env.RegisterGlobalCAs(globalRootCAs)
    
    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    	globalNodes = globalEndpoints.GetNodes()
    
    	globalIsErasure = (setupType == ErasureSetupType)
    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