kubeconform/pkg/registry/registry.go
2020-05-31 02:10:19 +02:00

15 lines
285 B
Go

package registry
import "github.com/xeipuuv/gojsonschema"
type Manifest struct {
Kind, Version string
}
type Registry interface {
DownloadSchema(resourceKind, resourceAPIVersion, k8sVersion string) (*gojsonschema.Schema, error)
}
type Retryable interface {
IsRetryable() bool
}