Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Lifecycle (0.06 sec)

  1. cmd/bucket-lifecycle.go

    )
    
    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    // NewLifecycleSys - creates new lifecycle system.
    func NewLifecycleSys() *LifecycleSys {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    func evalActionFromLifecycle(ctx context.Context, lc lifecycle.Lifecycle, lr lock.Retention, rcfg *replication.Config, obj ObjectInfo) lifecycle.Event {
    	event := lc.Eval(obj.ToLifecycleOpts())
    	if serverDebugLog {
    		console.Debugf(applyActionsLogPrefix+" lifecycle: Secondary scan: %v\n", event.Action)
    	}
    
    	switch event.Action {
    	case lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  3. docs/bucket/lifecycle/DESIGN.md

    Lifecycle transition functionality provided in [bucket lifecycle guide](https://github.com/minio/minio/master/docs/bucket/lifecycle/README.md) allows tiering of content from MinIO object store to public clouds or other MinIO clusters.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    	}
    	tests := []struct {
    		ilm       lifecycle.Lifecycle
    		retention *objectlock.Retention
    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: &objectlock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *deleteAllLc,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. docs/bucket/lifecycle/README.md

    ## 2. Enable bucket lifecycle configuration
    
    - Create a bucket lifecycle configuration which expires the objects under the prefix `old/` on `2020-01-01T00:00:00.000Z` date and the objects under `temp/` after 7 days.
    - Enable bucket lifecycle configuration using `mc`:
    
    ```sh
    $ mc ilm import play/testbucket <<EOF
    {
        "Rules": [
            {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    	}
    	return meta.objectLockConfig, meta.ObjectLockConfigUpdatedAt, nil
    }
    
    // GetLifecycleConfig returns configured lifecycle config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetLifecycleConfig(bucket string) (*lifecycle.Lifecycle, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. cmd/data-scanner-metric.go

    func (p *scannerMetrics) lifetimeActions(a lifecycle.Action) uint64 {
    	if a == lifecycle.NoneAction || a >= lifecycle.ActionCount {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.actions[a])
    	return val
    }
    
    // lastMinuteActions returns the last minute statistics of an ilm metric.
    func (p *scannerMetrics) lastMinuteActions(a lifecycle.Action) AccElem {
    	if a == lifecycle.NoneAction || a >= lifecycle.ActionCount {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"slices"
    	"sort"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func Test_hashDeterministicString(t *testing.T) {
    	tests := []struct {
    		name string
    		arg  map[string]string
    	}{
    		{
    			name: "zero",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    	Versioning *versioning.Versioning `msg:"-"`
    
    	// Lifecycle performs filtering based on lifecycle.
    	// This will filter out objects if the most recent version should be deleted by lifecycle.
    	// Is not transferred across request calls.
    	Lifecycle *lifecycle.Lifecycle `msg:"-"`
    
    	// Retention configuration, needed to be passed along with lifecycle if set.
    	Retention lock.Retention `msg:"-"`
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/list.md

    | `minio_node_ilm_action_count_delete_version_action`          | Total action outcome of lifecycle checks since server start for deleting a version                         |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 43.4K bytes
    - Viewed (0)
Back to top