Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Walker ¶
type S3Walker struct { // S3 is the S3 client to be used. S3 s3iface.S3API // Bucket and Prefix name the location of the scan. Bucket, Prefix string // Admission policy for S3 operations (can be nil). Policy admit.Policy // Retrier policy for S3 operations. Retrier retry.Policy // contains filtered or unexported fields }
S3Walker traverses s3 keys through a prefix scan.
func (*S3Walker) Scan ¶
Scan scans the next key; it returns false when no more keys can be scanned, or if there was an error.
func (*S3Walker) WithMetadata ¶
WithMetadata returns a new S3Walker configured to make a best-effort attempt to fetch each object's metadata.
Click to show internal directories.
Click to hide internal directories.