MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / GetTLSClientConfig

Method GetTLSClientConfig

pkg/component/tls.go:60–62  ·  view source on GitHub ↗

GetTLSClientConfig gets the component's client TLS config and applies the given options.

(ctx context.Context, opts ...tlsconfig.Option)

Source from the content-addressed store, hash-verified

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

Callers 1

initClusterMethod · 0.95

Implementers 1

Componentpkg/component/component.go

Calls 2

ConfigurationProviderFuncType · 0.92
GetTLSClientConfigMethod · 0.65

Tested by

no test coverage detected