Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetSubsysInfo (0.21 sec)

  1. cmd/admin-handlers-config-kv.go

    		subSys = ws[0]
    		if len(ws) == 2 {
    			if ws[1] == "" {
    				target = madmin.Default
    			} else {
    				target = ws[1]
    			}
    		}
    	}
    
    	subSysConfigs, err := cfg.GetSubsysInfo(subSys, target, true)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var s strings.Builder
    	for _, subSysConfig := range subSysConfigs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. internal/config/config.go

    	// map of config parameter name to EnvPair.
    	EnvMap map[string]EnvPair
    }
    
    // GetSubsysInfo returns `SubsysInfo`s for all targets for the subsystem, when
    // target is empty. Otherwise returns `SubsysInfo` for the desired target only.
    // To request the default target only, target must be set to `Default`.
    func (c Config) GetSubsysInfo(subSys, target string, redactSecrets bool) ([]SubsysInfo, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top