grain/config/types/eventPurging.go

12 lines
504 B
Go
Raw Normal View History

2024-09-22 19:34:32 +00:00
package config
type EventPurgeConfig struct {
2024-11-13 02:37:43 +00:00
Enabled bool `yaml:"enabled"`
KeepIntervalHours int `yaml:"keep_interval_hours"`
PurgeIntervalMinutes int `yaml:"purge_interval_minutes"`
PurgeByCategory map[string]bool `yaml:"purge_by_category"`
PurgeByKindEnabled bool `yaml:"purge_by_kind_enabled"`
KindsToPurge []int `yaml:"kinds_to_purge"`
ExcludeWhitelisted bool `yaml:"exclude_whitelisted"`
2024-09-22 19:34:32 +00:00
}