code: func NewServer(
  	host HostInterface,
  	resourceAnalyzer stats.ResourceAnalyzer,
  	auth AuthInterface,
  	enableDebuggingHandlers,
  	enableContentionProfiling,
  	redirectContainerStreaming bool,
  	criHandler http.Handler) Server {
  	server := Server{
  		host:                       host,
  		resourceAnalyzer:           resourceAnalyzer,
  		auth:                       auth,
  		restfulCont:                &filteringContainer{Container: restful.NewContainer()},
  		redirectContainerStreaming: redirectContainerStreaming,
  	}
  	if auth != nil {
  		server.InstallAuthFilter()
  	}
  	server.InstallDefaultHandlers()
  	if enableDebuggingHandlers {
  		server.InstallDebuggingHandlers(criHandler)
  		if enableContentionProfiling {
  			goruntime.SetBlockProfileRate(1)
  		}
  	} else {
  		server.InstallDebuggingDisabledHandlers()
  	}
  	return server
  }
docs: // NewServer initializes and configures a kubelet.Server object to handle HTTP requests.