Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel string `json:"log_level"`
LoggingTimestamp bool `json:"logging_timestamp"`
Username string
Password string
DisableWeb bool `json:"disable_web"`
DisableMetrics bool `json:"disable_metrics"`
UnprotectedMetrics bool `json:"unprotected_metrics"`
S3 S3Config
Services map[string]ServiceConfig
Foreground bool
}
type ServiceConfig ¶ added in v1.1.0
type ServiceConfig struct {
Schedule string
Timeout TimeoutDuration
Retention struct {
Days int
Files int
}
DisableColumnStatistics bool `json:"disable_column_statistics"`
ForceImport bool `json:"force_import"`
LocalBackupPath string `json:"local_backup_path"`
BackupOptions []string `json:"backup_options"`
RestoreOptions []string `json:"restore_options"`
}
type TimeoutDuration ¶ added in v1.1.0
func (TimeoutDuration) MarshalJSON ¶ added in v1.1.0
func (td TimeoutDuration) MarshalJSON() ([]byte, error)
func (*TimeoutDuration) UnmarshalJSON ¶ added in v1.1.0
func (td *TimeoutDuration) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.