// ValidateUpdate is the default update validation for an end user. func (scheduledJobStrategy) ValidateUpdate(ctx api.Context, obj, old runtime.Object) field.ErrorList { return validation.ValidateScheduledJob(obj.(*batch.ScheduledJob)) }
// Validate validates a new scheduled job. func (scheduledJobStrategy) Validate(ctx api.Context, obj runtime.Object) field.ErrorList { scheduledJob := obj.(*batch.ScheduledJob) return validation.ValidateScheduledJob(scheduledJob) }