Discover Packages
github.com/conduitio/conduit
pkg
plugins
s3
destination
filevalidator
package
Version:
v0.2.0-nightly.20220215
Opens a new window with list of versions in this module.
Published: Feb 14, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
FileValidator can take a file name and a slice of bytes and validate that the
target file for a name contains the same bytes.
It's only used for tests.
type Local struct {
Path string
}
Local validates files against local filesystem
Validate takes a name of a local file and compares the contents of a local
file with this name to a byte-slice returning an error if they don't match.
S3 validates S3 files
Validate takes a name of an S3 file and compares the contents of a file with
this name to a byte-slice returning an error if they don't match.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.