Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,038 for targets (0.21 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 Apr 21 19:28:08 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. internal/event/targetlist.go

    	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
    }
    
    // Exists - checks whether target by target ID exists or not.
    func (list *TargetList) Exists(id TargetID) bool {
    	list.RLock()
    	defer list.RUnlock()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. ci/official/any.sh

      export TFCI="$TFCI,$TF_ANY_EXTRA_ENV"
    fi
    if [[ -n "${TF_ANY_SCRIPT:-}" ]]; then
      "$TF_ANY_SCRIPT"
    elif [[ -n "${TF_ANY_TARGETS:-}" ]]; then
      source "${BASH_SOURCE%/*}/utilities/setup.sh"
      tfrun bazel "${TF_ANY_MODE:-test}" $TFCI_BAZEL_COMMON_ARGS $TF_ANY_TARGETS
    else
      echo 'Looks like $TF_ANY_TARGETS are $TF_ANY_SCRIPT are both empty. That is an error.'
      exit 1
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
  5. cmd/bucket-replication-utils.go

    // ResyncDecision is a struct representing a map with target's individual resync decisions
    type ResyncDecision struct {
    	targets map[string]ResyncTargetDecision
    }
    
    // Empty returns true if no targets with resync decision present
    func (r ResyncDecision) Empty() bool {
    	return r.targets == nil
    }
    
    func (r ResyncDecision) mustResync() bool {
    	for _, v := range r.targets {
    		if v.Replicate {
    			return true
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    			Value: "2",
    		},
    	}
    )
    
    // GetNotifyMySQL - returns a map of registered notification 'mysql' targets
    func GetNotifyMySQL(mysqlKVS map[string]config.KVS) (map[string]target.MySQLArgs, error) {
    	mysqlTargets := make(map[string]target.MySQLArgs)
    	for k, kv := range config.Merge(mysqlKVS, target.EnvMySQLEnable, DefaultMySQLKVS) {
    		enableEnv := target.EnvMySQLEnable
    		if k != config.Default {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    	return nil
    }
    
    // HostName returns the name of the local host.
    func (m *Manager) HostName() string {
    	return m.local
    }
    
    // Targets returns the names of all remote targets.
    func (m *Manager) Targets() []string {
    	var res []string
    	for k := range m.targets {
    		res = append(res, k)
    	}
    	return res
    }
    
    // debugMsg should *only* be used by tests.
    //
    //lint:ignore U1000 This is used by tests.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/event-notification.go

    	}
    	region := globalSite.Region
    	for targetID, target := range evnot.targetList.TargetMap() {
    		// httpclient target is part of ListenNotification
    		// which doesn't need to be listed as part of the ARN list
    		// This list is only meant for external targets, filter
    		// this out pro-actively.
    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			if onlyActive {
    				if _, err := target.IsActive(); err != nil {
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return super.containsAll(targets);
        }
    
        /*
         * If targets is a sorted set with the same comparator, containsAll can run
         * in O(n) time stepping through the two collections.
         */
        Iterator<E> thisIterator = iterator();
    
        Iterator<?> thatIterator = targets.iterator();
        // known nonempty since we checked targets.size() > 1
    
        if (!thisIterator.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. internal/config/lambda/parse.go

    // GetLambdaWebhook - returns a map of registered notification 'webhook' targets
    func GetLambdaWebhook(webhookKVS map[string]config.KVS, transport *http.Transport) (
    	map[string]target.WebhookArgs, error,
    ) {
    	webhookTargets := make(map[string]target.WebhookArgs)
    	for k, kv := range config.Merge(webhookKVS, target.EnvWebhookEnable, DefaultWebhookKVS) {
    		enableEnv := target.EnvWebhookEnable
    		if k != config.Default {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top