Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeleteMarkerReplication (0.19 sec)

  1. internal/bucket/replication/rule.go

    	Disabled Status = "Disabled"
    )
    
    // DeleteMarkerReplication - whether delete markers are replicated - https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html
    type DeleteMarkerReplication struct {
    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if DeleteMarkerReplication is not set
    func (d DeleteMarkerReplication) IsEmpty() bool {
    	return len(d.Status) == 0
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. internal/bucket/replication/rule_test.go

    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  3. internal/bucket/replication/replication.go

    			switch {
    			case obj.VersionID != "":
    				// check MinIO extension for versioned deletes
    				return rule.DeleteReplication.Status == Enabled
    			default:
    				return rule.DeleteMarkerReplication.Status == Enabled
    			}
    		} // regular object/metadata replication
    		return rule.MetadataReplicate(obj)
    	}
    	return false
    }
    
    // HasActiveRules - returns whether replication policy has active rules
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top