filter

package
v1.34.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasExists

func AliasExists(indices []client.Index, aliasName string) bool

AliasExists check if the some of indices has a certain alias name

func ByAlias

func ByAlias(indices []client.Index, aliases []string) []client.Index

ByAlias filter indices that have an alias in the array of alias

func ByAliasExclude

func ByAliasExclude(indices []client.Index, aliases []string) []client.Index

ByAliasExclude filter indices that doesn't have an alias in the array of alias

func ByDate

func ByDate(indices []client.Index, beforeThisDate time.Time) []client.Index

ByDate filter indices by creationTime, return indices that were created before certain date.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL