- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for expiration (3.34 sec)
-
internal/bucket/lifecycle/expiration.go
return nil } // MarshalXML encodes expiration field into an XML form. func (e Expiration) MarshalXML(enc *xml.Encoder, startElement xml.StartElement) error { if !e.set { return nil } type expirationWrapper Expiration return enc.EncodeElement(expirationWrapper(e), startElement) } // UnmarshalXML decodes expiration field from the XML form.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 6.6K bytes - Viewed (1) -
internal/bucket/lifecycle/expiration_test.go
}, { // Expiration with a valid number of days inputXML: `<Expiration> <Days>3</Days> </Expiration>`, expectedErr: nil, }, { // Expiration with neither number of days nor a date inputXML: `<Expiration> </Expiration>`, expectedErr: errXMLNotWellFormed, }, { // Expiration with both number of days and a date
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
Krishnan Parthasarathi <******@****.***> 1714525870 -0700
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
Krishnan Parthasarathi <******@****.***> 1714525870 -0700
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 1.6K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
switch { case !rule.Expiration.IsDateNull(): if now.IsZero() || now.After(rule.Expiration.Date.Time) { events = append(events, Event{ Action: DeleteAction, RuleID: rule.ID, Due: rule.Expiration.Date.Time, }) } case !rule.Expiration.IsDaysNull(): if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry ( Name hostName, NbtAddress address, long expiration ) { this.hostName = hostName; this.address = address; this.expiration = expiration; } } /** * */ private void initCache ( CIFSContext tc ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
inputConfig: `<LifecycleConfiguration><Rule><ID>rule1</ID><Status>Enabled</Status><Filter><Prefix>/a/b</Prefix></Filter><Expiration><Days>3</Days></Expiration></Rule><Rule><ID>rule2</ID><Status>Enabled</Status><Filter><And><Prefix>/a/b/c</Prefix><Tag><Key>key1</Key><Value>val1</Value></Tag></And></Filter><Expiration><Days>3</Days></Expiration></Rule></LifecycleConfiguration> `, expectedParsingErr: nil, expectedValidationErr: nil, },
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) -
cmd/post-policy_test.go
) const ( iso8601DateFormat = "20060102T150405Z" ) func newPostPolicyBytesV4WithContentRange(credential, bucketName, objectKey string, expiration time.Time) []byte { t := UTCNow() // Add the expiration date. expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat)) // Add the bucket condition, only accept buckets equal to the one passed.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 29.6K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
secretKey: creds.SecretKey, body: []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`), expectedRespStatus: http.StatusBadRequest, lifecycleResponse: []byte(``), errorResponse: APIErrorResponse{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 13 20:52:33 GMT 2023 - 11.2K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
Status Status `xml:"Status"` Filter Filter `xml:"Filter,omitempty"` Prefix Prefix `xml:"Prefix,omitempty"` Expiration Expiration `xml:"Expiration,omitempty"` Transition Transition `xml:"Transition,omitempty"` DelMarkerExpiration DelMarkerExpiration `xml:"DelMarkerExpiration,omitempty"`
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 5.5K bytes - Viewed (0)