Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListTargets (0.06 sec)

  1. cmd/site-replication.go

    func (c *SiteReplicationSys) RemoveRemoteTargetsForEndpoint(ctx context.Context, objectAPI ObjectLayer, endpoints []string, unlinkSelf bool) (err error) {
    	targets := globalBucketTargetSys.ListTargets(ctx, "", string(madmin.ReplicationService))
    	m := make(map[string]madmin.BucketTarget)
    	for _, t := range targets {
    		for _, endpoint := range endpoints {
    			ep, _ := url.Parse(endpoint)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	pTimer := time.NewTimer(mrfQueueInterval)
    	defer pTimer.Stop()
    	for {
    		select {
    		case <-pTimer.C:
    			// skip healing if all targets are offline
    			var offlineCnt int
    			tgts := globalBucketTargetSys.ListTargets(p.ctx, "", "")
    			for _, tgt := range tgts {
    				if globalBucketTargetSys.isOffline(tgt.URL()) {
    					offlineCnt++
    				}
    			}
    			if len(tgts) == offlineCnt {
    				pTimer.Reset(mrfQueueInterval)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top