Documentation ¶
Index ¶
- func CheckforSynkToken()
- func Cleanup(path string) error
- func CleanupSuite() error
- func CmdRunner(program string, args ...string) *gexec.Session
- func CmdShouldFailWithExit1(program string, args ...string) string
- func CmdShouldPassWithExit1(program string, args ...string) string
- func CmdShouldPassWithExit2(program string, args ...string) string
- func CmdShouldPassWithoutError(program string, args ...string) string
- func CommonBeforeEach(file string, target string) (string, string)
- func CopyContentstoTarget(filename string, target string) error
- func CreateDataDir() error
- func Getabspath(path string) (string, error)
- func PrintWithGinkgo(data string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckforSynkToken ¶
func CheckforSynkToken()
CheckforSynkToken Checks for Snyk Token var in env
func CmdShouldFailWithExit1 ¶
CmdShouldFailWithExit1 asserts the command passed with exit 1
func CmdShouldPassWithExit1 ¶
CmdShouldPassWithExit1 asserts the command passed with exit 1
func CmdShouldPassWithExit2 ¶
CmdShouldPassWithExit2 asserts the command passed with exit 2
func CmdShouldPassWithoutError ¶
CmdShouldPassWithoutError asserts if the command is passed without error
func CommonBeforeEach ¶
CommonBeforeEach is a common before each function
func CopyContentstoTarget ¶
CopyContentstoTarget Copies the files to target
func PrintWithGinkgo ¶
func PrintWithGinkgo(data string)
PrintWithGinkgo is the function used for logging
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.