Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for object (0.22 sec)

  1. cmd/object-api-datatypes.go

    	Versioning, ObjectLocking bool
    }
    
    // ObjectInfo - represents object metadata.
    type ObjectInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    	// Name of the object.
    	Name string
    
    	// Date and time when the object was last modified.
    	ModTime time.Time
    
    	// Total object size.
    	Size int64
    
    	// Actual size is the real size of the object uploaded by client.
    	ActualSize *int64
    
    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)
  2. 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{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. cmd/bucket-object-lock.go

    }
    
    // checkPutObjectLockAllowed enforces object retention policy and legal hold policy
    // for requests with WORM headers
    // See https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-managing.html for the spec.
    // For non-existing objects with object retention headers set, this method returns ErrNone if bucket has
    // locking enabled and user has requisite permissions (s3:PutObjectRetention)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/object-api-options.go

    				Object: object,
    				Err:    fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err),
    			}
    		}
    	}
    	return opts, nil
    }
    
    // get ObjectOptions for PUT calls from encryption headers and metadata
    func putOptsFromReq(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	AskDisks     string                   // dictates how many disks are being listed
    	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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. 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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. docs/site-replication/run-sse-kms-object-replication.sh

    fi
    
    # List the objects from replicated site
    echo "Objects from replicated instance"
    ./mc ls minio2/test-bucket --insecure
    repcount1=$(./mc ls minio2/test-bucket/encrypted --insecure | wc -l)
    if [ "${repcount1}" -ne 1 ]; then
    	echo "BUG: object test-bucket/encrypted not replicated"
    	exit_1
    fi
    repcount2=$(./mc ls minio2/test-bucket/mpartobj --insecure | wc -l)
    if [ "${repcount2}" -ne 1 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top