Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for storageclass (0.23 sec)

  1. 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"
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  2. 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,
    		},
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. helm/minio/templates/statefulset.yaml

    {{ $subPath := .Values.persistence.subPath }}
    {{ $penabled := .Values.persistence.enabled }}
    {{ $accessMode := .Values.persistence.accessMode }}
    {{ $storageClass := .Values.persistence.storageClass }}
    {{ $psize := .Values.persistence.size }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}-svc
      labels:
        app: {{ template "minio.name" . }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. cmd/api-response.go

    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = object.StorageClass
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		if tagErr == ErrNone {
    			content.UserTags = object.UserTags
    		}
    		if metaErr == ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. 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"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. 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)
  7. 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,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/transition_test.go

    	trTests := []struct {
    		input string
    		err   error
    	}{
    		{
    			input: `<Transition>
    			<Days>0</Days>
    			<StorageClass>S3TIER-1</StorageClass>
    		  </Transition>`,
    			err: nil,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    			<Date>2021-01-01T00:00:00Z</Date>
    			<StorageClass>S3TIER-1</StorageClass>
    		  </Transition>`,
    			err: errTransitionInvalid,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  9. 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 }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 30 06:59:40 GMT 2023
    - 1014 bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/noncurrentversion.go

    	}
    	return nil
    }
    
    // NoncurrentVersionTransition - an action for lifecycle configuration rule.
    type NoncurrentVersionTransition struct {
    	NoncurrentDays TransitionDays `xml:"NoncurrentDays"`
    	StorageClass   string         `xml:"StorageClass"`
    	set            bool
    }
    
    // MarshalXML is extended to leave out
    // <NoncurrentVersionTransition></NoncurrentVersionTransition> tags
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
Back to top