Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // concurrent use by multiple goroutines // CurrentTransport get transport that used by load balancer 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(certMgr interfaces.YurtCertificateManager, stopCh <-chan struct{}) (Interface, error)
NewTransportManager create an transport interface object.
Click to show internal directories.
Click to hide internal directories.