storj/cmd
Jeff Wendling ef7b89cc03 cmd/uplinkng: remove global flags
this changes globalFlags to be a ulext.External
interface value that is passed to each command.

rather than have the ulext.External have a Setup
call in the way that the projectProvider used to
we make all of the state arguments to the functions
and have the commands call setup themselves.

the reason it is in its own package is so that
cmd/uplinkng can import cmd/uplinkng/ultest
but cmd/uplinkng/ultest needs to refer to whatever
the interface type is to call the function that
creates the commands.

there's also quite a bit of shuffling around of
code and names. sorry if that makes it tricky
to review. there should be no logic changes, though.

a side benefit is there's no longer a need to do
a type assertion in ultest to make it set the
fake filesystem to use. that can be passed in
directly now. additionally, this makes the
access commands much easier to test.

Change-Id: I29cf6a2144248a58b7a605a7ae0a5ada5cfd57b6
2021-07-06 17:26:51 -04:00
..
certificates all: fix error naming 2021-04-29 15:38:21 +03:00
connect-test ci: fix lint errors 2021-05-17 13:37:31 +00:00
crashcollect crashcollect: process for receiving panics 2021-04-27 18:57:47 +03:00
identity ci: fix lint errors 2021-05-17 13:37:31 +00:00
inspector satellite: remove irreparabledb leftovers from code 2021-06-22 11:26:17 +00:00
internal/wizard cmd/internal/asset: delete unused code 2021-05-20 18:30:19 +03:00
metabase-verify satellite/metainfo: remove MetabaseDB interface 2021-05-13 13:22:14 +00:00
metainfo-loop-benchmark satellite/metainfo: remove MetabaseDB interface 2021-05-13 13:22:14 +00:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode multinode/multinodedb: add db migration 2021-05-13 15:44:08 +00:00
satellite satellite/repair: migrate to new repair_queue table 2021-06-30 17:12:24 +02:00
storagenode Revert "storagenode: docker image autoupdate binaries" 2021-05-13 14:21:06 +03:00
storagenode-updater ci: fix lint errors 2021-05-17 13:37:31 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim ci: fix lint errors 2021-05-17 13:37:31 +00:00
uplink cmd/uplinkng: cp 2021-06-02 14:35:27 +00:00
uplinkng cmd/uplinkng: remove global flags 2021-07-06 17:26:51 -04:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00