package
0.0.0-20250324124226-2fe9b5bc14ef
Repository: https://github.com/laisky/go-ramjet.git
Documentation: pkg.go.dev
# Functions
BindRolloverIndices bind the task to rollover indices.
FilterReadyToBeDeleteIndices filter indices that is ready to be deleted.
FilterToBeDeleteIndicies return the indices that need be delete.
GetAliasURL return the ES alisese endpoint.
No description provided by the author
IsIdxIsWriteAlias check is indices' alias is write-alias.
IsIdxShouldDelete check whether a index is should tobe deleted dateStr like `2016.10.31`, treated as +0800.
LoadAliases load all indices aliases from ES.
LoadAllIndicesNames load all indices name by ES API.
LoadSettings load task settings.
No description provided by the author
RemoveIndexByName delete index by elasticsearch RESTful API.
RunDeleteTask start to delete indices.
No description provided by the author
# Structs
AliasesResp is the response of es aliases API.
IdxSetting is the task settings.