Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for Job (0.12 sec)

  1. cmd/batch-job-common-types.go

    		return false
    	}
    	return true
    }
    
    // Validate checks if sf is a valid batch-job size filter
    func (sf BatchJobSizeFilter) Validate() error {
    	if sf.LowerBound > 0 && sf.UpperBound > 0 && sf.LowerBound >= sf.UpperBound {
    		return BatchJobYamlErr{
    			line: sf.line,
    			col:  sf.col,
    			msg:  "invalid batch-job size filter",
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_test.go

    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    	errInvalidBatchJobSizeFilter := BatchJobYamlErr{
    		msg: "invalid batch-job size filter",
    	}
    
    	tests := []struct {
    		sizeFilter BatchJobSizeFilter
    		err        error
    	}{
    		{
    			// Unspecified size filter is a valid filter
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 0,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/README.md

    ##### Cluster
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/cluster
      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Bucket centric
    
    ```yaml
    - job_name: minio-job-bucket
      bearer_token: <secret>
      metrics_path: /minio/v2/metrics/bucket
      scheme: http
      static_configs:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

    import org.codelibs.fess.helper.JobHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.job.JobExecutor;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.job.JobManager;
    import org.lastaflute.job.LaJob;
    import org.lastaflute.job.LaJobRuntime;
    import org.lastaflute.job.key.LaJobUnique;
    
    public class ScriptExecutorJob implements LaJob {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/JobHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.job.JobManager;
    import org.lastaflute.job.LaCron;
    import org.lastaflute.job.LaJobRuntime;
    import org.lastaflute.job.LaScheduledJob;
    import org.lastaflute.job.key.LaJobUnique;
    import org.lastaflute.job.subsidiary.CronParamsSupplier;
    
    public class JobHelper {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    					}
    				} else {
    					if err := job.Replicate.Start(job.ctx, j.objLayer, *job); err != nil {
    						if !isErrBucketNotFound(err) {
    							batchLogIf(j.ctx, err)
    							j.canceler(job.ID, false)
    							continue
    						}
    						// Bucket not found proceed to delete such a job.
    					}
    				}
    			case job.KeyRotate != nil:
    				if err := job.KeyRotate.Start(job.ctx, j.objLayer, *job); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    )
    
    // Start the batch key rottion job, resumes if there was a pending job via "job.ID"
    func (r *BatchJobKeyRotateV1) Start(ctx context.Context, api ObjectLayer, job BatchJobRequest) error {
    	ri := &batchJobInfo{
    		JobID:     job.ID,
    		JobType:   string(job.Type()),
    		StartTime: job.Started,
    	}
    	if err := ri.load(ctx, api, job); err != nil {
    		return err
    	}
    	if ri.Complete {
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

      // a Job is created with suspend set to true, no Pods are created by the Job
      // controller. If a Job is suspended after creation (i.e. the flag goes from
      // false to true), the Job controller will delete all active Pods associated
      // with this Job. Users must design their workload to gracefully handle this.
      // Suspending a Job will reset the StartTime field of the Job, effectively
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
Back to top