Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StartBatchJob (0.87 sec)

  1. cmd/admin-router.go

    		// Batch job operations
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/start-job").HandlerFunc(
    			adminMiddleware(adminAPI.StartBatchJob))
    
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-jobs").HandlerFunc(
    			adminMiddleware(adminAPI.ListBatchJobs))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		batchLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	w.Write(buf)
    }
    
    // StarBatchJob queue a new job for execution
    func (a adminAPIHandlers) StartBatchJob(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, creds := validateAdminReq(ctx, w, r, policy.StartBatchJobAction)
    	if objectAPI == nil {
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top