Documentation ¶
Index ¶
- func AssertStringContains(mainString string, subString string, errorMessage string)
- func RunInstallerWithSurvey(arguments []string, path string, commandLineArgs [][]string) string
- func RunOSCommandWithArgs(command string, arguments []string, path string) string
- func ValidateInstallConfig(filePath string, expectedData DataToValidate)
- func ValidateInstallStateConfig(filePath string, expectedData DataToValidate)
- type DataToValidate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertStringContains ¶
AssertStringContains compares two strings and fails if it isn't contained
func RunInstallerWithSurvey ¶
RunInstallerWithSurvey run the installer given the command arguments, the path where will be launched and the command line values for survey
func RunOSCommandWithArgs ¶
RunOSCommandWithArgs executes a command in the operating system with arguments
func ValidateInstallConfig ¶
func ValidateInstallConfig(filePath string, expectedData DataToValidate)
ValidateInstallConfig check that the file content is the same of the env variables
func ValidateInstallStateConfig ¶
func ValidateInstallStateConfig(filePath string, expectedData DataToValidate)
ValidateInstallStateConfig check that the file content is the same of the env variables
Types ¶
Click to show internal directories.
Click to hide internal directories.