Documentation
¶
Index ¶
Constants ¶
View Source
const ( TimeFormat = "2006-01-02_15-04-05_-0700" XtrabackupFullArtifact = "base.tar.gz" XtrabackupIncArtifact = "inc.xb.gz" MysqldumpArtifact = "dump.sql.gz" )
Variables ¶
View Source
var (
TimeFormatByteLen = len([]byte(TimeFormat))
)
Functions ¶
func EnvOrDefaultString ¶ added in v0.6.0
EnvOrDefaultString returns the value set by the specified environment variable, if any, otherwise the specified default value.
func MkdirAllWithLog ¶ added in v0.6.0
MkdirAllWithLog creates path as a directory. When creating the directory is failed, the path is logged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.