mirror of
https://github.com/yannh/kubeconform.git
synced 2026-06-29 00:10:45 +00:00
Kubernetes API machinery accepts Scala duration format, e.g., '2w' for 2 weeks and '3d' for 3 days, in addition to Go duration format (e.g., '1h30m') and ISO 8601 format (e.g., 'P2W'). This fix adds validation support for these commonly used duration formats. Closes #347 |
||
|---|---|---|
| .. | ||
| validator.go | ||
| validator_test.go | ||