- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for olderThan (0.07 sec)
-
cmd/batch-expire_gen.go
zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "OlderThan": err = z.OlderThan.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "OlderThan") return } case "CreatedBefore": if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "CreatedBefore")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 19.9K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
case "NewerThan": z.NewerThan, err = dc.ReadDuration() if err != nil { err = msgp.WrapError(err, "NewerThan") return } case "OlderThan": z.OlderThan, err = dc.ReadDuration() if err != nil { err = msgp.WrapError(err, "OlderThan") return } case "CreatedAfter": z.CreatedAfter, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "CreatedAfter")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
cmd/batch-rotate.go
// BatchKeyRotateFilter holds all the filters currently supported for batch replication type BatchKeyRotateFilter struct { NewerThan time.Duration `yaml:"newerThan,omitempty" json:"newerThan"` OlderThan time.Duration `yaml:"olderThan,omitempty" json:"olderThan"` CreatedAfter time.Time `yaml:"createdAfter,omitempty" json:"createdAfter"` CreatedBefore time.Time `yaml:"createdBefore,omitempty" json:"createdBefore"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/batch-replicate.go
// BatchReplicateFilter holds all the filters currently supported for batch replication type BatchReplicateFilter struct { NewerThan xtime.Duration `yaml:"newerThan,omitempty" json:"newerThan"` OlderThan xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"` CreatedAfter time.Time `yaml:"createdAfter,omitempty" json:"createdAfter"` CreatedBefore time.Time `yaml:"createdBefore,omitempty" json:"createdBefore"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/batch-expire_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/batch-expire.go
} } return nil } // BatchJobExpireFilter holds all the filters currently supported for batch replication type BatchJobExpireFilter struct { line, col int OlderThan xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"` CreatedBefore *time.Time `yaml:"createdBefore,omitempty" json:"createdBefore"` Tags []BatchJobKV `yaml:"tags,omitempty" json:"tags"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
case "NewerThan": err = z.NewerThan.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "NewerThan") return } case "OlderThan": err = z.OlderThan.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "OlderThan") return } case "CreatedAfter": z.CreatedAfter, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "CreatedAfter")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 40.7K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# - configurable retries for the job (each retry skips successfully previously replaced objects) flags: filter: newerThan: "7d10h31s" # match objects newer than this value (e.g. 7d10h31s) olderThan: "7d" # match objects older than this value (e.g. 7d10h31s) # createdAfter: "date" # match objects created after "date" # createdBefore: "date" # match objects created before "date"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/batch-handlers.go
isStorageClassOnly := len(r.Flags.Filter.Metadata) == 1 && strings.EqualFold(r.Flags.Filter.Metadata[0].Key, xhttp.AmzStorageClass) skip := func(oi ObjectInfo) (ok bool) { if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan.D() { // skip all objects that are newer than specified older duration return true } if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan.D() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0)