Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CancelBatchJob (0.28 sec)

  1. cmd/batch-handlers.go

    	})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, buf)
    }
    
    // CancelBatchJob cancels a job in progress
    func (a adminAPIHandlers) CancelBatchJob(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.CancelBatchJobAction)
    	if objectAPI == nil {
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    			adminMiddleware(adminAPI.DescribeBatchJob))
    		adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/cancel-job").HandlerFunc(
    			adminMiddleware(adminAPI.CancelBatchJob))
    
    		// Bucket migration operations
    		// ExportBucketMetaHandler
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/export-bucket-metadata").HandlerFunc(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top