Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MetricID string
ManagerAPIAddress string
NodeosAPIAddress string
ConnectionWatchdog bool
NodeosConfigDir string
NodeosBinPath string
NodeosDataDir string
ProducerHostname string
TrustedProducer string
ReadinessMaxLatency time.Duration
ForceProduction bool
NodeosExtraArgs []string
// Common Flags
BackupStoreURL string
BootstrapDataURL string
DebugDeepMind bool
LogToZap bool
AutoRestoreSource string // backup, snapshot, none
RestoreBackupName string
RestoreSnapshotName string
SnapshotStoreURL string
ShutdownDelay time.Duration
// Backup Flags
BackupTag string
AutoBackupModulo int
AutoBackupPeriod time.Duration
AutoBackupHostnameMatch string // If non-empty, will only apply autobackup if we have that hostname
// Snapshot Flags
AutoSnapshotModulo int
AutoSnapshotPeriod time.Duration
AutoSnapshotHostnameMatch string // If non-empty, will only apply autosnapshot if we have that hostname
NumberOfSnapshotsToKeep int // do not delete if 0
StartFailureHandlerFunc func()
DisableProfiler bool
}
Click to show internal directories.
Click to hide internal directories.