Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for respBytes (0.18 sec)

  1. internal/config/identity/openid/providercfg.go

    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    		// fmt.Println(string(respBytes))
    		return nil, errors.New(resp.Status)
    	}
    
    	claims := map[string]interface{}{}
    	if err = json.NewDecoder(resp.Body).Decode(&claims); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		go func() {
    			respBytes, apiErr := globalAllHealState.stopHealSequence(healPath)
    			hr := healResp{respBytes: respBytes, apiErr: apiErr}
    			respCh <- hr
    		}()
    	case hip.clientToken == "":
    		nh := newHealSequence(GlobalContext, hip.bucket, hip.objPrefix, handlers.GetSourceIP(r), hip.hs, hip.forceStart)
    		go func() {
    			respBytes, apiErr, errMsg := globalAllHealState.LaunchNewHealSequence(nh, objectAPI)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/admin-heal-ops.go

    // aforementioned duration.
    func (ahs *allHealState) LaunchNewHealSequence(h *healSequence, objAPI ObjectLayer) (
    	respBytes []byte, apiErr APIError, errMsg string,
    ) {
    	if h.forceStarted {
    		_, apiErr = ahs.stopHealSequence(pathJoin(h.bucket, h.object))
    		if apiErr.Code != "" {
    			return respBytes, apiErr, ""
    		}
    	} else {
    		oh, exists := ahs.getHealSequence(pathJoin(h.bucket, h.object))
    		if exists && !oh.hasEnded() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top