GetTLSClientConfig gets the component's client TLS config and applies the given options.
(ctx context.Context, opts ...tlsconfig.Option)
| 58 | |
| 59 | // GetTLSClientConfig gets the component's client TLS config and applies the given options. |
| 60 | func (c *Component) GetTLSClientConfig(ctx context.Context, opts ...tlsconfig.Option) (*tls.Config, error) { |
| 61 | return tlsconfig.ConfigurationProvider(c.getTLSConfig).GetTLSClientConfig(ctx, opts...) |
| 62 | } |
no test coverage detected