WithTLSClientConfig sets the certFile, keyFile, and caFile fields on the push configuration object.
(certFile, keyFile, caFile string)
| 52 | |
| 53 | // WithTLSClientConfig sets the certFile, keyFile, and caFile fields on the push configuration object. |
| 54 | func WithTLSClientConfig(certFile, keyFile, caFile string) PushOpt { |
| 55 | return func(p *Push) { |
| 56 | p.certFile = certFile |
| 57 | p.keyFile = keyFile |
| 58 | p.caFile = caFile |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // WithInsecureSkipTLSVerify determines if a TLS Certificate will be checked |
| 63 | func WithInsecureSkipTLSVerify(insecureSkipTLSVerify bool) PushOpt { |
no outgoing calls
searching dependent graphs…