Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SourceSelectionCriteria (0.46 sec)

  1. internal/bucket/replication/sourceselectioncriteria.go

    	type sourceSelectionCriteria SourceSelectionCriteria
    	ssc := sourceSelectionCriteria{}
    	if err := dec.DecodeElement(&ssc, &start); err != nil {
    		return err
    	}
    	if len(ssc.ReplicaModifications.Status) == 0 {
    		ssc.ReplicaModifications.Status = Enabled
    	}
    	*s = SourceSelectionCriteria(ssc)
    	return nil
    }
    
    // MarshalXML - encodes to XML data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c1test", DeleteMarker: false, OpType: ObjectReplicationType, Replica: false}, // 1. Replica mod sync enabled; not...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule.go

    	Destination               Destination               `xml:"Destination" json:"Destination"`
    	SourceSelectionCriteria   SourceSelectionCriteria   `xml:"SourceSelectionCriteria" json:"SourceSelectionCriteria"`
    	Filter                    Filter                    `xml:"Filter" json:"Filter"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication.go

    		return nil, err
    	}
    	// By default, set replica modification to enabled if unset.
    	for i := range config.Rules {
    		if len(config.Rules[i].SourceSelectionCriteria.ReplicaModifications.Status) == 0 {
    			config.Rules[i].SourceSelectionCriteria = SourceSelectionCriteria{
    				ReplicaModifications: ReplicaModifications{
    					Status: Enabled,
    				},
    			}
    		}
    		// Default DeleteReplication to disabled if unset.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. docs/bucket/replication/README.md

    - Simpler implementation than [AWS S3 Bucket Replication Config](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html) with requirements such as IAM Role, AccessControlTranslation, Metrics and SourceSelectionCriteria are not needed with MinIO.
    - Active-Active replication
    - Multi destination replication
    
    ## How to use?
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication_test.go

    				Filter:                    replication.Filter{},
    				ExistingObjectReplication: replication.ExistingObjectReplication{Status: replication.Enabled},
    				SourceSelectionCriteria: replication.SourceSelectionCriteria{
    					ReplicaModifications: replication.ReplicaModifications{Status: replication.Enabled},
    				},
    			},
    		},
    	},
    }
    
    var replicationConfigTests = []struct {
    	info         ObjectInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication_test.go

    		},
    		{ // Config4 - Replication config has filters and SourceSelectionCriteria Disabled
    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                2,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Enabled},
    					DeleteReplication:       DeleteReplication{Status: Enabled},
    					SourceSelectionCriteria: SourceSelectionCriteria{ReplicaModifications: ReplicaModifications{Status: Disabled}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    			}
    			if r.DeleteMarkerReplication.Status == sreplication.Disabled ||
    				r.DeleteReplication.Status == sreplication.Disabled ||
    				r.ExistingObjectReplication.Status == sreplication.Disabled ||
    				r.SourceSelectionCriteria.ReplicaModifications.Status == sreplication.Disabled {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top