Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/logger/legacy.go

    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    	scfg[config.AuditWebhookSubSys][k] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Endpoint,
    			Value: args.Endpoint.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: args.AuthToken,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 09:47:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/config-current.go

    	}
    	for k, v := range notify.DefaultNotificationKVS {
    		kvs[k] = v
    	}
    	for k, v := range lambda.DefaultLambdaKVS {
    		kvs[k] = v
    	}
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Dec 19 20:27:06 UTC 2022
    - 1.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 08 05:12:36 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. internal/config/policy/opa/legacy.go

    func SetPolicyOPAConfig(s config.Config, opaArgs Args) {
    	if opaArgs.URL == nil || opaArgs.URL.String() == "" {
    		// Do not enable if opaArgs was empty.
    		return
    	}
    	s[config.PolicyOPASubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: opaArgs.URL.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: opaArgs.AuthToken,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top