Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Getrtable (0.43 sec)

  1. pilot/pkg/networking/core/route/retry/retry.go

    		out.RetryOn, out.RetriableStatusCodes = parseRetryOn(in.RetryOn)
    		// If user has just specified HTTP status codes in retryOn but have not specified "retriable-status-codes", let us add it.
    		if len(out.RetriableStatusCodes) > 0 && !strings.Contains(out.RetryOn, "retriable-status-codes") {
    			out.RetryOn += ",retriable-status-codes"
    		}
    	}
    
    	if in.PerTryTimeout != nil {
    		out.PerTryTimeout = in.PerTryTimeout
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/retry/retry_test.go

    			},
    		},
    		{
    			name: "TestRetryOnWithRetriableStatusCodes",
    			// Create a route with a retry policy with retriable status code.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    					// Explicitly not retrying.
    					Attempts: 2,
    					RetryOn:  "gateway-error,retriable-status-codes,503",
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. cmd/os-reliable.go

    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    			// Retry only for the first retryable error.
    			if isSysErrNotEmpty(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    	return err
    }
    
    // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/poll/sendfile_linux.go

    			// support) and syscall.EINVAL (fd types which
    			// don't implement sendfile), and other errors.
    			// We should end the loop when there is no error
    			// returned from sendfile(2) or it is not a retryable error.
    			break
    		}
    		if err == syscall.EINTR {
    			continue
    		}
    		if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/internal/poll/sendfile_bsd.go

    		// support) and syscall.EINVAL (fd types which
    		// don't implement sendfile), and other errors.
    		// We should end the loop when there is no error
    		// returned from sendfile(2) or it is not a retryable error.
    		if err != syscall.EAGAIN {
    			break
    		}
    		if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil {
    			break
    		}
    	}
    	handled = written != 0 || (err != syscall.ENOSYS && err != syscall.EINVAL)
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/internal/poll/sendfile_solaris.go

    			// support) and syscall.EINVAL (fd types which
    			// don't implement sendfile), and other errors.
    			// We should end the loop when there is no error
    			// returned from sendfile(2) or it is not a retryable error.
    			break
    		}
    		if err == syscall.EINTR {
    			continue
    		}
    		if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/internal/reflectlite/export_test.go

    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0.
    // The returned value is neither addressable nor settable.
    func Zero(typ Type) Value {
    	if typ == nil {
    		panic("reflect: Zero(nil)")
    	}
    	t := typ.common()
    	fl := flag(t.Kind())
    	if t.IfaceIndir() {
    		return Value{t, unsafe_New(t), fl | flagIndir}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. pkg/kubemark/hollow_kubelet.go

    		KubeletConfiguration: *hk.KubeletConfiguration,
    	}, hk.KubeletDeps, false); err != nil {
    		klog.Fatalf("Failed to run HollowKubelet: %v. Exiting.", err)
    	}
    	select {}
    }
    
    // HollowKubeletOptions contains settable parameters for hollow kubelet.
    type HollowKubeletOptions struct {
    	NodeName            string
    	KubeletPort         int
    	KubeletReadOnlyPort int
    	MaxPods             int
    	PodsPerCore         int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_edit.txt

    ! stdout .
    cmpenv go.mod $WORK/go.mod.goodfmt
    
    # go mod edit -module
    cd $WORK/m
    go mod init a.a/b/c
    go mod edit -module x.x/y/z
    cmpenv go.mod go.mod.edit
    
    # golang.org/issue/30513: don't require go-gettable module paths.
    cd $WORK/local
    go mod init foo
    go mod edit -module local-only -require=other-local@v1.0.0 -replace other-local@v1.0.0=./other
    cmpenv go.mod go.mod.edit
    
    # go mod edit -godebug
    cd $WORK/g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top