- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for DefaultOption (0.17 sec)
-
pkg/istio-agent/tap_proxy.go
xdsProxy *XdsProxy } func NewTapGrpcHandler(xdsProxy *XdsProxy) (*grpc.Server, error) { proxy := &tapProxy{ xdsProxy: xdsProxy, } grpcs := grpc.NewServer(istiogrpc.ServerOptions(istiokeepalive.DefaultOption())...) discovery.RegisterAggregatedDiscoveryServiceServer(grpcs, proxy) reflection.Register(grpcs) return grpcs, nil } const ( TypeDebugPrefix = "istio.io/debug/" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/backoff/exponential.go
exponentialBackOff *backoff.ExponentialBackOff } // Default values for ExponentialBackOff. const ( defaultInitialInterval = 500 * time.Millisecond defaultMaxInterval = 60 * time.Second ) func DefaultOption() Option { return Option{ InitialInterval: defaultInitialInterval, MaxInterval: defaultMaxInterval, } } // NewExponentialBackOff creates an istio wrapped ExponentialBackOff.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 25 01:53:48 UTC 2023 - 3.1K bytes - Viewed (0) -
pilot/pkg/grpc/grpc.go
// ClientOptions returns consistent grpc dial options with custom dial options func ClientOptions(options *istiokeepalive.Options, tlsOpts *TLSOptions) ([]grpc.DialOption, error) { if options == nil { options = istiokeepalive.DefaultOption() } keepaliveOption := grpc.WithKeepaliveParams(keepalive.ClientParameters{ Time: options.Time, Timeout: options.Timeout, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 17 04:27:50 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/wasm/httpfetcher.go
func (f *HTTPFetcher) Fetch(ctx context.Context, url string, allowInsecure bool) ([]byte, error) { c := f.client if allowInsecure { c = f.insecureClient } attempts := 0 o := backoff.DefaultOption() o.InitialInterval = f.initialBackoff b := backoff.NewExponentialBackOff(o) var lastError error for attempts < f.requestMaxRetry { attempts++
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 5.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/options.go
func (p *PilotArgs) applyDefaults() { p.Namespace = PodNamespace p.CniNamespace = PodNamespace p.PodName = PodName p.Revision = Revision p.JwtRule = JwtRule p.KeepaliveOptions = keepalive.DefaultOption() p.RegistryOptions.DistributionTrackingEnabled = features.EnableDistributionTracking p.RegistryOptions.DistributionCacheRetention = features.DistributionHistoryRetention
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 6.1K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache.go
// TODO(ramaraochavali): Think about tieing these failures to liveness probe with a // reasonable threshold (when the problem is not transient) and restart the pod. go func() { b := backoff.NewExponentialBackOff(backoff.DefaultOption()) _ = b.RetryWithContext(context.TODO(), func() error { err := sc.tryAddFileWatcher(file, resourceName) return err }) }() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 08:29:46 UTC 2024 - 28.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy
def result = serialize(event, serializer) result instanceof SelectOptionPromptEvent result.question == 'prompt' result.options == ['a', 'b'] result.defaultOption == 1 result.timestamp == 123 } def "can serialize user input resume event"() { expect: def event = new UserInputResumeEvent(123)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 12.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster.go
func (m *Multicluster) checkShouldLead(client kubelib.Client, systemNamespace string, stop <-chan struct{}) bool { var res bool if features.ExternalIstiod { b := backoff.NewExponentialBackOff(backoff.DefaultOption()) ctx, cancel := context.WithCancel(context.Background()) go func() { select { case <-stop: cancel() case <-ctx.Done(): } }() defer cancel()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice.go
// server in these cases. go func() { // TODO: do we need max timeout for retry, seems meaningless to retry forever if it never succeed b := backoff.NewExponentialBackOff(backoff.DefaultOption()) // context for both timeout and channel, whichever stops first, the context will be done ctx, cancel := context.WithCancel(context.Background()) go func() { select { case <-ret.stop: cancel()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 25 00:20:04 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java
ComponentType componentType = userQuestions.choice("Select type of build to generate", projectLayoutRegistry.getComponentTypes()) .renderUsing(ComponentType::getDisplayName) .defaultOption(projectLayoutRegistry.getDefaultComponentType()) .whenNotConnected(projectLayoutRegistry.getDefault().getComponentType()) .ask();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 24.9K bytes - Viewed (0)