Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for kvs (0.01 sec)

  1. internal/config/lambda/parse.go

    			}
    		}
    	}
    	return targetList, nil
    }
    
    // DefaultLambdaKVS - default notification list of kvs.
    var (
    	DefaultLambdaKVS = map[string]config.KVS{
    		config.LambdaWebhookSubSys: DefaultWebhookKVS,
    	}
    )
    
    // DefaultWebhookKVS - default KV for webhook config
    var (
    	DefaultWebhookKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    			if err = targetList.Add(t); err != nil {
    				return nil, err
    			}
    		}
    	}
    	return targetList, nil
    }
    
    // DefaultNotificationKVS - default notification list of kvs.
    var (
    	DefaultNotificationKVS = map[string]config.KVS{
    		config.NotifyAMQPSubSys:     DefaultAMQPKVS,
    		config.NotifyKafkaSubSys:    DefaultKafkaKVS,
    		config.NotifyMQTTSubSys:     DefaultMQTTKVS,
    		config.NotifyMySQLSubSys:    DefaultMySQLKVS,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  3. internal/config/help.go

    	// Indicates if sub-sys supports multiple targets.
    	MultipleTargets bool `json:"multipleTargets"`
    }
    
    // HelpKVS - implement order of keys help messages.
    type HelpKVS []HelpKV
    
    // Lookup - lookup a key from help kvs.
    func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
    	for _, hkv := range hkvs {
    		if hkv.Key == key {
    			return hkv, true
    		}
    	}
    	return HelpKV{}, false
    }
    
    // DefaultComment used across all sub-systems.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    	shutdownCtx    context.Context
    	serviceMetrics *metrics
    }
    
    // Enabled returns if AuthNPlugin is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(URL) != ""
    }
    
    // LookupConfig lookup AuthNPlugin from config, override with any ENVs.
    func LookupConfig(kv config.KVS, transport *http.Transport, closeRespFn func(io.ReadCloser), serverRegion string) (Args, error) {
    	args := Args{}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. cmd/config-current.go

    		config.BrowserSubSys:        browser.DefaultKVS,
    	}
    	maps.Copy(kvs, notify.DefaultNotificationKVS)
    	maps.Copy(kvs, lambda.DefaultLambdaKVS)
    	if globalIsErasure {
    		kvs[config.StorageClassSubSys] = storageclass.DefaultKVS
    		kvs[config.HealSubSys] = heal.DefaultKVS
    	}
    	config.RegisterDefaultKVS(kvs)
    
    	// Captures help for each sub-system
    	helpSubSys := config.HelpKVS{
    		config.HelpKV{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			// This is a JSON object type (that preserves key order)
    			kvs, ok := mv.Value.(jstream.KVS)
    			if ok {
    				for _, kv := range kvs {
    					if sset.Contains(kv.Key) {
    						// Reject duplicate conditions or expiration.
    						return nil, fmt.Errorf("input policy has multiple %s, please fix your client code", kv.Key)
    					}
    					sset.Add(kv.Key)
    				}
    			}
    			e.Encode(kvs)
    		}
    	}
    	return &buf, d.Err()
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 23 15:10:12 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. internal/logger/config.go

    )
    
    var (
    	errInvalidQueueSize = errors.New("invalid queue_size value")
    	errInvalidBatchSize = errors.New("invalid batch_size value")
    )
    
    // Default KVS for loggerHTTP and loggerAuditHTTP
    var (
    	DefaultLoggerWebhookKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   Endpoint,
    			Value: "",
    		},
    		config.KV{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. cmd/object-lambda-handlers_test.go

    			cfg := config.New()
    			cfg[config.LambdaWebhookSubSys] = map[string]config.KVS{
    				functionID: {
    					{Key: "endpoint", Value: lambdaServer.URL},
    					{Key: "enable", Value: config.EnableOn},
    				},
    			}
    			cfg[config.APISubSys] = map[string]config.KVS{
    				"api": {
    					{Key: "gzip", Value: config.EnableOff},
    				},
    			}
    
    			var err error
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/legacy.go

    func SetIdentityLDAP(s config.Config, ldapArgs LegacyConfig) {
    	if !ldapArgs.Enabled {
    		// ldap not enabled no need to preserve it in new settings.
    		return
    	}
    	s[config.IdentityLDAPSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ServerAddr,
    			Value: ldapArgs.ServerAddr,
    		},
    		config.KV{
    			Key:   GroupSearchFilter,
    			Value: ldapArgs.GroupSearchFilter,
    		},
    		config.KV{
    			Key:   GroupSearchBaseDN,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Oct 08 05:12:36 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. internal/config/legacy.go

    // SetRegion - One time migration code needed, for migrating from older config to new for server Region.
    func SetRegion(c Config, name string) {
    	if name == "" {
    		return
    	}
    	c[RegionSubSys][Default] = KVS{
    		KV{
    			Key:   RegionName,
    			Value: name,
    		},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Dec 19 20:27:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top