Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriteErrorString (1.03 sec)

  1. pkg/kubelet/server/server.go

    		info, ok, err := s.auth.AuthenticateRequest(req.Request)
    		if err != nil {
    			klog.ErrorS(err, "Unable to authenticate the request due to an error")
    			resp.WriteErrorString(http.StatusUnauthorized, "Unauthorized")
    			return
    		}
    		if !ok {
    			resp.WriteErrorString(http.StatusUnauthorized, "Unauthorized")
    			return
    		}
    
    		// Get authorization attributes
    		attrs := s.auth.GetRequestAttributes(info.User, req.Request)
    
    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