Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for StorageClass (0.18 sec)

  1. cmd/bucket-targets.go

    	}
    	tc := &TargetClient{
    		Client:              api,
    		healthCheckDuration: hcDuration,
    		replicateSync:       tcfg.ReplicationSync,
    		Bucket:              tcfg.TargetBucket,
    		StorageClass:        tcfg.StorageClass,
    		disableProxy:        tcfg.DisableProxy,
    		ARN:                 tcfg.Arn,
    		ResetID:             tcfg.ResetID,
    		Endpoint:            tcfg.Endpoint,
    		Secure:              tcfg.Secure,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		OA.ETag = objInfo.ETag
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    		OA.ObjectSize, _ = objInfo.GetActualSize()
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok {
    		OA.StorageClass = objInfo.StorageClass
    	}
    
    	objInfo.decryptPartsChecksums()
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectParts]; ok {
    		OA.ObjectParts = new(objectAttributesParts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    	scParity := globalStorageClass.GetParityForSC(storageclass.STANDARD)
    	if scParity < 0 {
    		scParity = z.serverPools[0].defaultParityCount
    	}
    	rrSCParity := globalStorageClass.GetParityForSC(storageclass.RRS)
    
    	// Data blocks can vary per pool, but parity is same.
    	for i, setDriveCount := range z.SetDriveCounts() {
    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)
  4. cmd/config-current.go

    	"github.com/minio/minio/internal/config/policy/opa"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/scanner"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    	if userDefined[xhttp.AmzStorageClass] == storageclass.STANDARD {
    		delete(userDefined, xhttp.AmzStorageClass)
    	}
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/bucket-replication.go

    			meta[k] = v
    		}
    	}
    
    	if sc == "" && (objInfo.StorageClass == storageclass.STANDARD || objInfo.StorageClass == storageclass.RRS) {
    		sc = objInfo.StorageClass
    	}
    	putOpts = minio.PutObjectOptions{
    		UserMetadata:    meta,
    		ContentType:     objInfo.ContentType,
    		ContentEncoding: objInfo.ContentEncoding,
    		Expires:         objInfo.Expires,
    		StorageClass:    sc,
    		Internal: minio.AdvancedPutOptions{
    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)
  7. cmd/format-erasure.go

    // It will attempt to read it from env variable and fall back to drives/2.
    func ecDrivesNoConfig(setDriveCount int) (int, error) {
    	sc, err := storageclass.LookupConfig(config.KVS{}, setDriveCount)
    	if err != nil {
    		return 0, err
    	}
    	return sc.GetParityForSC(storageclass.STANDARD), nil
    }
    
    // Initialize a new set of set formats which will be written to all disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "foodir/foobject/foo.txt",
    			want:        true,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration><Rule><Status>Enabled</Status><Filter></Filter><NoncurrentVersionTransition><StorageClass>S3TIER-1</StorageClass></NoncurrentVersionTransition></Rule></LifecycleConfiguration>`,
    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)
  9. internal/bucket/lifecycle/lifecycle.go

    					events = append(events, Event{
    						Action:       TransitionVersionAction,
    						RuleID:       rule.ID,
    						Due:          due,
    						StorageClass: rule.NoncurrentVersionTransition.StorageClass,
    					})
    				}
    			}
    		}
    
    		// Remove the object or simply add a delete marker (once) in a versioned bucket
    		if obj.IsLatest && !obj.DeleteMarker {
    			switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		for obj := range objInfoCh {
    			oi := toObjectInfo(r.Source.Bucket, obj.Key, obj)
    			if !minioSrc {
    				// Check if metadata filter was requested and it is expected to have
    				// all user metadata or just storageClass. If its only storageClass
    				// List() already returns relevant information for filter to be applied.
    				if isMetadata && !isStorageClassOnly {
    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    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)
Back to top