Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 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 ListenAndServePodResources(socket string, podsProvider podresources.PodsProvider, ...) + func NewNodeAuthorizerAttributesGetter(nodeName types.NodeName) authorizer.RequestAttributesGetter + type AuthInterface interface + func NewKubeletAuth(authenticator authenticator.Request, ...) AuthInterface + type HostInterface interface + 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(ctx context.Context, podFullName, containerName string, ...) 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 + 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) + type KubeletAuth struct + type Server struct + func NewServer(host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, ...) Server + func (s *Server) InstallAuthFilter() + func (s *Server) InstallDebuggingDisabledHandlers() + func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) + func (s *Server) InstallDefaultHandlers(enableCAdvisorJSONEndpoints bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) + type TLSOptions struct + CertFile string + Config *tls.Config + KeyFile string