Deprecator implements an interface for reading some sort of Input and comparing against the map of Kubernetes APIs to check if there's some Deprecated or Deleted
| 7 | // Deprecator implements an interface for reading some sort of Input and comparing against the |
| 8 | // map of Kubernetes APIs to check if there's some Deprecated or Deleted |
| 9 | type Deprecator interface { |
| 10 | GetDeprecations() (deprecated []results.ResultItem, deleted []results.ResultItem, err error) |
| 11 | } |
| 12 | |
| 13 | // GetDeprecations returns the results of the comparison between the Input and the APIs |
| 14 | func GetDeprecations(d Deprecator) (result results.Result, err error) { |