Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 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/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)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_gen.go

    				return
    			}
    		case "Targets":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Targets")
    				return
    			}
    			if z.Targets == nil {
    				z.Targets = make(map[string]replication.StatusType, zb0002)
    			} else if len(z.Targets) > 0 {
    				for key := range z.Targets {
    					delete(z.Targets, key)
    				}
    			}
    			for zb0002 > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    			e.ReplicationStats = &replicationAllStats{Targets: make(map[string]replicationStats)}
    		} else if e.ReplicationStats.Targets == nil {
    			e.ReplicationStats.Targets = make(map[string]replicationStats)
    		}
    		e.ReplicationStats.ReplicaSize += other.ReplicationStats.ReplicaSize
    		e.ReplicationStats.ReplicaCount += other.ReplicationStats.ReplicaCount
    		for arn, stat := range other.ReplicationStats.Targets {
    			st := e.ReplicationStats.Targets[arn]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. 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)
  8. 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)
  9. 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)
  10. docs/bucket/replication/DESIGN.md

    important exceptions.
    
    Replication status on the source cluster will be marked as `COMPLETED` only after replication is completed on all targets. If one or more targets failed replication, the replication status is reflected as `PENDING`.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
Back to top