package
2.6.9+incompatible
Repository: https://github.com/oneconcern/datamon.git
Documentation: pkg.go.dev
# Functions
FakeBundleDescriptor mocks a BundleDescriptor.
FakeContext builds a minimal datamon context with blob and metastore.
FakeContext2 builds a datamon context with blob, metastore and vmetadata.
FakeDataFile generates some data files with faked data to compare post publish, write to internal folder.
FakeRepoDescriptor mocks a repo descriptor.
GetTestTimeStamp yields a unique timestamp for the duration of our tests.
ReadBundleDescriptor read a bundle descriptor from a metadata store.
SetupFakeDataBundle prepares some metadata for a fake bundle and returns a cleanup function.
SetupFakeDataBundleWithUnalignedFilelist ...
TestLogger yields a zap logger for testing, essentially muting logs, in order to avoid too much output on CI.
ValidateDataFiles is a folder differ.
ValidatePublish validates a faked bundle published on a ConsumableStore.