Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for cfgs (0.02 sec)

  1. internal/bucket/replication/replication_test.go

    		expectedResult bool
    	}{
    		// using config 1 - no filters, all replication enabled
    		{ObjectOpts{}, cfgs[0], false},                                // 1. invalid ObjectOpts missing object name
    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  2. internal/logger/targets.go

    func UpdateHTTPWebhooks(ctx context.Context, cfgs map[string]http.Config) (errs []error) {
    	return updateHTTPTargets(ctx, cfgs, systemTargets)
    }
    
    // UpdateAuditWebhooks swaps audit webhook targets with newly loaded ones from the cfg
    func UpdateAuditWebhooks(ctx context.Context, cfgs map[string]http.Config) (errs []error) {
    	return updateHTTPTargets(ctx, cfgs, auditTargets)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    func isBktReplCfgReplicated(total int, cfgs []*sreplication.Config) bool {
    	cntReplicated := 0
    	for _, c := range cfgs {
    		if c == nil {
    			continue
    		}
    		cntReplicated++
    	}
    
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *sreplication.Config
    	for i, c := range cfgs {
    		if c == nil {
    			continue
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 184.8K bytes
    - Viewed (1)
  4. cmd/object-api-utils.go

    	globalCompressConfigMu.Lock()
    	cfg := globalCompressConfig
    	globalCompressConfigMu.Unlock()
    
    	return !excludeForCompression(header, object, cfg)
    }
    
    // Eliminate the non-compressible objects.
    func excludeForCompression(header http.Header, object string, cfg compress.Config) bool {
    	objStr := object
    	contentType := header.Get(xhttp.ContentType)
    	if !cfg.Enabled {
    		return true
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	pcfgs := globalIAMSys.OpenIDConfig.ProviderCfgs
    	m := make(map[string]consoleoauth2.ProviderConfig, len(pcfgs))
    	for name, cfg := range pcfgs {
    		callback := getConsoleEndpoints()[0] + "/oauth_callback"
    		if cfg.RedirectURI != "" {
    			callback = cfg.RedirectURI
    		}
    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  6. internal/config/notify/legacy.go

    			Value: strconv.Itoa(int(cfg.TLS.ClientAuth)),
    		},
    		config.KV{
    			Key:   target.KafkaSASL,
    			Value: config.FormatBool(cfg.SASL.Enable),
    		},
    		config.KV{
    			Key:   target.KafkaSASLUsername,
    			Value: cfg.SASL.User,
    		},
    		config.KV{
    			Key:   target.KafkaSASLPassword,
    			Value: cfg.SASL.Password,
    		},
    		config.KV{
    			Key:   target.KafkaCompressionCodec,
    			Value: cfg.Producer.Compression,
    		},
    		config.KV{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. internal/config/scanner/scanner.go

    				return cfg, err
    			}
    		}
    	}
    
    	switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed {
    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. internal/config/api/api.go

    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.RequestsMax = requestsMax
    	if requestsMax < 0 {
    		return cfg, errors.New("invalid API max requests value")
    	}
    
    	clusterDeadline, err := time.ParseDuration(env.Get(EnvAPIClusterDeadline, kvs.GetWithDefault(apiClusterDeadline, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    	cfg.ClusterDeadline = clusterDeadline
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  9. internal/config/etcd/etcd.go

    }
    
    // New - initialize new etcd client.
    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. internal/config/batch/batch.go

    	if err != nil {
    		return cfg, err
    	}
    	if eduration < 0 {
    		return cfg, config.ErrInvalidBatchExpirationWorkersWait(nil)
    	}
    
    	if rduration > 0 {
    		cfg.ReplicationWorkersWait = rduration
    	}
    
    	if kduration > 0 {
    		cfg.KeyRotationWorkersWait = kduration
    	}
    
    	if eduration > 0 {
    		cfg.ExpirationWorkersWait = eduration
    	}
    
    	return cfg, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top