- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LegalHoldStatus (0.13 sec)
-
internal/bucket/object/lock/lock.go
mode = RetCompliance } return mode } // LegalHoldStatus - object legal hold status. type LegalHoldStatus string const ( // LegalHoldOn - legal hold is on. LegalHoldOn LegalHoldStatus = "ON" // LegalHoldOff - legal hold is off. LegalHoldOff LegalHoldStatus = "OFF" ) // Valid - returns true if legal hold status has valid values func (l LegalHoldStatus) Valid() bool { switch l {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
t.Errorf("Expected Mode %s, got %s", tc.expectedMode, parseRetMode(tc.value)) } } } func TestParseLegalHoldStatus(t *testing.T) { tests := []struct { value string expectedStatus LegalHoldStatus }{ { value: "ON", expectedStatus: LegalHoldOn, }, { value: "Off", expectedStatus: LegalHoldOff, }, { value: "x", expectedStatus: "",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/bucket-replication.go
if err != nil { return putOpts, err } } putOpts.Internal.RetentionTimestamp = retTimestamp } if lhold, ok := lkMap.Lookup(xhttp.AmzObjectLockLegalHold); ok { putOpts.LegalHold = minio.LegalHoldStatus(lhold) // set legalhold timestamp in opts lholdTimestamp := objInfo.ModTime if lholdTmstampStr, ok := objInfo.UserDefined[ReservedMetadataPrefixLower+ObjectLockLegalHoldTimestamp]; ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0)