// GetResourceLimiter returns struct containing limits (max, min) for resources (cores, memory etc.).
GetResourceLimiter returns struct containing limits (max, min) for resources (cores, memory etc.).
// GetResourceLimiter returns struct containing limits ( max min ) for resources ( cores memory etc . ) .
func (gke *GkeCloudProvider) GetResourceLimiter() (*cloudprovider.ResourceLimiter, error) {
	resourceLimiter, err := gke.gkeManager.GetResourceLimiter()
	if err != nil {
		return nil, err
	}
	if resourceLimiter != nil {
		return resourceLimiter, nil
	}
	return gke.resourceLimiterFromFlags, nil
}
func ( gke * GkeCloudProvider ) GetResourceLimiter ( ) ( * cloudprovider . ResourceLimiter , error ) { resourceLimiter , err := gke . gkeManager . GetResourceLimiter ( ) if err != nil { return nil , err } if resourceLimiter != nil { return resourceLimiter , nil } return gke . resourceLimiterFromFlags , nil }
GetResourceLimiter returns struct containing limits (max, min) for resources (cores, memory etc.
GetResourceLimiter returns struct containing limits ( max min ) for resources ( cores memory etc .