Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KeepOnly (0.09 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		if !ok {
    			continue
    		}
    		for _, hpa := range selectingHpas {
    			hpas[hpa] = struct{}{}
    		}
    	}
    	// Clean up all added pods.
    	a.hpaSelectors.KeepOnly([]selectors.Key{})
    
    	hpaList := []selectors.Key{}
    	for hpa := range hpas {
    		hpaList = append(hpaList, hpa)
    	}
    	return hpaList
    }
    
    // validateAndParseSelector verifies that:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top