- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for DefaultKVS (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
internal/config/cache/help.go
package cache import "github.com/minio/minio/internal/config" var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } // Help - provides help for cache config Help = config.HelpKVS{ config.HelpKV{ Key: Enable, Type: "on|off",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 22 00:57:13 GMT 2023 - 1.5K bytes - Viewed (0) -
internal/config/storageclass/help.go
package storageclass import "github.com/minio/minio/internal/config" // Help template for storageclass feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: ClassStandard, Description: `set the parity count for default standard storage class` + defaultHelpPostfix(ClassStandard), Optional: true,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 22:06:19 GMT 2024 - 1.8K bytes - Viewed (0) -
internal/config/browser/help.go
package browser import "github.com/minio/minio/internal/config" // Help template for browser feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: browserCSPPolicy, Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy), Optional: true,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 2.1K bytes - Viewed (0)