Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getHandlerForDisabledEndpoint (0.2 sec)

  1. pkg/kubelet/server/server.go

    		}
    		s.restfulCont.Add(ws)
    	} else {
    		s.restfulCont.Handle(logsPath, getHandlerForDisabledEndpoint("logs endpoint is disabled."))
    	}
    }
    
    func getHandlerForDisabledEndpoint(errorMessage string) http.HandlerFunc {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, errorMessage, http.StatusMethodNotAllowed)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top