Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertWatcher ¶ added in v1.13.0
type CertWatcher interface {
GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error)
}
CertWatcher is the interface for resources that watch certs
type ClientCreator ¶ added in v1.13.0
ClientCreator crates *http.Clients
type Server ¶
type Server interface {
Start() error
}
Server is the public interface to the upload proxy
func NewUploadProxy ¶
func NewUploadProxy(bindAddress string, bindPort uint, apiServerPublicKey string, certWatcher CertWatcher, clientCertFetcher fetcher.CertFetcher, serverCAFetcher fetcher.CertBundleFetcher, client kubernetes.Interface) (Server, error)
NewUploadProxy returns an initialized uploadProxyApp
Click to show internal directories.
Click to hide internal directories.