Documentation ¶
Index ¶
- Constants
- Variables
- func BeforeEachOverrideWerfProjectName()
- func CheckContainerDirectory(werfBinPath, projectPath, containerDirPath string, exist bool)
- func CheckContainerDirectoryDoesNotExist(werfBinPath, projectPath, containerDirPath string)
- func CheckContainerDirectoryExists(werfBinPath, projectPath, containerDirPath string)
- func CheckContainerFileCommand(containerDirPath string, directory bool, exist bool) string
- func CopyIn(sourcePath, destinationPath string)
- func CreateFile(path string, data []byte)
- func GetFreeTCPHostPort() int
- func GetRandomString(n int) string
- func GetTempDir() (string, error)
- func MeetsRequirements(requiredSuiteTools, requiredSuiteEnvs []string) bool
- func ProcessWerfBinPath() string
- func ProjectName() string
- func RegistryRepositoryList(reference string) []string
- func ResetEnviron()
- func RunCommand(dir, command string, args ...string) ([]byte, error)
- func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
- func RunSucceedCommand(dir, command string, args ...string)
- func RunSucceedContainerCommandWithStapel(werfBinPath string, projectPath string, extraDockerOptions []string, ...)
- func ShelloutPack(command string) string
- func StringToLines(s string) (lines []string)
- func SucceedCommandOutputString(dir, command string, args ...string) string
- func WaitTillHostReadyToRespond(url string, maxAttempts int)
- type RunCommandOptions
Constants ¶
View Source
const DefaultWaitTillHostReadyToRespondMaxAttempts = 60
Variables ¶
View Source
var LineBreak = "\n"
Functions ¶
func BeforeEachOverrideWerfProjectName ¶
func BeforeEachOverrideWerfProjectName()
func CheckContainerDirectory ¶
func CheckContainerDirectoryDoesNotExist ¶
func CheckContainerDirectoryDoesNotExist(werfBinPath, projectPath, containerDirPath string)
func CheckContainerDirectoryExists ¶
func CheckContainerDirectoryExists(werfBinPath, projectPath, containerDirPath string)
func CreateFile ¶
func GetFreeTCPHostPort ¶
func GetFreeTCPHostPort() int
func GetRandomString ¶
func GetTempDir ¶
func MeetsRequirements ¶
func ProcessWerfBinPath ¶
func ProcessWerfBinPath() string
func ProjectName ¶
func ProjectName() string
func RegistryRepositoryList ¶
func ResetEnviron ¶
func ResetEnviron()
func RunCommandWithOptions ¶
func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
func RunSucceedCommand ¶
func ShelloutPack ¶
func StringToLines ¶
Types ¶
type RunCommandOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.