Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate elasticsearch rollover to go #3242

Merged
merged 31 commits into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ffb0e43
Index rollover golang migration, init action
rubenvp8510 Aug 31, 2021
7369929
Add rollover action to es-rollover cmd
rubenvp8510 Sep 2, 2021
66ac625
Add lookback command
rubenvp8510 Sep 2, 2021
a1312a4
Fix usage of commands, add host positional arg
rubenvp8510 Sep 2, 2021
68e3524
Rename some variables, move some fuctions to pkg/es for reuse it
rubenvp8510 Sep 3, 2021
22ab9b6
Reuse code, move commands to main
rubenvp8510 Sep 3, 2021
30952e4
Move filters to pkg/es
rubenvp8510 Sep 3, 2021
24cba15
Simplified the es index client code
rubenvp8510 Sep 3, 2021
bde96df
Initialie subcommand configs
rubenvp8510 Sep 3, 2021
8401384
Add comments to exported methods and types
rubenvp8510 Sep 3, 2021
7a4b54e
Remove spaces, rename some functions to align it more with the functi…
rubenvp8510 Sep 4, 2021
2e0f822
Change how to init and handle global variables
rubenvp8510 Sep 5, 2021
7b4c189
Fix default unit for lookback command
rubenvp8510 Sep 5, 2021
947a383
Validate positional argument
rubenvp8510 Sep 5, 2021
d4bde63
Separate ILM into his own client api
rubenvp8510 Sep 5, 2021
928fdd2
Fix index client delete test
rubenvp8510 Sep 5, 2021
f1f6c60
Add index client tests
rubenvp8510 Sep 5, 2021
46aa0a7
Add flags tests
rubenvp8510 Sep 6, 2021
359533e
Index filter tests
rubenvp8510 Sep 6, 2021
445df31
Add index option tests
rubenvp8510 Sep 6, 2021
e7ea893
fix filter tests
rubenvp8510 Sep 6, 2021
2e50add
Actions unit tests
rubenvp8510 Sep 6, 2021
b046584
test rollover action
rubenvp8510 Sep 6, 2021
0d43a3b
Init action tests
rubenvp8510 Sep 6, 2021
18e7296
Add lookback tests
rubenvp8510 Sep 7, 2021
31c5a4e
Minor code style changes
rubenvp8510 Sep 7, 2021
e97f621
remove empty_test.go from mocks package
rubenvp8510 Sep 8, 2021
a8ab514
Bind correct root flags
rubenvp8510 Sep 8, 2021
751aa02
Return response errors on index client methods if its possible
rubenvp8510 Sep 8, 2021
ff0cc79
Fix some code styles, extra spaces etc..
rubenvp8510 Sep 9, 2021
8778c27
Rename addRootFlags function
rubenvp8510 Sep 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 0 additions & 144 deletions cmd/es-index-cleaner/app/index_client.go

This file was deleted.

214 changes: 0 additions & 214 deletions cmd/es-index-cleaner/app/index_client_test.go

This file was deleted.

Loading