Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DelKVS (0.25 sec)

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

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	cfgKey := fmt.Sprintf("%s:%s", subSys, cfgName)
    	if cfgName == madmin.Default {
    		cfgKey = subSys
    	}
    	if err = cfg.DelKVS(cfgKey); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    
    		var validationErr ldap.Validation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/config/config.go

    				} else {
    					targets = append(targets, Target{
    						SubSystem: hkv.Key,
    						KVS:       kvs,
    					})
    				}
    			}
    		}
    	}
    	return targets, nil
    }
    
    // DelKVS - delete a specific key.
    func (c Config) DelKVS(s string) error {
    	subSys, inputs, tgt, err := GetSubSys(s)
    	if err != nil {
    		if !SubSystems.Contains(subSys) && len(inputs) == 1 {
    			// Unknown sub-system found try to remove it anyways.
    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