feat: add include and exclude filtering options for database discovery
Build and Push / build (godump, amd64, linux) (push) Successful in 18s

This commit is contained in:
2026-06-04 18:45:41 +00:00
parent 13009580f3
commit 9a417155fc
3 changed files with 44 additions and 8 deletions
+10 -8
View File
@@ -59,14 +59,16 @@ type LoggingConfig struct {
}
type InstanceConfig struct {
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
BackupDir string `yaml:"backup_dir"`
RetentionDays int `yaml:"retention_days"`
Schedule string `yaml:"schedule"`
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
BackupDir string `yaml:"backup_dir"`
RetentionDays int `yaml:"retention_days"`
Schedule string `yaml:"schedule"`
Include []string `yaml:"include,omitempty"`
Exclude []string `yaml:"exclude,omitempty"`
}
func LoadConfig(path string) (*Config, error) {