Documentation
¶
Index ¶
- func CopyDir(src string, dst string, perm fs.FileMode) error
- func CopyFile(src, dst string, perm fs.FileMode) error
- func CreateDir(path string, perm fs.FileMode) error
- func CreateServiceLog(path string) error
- func DeleteTaskExecutable(executable string) error
- func DeleteTaskLog(logsPath string) error
- func GetExecutable(taskName string) (string, error)
- func GetHomeDir() string
- func GetSourcePath(task string) string
- func GetWd() string
- func HandleStopSignal(cleanup func())
- func IsInit() bool
- func IsValidPostgresURL(url string) bool
- func ParseTimeStr(t string) (time.Time, error)
- func PathExists(path string) (bool, error)
- type TaskLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServiceLog ¶
func DeleteTaskExecutable ¶ added in v0.2.4
func DeleteTaskLog ¶ added in v0.2.4
func GetExecutable ¶
func GetHomeDir ¶
func GetHomeDir() string
func GetSourcePath ¶
func HandleStopSignal ¶
func HandleStopSignal(cleanup func())
func IsValidPostgresURL ¶
func PathExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.