Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GarbageCollectionDeleteStrategy (0.65 sec)

  1. pkg/registry/batch/cronjob/strategy_test.go

    	if len(errs) == 0 {
    		t.Errorf("Expected a validation error")
    	}
    
    	// Make sure we correctly implement the interface.
    	// Otherwise a typo could silently change the default.
    	var gcds rest.GarbageCollectionDeleteStrategy = Strategy
    	if got, want := gcds.DefaultGarbageCollectionPolicy(genericapirequest.NewContext()), rest.DeleteDependents; got != want {
    		t.Errorf("DefaultGarbageCollectionPolicy() = %#v, want %#v", got, want)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top