Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for entries (0.14 sec)

  1. cmd/config.go

    		}
    		for _, obj := range res.Objects {
    			cfgEntry := madmin.ConfigHistoryEntry{
    				RestoreID:  strings.TrimSuffix(path.Base(obj.Name), kvPrefix),
    				CreateTime: obj.ModTime, // ModTime is createTime for config history entries.
    			}
    			if withData {
    				data, err := readConfig(ctx, objAPI, obj.Name)
    				if err != nil {
    					// ignore history file if not readable.
    					continue
    				}
    
    				data, err = decryptData(data, obj.Name)
    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/config.go

    // environment variables or via the configuration store. The default target is
    // `_` and is always returned. The result is sorted so that the default target
    // is the first one and the remaining entries are sorted in ascending order.
    func (c Config) GetAvailableTargets(subSys string) ([]string, error) {
    	if SubSystemsSingleTargets.Contains(subSys) {
    		return []string{Default}, nil
    	}
    
    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