Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fetchOpenAPIOrDie (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    	wait.Poll(time.Second*1, wait.ForeverTestTimeout, func() (bool, error) {
    		openapi := t.fetchOpenAPIOrDie()
    		if conditionFunc(openapi) {
    			return true, nil
    		}
    		return false, nil
    	})
    }
    
    func (t *testEnv) pollForPathExists(path string) {
    	wait.Poll(time.Second*1, wait.ForeverTestTimeout, func() (bool, error) {
    		openapi := t.fetchOpenAPIOrDie()
    		if _, ok := openapi.Paths.Paths[path]; !ok {
    			return false, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top