Skip to content

Instantly share code, notes, and snippets.

View ivmos's full-sized avatar
💭
Hey there I’m using Github

Iván Mosquera ivmos

💭
Hey there I’m using Github
View GitHub Profile
@ivmos
ivmos / CustomLocalValidatorFactoryBean.kt
Created February 18, 2022 22:56 — forked from pschichtel/CustomLocalValidatorFactoryBean.kt
SuspendAwareKotlinParameterNameDiscoverer
import org.hibernate.validator.internal.engine.DefaultClockProvider
import org.springframework.core.LocalVariableTableParameterNameDiscoverer
import org.springframework.core.PrioritizedParameterNameDiscoverer
import org.springframework.core.StandardReflectionParameterNameDiscoverer
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
import java.lang.reflect.Constructor
import java.lang.reflect.Method
import javax.validation.ClockProvider
import javax.validation.Configuration
import javax.validation.ParameterNameProvider
## Useful Commands
Get kubectl version
kubectl version
Get cluster info: