Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StartBatchJob (0.1 sec)

  1. cmd/batch-rotate.go

    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    					if attempts >= retryAttempts {
    						auditOptions := AuditLogOptions{
    							Event:     "KeyRotate",
    							APIName:   "StartBatchJob",
    							Bucket:    result.Bucket,
    							Object:    result.Name,
    							VersionID: result.VersionID,
    							Error:     err.Error(),
    						}
    						auditLogInternal(ctx, auditOptions)
    					}
    				} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	if err != nil {
    		batchLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	w.Write(buf)
    }
    
    // StartBatchJob 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. 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 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