Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCronJobStrategy (0.17 sec)

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

    			Spec: batch.JobSpec{
    				Template: validPodTemplateSpec,
    			},
    		},
    	}
    )
    
    func completionModePtr(m batch.CompletionMode) *batch.CompletionMode {
    	return &m
    }
    
    func TestCronJobStrategy(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	if !Strategy.NamespaceScoped() {
    		t.Errorf("CronJob must be namespace scoped")
    	}
    	if Strategy.AllowCreateOnUpdate() {
    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