Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for retention (0.11 sec)

  1. internal/bucket/object/lock/lock.go

    	type defaultRetention DefaultRetention
    	retention := defaultRetention{}
    
    	if err := d.DecodeElement(&retention, &start); err != nil {
    		return err
    	}
    
    	switch retention.Mode {
    	case RetGovernance, RetCompliance:
    	default:
    		return fmt.Errorf("unknown retention mode %v", retention.Mode)
    	}
    
    	if retention.Days == nil && retention.Years == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. docs/bucket/retention/README.md

    - In `Compliance` mode, objects cannot be deleted by anyone until retention period has expired for the given version id. If user has governance bypass permissions, an object's retention date can be extended in `Compliance` mode.
    - Once object lock configuration is set to a bucket
      - New objects inherit the retention settings of the bucket object lock configuration automatically
      - Retention headers can be optionally set while uploading objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock_test.go

    			expectedErr: ErrPastObjectLockRetainDate,
    			expectErr:   true,
    		},
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><Retention xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Mode>GOVERNANCE</Mode><RetainUntilDate>2057-01-02T15:04:05Z</RetainUntilDate></Retention>`,
    			expectedErr: nil,
    			expectErr:   false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    			// being deleted by most users, but you can still grant some users
    			// permission to alter the retention settings or delete the object
    			// if necessary. You can also use governance mode to test retention-period
    			// settings before creating a compliance-mode retention period.
    			// To override or remove governance-mode retention settings, a
    			// user must have the s3:BypassGovernanceRetention permission
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    		ilm       lifecycle.Lifecycle
    		retention lock.Retention
    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{},
    			obj:       obj,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
            rootLocaleFormat("%s must have a @Retention annotation.", annotationClass),
            retentionPolicy);
        assertEquals(
            rootLocaleFormat("%s must have RUNTIME RetentionPolicy.", annotationClass),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nullable.java

     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    
    /**
     * The annotated element can be {@code null}.
     *
     * @see Nonnull
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:14:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, CONSTRUCTOR, METHOD})
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Immutable.java

     * under the License.
     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code Immutable} annotation indicates that the object is immutable, i.e.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ElementTypesAreNonnullByDefault.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top