github.com/arunkumar7540/cli@v6.45.0+incompatible/integration/helpers/version_v7.go (about) 1 // +build V7 2 3 package helpers 4 5 import ( 6 "fmt" 7 8 . "github.com/onsi/ginkgo" 9 ) 10 11 // SkipIfV7AndVersionLessThan is used to skip tests if the target build is V7 and API version < the specified version 12 // If minVersion contains the prefix 3 then the v3 version is checked, otherwise the v2 version is used. 13 func SkipIfV7AndVersionLessThan(minVersion string) { 14 SkipIfVersionLessThan(minVersion) 15 } 16 17 // SkipIfV7 is used to skip tests if the target build is V7. 18 func SkipIfV7() { 19 Skip(fmt.Sprintf("Not implemented for V7 yet")) 20 }