Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newReplicateTargetDecision (0.17 sec)

  1. cmd/bucket-replication_test.go

    			},
    			rcfg: replicationConfig{remotes: &madmin.BucketTargets{Targets: []madmin.BucketTarget{{
    				Arn: "arn1",
    			}}}},
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    			expectedSync: true,
    		},
    
    		{ // 2. replication status Failed
    			name: "existing object replication on object in Failed replication status",
    			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)
  2. cmd/bucket-replication-utils.go

    	ID          string
    }
    
    func (t *replicateTargetDecision) String() string {
    	return fmt.Sprintf("%t;%t;%s;%s", t.Replicate, t.Synchronous, t.Arn, t.ID)
    }
    
    func newReplicateTargetDecision(arn string, replicate bool, sync bool) replicateTargetDecision {
    	d := replicateTargetDecision{
    		Replicate:   replicate,
    		Synchronous: sync,
    		Arn:         arn,
    	}
    	return d
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top