Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CARetryInterceptor (0.2 sec)

  1. pkg/security/retry.go

    }
    
    // CARetryInterceptor is a grpc UnaryInterceptor that adds retry options, as a convenience wrapper
    // around CARetryOptions. If needed to chain with other interceptors, the CARetryOptions can be used
    // directly.
    func CARetryInterceptor() grpc.DialOption {
    	return grpc.WithUnaryInterceptor(retry.UnaryClientInterceptor(CARetryOptions...))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/caclient/providers/citadel/client.go

    	tlsOpts := c.getTLSOptions()
    	opts, err := istiogrpc.ClientOptions(nil, tlsOpts)
    	if err != nil {
    		return nil, err
    	}
    	opts = append(opts,
    		grpc.WithPerRPCCredentials(c.provider),
    		security.CARetryInterceptor(),
    	)
    	conn, err := grpc.Dial(c.opts.CAEndpoint, opts...)
    	if err != nil {
    		citadelClientLog.Errorf("Failed to connect to endpoint %s: %v", c.opts.CAEndpoint, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top