Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deleteAction (0.13 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foxdir/fooobject/foo.txt",
    			objectModTime:  time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			expectedAction: DeleteAction,
    		},
    		// Too early to remove (test Days)
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pkg/kubelet/status/status_manager_test.go

    func patchAction() core.PatchAction {
    	return core.PatchActionImpl{ActionImpl: core.ActionImpl{Verb: "patch", Resource: schema.GroupVersionResource{Resource: "pods"}, Subresource: "status"}}
    }
    
    func deleteAction() core.DeleteAction {
    	return core.DeleteActionImpl{ActionImpl: core.ActionImpl{Verb: "delete", Resource: schema.GroupVersionResource{Resource: "pods"}}}
    }
    
    func TestMergePodStatus(t *testing.T) {
    	useCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    					if evt.Action.Delete() {
    						globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    						if !evt.Action.DeleteRestored() {
    							// Skip entry if ILM action was DeleteVersionAction or DeleteAction
    							return loi, nil
    						}
    					}
    				}
    				return loi, nil
    			}
    			if isErrBucketNotFound(err) {
    				return loi, err
    			}
    			if contextCanceled(ctx) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				return true, nil, nil
    			})
    			client.PrependReactor("delete", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    				deletedPodNames.Insert(action.(clienttesting.DeleteAction).GetName())
    				return true, nil, nil
    			})
    
    			logger, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top