Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for obj6 (0.15 sec)

  1. cmd/object_api_suite_test.go

    		}
    		if result.Objects[2].Name != "obj1" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "obj1", result.Objects[2].Name)
    		}
    	}
    	// check ordering of results with prefix.
    	{
    		result, err = obj.ListObjects(context.Background(), "bucket", "obj", "", "", 1000)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    	}
    
    	bucketName := "bucket"
    	testCases := []testCaseType{
    		{bucketName, "dir/obj1"},
    		{bucketName, "dir/obj2"},
    		{bucketName, "obj3"},
    		{bucketName, "obj_4"},
    	}
    
    	if err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, testCase := range testCases {
    		_, err = obj.PutObject(ctx, testCase.bucket, testCase.object,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    				t.Error("got versions", e.Versions, "want", w.objs)
    			}
    			if e.ObjSizes != w.oSizes {
    				t.Error("got histogram", e.ObjSizes, "want", w.oSizes)
    			}
    		})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		concurrent = len(objects)
    	}
    
    	var mu sync.Mutex
    	eg := errgroup.WithNErrs(len(objects)).WithConcurrency(concurrent)
    	for j, obj := range objects {
    		j := j
    		obj := obj
    		eg.Go(func() error {
    			pinfo, _, err := z.getPoolInfoExistingWithOpts(ctx, bucket, obj.ObjectName, ObjectOptions{
    				NoLock: true,
    			})
    			if err != nil {
    				if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    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)
  5. cmd/data-scanner_test.go

    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    		default:
    			t.Errorf("Unexpected versionID being expired: %#v\n", obj)
    		}
    	}
    }
    
    func TestEvalActionFromLifecycle(t *testing.T) {
    	// Tests cover only ExpiredObjectDeleteAllVersions and DelMarkerExpiration actions
    	obj := ObjectInfo{
    		Name:        "foo",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. docs/sts/custom-token-identity.go

    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  7. docs/sts/assume-role.go

    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  8. cmd/object-api-deleteobject_test.go

    			[]string{"object0"},
    		},
    	}
    
    	for i, testCase := range testCases {
    		err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  9. cmd/signature-v2_test.go

    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	now := UTCNow()
    
    	var (
    		accessKey = globalActiveCred.AccessKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. cmd/object-api-getobjectinfo_test.go

    }
    
    // Testing GetObjectInfo().
    func testGetObjectInfo(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// This bucket is used for testing getObjectInfo operations.
    	err := obj.MakeBucket(context.Background(), "test-getobjectinfo", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	opts := ObjectOptions{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
Back to top