- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for StorageClass (0.06 sec)
-
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>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
internal/bucket/lifecycle/transition.go
type Transition struct { XMLName xml.Name `xml:"Transition"` Days TransitionDays `xml:"Days,omitempty"` Date TransitionDate `xml:"Date,omitempty"` StorageClass string `xml:"StorageClass,omitempty"` set bool } // IsEnabled returns if transition is enabled. func (t Transition) IsEnabled() bool { return t.set }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 10 17:07:49 UTC 2022 - 5.1K bytes - Viewed (0) -
internal/config/storageclass/help.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package storageclass import "github.com/minio/minio/internal/config" // Help template for storageclass feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 26 22:06:19 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/config-migrate.go
cfg.Notify.NSQ["1"] = target.NSQArgs{} } // Move to latest. cfg.Version = "33" newCfg := newServerConfig() config.SetRegion(newCfg, cfg.Region) storageclass.SetStorageClass(newCfg, cfg.StorageClass) for k, loggerArgs := range cfg.Logger.HTTP { logger.SetLoggerHTTP(newCfg, k, loggerArgs) } for k, auditArgs := range cfg.Logger.AuditWebhook {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)