Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for splice (0.14 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  3. internal/config/config.go

    	tgt = Default
    	if len(s) == 0 {
    		return subSys, inputs, tgt, Errorf("input arguments cannot be empty")
    	}
    	inputs = strings.SplitN(s, KvSpaceSeparator, 2)
    
    	subSystemValue := strings.SplitN(inputs[0], SubSystemSeparator, 2)
    	subSys = subSystemValue[0]
    	if !SubSystems.Contains(subSys) {
    		return subSys, inputs, tgt, Errorf("unknown sub-system %s", s)
    	}
    
    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)
Back to top