Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for initConfigSubsystem (0.32 sec)

  1. cmd/auth-handler_test.go

    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    
    	initConfigSubsystem(ctx, objLayer)
    
    	creds, err := auth.CreateCredentials("myuser", "mypassword")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	globalActiveCred = creds
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    		cancel()
    		return nil, err
    	}
    
    	// Initialize boot time
    	globalBootTime = UTCNow()
    
    	globalEndpoints = mustGetPoolEndpoints(0, erasureDirs...)
    
    	initAllSubsystems(ctx)
    
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	// Setup admin mgmt REST API handlers.
    	adminRouter := mux.NewRouter()
    	registerAdminRouter(adminRouter, true)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	globalMinioHost = host
    	globalMinioPort = port
    	globalMinioAddr = getEndpointsLocalAddr(testServer.Disks)
    
    	initAllSubsystems(ctx)
    
    	globalEtcdClient = nil
    
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	globalEventNotifier.InitBucketTargets(ctx, objLayer)
    
    	return testServer
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  4. cmd/server-main.go

    		}
    
    		// Upon success migrating the config, initialize all sub-systems
    		// if all sub-systems initialized successfully return right away
    		err := initConfigSubsystem(ctx, newObject)
    		if err == nil {
    			// All successful return.
    			if globalIsDistErasure {
    				// These messages only meant primarily for distributed setup, so only log during distributed setup.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  5. cmd/signature-v4-utils_test.go

    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	req, err := newTestRequest(http.MethodGet, "http://example.com:9000/bucket/object", 0, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	defer cancel()
    
    	obj, fsDirs, err := prepareErasureSets32(ctx)
    	if err != nil {
    		t.Fatal("Unable to initialize 'Erasure' object layer.", err)
    	}
    
    	setObjectLayer(obj)
    	initConfigSubsystem(ctx, obj)
    
    	// Remove all dirs.
    	for _, dir := range fsDirs {
    		defer os.RemoveAll(dir)
    	}
    
    	type testCaseType struct {
    		bucket string
    		object string
    	}
    
    	bucketName := "bucket"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
Back to top