Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for retention (0.06 seconds)

  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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  2. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/evaluator.go

    	"github.com/minio/minio/internal/bucket/replication"
    )
    
    // Evaluator - evaluates lifecycle policy on objects for the given lifecycle
    // configuration, lock retention configuration and replication configuration.
    type Evaluator struct {
    	policy        Lifecycle
    	lockRetention *objlock.Retention
    	replCfg       *replication.Config
    }
    
    // NewEvaluator - creates a new evaluator with the given lifecycle
    func NewEvaluator(policy Lifecycle) *Evaluator {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. .github/workflows/maven.yml

              retention-days: 1
              path: ${{ env.MIMIR_LOCAL }}
    
          - name: Upload test artifacts
            uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
            if: failure() || cancelled()
            with:
              name: full-build-logs-${{ runner.os }}-${{ matrix.java }}
              retention-days: 1
              path: |
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 04:24:24 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. 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,
    		},
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  6. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. cmd/data-scanner_test.go

    			retention: &objectlock.Retention{},
    			obj:       obj,
    			want:      lifecycle.DeleteAllVersionsAction,
    		},
    		{
    			// with object locking
    			ilm:       *delMarkerLc,
    			retention: &objectlock.Retention{LockEnabled: true},
    			obj:       delMarker,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *delMarkerLc,
    			retention: &objectlock.Retention{},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.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;
    
    /**
     * Annotation used to mark fields that represent configuration properties.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. cmd/object-api-interface.go

    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    type EvalRetentionBypassFn func(o ObjectInfo, gerr error) error
    
    // GetObjectInfoFn is the signature of GetObjectInfo function.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. docs/bucket/versioning/README.md

    object in one bucket. For example, you could store `spark.csv` (version `ede336f2`) and `spark.csv` (version `fae684da`) in a single bucket. Versioning protects you from unintended overwrites, deletions, protect objects with retention policies.
    
    To control data retention and storage usage, use object versioning with [object lifecycle management](https://github.com/minio/minio/blob/master/docs/bucket/lifecycle/README.md).  If you have an object expiration lifecycle policy in your non-versioned...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top