Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServeProxyServer ¶
func ListenAndServeProxyServer(bindAddress, bindPort string, counter *tcounter.TransactionCounter, flowCollector *fcollector.FlowCollector, iptablesCollector *iptables.Collector)
TODO: For now the address and port number is hardcoded. The actual port number need to be discussed.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a http.Handler which exposes kubelet functionality over HTTP.
func NewServer ¶
func NewServer(counter *tcounter.TransactionCounter, flowCollector *fcollector.FlowCollector, iptablesCollector *iptables.Collector) Server
NewServer initializes and configures a kubelet.Server object to handle HTTP requests.
func (*Server) InstallDefaultHandlers ¶
func (s *Server) InstallDefaultHandlers()
InstallDefaultHandlers registers the default set of supported HTTP request patterns with the mux.
Click to show internal directories.
Click to hide internal directories.