Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for backends (0.21 sec)

  1. cmd/warm-backend.go

    // value represents the entire byte range of an object.
    type WarmBackendGetOpts struct {
    	startOffset int64
    	length      int64
    }
    
    // WarmBackend provides interface to be implemented by remote tier backends
    type WarmBackend interface {
    	Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error)
    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. 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)
  3. cmd/warm-backend-azure.go

    Justin Griffin <******@****.***> 1709657048 -0500
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. cmd/warm-backend-minio.go

    Harshavardhana <******@****.***> 1713699798 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    	Unknown = BackendType(madmin.Unknown)
    	// Filesystem backend.
    	BackendFS = BackendType(madmin.FS)
    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/server-main_test.go

    		t.Fatal("Unexpected object layer detected", reflect.TypeOf(obj))
    	}
    
    	// Tests for Erasure object layer initialization.
    
    	// Create temporary backend for the test server.
    	nDisks = 16
    	disks, err = getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err = newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    		t.Fatal(err)
    	}
    
    	if _, _, err = formatErasureMigrate(rootPath); err == nil {
    		t.Fatal("Expected to fail with unexpected backend format")
    	}
    
    	m = &formatErasureV1{}
    	m.Format = formatBackendErasure
    	m.Version = formatMetaVersionV1
    	m.Erasure.Version = "30"
    	m.Erasure.Disk = mustGetUUID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. internal/crypto/key.go

    	return partKey
    }
    
    // SealETag seals the etag using the object key.
    // It does not encrypt empty ETags because such ETags indicate
    // that the S3 client hasn't sent an ETag = MD5(object) and
    // the backend can pick an ETag value.
    func (key ObjectKey) SealETag(etag []byte) []byte {
    	if len(etag) == 0 { // don't encrypt empty ETag - only if client sent ETag = MD5(object)
    		return etag
    	}
    	var buffer bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. 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)
  10. cmd/erasure-healing-common_test.go

    func TestListOnlineDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatalf("Prepare Erasure backend failed - %v", err)
    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper tamperKind = iota
    		deletePart
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top