Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + const DefaultDrainTimeout + const HashHeaderName + const KubeProbeUAPrefix + const KubeletProbeHeaderName + const ProbeHeaderName + const ProbeHeaderValue + const UserAgentKey + var AutoTransport = NewAutoTransport(1000, 100) + var DialTLSWithBackOff = NewTLSBackoffDialer(backOffTemplate) + var DialWithBackOff = NewBackoffDialer(backOffTemplate) + func ErrorHandler(logger *zap.SugaredLogger) func(http.ResponseWriter, *http.Request, error) + func GetClusterDomainName() string + func GetServiceHostname(name, namespace string) string + func IsKubeletProbe(r *http.Request) bool + func NewAutoTransport(maxIdle, maxIdlePerHost int) http.RoundTripper + func NewBackoffDialer(backoffConfig wait.Backoff) func(context.Context, string, string) (net.Conn, error) + func NewH2CTransport() http.RoundTripper + func NewProberTransport() http.RoundTripper + func NewProxyAutoTLSTransport(maxIdle, maxIdlePerHost int, tlsConf *tls.Config) http.RoundTripper + func NewProxyAutoTransport(maxIdle, maxIdlePerHost int) http.RoundTripper + func NewServer(addr string, h http.Handler) *http.Server + func NewTLSBackoffDialer(backoffConfig wait.Backoff) func(context.Context, string, string, *tls.Config) (net.Conn, error) + type RoundTripperFunc func(*http.Request) (*http.Response, error) + func (rt RoundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error)