Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for DefaultKVS (0.17 sec)

  1. internal/config/batch/batch.go

    	opts.ReplicationWorkersWait = nopts.ReplicationWorkersWait
    	opts.KeyRotationWorkersWait = nopts.KeyRotationWorkersWait
    	opts.ExpirationWorkersWait = nopts.ExpirationWorkersWait
    }
    
    // DefaultKVS - default KV config for batch job settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   ReplicationWorkersWait,
    		Value: "0ms", // No wait by default between each replication attempts.
    	},
    	config.KV{
    		Key:   KeyRotationWorkersWait,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Dec 06 09:09:22 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. internal/config/callhome/callhome.go

    	if err = config.CheckValidKeys(config.CallhomeSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	cfg.Enable = env.Get(config.EnvMinIOCallhomeEnable,
    		kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    	cfg.Frequency, err = time.ParseDuration(env.Get(config.EnvMinIOCallhomeFrequency,
    		kvs.GetWithDefault(Frequency, DefaultKVS)))
    	return cfg, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. internal/config/drive/drive.go

    package drive
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/env"
    )
    
    // DefaultKVS - default KVS for drive
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   MaxTimeout,
    		Value: "",
    	},
    }
    
    var configLk sync.RWMutex
    
    // Config represents the subnet related configuration
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. internal/config/browser/browser.go

    	EnvBrowserHSTSPreload           = "MINIO_BROWSER_HSTS_PRELOAD"
    	EnvBrowserReferrerPolicy        = "MINIO_BROWSER_REFERRER_POLICY"
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   browserCSPPolicy,
    			Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
    		},
    		config.KV{
    			Key:   browserHSTSSeconds,
    			Value: "0",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. internal/config/heal/heal.go

    	if err != nil {
    		return cfg, fmt.Errorf("'heal:max_sleep' value invalid: %w", err)
    	}
    	cfg.IOCount, err = strconv.Atoi(env.Get(EnvIOCount, kvs.GetWithDefault(IOCount, DefaultKVS)))
    	if err != nil {
    		return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err)
    	}
    	if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" {
    		w, err := strconv.Atoi(ws)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. internal/config/scanner/scanner.go

    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    }
    
    // DefaultKVS - default KV config for heal settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Speed,
    		Value: "default",
    	},
    	config.KV{
    		Key:           IdleSpeed,
    		Value:         "",
    		HiddenIfEmpty: true,
    	},
    	config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. internal/config/policy/opa/config.go

    // Env IAM OPA URL
    const (
    	URL       = "url"
    	AuthToken = "auth_token"
    
    	EnvPolicyOpaURL       = "MINIO_POLICY_OPA_URL"
    	EnvPolicyOpaAuthToken = "MINIO_POLICY_OPA_AUTH_TOKEN"
    )
    
    // DefaultKVS - default config for OPA config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    	}
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  8. internal/config/ilm/ilm.go

    	}
    
    	if err = config.CheckValidKeys(config.ILMSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	tw, err := strconv.Atoi(env.Get(EnvILMTransitionWorkers, kvs.GetWithDefault(transitionWorkers, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    
    	ew, err := strconv.Atoi(env.Get(EnvILMExpirationWorkers, kvs.GetWithDefault(expirationWorkers, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. internal/config/etcd/etcd.go

    	EnvEtcdCoreDNSPath   = "MINIO_ETCD_COREDNS_PATH"
    	EnvEtcdClientCert    = "MINIO_ETCD_CLIENT_CERT"
    	EnvEtcdClientCertKey = "MINIO_ETCD_CLIENT_CERT_KEY"
    )
    
    // DefaultKVS - default KV settings for etcd.
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   Endpoints,
    			Value: "",
    		},
    		config.KV{
    			Key:   PathPrefix,
    			Value: "",
    		},
    		config.KV{
    			Key:   CoreDNSPath,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. internal/config/cache/cache.go

    	cfg.Enable = env.Get(EnvEnable, kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    
    	if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" {
    		objectSize, err := humanize.ParseBytes(d)
    		if err != nil {
    			return cfg, err
    		}
    		cfg.BlockSize = int64(objectSize)
    	}
    
    	cfg.Endpoint = env.Get(EnvEndpoint, kvs.GetWithDefault(Endpoint, DefaultKVS))
    	cfg.clnt = &http.Client{Transport: transport}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top