Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for DefaultKVS (0.33 sec)

  1. 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)
  2. 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)
  3. internal/config/config.go

    	EnvWordDelimiter = madmin.EnvWordDelimiter
    )
    
    // DefaultKVS - default kvs for all sub-systems
    var DefaultKVS = map[string]KVS{}
    
    // RegisterDefaultKVS - this function saves input kvsMap
    // globally, this should be called only once preferably
    // during `init()`.
    func RegisterDefaultKVS(kvsMap map[string]KVS) {
    	for subSys, kvs := range kvsMap {
    		DefaultKVS[subSys] = kvs
    	}
    }
    
    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)
  4. internal/config/identity/plugin/config.go

    	EnvIdentityPluginRolePolicy = "MINIO_IDENTITY_PLUGIN_ROLE_POLICY"
    	EnvIdentityPluginRoleID     = "MINIO_IDENTITY_PLUGIN_ROLE_ID"
    )
    
    var (
    	// DefaultKVS - default config for AuthN plugin config
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   RolePolicy,
    			Value: "",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  5. internal/config/identity/tls/config.go

    	if err != nil {
    		return Config{}, err
    	}
    	return cfg, nil
    }
    
    const (
    	skipVerify = "skip_verify"
    )
    
    // DefaultKVS is the default K/V config system for
    // the STS TLS API.
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   skipVerify,
    		Value: "off",
    	},
    }
    
    // Help is the help and description for the STS API K/V configuration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. internal/config/subnet/config.go

    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const (
    	baseURL    = "https://subnet.min.io"
    	baseURLDev = "http://localhost:9000"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   config.License, // Deprecated Dec 2021
    		Value: "",
    	},
    	config.KV{
    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. internal/config/compress/compress.go

    	// Include-list for compression.
    	DefaultExtensions = ".txt,.log,.csv,.json,.tar,.xml,.bin"
    	DefaultMimeTypes  = "text/*,application/json,application/xml,binary/octet-stream"
    )
    
    // DefaultKVS - default KV config for compression settings
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   AllowEncrypted,
    			Value: config.EnableOff,
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top