Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for DefaultOption (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top