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

Function WithTLSClientConfig

pkg/pusher/pusher.go:51–57  ·  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

49
50// WithTLSClientConfig sets the client auth with the provided credentials.
51func WithTLSClientConfig(certFile, keyFile, caFile string) Option {
52 return func(opts *options) {
53 opts.certFile = certFile
54 opts.keyFile = keyFile
55 opts.caFile = caFile
56 }
57}
58
59// WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked
60func WithInsecureSkipTLSVerify(insecureSkipTLSVerify bool) Option {

Callers 3

RunMethod · 0.92
TestNewOCIPusherFunction · 0.70

Calls

no outgoing calls

Tested by 2

TestNewOCIPusherFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…