Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newObject1 (0.06 sec)

  1. cmd/test-utils_test.go

    	}
    	return erasureDisks, nil
    }
    
    // Initialize object layer with the supplied disks, objectLayer is nil upon any error.
    func newTestObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (newObject ObjectLayer, err error) {
    	initAllSubsystems(ctx)
    
    	return newErasureServerPools(ctx, endpointServerPools)
    }
    
    // initObjectLayer - Instantiates object layer and returns it.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    }
    
    // getPoolIdx returns the found previous object and its corresponding pool idx,
    // if none are found falls back to most available space pool, this function is
    // designed to be only used by PutObject, CopyObject (newObject creation) and NewMultipartUpload.
    func (z *erasureServerPools) getPoolIdx(ctx context.Context, bucket, object string, size int64) (idx int, err error) {
    	idx, err = z.getPoolIdxExistingWithOpts(ctx, bucket, object, ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top