Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for from (0.14 sec)

  1. cmd/object-api-multipart_test.go

    		// Test Case - 8.
    		// Existing bucket, object name different from which NewMultipartUpload is constructed from.
    		// Expecting "Invalid upload id".
    		{bucketName: bucket, objName: "def", uploadID: "xyz", PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id xyz")},
    		// Test Case - 9.
    		// Existing bucket, bucket and object name are the ones from which NewMultipartUpload is constructed from.
    		// But the uploadID is invalid.
    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)
  2. cmd/object-api-listobjects_test.go

    		// If marker is *after* the last possible object from the prefix it should return an empty list.
    		{"test-bucket-list-object", "Asia", "europe-object", "", 0, ListObjectsInfo{}, nil, true},
    		// If the marker is *before* the first possible object from the prefix it should return the first object.
    		{"test-bucket-list-object", "Asia", "A", "", 1, resultCases[4], 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)
  3. cmd/batch-handlers.go

    			// Since we are preserving a delete marker, we have to make sure this is always true.
    			// regardless of the current configuration of the bucket we must preserve all versions
    			// on the pool being batch replicated from source.
    			Versioned:          true,
    			MTime:              srcObjInfo.ModTime,
    			DeleteMarker:       srcObjInfo.DeleteMarker,
    			ReplicationRequest: true,
    		})
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	}
    
    	if len(fanOutEntries) > 0 {
    		// Fan-out requires no copying, and must be carried from original source
    		// https://en.wikipedia.org/wiki/Copy_protection so the incoming stream
    		// is always going to be in-memory as we cannot re-read from what we
    		// wrote to disk - since that amounts to "copying" from a "copy"
    		// instead of "copying" from source, we need the stream to be seekable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	// Validate API arguments.
    	q := madmin.PolicyEntitiesQuery{
    		Users:  r.Form["user"],
    		Groups: r.Form["group"],
    		Policy: r.Form["policy"],
    	}
    
    	// Query IAM
    	res, err := globalIAMSys.QueryPolicyEntities(r.Context(), q)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			}
    		})
    	}
    }
    
    // TestMarshalLifecycleConfig checks if lifecycleconfig xml
    // marshaling/unmarshaling can handle output from each other
    func TestMarshalLifecycleConfig(t *testing.T) {
    	// Time at midnight UTC
    	midnightTS := ExpirationDate{time.Date(2019, time.April, 20, 0, 0, 0, 0, time.UTC)}
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	}
    	if versions < 0 {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, hdrVer, metaVer, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Return errDoneForNow to stop processing and return nil.
    // Any non-nil error is returned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/xl-storage_test.go

    		{
    			volume, "myobject", 0, 16,
    			[]byte("hello, world"),
    			io.ErrUnexpectedEOF,
    		},
    		// Reading from an offset success. - 7
    		{
    			volume, "myobject", 7, 5,
    			[]byte("world"), nil,
    		},
    		// Reading from an object but buffer size greater. - 8
    		{
    			volume, "myobject",
    			7, 8,
    			[]byte("world"),
    			io.ErrUnexpectedEOF,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top