Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for CheckValidKeys (0.13 sec)

  1. internal/config/storageclass/storage-class.go

    func LookupConfig(kvs config.KVS, setDriveCount int) (cfg Config, err error) {
    	cfg = Config{}
    
    	deprecatedKeys := []string{
    		"dma",
    	}
    
    	if err = config.CheckValidKeys(config.StorageClassSubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
    		return Config{}, err
    	}
    
    	ssc := env.Get(StandardEnv, kvs.Get(ClassStandard))
    	rrsc := env.Get(RRSEnv, kvs.Get(ClassRRS))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    		subSysTarget := subSys
    		if tname != config.Default {
    			subSysTarget = subSys + config.SubSystemSeparator + tname
    		}
    		if v, ok := kv.Lookup(config.Enable); ok && v == config.EnableOn {
    			if err := config.CheckValidKeys(subSysTarget, kv, validKVS); err != nil {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // DefaultKafkaKVS - default KV for kafka target
    var (
    	DefaultKafkaKVS = config.KVS{
    		config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top