Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IndexPrefix string Archive bool Rollover bool MasterNodeTimeoutSeconds int IndexDateSeparator string Username string Password string TLSEnabled bool }
Config holds configuration for index cleaner binary.
func (*Config) InitFromViper ¶
InitFromViper initializes config from viper.Viper.
type IndexFilter ¶
type IndexFilter struct { // Index prefix. IndexPrefix string // Separator between date fragments. IndexDateSeparator string // Whether to filter archive indices. Archive bool // Whether to filter rollover indices. Rollover bool // Indices created before this date will be deleted. DeleteBeforeThisDate time.Time }
IndexFilter holds configuration for index filtering.
Click to show internal directories.
Click to hide internal directories.