Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for syncJob (0.26 sec)

  1. pkg/controller/job/job_controller.go

    		}
    	}
    	return pods, err
    }
    
    // syncJob will sync the job with the given key if it has had its expectations fulfilled, meaning
    // it did not expect to see any more of its pods created or deleted. This function is not meant to be invoked
    // concurrently with the same key.
    func (jm *Controller) syncJob(ctx context.Context, key string) (rErr error) {
    	startTime := jm.clock.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    		},
    		"suspending a job with unsatisfied expectations": {
    			// Unlike the previous test, we expect the controller to NOT suspend the
    			// Job in the syncJob call because the controller will wait for
    			// expectations to be satisfied first. The next syncJob call (not tested
    			// here) will be the same as the previous test.
    			suspend:                   true,
    			parallelism:               2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. src/internal/pkgbits/syncmarker_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[SyncEOF-1]
    	_ = x[SyncBool-2]
    	_ = x[SyncInt64-3]
    	_ = x[SyncUint64-4]
    	_ = x[SyncString-5]
    	_ = x[SyncValue-6]
    	_ = x[SyncVal-7]
    	_ = x[SyncRelocs-8]
    	_ = x[SyncReloc-9]
    	_ = x[SyncUseReloc-10]
    	_ = x[SyncPublic-11]
    	_ = x[SyncPos-12]
    	_ = x[SyncPosBase-13]
    	_ = x[SyncObject-14]
    	_ = x[SyncObject1-15]
    	_ = x[SyncPkg-16]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/internal/pkgbits/sync.go

    const (
    	_ SyncMarker = iota
    
    	// Public markers (known to go/types importers).
    
    	// Low-level coding markers.
    	SyncEOF
    	SyncBool
    	SyncInt64
    	SyncUint64
    	SyncString
    	SyncValue
    	SyncVal
    	SyncRelocs
    	SyncReloc
    	SyncUseReloc
    
    	// Higher-level object and type markers.
    	SyncPublic
    	SyncPos
    	SyncPosBase
    	SyncObject
    	SyncObject1
    	SyncPkg
    	SyncPkgDef
    	SyncMethod
    	SyncType
    	SyncTypeIdx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/sync_result.go

    func (r *SyncResult) Fail(err error, msg string) {
    	r.Error, r.Message = err, msg
    }
    
    // PodSyncResult is the summary result of SyncPod() and KillPod()
    type PodSyncResult struct {
    	// Result of different sync actions
    	SyncResults []*SyncResult
    	// Error encountered in SyncPod() and KillPod() that is not already included in SyncResults
    	SyncError error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 19 15:48:08 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers.go

    type podSyncerFuncs struct {
    	syncPod                   syncPodFnType
    	syncTerminatingPod        syncTerminatingPodFnType
    	syncTerminatingRuntimePod syncTerminatingRuntimePodFnType
    	syncTerminatedPod         syncTerminatedPodFnType
    }
    
    func newPodSyncerFuncs(s podSyncer) podSyncerFuncs {
    	return podSyncerFuncs{
    		syncPod:                   s.SyncPod,
    		syncTerminatingPod:        s.SyncTerminatingPod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  7. pkg/kubelet/container/testing/runtime_mock.go

    }
    
    // SyncPod indicates an expected call of SyncPod.
    func (mr *MockRuntimeMockRecorder) SyncPod(ctx, pod, podStatus, pullSecrets, backOff any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncPod", reflect.TypeOf((*MockRuntime)(nil).SyncPod), ctx, pod, podStatus, pullSecrets, backOff)
    }
    
    // Type mocks base method.
    func (m *MockRuntime) Type() string {
    	m.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. pkg/controller/nodeipam/ipam/sync/sync.go

    //
    // This method is safe to call from multiple goroutines.
    func (sync *NodeSync) Delete(node *v1.Node) {
    	sync.opChan <- &deleteOp{node}
    	close(sync.opChan)
    }
    
    // syncOp is the interface for generic sync operation.
    type syncOp interface {
    	// run the requested sync operation.
    	run(logger klog.Logger, sync *NodeSync) error
    }
    
    // updateOp handles creation and updates of a node.
    type updateOp struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. pkg/kubelet/pod_workers_test.go

    	var channels WorkChannel
    	podWorkers.workerChannelFn = channels.Intercept
    	terminalPhaseSyncer := newTerminalPhaseSync(podWorkers.podSyncer.(*podSyncerFuncs).syncPod)
    	podWorkers.podSyncer.(*podSyncerFuncs).syncPod = terminalPhaseSyncer.SyncPod
    
    	// start pod
    	podWorkers.UpdatePod(UpdatePodOptions{
    		Pod:        newNamedPod("1", "test1", "pod1", false),
    		UpdateType: kubetypes.SyncPodUpdate,
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.28.md

    - Kube-proxy: removed log warning about not using config file. ([#118115](https://github.com/kubernetes/kubernetes/pull/118115), [@TommyStarK](https://github.com/TommyStarK)) [SIG Network]
    - Made Job controller batching of syncJob invocations enabled unconditionally (it was conditional on JobReadyPods feature before).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (0)
Back to top