Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for defaultOptions (0.8 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. security/pkg/pki/ca/ca.go

    			client:             client,
    		},
    	}
    
    	// always use ``istio-ca-secret` in priority, otherwise fall back to `cacerts`
    	var caCertName string
    	b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    	err = b.RetryWithContext(ctx, func() error {
    		caCertName = CASecret
    		// 1. fetch `istio-ca-secret` in priority
    		err := loadSelfSignedCaSecret(client, namespace, caCertName, rootCertFile, caOpts)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. pkg/istio-agent/agent.go

    // TODO: Fix this method with unused return value
    // nolint: unparam
    func (a *Agent) getWorkloadCerts(st *cache.SecretManagerClient) (sk *security.SecretItem, err error) {
    	b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    	// This will loop forever until success
    	err = b.RetryWithContext(context.TODO(), func() error {
    		sk, err = st.GenerateSecret(security.WorkloadKeyCertResourceName)
    		if err == nil {
    			return nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. pkg/istio-agent/xds_proxy.go

    	if err != nil {
    		return err
    	}
    	// TODO: Expose keepalive options to agent cmd line flags.
    	opts := p.downstreamGrpcOptions
    	opts = append(opts, istiogrpc.ServerOptions(istiokeepalive.DefaultOption())...)
    	grpcs := grpc.NewServer(opts...)
    	discovery.RegisterAggregatedDiscoveryServiceServer(grpcs, p)
    	reflection.Register(grpcs)
    	p.downstreamGrpcServer = grpcs
    	p.downstreamListener = l
    	return nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. pkg/adsc/adsc.go

    			config.IP = ips[0]
    		}
    	}
    	if config.Workload == "" {
    		config.Workload = "test-1"
    	}
    	if config.BackoffPolicy == nil {
    		config.BackoffPolicy = backoff.NewExponentialBackOff(backoff.DefaultOption())
    	}
    	return *config
    }
    
    // Dial connects to a ADS server, with optional MTLS authentication if a cert dir is specified.
    func (a *ADSC) Dial() error {
    	conn, err := dialWithConfig(&a.cfg.Config)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top