- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 195 for Petry (0.04 sec)
-
security/pkg/nodeagent/cache/secretcache.go
// Try adding file watcher and if it fails start a retry loop. if err := sc.tryAddFileWatcher(file, resourceName); err == nil { return } // RetryWithContext file watcher as some times it might fail to add and we will miss change // notifications on those files. For now, retry for ever till the watcher is added.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 08:29:46 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/test/util/retry/retry.go
// limitations under the License. package retry import ( "errors" "fmt" "time" "istio.io/istio/pkg/log" "istio.io/istio/pkg/test" ) var scope = log.RegisterScope("retry", "logs for retries") const ( // DefaultTimeout the default timeout for the entire retry operation DefaultTimeout = time.Second * 30 // DefaultDelay the default delay between successive retry attempts
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/config/validation/validation.go
const ( kb = 1024 mb = 1024 * kb ) var ( // envoy supported retry on header values supportedRetryOnPolicies = sets.New( // 'x-envoy-retry-on' supported policies: // https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter.html#x-envoy-retry-on "5xx", "gateway-error", "reset", "connect-failure", "retriable-4xx", "refused-stream",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
tests/integration/telemetry/api/wasmplugin_test.go
} return nil } func sendTraffic(ctx framework.TestContext, checker echo.Checker, options ...retry.Option) { ctx.Helper() if len(GetClientInstances()) == 0 { ctx.Fatal("there is no client") } cltInstance := GetClientInstances()[0] defaultOptions := []retry.Option{retry.Delay(100 * time.Millisecond), retry.Timeout(200 * time.Second)} httpOpts := echo.CallOptions{ To: GetTarget(), Port: echo.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 14.4K bytes - Viewed (0) -
tests/integration/ambient/cacert_rotation_test.go
} // perform one retry to handle race condition where ztunnel cert is refreshed before Istiod certificates are reloaded retry.UntilSuccess(func() error { newWorkloadCert := waitForWorkloadCertUpdate(t, ztunnelPod, sa, istioCtl, originalWorkloadSecret) return verifyWorkloadCert(t, newWorkloadCert, newX509) }, retry.MaxAttempts(2), retry.Timeout(5*time.Minute)) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 03:28:36 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller_test.go
fetch(unpatchedWebhookConfig.Name), webhookConfigAfterCAUpdate, retry.Message("webhook should change after cert change"), LongRetry, ) } // LongRetry is used when comparing webhook values. Apparently the values are so large that with -race // on the comparison can take a few seconds, meaning we never retry with the default settings. var LongRetry = retry.Timeout(time.Second * 20) func TestLoadCaCertPem(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 03:21:04 UTC 2024 - 11.8K bytes - Viewed (0) -
tests/integration/telemetry/api/customize_metrics_test.go
_, err = util.QueryPrometheus(t, cluster, grpcDestinationQuery, promInst) if err != nil { util.PromDiff(t, promInst, cluster, grpcDestinationQuery) return err } return nil }, retry.Delay(1*time.Second), retry.Timeout(300*time.Second)) // check tag removed if strings.Contains(httpMetricVal, removedTag) { t.Errorf("failed to remove tag: %v", removedTag) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/calloptions.go
CaCertFile string // Skip verifying peer's certificate. InsecureSkipVerify bool } // Retry settings type Retry struct { // NoRetry if true, no retry will be attempted. NoRetry bool // Options to be used when retrying. If not specified, defaults will be used. Options []retry.Option } // TCP settings type TCP struct { // ExpectedResponse asserts this is in the response for TCP requests.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 13K bytes - Viewed (0) -
pkg/test/framework/components/echo/common/call.go
} return result, err } if opts.Retry.NoRetry { // Retry is disabled, just send once. t0 := time.Now() defer func() { scopes.Framework.Debugf("echo call complete with duration %v", time.Since(t0)) }() return sendAndValidate() } // Retry the call until it succeeds or times out. var result echo.CallResult var err error _, _ = retry.UntilComplete(func() (any, bool, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 6.7K bytes - Viewed (0) -
tests/integration/pilot/analysis/analysis_test.go
hosts: - reviews http: - route: - destination: host: reviews `).ApplyOrFail(t) // Status should report error retry.UntilSuccessOrFail(t, func() error { return expectVirtualServiceStatus(t, ns, true) }, retry.Timeout(time.Minute*5)) // Apply config to make this not invalid t.ConfigIstio().YAML(ns.Name(), ` apiVersion: networking.istio.io/v1alpha3 kind: Gateway
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 8.7K bytes - Viewed (0)