Documentation ¶
Index ¶
- func CheckIfFileExists(fileName string) bool
- func CreateDirectoryIfNotExists(dirName string) (err error)
- func GenerateACLConfig(aclFile *os.File, pwd *string) error
- func GenerateRandomString(n int) string
- func GenerateRedisConfig(confFile *os.File, aclfilePath string) error
- func MarkComplete(dirPath, doneFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfFileExists ¶
CheckIfFileExists returns true if the specified fileName exists
func CreateDirectoryIfNotExists ¶
CreateDirectoryIfNotExists makes a directory if not exists yet
func GenerateACLConfig ¶
GenerateACLConfig writes the redis ACL file based on the pre-defined templates
func GenerateRandomString ¶
GenerateRandomString will return a randomized string of characters at the length specified via input variable `n`
func GenerateRedisConfig ¶
GenerateRedisConfig writes the startup configuration of Redis server based on pre-defined template
func MarkComplete ¶
MarkComplete creates a doneFile file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.