Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + func ListenAndServeKubeletReadOnlyServer(host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, address net.IP, ...) + func ListenAndServeKubeletServer(host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, address net.IP, ...) + func NewNodeAuthorizerAttributesGetter(nodeName types.NodeName) authorizer.RequestAttributesGetter + type AuthInterface interface + func NewKubeletAuth(authenticator authenticator.Request, ...) AuthInterface + type HostInterface interface + AttachContainer func(name string, uid types.UID, container string, in io.Reader, ...) error + ExecInContainer func(name string, uid types.UID, container string, cmd []string, in io.Reader, ...) error + GetAttach func(podFullName string, podUID types.UID, containerName string, ...) (*url.URL, error) + GetCachedMachineInfo func() (*cadvisorapi.MachineInfo, error) + GetExec func(podFullName string, podUID types.UID, containerName string, cmd []string, ...) (*url.URL, error) + GetHostname func() string + GetKubeletContainerLogs func(podFullName, containerName string, logOptions *v1.PodLogOptions, ...) error + GetPortForward func(podName, podNamespace string, podUID types.UID, ...) (*url.URL, error) + GetRunningPods func() ([]*v1.Pod, error) + GetVersionInfo func() (*cadvisorapi.VersionInfo, error) + LatestLoopEntryTime func() time.Time + PortForward func(name string, uid types.UID, port int32, stream io.ReadWriteCloser) error + ResyncInterval func() time.Duration + RunInContainer func(name string, uid types.UID, container string, cmd []string) ([]byte, error) + ServeLogs func(w http.ResponseWriter, req *http.Request) + StreamingConnectionIdleTimeout func() time.Duration + type KubeletAuth struct + type Server struct + func NewServer(host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, ...) Server + func (s *Server) InstallAuthFilter() + func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) + func (s *Server) InstallDefaultHandlers() + func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) + type TLSOptions struct + CertFile string + Config *tls.Config + KeyFile string