Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for ofObject (0.24 sec)

  1. cmd/object-api-deleteobject_test.go

    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    			oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content),
    				int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{})
    			t.Log(oi)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    
    	vid = strings.TrimSpace(vid)
    	if vid != "" && vid != nullVersionID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/object-api-common.go

    	deletedBucketsPrefix = ".deleted"
    
    	// ETag (hex encoded md5sum) of empty string.
    	emptyETag = "d41d8cd98f00b204e9800998ecf8427e"
    )
    
    // Global object layer mutex, used for safely updating object layer.
    var globalObjLayerMutex sync.RWMutex
    
    // Global object layer, only accessed by globalObjectAPI.
    var globalObjectAPI ObjectLayer
    
    type storageOpts struct {
    	cleanUp     bool
    	healthCheck bool
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    		},
    		{
    			object: "object.json",
    			header: http.Header{
    				"Content-Type": []string{"application/json"},
    			},
    			result: false,
    		},
    		{
    			object: "object.txt",
    			header: http.Header{
    				"Content-Type": []string{"text/plain"},
    			},
    			result: false,
    		},
    		{
    			object: "object",
    			header: http.Header{
    				"Content-Type": []string{"text/something"},
    			},
    			result: false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    	return "Object not found: " + e.Bucket + "/" + e.Object
    }
    
    // MethodNotAllowed on the object
    type MethodNotAllowed GenericError
    
    func (e MethodNotAllowed) Error() string {
    	return "Method not allowed: " + e.Bucket + "/" + e.Object
    }
    
    // ObjectLocked object is currently WORM protected.
    type ObjectLocked GenericError
    
    func (e ObjectLocked) Error() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    // ExpirationOptions represents object options for object expiration at objectLayer.
    type ExpirationOptions struct {
    	Expire bool
    }
    
    // TransitionOptions represents object options for transition ObjectLayer operation
    type TransitionOptions struct {
    	Status         string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    	if !globalTierConfigMgr.Empty() {
    		// Get appropriate object info to identify the remote object to delete
    		goiOpts := os.GetOpts()
    		if goi, gerr := objectAPI.GetObjectInfo(ctx, bucket, object, goiOpts); gerr == nil {
    			os.SetTransitionState(goi.TransitionedObject)
    		}
    	}
    
    	opts, err := completeMultipartOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    func checkObjectNameForLengthAndSlash(bucket, object string) error {
    	// Check for the length of object name
    	if len(object) > 1024 {
    		return ObjectNameTooLong{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    	// Check for slash as prefix in object name
    	if HasPrefix(object, SlashSeparator) {
    		return ObjectNamePrefixAsSlash{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    			}
    			// Asserting Object Name.
    			if actualResult.Object != expectedResult.Object {
    				t.Errorf("Test %d: %s: Expected Object name to be \"%s\", but instead found it to be \"%s\"", i+1, instanceType, expectedResult.Object, actualResult.Object)
    			}
    			// Asserting UploadID.
    			if actualResult.UploadID != expectedResult.UploadID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    		return true
    	}
    
    	// Object content should be persisted.
    	return false
    }
    
    // Headers to be set of object content is not going to be written to the client.
    func writeHeadersPrecondition(w http.ResponseWriter, objInfo ObjectInfo) {
    	// set common headers
    	setCommonHeaders(w)
    
    	// set object-related metadata headers
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top