Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for StorageClass (0.2 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  5. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 30 06:59:40 GMT 2023
    - 1014 bytes
    - Viewed (0)
  7. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
  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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    // For a given StorageClass, this describes the available capacity in a
    // particular topology segment.  This can be used when considering where to
    // instantiate new PersistentVolumes.
    //
    // For example this can express things like:
    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top