Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeStorageUsageStamps ¶ added in v1.67.1
func MakeStorageUsageStamps(satellites []storj.NodeID, days int, endDate time.Time) []storageusage.Stamp
MakeStorageUsageStamps creates storage usage stamps and expected summaries for provided satellites. Creates one entry per day for 30 days with last date as beginning of provided endDate.
func OpenNew ¶ added in v1.69.1
func OpenNew(ctx context.Context, log *zap.Logger, config storagenodedb.Config) (*storagenodedb.DB, error)
OpenNew opens a new storage node database pre-populated with a newly initialized and migrated database snapshot.
func Run ¶
func Run(t *testing.T, test func(ctx *testcontext.Context, t *testing.T, db storagenode.DB))
Run method will iterate over all supported databases. Will establish connection and will create tables for each DB.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.