github.com/loafoe/cli@v7.1.0+incompatible/integration/helpers/version_v7.go (about) 1 package helpers 2 3 import ( 4 "fmt" 5 6 . "github.com/onsi/ginkgo" 7 ) 8 9 const V7 = true 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 }