Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for forceStart (0.11 sec)

  1. cmd/admin-handlers_test.go

    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    	mkParams := func(clientToken string, forceStart, forceStop bool) url.Values {
    		v := url.Values{}
    		if clientToken != "" {
    			v.Add(mgmtClientToken, clientToken)
    		}
    		if forceStart {
    			v.Add(mgmtForceStart, "")
    		}
    		if forceStop {
    			v.Add(mgmtForceStop, "")
    		}
    		return v
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		hip.clientToken = qParams[mgmtClientToken][0]
    	}
    	if _, ok := qParams[mgmtForceStart]; ok {
    		hip.forceStart = true
    	}
    	if _, ok := qParams[mgmtForceStop]; ok {
    		hip.forceStop = true
    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    }
    
    // NewHealSequence - creates healSettings, assumes bucket and
    // objPrefix are already validated.
    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    	hs madmin.HealOpts, forceStart bool,
    ) *healSequence {
    	reqInfo := &logger.ReqInfo{RemoteHost: clientAddr, API: "Heal", BucketName: bucket}
    	reqInfo.AppendTags("prefix", objPrefix)
    	ctx, cancel := context.WithCancel(logger.SetReqInfo(ctx, reqInfo))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top