1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00
Commit graph

15 commits

Author SHA1 Message Date
7f1f186aa0 nternal/config/cli.go: move overrideCliFlags() to cmd/thalos/server.go as its pretty specific code. 2024-02-18 18:00:26 +01:00
53baae8a7f internal/config/cli.go: move flags that are not bound to config to cmd/thalos/main.go 2024-02-18 17:40:04 +01:00
69a36e016c internal/config: skip creating a Config struct with default values. those should be set by flags or viper in the builder 2024-02-18 16:11:32 +01:00
e54a4fa929 internal/config: remove shorthand ship config (where it is possible to have "ship" key only contain a url string instead of struct)
It makes parsing harder and i don't think anyone uses it and its not that useful tbh.
2024-02-18 16:08:18 +01:00
4a4489e2be internal/config/builder_test.go: adding test for config with flags 2024-02-18 16:04:02 +01:00
2db0a64bd4 internal/config: add additional flags for config fields. 2024-02-18 15:45:10 +01:00
beb5b6cf04 cmd/thalos/main.go: move cli flags to internal/config/cli.go as it is easier to write tests if we can get a hold of the flags. 2024-02-18 14:36:27 +01:00
117f1b50b4 internal/config/builder.go: bind start-block, end-block flags to config 2024-02-18 11:39:32 +01:00
7033240000 internal/config/cli.go: Rename Config.ReadCliFlags to ovverideCliFlags and make it a function instead of method. 2024-02-18 11:39:32 +01:00
b4c305d8ea Remove internal/config/file.go 2024-02-18 11:39:32 +01:00
0d1bec6a62 Adding internal/config/builder.go 2024-02-18 11:39:32 +01:00
85da219349 Merge branch 'refactor' 2024-02-17 17:32:19 +01:00
9974bfe3fd rename app folder to internal. 2024-02-14 13:00:33 +01:00
3251c94416 move internal/config to config 2023-01-12 16:49:27 +01:00
ddd5d67901 Move internal packages into internal subdirectory 2022-11-29 15:08:23 +01:00