kubernetes/pkg/registry/batch/job/strategy_test.go

var ignoreErrValueDetail

// TestJobStrategy_PrepareForUpdate tests various scenarios for PrepareForUpdate
func TestJobStrategy_PrepareForUpdate(t *testing.T) {}

// TestJobStrategy_PrepareForCreate tests various scenarios for PrepareForCreate
func TestJobStrategy_PrepareForCreate(t *testing.T) {}

func TestJobStrategy_GarbageCollectionPolicy(t *testing.T) {}

func TestJobStrategy_ValidateUpdate(t *testing.T) {}

func TestJobStrategy_WarningsOnUpdate(t *testing.T) {}

func TestJobStrategy_WarningsOnCreate(t *testing.T) {}

func TestJobStrategy_Validate(t *testing.T) {}

func TestStrategy_ResetFields(t *testing.T) {}

func TestJobStatusStrategy_ResetFields(t *testing.T) {}

func TestStatusStrategy_PrepareForUpdate(t *testing.T) {}

func TestStatusStrategy_ValidateUpdate(t *testing.T) {}

func TestJobStrategy_GetAttrs(t *testing.T) {}

func TestJobToSelectiableFields(t *testing.T) {}

func completionModePtr(m batch.CompletionMode) *batch.CompletionMode {}

func podReplacementPolicy(m batch.PodReplacementPolicy) *batch.PodReplacementPolicy {}

func getValidObjectMeta(generation int64) metav1.ObjectMeta {}

func getValidUID() types.UID {}

func getValidObjectMetaWithAnnotations(generation int64, annotations map[string]string) metav1.ObjectMeta {}

func getValidLabelSelector() *metav1.LabelSelector {}

func getValidBatchLabels() map[string]string {}

func getValidBatchLabelsWithNonBatch() map[string]string {}

func getValidPodTemplateSpecForSelector(validSelector *metav1.LabelSelector) api.PodTemplateSpec {}