Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for Retention (0.09 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.TesterAnnotation;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

     */
    package org.apache.maven.api.plugin.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import static com.google.common.collect.testing.Helpers.copyToSet;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top