MCPcopy
hub / github.com/helm/helm / WithTLSClientConfig

Function WithTLSClientConfig

pkg/getter/getter.go:102–108  ·  view source on GitHub ↗

WithTLSClientConfig sets the client auth with the provided credentials.

(certFile, keyFile, caFile string)

Source from the content-addressed store, hash-verified

100
101// WithTLSClientConfig sets the client auth with the provided credentials.
102func WithTLSClientConfig(certFile, keyFile, caFile string) Option {
103 return func(opts *getterOptions) {
104 opts.certFile = certFile
105 opts.keyFile = keyFile
106 opts.caFile = caFile
107 }
108}
109
110func WithPlainHTTP(plainHTTP bool) Option {
111 return func(opts *getterOptions) {

Callers 13

TestResolveChartOptsFunction · 0.92
TestDownloadTo_TLSFunction · 0.92
downloadAllMethod · 0.92
ResolveChartVersionMethod · 0.92
RunMethod · 0.92
LocateChartMethod · 0.92
newInstallerForSourceMethod · 0.92
DownloadIndexFileMethod · 0.92
TestConvertOptionsFunction · 0.70
TestOCIGetterFunction · 0.70
TestHTTPGetterFunction · 0.70
TestDownloadTLSFunction · 0.70

Calls

no outgoing calls

Tested by 7

TestResolveChartOptsFunction · 0.74
TestDownloadTo_TLSFunction · 0.74
TestConvertOptionsFunction · 0.56
TestOCIGetterFunction · 0.56
TestHTTPGetterFunction · 0.56
TestDownloadTLSFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…