Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,532 for Target (0.22 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. internal/config/lambda/event/targetlist.go

    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	sync.RWMutex
    	targets map[TargetID]Target
    }
    
    // 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())
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. internal/config/lambda/parse.go

    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    		defer target.Close()
    	}
    
    	for _, target := range targetList {
    		yes, err := target.IsActive()
    		if err == nil && !yes {
    			err = ErrTargetsOffline
    		}
    		if err != nil {
    			return fmt.Errorf("error (%s): %w", target.ID(), err)
    		}
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. internal/config/notify/parse.go

    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    		defer target.Close()
    	}
    
    	tgts, ok := ctx.Value(config.ContextKeyForTargetFromConfig).(map[string]bool)
    	if !ok {
    		tgts = make(map[string]bool)
    	}
    	for _, target := range targetList {
    		if tgts[target.ID().ID] {
    			// When target set should be online
    			yes, err := target.IsActive()
    			if err == nil && !yes {
    				err = ErrTargetsOffline
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  7. internal/config/config.go

    		srvCfg[k][Default] = DefaultKVS[k]
    	}
    	return srvCfg
    }
    
    // Target signifies an individual target
    type Target struct {
    	SubSystem string
    	KVS       KVS
    }
    
    // Targets sub-system targets
    type Targets []Target
    
    // GetKVS - get kvs from specific subsystem.
    func (c Config) GetKVS(s string, defaultKVS map[string]KVS) (Targets, error) {
    	if len(s) == 0 {
    		return nil, Errorf("input cannot be empty")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. ci/official/utilities/code_check_full.bats

      | sort -u
    }
    
    # Verify that, given a build target and a license-list generator target, all of
    # the dependencies of that target which include a license notice file are then
    # included when generating that license. Necessary because the license targets
    # in TensorFlow are manually enumerated rather than generated automatically.
    do_external_licenses_check(){
      BUILD_TARGET="$1"
      LICENSES_TARGET="$2"
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. Makefile.core.mk

    	TARGET_OUT=$(TARGET_OUT) ISTIO_BIN=$(ISTIO_BIN) GOOS_LOCAL=$(GOOS_LOCAL) bin/retry.sh SSL_ERROR_SYSCALL bin/init.sh
    	touch $(TARGET_OUT)/istio_is_init
    
    .PHONY: init-ztunnel-rs
    init-ztunnel-rs:
    	TARGET_OUT=$(TARGET_OUT) bin/build_ztunnel.sh
    
    # Pull dependencies such as envoy
    depend: init | $(TARGET_OUT)
    
    DIRS_TO_CLEAN := $(TARGET_OUT)
    DIRS_TO_CLEAN += $(TARGET_OUT_LINUX)
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  10. docs/bucket/replication/DESIGN.md

    ## Overview
    
    Replication relies on immutability provided by versioning to sync objects between the configured source and replication target. Replication results in the object data, metadata, last modification time and version ID all being identical between the source and target. Thus version ordering is automatically guaranteed on the source and target clusters.
    
    ### Replication of object version and metadata
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
Back to top