Documentation ¶
Index ¶
- Constants
- func AssetPath(filename string) string
- func BuildExecutable(sourcePath string) string
- func BuildRedisClient(port uint, host string, password string) redis.Conn
- func BuildRedisClientFromConf(conf redisconf.Conf) redis.Conn
- func CreateTestDirs() (string, string, string)
- func FileExists(path string) bool
- func HandleTemplate(sourceFile, destFile string, data interface{}) error
- func KillProcess(session *gexec.Session)
- func KillRedisProcess(instanceID string, brokerConfig brokerconfig.Config)
- func RemoveTestDirs(configDir, dataDir, logDir string)
- func ResetTestDirs()
- func ServiceAvailable(port uint) bool
- func ServiceAvailableTLS(tlsPort uint) bool
- type TemplateData
Constants ¶
View Source
const TestConfigDir = "/tmp/redis-config-dir"
View Source
const TestDataDir = "/tmp/redis-data-dir"
View Source
const TestLogDir = "/tmp/redis-log-dir"
View Source
const TestPidfileDir = "/tmp/pidfiles"
Variables ¶
This section is empty.
Functions ¶
func BuildExecutable ¶
func CreateTestDirs ¶
func FileExists ¶
func HandleTemplate ¶
func KillProcess ¶
func KillRedisProcess ¶
func KillRedisProcess(instanceID string, brokerConfig brokerconfig.Config)
func RemoveTestDirs ¶
func RemoveTestDirs(configDir, dataDir, logDir string)
func ResetTestDirs ¶
func ResetTestDirs()
func ServiceAvailable ¶
func ServiceAvailableTLS ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.