- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasExistingObjectReplication (0.17 sec)
-
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) -
cmd/bucket-replication-handlers.go
config, _, err := globalBucketMetadataSys.GetReplicationConfig(ctx, bucket) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } hasARN, hasExistingObjEnabled := config.HasExistingObjectReplication(arn) if !hasARN { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrRemoteTargetNotFoundError), r.URL) return } if !hasExistingObjEnabled {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 23.3K bytes - Viewed (0)