Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClientOptions (0.11 sec)

  1. security/pkg/nodeagent/caclient/providers/citadel/client.go

    			SAN:           c.opts.CAEndpointSAN,
    		}
    	}
    	return nil
    }
    
    func (c *CitadelClient) buildConnection() (*grpc.ClientConn, error) {
    	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...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. pkg/istio-agent/xds_proxy.go

    	tlsOpts, err := p.getTLSOptions(sa)
    	if err != nil {
    		return nil, fmt.Errorf("failed to get TLS options to talk to upstream: %v", err)
    	}
    	options, err := istiogrpc.ClientOptions(nil, tlsOpts)
    	if err != nil {
    		return nil, err
    	}
    	if sa.secOpts.CredFetcher != nil {
    		options = append(options, grpc.WithPerRPCCredentials(caclient.NewDefaultTokenProvider(sa.secOpts)))
    	}
    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