Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Backend (0.22 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	const backendResponse = "I am the backend"
    	const backendStatus = 200
    	var requestBody = bytes.Repeat([]byte("a"), 1<<20)
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		slurp, err := io.ReadAll(r.Body)
    		if err != nil {
    			t.Errorf("Backend body read = %v", err)
    		}
    		if len(slurp) != len(requestBody) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	})
    	return bucketName, f, nil
    }
    
    // prepare test backend.
    // create FS/Erasure/ErasureSet backend.
    // return object layer, backend disks.
    func prepareTestBackend(ctx context.Context, instanceType string) (ObjectLayer, []string, error) {
    	switch instanceType {
    	// Total number of disks for Erasure sets backend is set to 32.
    	case ErasureSetsTestStr:
    		return prepareErasureSets32(ctx)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    		t.Fatal(err)
    	}
    
    	hopts := madmin.HealOpts{
    		DryRun:   false,
    		Remove:   true,
    		ScanMode: madmin.HealNormalScan,
    	}
    
    	// Test 1: Remove the object backend files from the first disk.
    	z := objLayer.(*erasureServerPools)
    	for _, set := range z.serverPools {
    		er := set.sets[0]
    		erasureDisks := er.getDisks()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. cmd/iam.go

    }
    
    // LoadUser - reloads a specific user from backend disks or etcd.
    func (sys *IAMSys) LoadUser(ctx context.Context, objAPI ObjectLayer, accessKey string, userType IAMUserType) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.UserNotificationHandler(ctx, accessKey, userType)
    }
    
    // LoadServiceAccount - reloads a specific service account from backend disks or etcd.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    		{serverType: "Erasure", signer: signerV4},
    		// Init and run test on ErasureSet backend.
    		{serverType: "ErasureSet", signer: signerV4},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	postPolicyBucketTagging = "tagging"
    )
    
    // Check if there are buckets on server without corresponding entry in etcd backend and
    // make entries. Here is the general flow
    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// MinIO extensions.
    	ErrStorageFull: {
    		Code:           "XMinioStorageFull",
    		Description:    "Storage backend has reached its minimum free drive threshold. Please delete a few objects to proceed.",
    		HTTPStatusCode: http.StatusInsufficientStorage,
    	},
    	ErrRequestBodyParse: {
    		Code:           "XMinioRequestBodyParse",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		if err = mkdirAll(path, 0o777, ""); err != nil {
    			return path, err
    		}
    	}
    	if fi != nil && !fi.IsDir() {
    		return path, errDiskNotDir
    	}
    
    	return path, nil
    }
    
    // Make Erasure backend meta volumes.
    func makeFormatErasureMetaVolumes(disk StorageAPI) error {
    	if disk == nil {
    		return errDiskNotFound
    	}
    	volumes := []string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    		hostname := fmt.Sprintf("%s.%s.svc.%s", to.Name, namespace, ctx.Domain)
    		if ctx.Context.GetService(hostname, namespace) == nil {
    			invalidBackendErr = &ConfigError{Reason: InvalidDestinationNotFound, Message: fmt.Sprintf("backend(%s) not found", hostname)}
    		}
    		return &istio.Destination{
    			// TODO: implement ReferencePolicy for cross namespace
    			Host: hostname,
    			Port: &istio.PortSelector{Number: uint32(*to.Port)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pkg/proxy/winkernel/proxier.go

    			// would be configured on kube-proxy as SourceVIP
    			//
    			// The logic for choosing the SourceVIP in Overlay networks is based on the backend endpoints:
    			// a) Endpoints are any IP's outside the cluster ==> Choose NodeIP as the SourceVIP
    			// b) Endpoints are IP addresses of a remote node => Choose NodeIP as the SourceVIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top