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 graph is in progress, and if so, will return types.ErrInProgress. On a successful Store operation, the decorator will remove the graph's "in progress" status.
func (*InProgress) Exists ¶
Exists returns true if the graph exists, but does not download the graph body.
If the graph 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 graph for the given key.
If the graph is in the process of being created, an error will be returned of type types.ErrInProgress
type S3 ¶
S3 implements the Storage interface and uses S3 as the backing store for graph