Documentation ¶
Index ¶
- func CreateDestPath(backupDir string, latestHeight int64) (string, error)
- func GetBackupDir() (string, error)
- func GetDirectorySize(dirPath string) (float64, error)
- func GetHomePathFromBinary(binaryPath string) string
- func GetLogsDir() (string, error)
- func GetSupervysorDir() (string, error)
- func LoadConfig(homeDir string) (config *cfg.Config, err error)
- func NewMetrics(reg prometheus.Registerer) *types.Metrics
- func StartMetricsServer(reg *prometheus.Registry, port int) error
- func ValidatePaths(srcPath, destPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBackupDir ¶
func GetDirectorySize ¶
func GetHomePathFromBinary ¶
func GetLogsDir ¶
func GetSupervysorDir ¶
func NewMetrics ¶
func NewMetrics(reg prometheus.Registerer) *types.Metrics
func StartMetricsServer ¶
func StartMetricsServer(reg *prometheus.Registry, port int) error
func ValidatePaths ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.