Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MatchJob (0.09 sec)

  1. pkg/registry/batch/job/storage/storage.go

    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &batch.Job{} },
    		NewListFunc:               func() runtime.Object { return &batch.JobList{} },
    		PredicateFunc:             job.MatchJob,
    		DefaultQualifiedResource:  batch.Resource("jobs"),
    		SingularQualifiedResource: batch.Resource("job"),
    
    		CreateStrategy:      job.Strategy,
    		UpdateStrategy:      job.Strategy,
    		DeleteStrategy:      job.Strategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/strategy.go

    	}
    	return labels.Set(job.ObjectMeta.Labels), JobToSelectableFields(job), nil
    }
    
    // MatchJob is the filter used by the generic etcd backend to route
    // watch events from etcd to clients of the apiserver only interested in specific
    // labels/fields.
    func MatchJob(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	}
    	jm.podStore = podInformer.Lister()
    	jm.podStoreSynced = podInformer.Informer().HasSynced
    
    	jm.updateStatusHandler = jm.updateJobStatus
    	jm.patchJobHandler = jm.patchJob
    	jm.syncHandler = jm.syncJob
    
    	metrics.Register()
    
    	return jm, nil
    }
    
    // Run the main goroutine responsible for watching and syncing jobs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top