Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Alice (0.13 sec)

  1. internal/config/config.go

    // kvFields - converts an input string of form "k1=v1 k2=v2" into
    // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v`
    // happens with the right number of input keys, if keys
    // input is empty returned value is empty slice as well.
    func kvFields(input string, keys []string) []string {
    	valueIndexes := make([]int, 0, len(keys))
    	for _, key := range keys {
    		i := strings.Index(input, key+KvSeparator)
    		if i == -1 {
    			continue
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. cmd/config.go

    			configHistory = append(configHistory, cfgEntry)
    			count--
    			if count == 0 {
    				break
    			}
    		}
    		if !res.IsTruncated {
    			// We are done here
    			break
    		}
    		marker = res.NextMarker
    	}
    	sort.Slice(configHistory, func(i, j int) bool {
    		return configHistory[i].CreateTime.Before(configHistory[j].CreateTime)
    	})
    	return configHistory, nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.6K bytes
    - Viewed (2)
Back to top