storj/cmd
Jeff Wendling 6ce22be744 cmd/storj-sim: make initial provisioning nicer
the old code to eventually create an api key on a satellite had
some issues. namely, there were some ignored errors, swallowed
errors, incorrect returns of nil errors when there should have
been an error, and it did not handle working against an already
existing database.

this commit fixes the above issues and organizes the code into
a set of methods performing individual steps rather than one big
function. it adds retries and attempts to get existing values
instead of creating them when possible, which means that it will
work if the values already exist. additionally, it removes the
3 second sleep in favor of a bounded retry loop with a small sleep
which improves startup times.

Change-Id: I4de04659e5a62dd3f675fbf3c76f3311c410a03e
2019-12-11 19:41:57 +00:00
..
certificates private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
gateway lib/uplink: explain safe versions (#3644) 2019-11-25 16:55:54 +01:00
identity private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
inspector satellite/payments: invoice creation (#3468) 2019-11-05 15:16:02 +02:00
internal private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
linksharing private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
s3-benchmark private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
satellite storj-sim: work with cockroach:// urls for satellite databases 2019-12-09 23:44:00 +00:00
segment-reaper segment-reaper: fix for not analyzing last project in detect command 2019-12-11 13:18:13 +00:00
statreceiver private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
storagenode add completion receipt to exit-status cli command on storage node (#3650) 2019-11-26 12:32:26 -05:00
storagenode-updater cmd/storagenode-updater, pkg/process: Fix logging timestamp 2019-12-11 10:05:48 +00:00
storj-sim cmd/storj-sim: make initial provisioning nicer 2019-12-11 19:41:57 +00:00
uplink lib/uplink: explain safe versions (#3644) 2019-11-25 16:55:54 +01:00
versioncontrol private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00