storj/cmd/storagenode
Clement Sam 3cf89633e9 cmd/storagenode: refactor main.go
The cmd/storagenode/main.go is a big mess right now with so many
unneeded config structures initialized and shared by several
subcommands.

There are many instances where the config structure of one subcommand
is mistakenly used for another subcommand.

This changes is an attempt to clean up the main.go by moving the
subcommands to a separate `cmd_*.go` files with separate config structures
for each subcommand.

Resolves https://github.com/storj/storj/issues/5756

Change-Id: I85adf2439acba271c023c269739f7fa3c6d49f9d
2023-04-06 12:48:23 +00:00
..
cmd_config.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_dashboard.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_diag.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_gracefulexit_test.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_gracefulexit.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_issue_api_token.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_nodeinfo.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_run.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
cmd_setup.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
deprecated.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
main.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
root_test.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
root.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00
service_nonwindows.go ci: Golangci lint v1.43.0 changes (#4307) 2021-12-09 20:49:48 +01:00
service_windows.go cmd/storagenode: refactor main.go 2023-04-06 12:48:23 +00:00