Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExistingObjectReplication (0.12 sec)

  1. internal/bucket/replication/rule.go

    		drep.Status = Disabled
    	}
    	d.Status = drep.Status
    	return nil
    }
    
    // ExistingObjectReplication - whether existing object replication is enabled
    type ExistingObjectReplication struct {
    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if ExistingObjectReplication is not set
    func (e ExistingObjectReplication) IsEmpty() bool {
    	return len(e.Status) == 0
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication.go

    	for _, rule := range c.Rules {
    		if rule.Destination.ARN == arn || c.RoleArn == arn {
    			if !hasARN {
    				hasARN = true
    			}
    			if rule.ExistingObjectReplication.Status == Enabled {
    				return true, true
    			}
    		}
    	}
    	return hasARN, false
    }
    
    // FilterActionableRules returns the rules actions that need to be executed
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top