Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for notRegularPods (0.41 sec)

  1. pkg/test/framework/components/echo/echotest/filters.go

    //
    // TODO this name is not good
    func SimplePodServiceAndAllSpecial(min int, exclude ...echo.Instance) Filter {
    	return func(instances echo.Instances) echo.Instances {
    		nonRegular := notRegularPods()(instances)
    		needed := min - len(nonRegular)
    		if needed <= 0 {
    			needed = 1
    		}
    
    		return nRegularPodPerNamespace(needed, exclude)(instances).Append(nonRegular)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top