Registry is an interface that should be implemented by any source of Kubernetes schemas
| 16 | |
| 17 | // Registry is an interface that should be implemented by any source of Kubernetes schemas |
| 18 | type Registry interface { |
| 19 | DownloadSchema(resourceKind, resourceAPIVersion, k8sVersion string) (string, any, error) |
| 20 | } |
| 21 | |
| 22 | func schemaPath(tpl, resourceKind, resourceAPIVersion, k8sVersion string, strict bool) (string, error) { |
| 23 | normalisedVersion := k8sVersion |
no outgoing calls
no test coverage detected