skipKinds + better error logging

This commit is contained in:
Yann Hamon 2020-05-30 07:02:48 +02:00
parent d3ed871833
commit 3c6d3e351c
4 changed files with 110 additions and 20 deletions

View file

@ -20,10 +20,10 @@ type KubernetesRegistry struct {
strict bool
}
func NewKubernetesRegistry() *KubernetesRegistry {
func NewKubernetesRegistry(strict bool) *KubernetesRegistry {
return &KubernetesRegistry{
baseURL: "https://kubernetesjsonschema.dev",
strict: false,
strict: strict,
}
}