()
| 35 | } |
| 36 | |
| 37 | func (e deprecatedAPIError) Error() string { |
| 38 | msg := e.Message |
| 39 | return msg |
| 40 | } |
| 41 | |
| 42 | func validateNoDeprecations(resource *k8sYamlStruct, kubeVersion *common.KubeVersion) error { |
| 43 | // if `resource` does not have an APIVersion or Kind, we cannot test it for deprecation |
no outgoing calls