MCPcopy
hub / github.com/kubernetes/client-go / HasCertCallback

Method HasCertCallback

transport/config.go:100–102  ·  view source on GitHub ↗

HasCertCallbacks returns whether the configuration has certificate callback or not.

()

Source from the content-addressed store, hash-verified

98
99// HasCertCallbacks returns whether the configuration has certificate callback or not.
100func (c *Config) HasCertCallback() bool {
101 return c.TLS.GetCert != nil
102}
103
104// Wrap adds a transport middleware function that will give the caller
105// an opportunity to wrap the underlying http.RoundTripper prior to the

Callers 2

NewFunction · 0.80
TLSConfigForFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected