Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertGetter ¶ added in v1.2.0
type CertGetter interface { // GetAPIServerClientCert returns the currently selected certificate, as well as // the associated certificate and key data in PEM format. GetAPIServerClientCert() *tls.Certificate // GetCAData returns CA file data. GetCAData() []byte }
type Interface ¶
type Interface interface { // CurrentTransport get transport that used by load balancer // and can be used by multiple goroutines concurrently. CurrentTransport() http.RoundTripper // BearerTransport returns transport for proxying request with bearer token in header BearerTransport() http.RoundTripper // Close all net connections that specified by address Close(address string) }
Interface is an transport interface for managing clients that used to connecting kube-apiserver
func NewTransportManager ¶
func NewTransportManager(certGetter CertGetter, stopCh <-chan struct{}) (Interface, error)
NewTransportManager create a transport interface object.
Click to show internal directories.
Click to hide internal directories.