func (strategy svcStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
	service := obj.(*api.Service)
	allErrs := validation.ValidateServiceCreate(service)
	allErrs = append(allErrs, validation.ValidateConditionalService(service, nil, strategy.ipFamilies)...)
	return allErrs
}
// Validate validates a new service.
Validate validates a new service.
// Validate validates a new service .
func (strategy svcStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
	service := obj.(*api.Service)
	allErrs := validation.ValidateServiceCreate(service)
	allErrs = append(allErrs, validation.ValidateConditionalService(service, nil, strategy.ipFamilies)...)
	return allErrs
}
func ( strategy svcStrategy ) Validate ( ctx context . Context , obj runtime . Object ) field . ErrorList { service := obj . ( * api . Service ) allErrs := validation . ValidateServiceCreate ( service ) allErrs = append ( allErrs , validation . ValidateConditionalService ( service , nil , strategy . ipFamilies ) ... ) return allErrs }
Validate validates a new service.
Validate validates a new service .