(minVersion string)
| 86 | } |
| 87 | |
| 88 | func matchMajorAPIVersion(minVersion string) string { |
| 89 | if strings.HasPrefix(minVersion, "3") { |
| 90 | return getAPIVersionV3() |
| 91 | } else { |
| 92 | return GetAPIVersionV2() |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // GetAPIVersionV2 returns the V2 api version of the targeted API |
| 97 | func GetAPIVersionV2() string { |
no test coverage detected