storagemanifest

package
v0.0.0-...-a078c60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadBucket

func NewReadBucket(
	m *manifest.Manifest,
	blobSet *manifest.BlobSet,
	options ...ReadBucketOption,
) (storage.ReadBucket, error)

NewReadBucket takes a Manifest and BlobSet and builds a ReadBucket that contains the files in the Manifest.

Types

type ReadBucketOption

type ReadBucketOption func(*readBucketOptions)

ReadBucketOption is an option for a passed when creating a new manifest bucket.

func ReadBucketWithAllManifestBlobs

func ReadBucketWithAllManifestBlobs() ReadBucketOption

ReadBucketWithAllManifestBlobs validates that all manifest digests have a corresponding blob in the blob set. If this option is not passed, then buckets with partial/incomplete blobs are allowed.

func ReadBucketWithNoExtraBlobs

func ReadBucketWithNoExtraBlobs() ReadBucketOption

ReadBucketWithNoExtraBlobs validates that the passed blob set has no additional blobs beyond the ones in the manifest.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL