Documentation ¶
Index ¶
- type Store
- func (s *Store) Abort(ctx context.Context, ref string) error
- func (s *Store) BlobPath(dgst digest.Digest) (string, error)
- func (s *Store) Delete(ctx context.Context, dgst digest.Digest) error
- func (s *Store) Info(ctx context.Context, dgst digest.Digest) (content.Info, error)
- func (s *Store) ListStatuses(ctx context.Context, filters ...string) ([]content.Status, error)
- func (s *Store) ReaderAt(ctx context.Context, desc ocispec.Descriptor) (content.ReaderAt, error)
- func (s *Store) Status(ctx context.Context, ref string) (content.Status, error)
- func (s *Store) Update(ctx context.Context, info content.Info, fieldpaths ...string) (content.Info, error)
- func (s *Store) Walk(ctx context.Context, fn content.WalkFunc, filters ...string) error
- func (s *Store) Writer(ctx context.Context, opts ...content.WriterOpt) (content.Writer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a storage backed by the local file system.
func (*Store) BlobPath ¶
BlobPath returns the path where the blob of the digest is located at.
The blob path may not exist, and it is up to the caller to validate the file has the expected content.
func (*Store) ListStatuses ¶
ListStatuses implements content.Store.
func (*Store) Update ¶
func (s *Store) Update(ctx context.Context, info content.Info, fieldpaths ...string) (content.Info, error)
Update implements content.Store.
Click to show internal directories.
Click to hide internal directories.