Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasExistingObjectReplication (0.15 sec)

  1. internal/bucket/replication/replication.go

    	DeleteMarker   bool
    	SSEC           bool
    	OpType         Type
    	Replica        bool
    	ExistingObject bool
    	TargetArn      string
    }
    
    // HasExistingObjectReplication returns true if any of the rule returns 'ExistingObjects' replication.
    func (c Config) HasExistingObjectReplication(arn string) (hasARN, isEnabled bool) {
    	for _, rule := range c.Rules {
    		if rule.Destination.ARN == arn || c.RoleArn == arn {
    			if !hasARN {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top