Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for _targets (0.19 sec)

  1. internal/logger/targets.go

    	}
    	return tgts, errs
    }
    
    // Split targets into two groups:
    //
    //	group1 contains all targets of type t
    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    	for _, target := range targets {
    		if target.Type() == t {
    			group1 = append(group1, target)
    		} else {
    			group2 = append(group2, target)
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/bucket-targets.go

    		if target.SourceBucket == bucket &&
    			target.TargetBucket == bucket &&
    			target.Endpoint == ep.Host &&
    			target.Secure == (ep.Scheme == "https") &&
    			target.Type == madmin.ReplicationService {
    			return target.Arn
    		}
    	}
    	return ""
    }
    
    // generate ARN that is unique to this target type
    func generateARN(t *madmin.BucketTarget, deplID string) string {
    	uuid := deplID
    	if uuid == "" {
    		uuid = mustGetUUID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_test.go

    	},
    	{ // 2. replication status for one target
    		name:      "replication status for one target",
    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING;", Targets: map[string]replication.StatusType{"arn1": "PENDING"}},
    		expStatus: replication.Pending,
    	},
    	{ // 3. replication status for one target - incorrect format
    		name:      "replication status for one target",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	errs := make([]error, len(proxyTargets.Targets))
    	tagSlc := make([]map[string]string, len(proxyTargets.Targets))
    	for idx, t := range proxyTargets.Targets {
    		tgt := globalBucketTargetSys.GetRemoteTargetClient(bucket, t.Arn)
    		if tgt == nil || globalBucketTargetSys.isOffline(tgt.EndpointURL()) {
    			continue
    		}
    		// if proxying explicitly disabled on remote target
    		if tgt.disableProxy {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    		prevEp, _ := url.Parse(prevInfo.Endpoint)
    		targets, err := globalBucketTargetSys.ListBucketTargets(ctx, bucket)
    		if err != nil {
    			continue // site healing will take care of configuring new targets
    		}
    		for _, target := range targets.Targets {
    			if target.SourceBucket == bucket &&
    				target.TargetBucket == bucket &&
    				target.Endpoint == prevEp.Host &&
    				target.Secure == (prevEp.Scheme == "https") &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. internal/event/targetlist.go

    	targetSet TargetIDSet
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. internal/grid/debug.go

    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    		for _, remote := range m.Targets() {
    			if err := m.Connection(remote).WaitForConnect(ctx); err != nil {
    				return nil, err
    			}
    		}
    	}
    	return &res, nil
    }
    
    // Cleanup will clean up the test grid.
    func (t *TestGrid) Cleanup() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. internal/event/target/nsq.go

    func (target *NSQTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *NSQTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *NSQTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    // Name - returns the Name of the target.
    func (target *ElasticsearchTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *ElasticsearchTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *ElasticsearchTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    }
    
    // VersionPurgeStatus returns overall version purge status for this object version across targets
    func (fi *FileInfo) VersionPurgeStatus() VersionPurgeStatusType {
    	return fi.ReplicationState.CompositeVersionPurgeStatus()
    }
    
    // ReplicationStatus returns overall version replication status for this object version across targets
    func (fi *FileInfo) ReplicationStatus() replication.StatusType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top