- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NoncurrentVersionTransition (0.77 sec)
-
internal/bucket/lifecycle/transition_test.go
ntrTests := []struct { input string err error }{ { input: `<NoncurrentVersionTransition> <NoncurrentDays>0</NoncurrentDays> <StorageClass>S3TIER-1</StorageClass> </NoncurrentVersionTransition>`, err: nil, }, { input: `<NoncurrentVersionTransition> <Days>1</Days> </NoncurrentVersionTransition>`, err: errXMLNotWellFormed, }, } for i, tc := range ntrTests {
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/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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 5.3K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
NoncurrentVersionExpiration NoncurrentVersionExpiration `xml:"NoncurrentVersionExpiration,omitempty"` NoncurrentVersionTransition NoncurrentVersionTransition `xml:"NoncurrentVersionTransition,omitempty"` } var ( errInvalidRuleID = Errorf("ID length is limited to 255 characters") errEmptyRuleStatus = Errorf("Status should not be empty")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
} if !obj.IsLatest && !rule.NoncurrentVersionTransition.IsNull() { if !obj.DeleteMarker && obj.TransitionStatus != TransitionComplete { // Non current versions should be transitioned if their age exceeds non current days configuration // https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Status: "Enabled", Filter: Filter{Prefix: Prefix{string: "prefix-1", set: true}}, Expiration: Expiration{Date: midnightTS}, NoncurrentVersionTransition: NoncurrentVersionTransition{NoncurrentDays: TransitionDays(2), StorageClass: "TEST"}, }, }, } b, err := xml.MarshalIndent(&lc, "", "\t") if err != nil { t.Fatal(err) } var lc1 Lifecycle
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
cmd/bucket-lifecycle-audit.go
} tags[ilmAction] = event.Action.String() tags[ilmRuleID] = event.RuleID if !event.Due.IsZero() { tags[ilmDue] = event.Due.Format(iso8601Format) } // rule with Transition/NoncurrentVersionTransition in effect if event.StorageClass != "" { tags[ilmTier] = event.StorageClass } // rule with NewernoncurrentVersions in effect if event.NewerNoncurrentVersions > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
if valid := globalTierConfigMgr.IsTierValid(rule.Transition.StorageClass); !valid { return errInvalidStorageClass } } if rule.NoncurrentVersionTransition.StorageClass != "" { if valid := globalTierConfigMgr.IsTierValid(rule.NoncurrentVersionTransition.StorageClass); !valid { return errInvalidStorageClass } } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0) -
cmd/site-replication.go
if existingRl, ok := rMap[id]; ok { clonedRl := rl.CloneNonTransition() clonedRl.Transition = existingRl.Transition clonedRl.NoncurrentVersionTransition = existingRl.NoncurrentVersionTransition rMap[id] = clonedRl } else { rMap[id] = rl } } var rules []lifecycle.Rule for _, rule := range rMap { rules = append(rules, rule) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0)