Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for storageclass (0.13 sec)

  1. 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>`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. internal/bucket/replication/destination.go

    	Bucket       string   `xml:"Bucket" json:"Bucket"`
    	StorageClass string   `xml:"StorageClass" json:"StorageClass"`
    	ARN          string
    	// EncryptionConfiguration TODO: not needed for MinIO
    }
    
    func (d Destination) isValidStorageClass() bool {
    	if d.StorageClass == "" {
    		return true
    	}
    	return d.StorageClass == "STANDARD" || d.StorageClass == "REDUCED_REDUNDANCY"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. helm/minio/templates/pvc.yaml

      resources:
        requests:
          storage: {{ .Values.persistence.size | quote }}
      {{- if .Values.persistence.storageClass }}
      {{- if (eq "-" .Values.persistence.storageClass) }}
      storageClassName: ""
      {{- else }}
      storageClassName: "{{ .Values.persistence.storageClass }}"
      {{- end }}
      {{- end }}
      {{- if .Values.persistence.volumeName }}
      volumeName: "{{ .Values.persistence.volumeName }}"
      {{- end }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Apr 30 06:59:40 UTC 2023
    - 1014 bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class_test.go

    package storageclass
    
    import (
    	"errors"
    	"reflect"
    	"testing"
    )
    
    func TestParseStorageClass(t *testing.T) {
    	tests := []struct {
    		storageClassEnv string
    		wantSc          StorageClass
    		expectedError   error
    	}{
    		{
    			"EC:3",
    			StorageClass{
    				Parity: 3,
    			},
    			nil,
    		},
    		{
    			"EC:4",
    			StorageClass{
    				Parity: 4,
    			},
    			nil,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/config-versions.go

    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    	Region     string           `json:"region"`
    	Worm       config.BoolFlag  `json:"worm"`
    
    	// Storage class configuration
    	StorageClass storageclass.Config `json:"storageclass"`
    
    	// Notification queue configuration.
    	Notify notify.Config `json:"notify"`
    
    	// Logger configuration
    	Logger logger.Config `json:"logger"`
    
    	// Compression configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/config/storageclass/storage-class.go

    			HiddenIfEmpty: true,
    		},
    	}
    )
    
    // StorageClass - holds storage class information
    type StorageClass struct {
    	Parity int
    }
    
    // ConfigLock is a global lock for storage-class config
    var ConfigLock sync.RWMutex
    
    // Config storage class configuration
    type Config struct {
    	Standard    StorageClass `json:"standard"`
    	RRS         StorageClass `json:"rrs"`
    	Optimize    string       `json:"optimize"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	object6 := "object6"
    	metadata6 := make(map[string]string)
    	metadata6["x-amz-storage-class"] = storageclass.STANDARD
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    	})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/warm-backend-s3.go

    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    		UserMetadata:   meta,
    	})
    	return remoteVersionID(res.VersionID), s3.ToObjectError(err, object)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. cmd/warm-backend-azure.go

    type warmBackendAzure struct {
    	clnt         *azblob.Client
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (az *warmBackendAzure) tier() *blob.AccessTier {
    	if az.StorageClass == "" {
    		return nil
    	}
    	for _, t := range blob.PossibleAccessTierValues() {
    		if strings.EqualFold(az.StorageClass, string(t)) {
    			return &t
    		}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. cmd/api-response.go

    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = filterStorageClass(ctx, object.StorageClass)
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		if tagErr == ErrNone {
    			content.UserTags = object.UserTags
    		}
    		if metaErr == ErrNone {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top