Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InProgress ¶
InProgress is an implementation of Storage which is intended to decorate the S3 implementation.
The decorator will check if a digest is in progress, and if so, will return types.ErrInProgress. On a successful Store operation, the decorator will remove the digest's "in progress" status.
func (*InProgress) Exists ¶
Exists returns true if the digest exists, but does not download the digest body.
If the digest is in the process of being created, an error will be returned of type types.ErrInProgress
func (*InProgress) Get ¶
func (s *InProgress) Get(ctx context.Context, key string) (io.ReadCloser, error)
Get returns the digest for the given key.
If the digest is in the process of being created, an error will be returned of type types.ErrInProgress
type ProgressMarker ¶
type ProgressMarker struct { Bucket string Client s3iface.S3API // contains filtered or unexported fields }
ProgressMarker is an implementation of Marker which allows for marking/unmarking of digests in progress
type S3 ¶
S3 implements the Storage interface and uses S3 as the backing store for digests
func (*S3) Exists ¶
Exists returns true if the digest exists, but does not download the digest body.