Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _isInvalid (0.1 sec)

  1. pkg/registry/core/pod/rest/log_test.go

    		{SinceSeconds: &negativeOne},
    		{TailLines: &negativeOne},
    	}
    
    	for _, tc := range testCases {
    		_, err := logRest.Get(genericapirequest.NewDefaultContext(), "test", tc)
    		if !errors.IsInvalid(err) {
    			t.Fatalf("Unexpected error: %v", err)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *
     * A good way to signal a failure is with a synthetic HTTP response:
     *
     * ```kotlin
     *   @Throws(IOException::class)
     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go

    		_, err = fooClient.Update(context.TODO(), modifiedInstance, metav1.UpdateOptions{})
    		if err == nil {
    			return true, err
    		}
    		if errors.IsInvalid(err) {
    			// wait until modifiedInstance becomes valid again
    			return false, nil
    		}
    		return false, err
    	})
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top