- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 328 for retryOn (0.2 sec)
-
pkg/kube/multicluster/secretcontroller_test.go
for _, override := range configOverrides { override(fakeRestConfig) } return kube.NewFakeClient(), nil } client.RunAndWait(stopCh) assert.NoError(t, c.Run(stopCh)) retry.UntilOrFail(t, c.HasSynced, retry.Timeout(2*time.Second)) secret0 := makeSecret(secretNamespace, "s0", clusterCredential{"c0", []byte("kubeconfig0-0")}) secrets := clienttest.NewWriter[*v1.Secret](t, client)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
// wait for caches to fill for a while (our sync period) before attempting to rediscover resources and retry syncing. // this protects us from deadlocks where available resources changed and one of our informer caches will never fill. // informers keep attempting to sync in the background, so retrying doesn't interrupt them. // the call to resyncMonitors on the reattempt will no-op for resources that still exist.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0) -
tests/integration/pilot/mcs/discoverability/discoverability_test.go
} _, err := from.Call(echo.CallOptions{ Address: address, To: to, Port: echo.Port{ Name: "http", }, Check: checker, Retry: echo.Retry{ Options: []retry.Option{retryDelay, retryTimeout}, }, }) if err != nil { t.Fatalf("failed calling host %s: %v\nCluster Details:\n%s", address, err, getClusterDetailsYAML(t, address, from, to)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
return } case "Notify": err = z.Notify.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Notify") return } case "Retry": err = z.Retry.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Retry") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 18:51:46 UTC 2023 - 40.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency.go
true, PatchNodeOnce(client, nodeName, patchFn, &lastError)) if err == nil { return nil } return lastError } // GetConfigMapWithShortRetry tries to retrieve a ConfigMap using the given client, retrying for a short // time if it gets an unexpected error. The main usage of this function is in areas of the code that // fallback to a default ConfigMap value in case the one from the API cannot be quickly obtained.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 18.4K bytes - Viewed (0) -
tests/integration/telemetry/api/dashboard_test.go
if err != nil { t.Fatalf("Failed to extract queries: %v", err) } for _, query := range queries { retry.UntilSuccessOrFail(t, func() error { return checkMetric(cl, p, query, d.excluded) }, retry.Timeout(time.Minute)) } } }) } }) } // Some templates use replacement variables. Instead, replace those with wildcard
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 11.4K bytes - Viewed (0) -
cmd/batch-rotate.go
// - filter // - notify // - retry type BatchJobKeyRotateFlags struct { Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"` Notify BatchJobNotification `yaml:"notify" json:"notify"` Retry BatchJobRetry `yaml:"retry" json:"retry"` } // BatchJobKeyRotateV1 v1 of batch key rotation job type BatchJobKeyRotateV1 struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.3K bytes - Viewed (0) -
pilot/test/mock/config.go
// run map invariant sequence CheckMapInvariant(store, t, namespace, n) log.Infof("Waiting till all events are received") retry.UntilOrFail(t, func() bool { return added.Load() == n64 && deleted.Load() == n64 }, retry.Message("receive events"), retry.Delay(time.Millisecond*500), retry.Timeout(time.Minute)) } // CheckCacheFreshness validates operational invariants of a cache
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 13.2K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
return body, nil } for i := 0; i < retry; i++ { body, err := getPublicKey() if err == nil { return body, nil } log.Warnf("Failed to GET from %q: %s. Retry in %v", uri, err, r.retryInterval) time.Sleep(r.retryInterval) } // Return the last fetch directly, reaching here means we have tried `retry` times, this will be // the last time for the retry. return getPublicKey() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go
Count: 1, Port: echo.Port{ Name: "http", }, HTTP: echo.HTTP{ Headers: headers.New().WithHost(host).Build(), }, Retry: echo.Retry{ Options: []retry.Option{retry.Delay(1 * time.Second), retry.Timeout(2 * time.Minute)}, }, Check: check.And( check.NoError(), check.Status(tc.code), check.Each(func(r echoClient.Response) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.9K bytes - Viewed (0)