Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for backers (0.2 sec)

  1. 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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		return false
    	}
    	return true
    }
    
    // GetBandwidth gets the bandwidth for the buckets requested.
    func (s *peerRESTServer) GetBandwidth(params *grid.URLValues) (*bandwidth.BucketBandwidthReport, *grid.RemoteErr) {
    	buckets := params.Values().Get("buckets")
    	selectBuckets := b.SelectBuckets(buckets)
    	return globalBucketMonitor.GetReport(selectBuckets), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    				defer cancel()
    
    				buckets, err = z.s3Peer.ListBuckets(ctx, opts)
    				if err != nil {
    					return nil, err
    				}
    				for i := range buckets {
    					createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name)
    					if err == nil {
    						buckets[i].Created = createdAt
    					}
    				}
    				return buckets, nil
    			},
    		)
    
    		return listBucketsCache.Get()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	return path, nil
    }
    
    // Make Erasure backend meta volumes.
    func makeFormatErasureMetaVolumes(disk StorageAPI) error {
    	if disk == nil {
    		return errDiskNotFound
    	}
    	volumes := []string{
    		minioMetaTmpDeletedBucket, // creates .minio.sys/tmp as well as .minio.sys/tmp/.trash
    		minioMetaMultipartBucket,  // creates .minio.sys/multipart
    		dataUsageBucket,           // creates .minio.sys/buckets
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		// Test listing an object with uncommon delimiter and matching prefix
    		{testBuckets[4], "file1/", "", "guidSplunk", 1000, resultCases[35], nil, true},
    		// Test listing at prefix with expected prefix markers
    		{testBuckets[5], "dir/", "", SlashSeparator, 1, resultCases[36], nil, true},
    		// Test listing with prefix match
    		{testBuckets[5], "foo/201910/11", "", "", 1000, resultCases[37], nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. 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},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    }
    
    // DeletePolicy - deletes policy from storage and cache. When this called in
    // response to a notification (i.e. isFromNotification = true), it skips the
    // validation of policy usage and the attempt to delete in the backend as well
    // (as this is already done by the notifying node).
    func (store *IAMStoreSys) DeletePolicy(ctx context.Context, policy string, isFromNotification bool) error {
    	if policy == "" {
    		return errInvalidArgument
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/object-api-multipart_test.go

    	}
    }
    
    // Benchmarks for ObjectLayer.PutObjectPart().
    // The intent is to benchmark PutObjectPart for various sizes ranging from few bytes to 100MB.
    // Also each of these Benchmarks are run both Erasure and FS backends.
    
    // BenchmarkPutObjectPart5MbFS - Benchmark FS.PutObjectPart() for object size of 5MB.
    func BenchmarkPutObjectPart5MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 5*humanize.MiByte)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrObjectLockConfigurationNotAllowed: {
    		Code:           "InvalidBucketState",
    		Description:    "Object Lock configuration cannot be enabled on existing buckets",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrNoSuchCORSConfiguration: {
    		Code:           "NoSuchCORSConfiguration",
    		Description:    "The CORS configuration does not exist",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top