Documentation ¶
Index ¶
Constants ¶
View Source
const CLOSED_STATUS string = "close"
View Source
const GIGABYTE_CONVERSION float64 = 1000000000
View Source
const MEGABYTE_CONVERSION float64 = 1000000
View Source
const NOT_VALID_DATE_PARAMETER = "Field is not a valid date parameter"
NOT_VALID_DATE_PARAMETER error message
View Source
const OPEN_STATUS string = "open"
View Source
const SECONDS_PER_DAY float64 = 86400
View Source
const SECONDS_PER_MONTH float64 = 2628000
View Source
const SECONDS_PER_YEAR float64 = 31540000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterResponse ¶
type FilterResponse struct { Passed bool `json:"passed"` Err error `json:"error"` List []string `json:"list"` Report reports.Reportable `json:"report"` }
FilterResponse is the response of a filter run
type IndexStatsResponse ¶
type IndexStatsResponse struct {
// contains filtered or unexported fields
}
IndexStatsResponse represents the response of an index stats call
type Runnerable ¶
type Runnerable interface { // Init initializes the filter runner Init(criteria criterias.Criteriable, builder *golastic.Connection, info ...infos.Informable) (Runnerable, error) // RunFilter filters out elements from the actionable list RunFilter(channel chan *FilterResponse) }
Runnerable represents a contract to be implemented by filter runners
func NewRunner ¶
func NewRunner(criteria criterias.Criteriable, connection *golastic.Connection, info ...infos.Informable) (Runnerable, error)
NewRunner return a filter runner
Source Files ¶
- age_filter_runner.go
- aggregate_base_runner.go
- alias_filter_runner.go
- allocated_filter_runner.go
- base_runner.go
- closed_filter_runner.go
- contracts.go
- count_filter_runner.go
- empty_filter_runner.go
- filter_response.go
- forcemerged_filter_runner.go
- kibana_filter_runner.go
- pattern_filter_runner.go
- space_filter_runner.go
- state_filter_runner.go
- use_age_filter_runner.go
- util.go
Click to show internal directories.
Click to hide internal directories.