Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeleteReplication (0.14 sec)

  1. internal/bucket/replication/replication.go

    				ReplicaModifications: ReplicaModifications{
    					Status: Enabled,
    				},
    			}
    		}
    		// Default DeleteReplication to disabled if unset.
    		if len(config.Rules[i].DeleteReplication.Status) == 0 {
    			config.Rules[i].DeleteReplication = DeleteReplication{
    				Status: Disabled,
    			}
    		}
    	}
    	return &config, nil
    }
    
    // Validate - validates the replication configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/bucket/replication/rule.go

    		return errInvalidDeleteMarkerReplicationStatus
    	}
    	return nil
    }
    
    // DeleteReplication - whether versioned deletes are replicated - this is a MinIO only
    // extension.
    type DeleteReplication struct {
    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if DeleteReplication is not set
    func (d DeleteReplication) IsEmpty() bool {
    	return len(d.Status) == 0
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule_test.go

    `<ReplicationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Role>arn:aws:iam::AcctID:role/role-name</Role><Rule><Status>Enabled</Status><DeleteMarkerReplication><Status>Disabled</Status></DeleteMarkerReplication><DeleteReplication><Status>Disabled</Status></DeleteReplication><Prefix>key-prefix</Prefix><Destination><Bucket>arn:aws:s3:::destinationbucket</Bucket></Destination><SourceSelectionCriteria><ReplicaModifications><Status>Enabled</Status></ReplicaModifications></SourceSelectionCriter...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top