Documentation ¶
Index ¶
- func AllDependenciesSatisfied(taskData interface{}, taskStatus map[string]bool) bool
- func ConvertStringListToIntList(strList []string) ([]int, error)
- func CopyDir(src, dst, taskName string) error
- func CopyFile(src, dst string) error
- func CopyInputFiles(inputs []string, hostHiveTaskInputDir string) error
- func CopyMountFiles(mounts []string, hostHiveTaskInputDir, defaultHive string) error
- func DownloadFile(source, destination string) error
- func EnsurePathExists(path string) error
- func FindLineNumber(input, pattern string) int
- func GenerateIntegerList(start, end int) []int
- func GetDirectorywithkeyword(input string) ([]string, error)
- func GetDockerClient() *client.Client
- func GetHostHiveTaskDirectory(taskName, defaultHive string) (string, error)
- func GetInputOutput(source string) (in, out string)
- func GetInputOutputDocker(source string) (in, out string)
- func GetInterfaceVal(taskData interface{}, value string) interface{}
- func GetLogPaths(stdoutDir, stderrDir, taskName string) (stdoutFile, stderrFile string)
- func GetTimeout(taskData interface{}) time.Duration
- func GeterrorLogPath(source string) (stdout, stderr string)
- func ImageExists(cli *client.Client, imageName string) (bool, error)
- func InspectImageEntrypoint(cli *client.Client, imageName, defaultCmd string) ([]string, error)
- func IsFolder(path string) bool
- func IsFolderExists(path string) (bool, error)
- func IsURL(str string) bool
- func ParseDockerLogs(reader io.Reader) (stdoutLogs, stderrLogs []byte, err error)
- func PullDockerImage(cli *client.Client, imageName string) error
- func RandomString(length int) string
- func ReadDynamicRangeFromFile(dynamicRange string) string
- func ReadLinesFromFile(filePath string) ([]string, error)
- func ReplaceDockerplaceholders(...) string
- func ReplacePlaceholders(configuration *config.Config)
- func ReplacePlaceholdersInString(input string, vars map[string]string) string
- func ReplaceTaskPlaceholders(command, hive, mode string) string
- func SanitizeTaskName(taskName string) string
- func UpdateConfigStruct(configStruct *config.Config, keyValueList []string) error
- func WriteLogs(stdoutFile, stderrFile string, stdoutLogs, stderrLogs []byte) error
- func WriteLogsToFile(logs []byte, filePath string) error
- type Args
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyInputFiles ¶
func CopyMountFiles ¶
func DownloadFile ¶
func EnsurePathExists ¶
func FindLineNumber ¶
func GenerateIntegerList ¶
func GetDirectorywithkeyword ¶
func GetDockerClient ¶
func GetInputOutput ¶
func GetInputOutputDocker ¶
func GetInterfaceVal ¶
func GetInterfaceVal(taskData interface{}, value string) interface{}
func GetLogPaths ¶
func GetTimeout ¶
func GeterrorLogPath ¶
func InspectImageEntrypoint ¶
func IsFolderExists ¶
func ParseDockerLogs ¶
func RandomString ¶
func ReadLinesFromFile ¶
func ReplacePlaceholders ¶
func ReplacePlaceholdersInString ¶
Function to replace placeholders in a string
func ReplaceTaskPlaceholders ¶
func SanitizeTaskName ¶
func UpdateConfigStruct ¶
func WriteLogsToFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.