Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 313 for s3object (0.15 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/metacache-entries.go

    func (e metaCacheEntry) isDir() bool {
    	return len(e.metadata) == 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    // isObject returns if the entry is representing an object.
    func (e metaCacheEntry) isObject() bool {
    	return len(e.metadata) > 0
    }
    
    // isObjectDir returns if the entry is representing an object/
    func (e metaCacheEntry) isObjectDir() bool {
    	return len(e.metadata) > 0 && strings.HasSuffix(e.name, slashSeparator)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/batch-rotate.go

    		return errInvalidEncryptionParameters
    	}
    	versioned := globalBucketVersioningSys.PrefixEnabled(srcBucket, srcObject)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(srcBucket, srcObject)
    
    	lock := api.NewNSLock(r.Bucket, objInfo.Name)
    	lkctx, err := lock.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    		return err
    	}
    	ctx = lkctx.Context()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	}
    }
    
    // Uploads an object using DummyDataGen directly via the http
    // handler. Each part in a multipart object is a new DummyDataGen
    // instance (so the part sizes are needed to reconstruct the whole
    // object). When `len(partSizes) == 1`, asMultipart is used to upload
    // the object as multipart with 1 part or as a regular single object.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/warm-backend-azure.go

    		err = NotImplemented{}
    	case "OutOfRangeInput":
    		err = ObjectNameInvalid{
    			Bucket: bucket,
    			Object: object,
    		}
    	default:
    		switch statusCode {
    		case http.StatusNotFound:
    			if object != "" {
    				err = ObjectNotFound{
    					Bucket: bucket,
    					Object: object,
    				}
    			} else {
    				err = BucketNotFound{Bucket: bucket}
    			}
    		case http.StatusBadRequest:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  7. internal/crypto/key.go

    	}
    	return iv
    }
    
    // SealedKey represents a sealed object key. It can be stored
    // at an untrusted location.
    type SealedKey struct {
    	Key       [64]byte // The encrypted and authenticated object-key.
    	IV        [32]byte // The random IV used to encrypt the object-key.
    	Algorithm string   // The sealing algorithm used to encrypt the object key.
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    	TaggingTimestamp = "tagging-timestamp"
    	// ObjectLockRetentionTimestamp - the last time a object lock metadata modification happened on this cluster for this object version
    	ObjectLockRetentionTimestamp = "objectlock-retention-timestamp"
    	// ObjectLockLegalHoldTimestamp - the last time a legal hold metadata modification happened on this cluster for this object version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  9. cmd/api-router.go

    	for _, router := range routers {
    		// Register all rejected object APIs
    		for _, r := range rejectedObjAPIs {
    			t := router.Methods(r.methods...).
    				HandlerFunc(collectAPIStats(r.api, httpTraceAll(notImplementedHandler))).
    				Queries(r.queries...)
    			t.Path(r.path)
    		}
    
    		// Object operations
    		// HeadObject
    		router.Methods(http.MethodHead).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.HeadObjectHandler))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. cmd/warm-backend-minio.go

    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top