package containerd
import "github.com/moby/buildkit/snapshot/containerd"
Index ¶
- func NSSnapshotter(ns string, snapshotter snapshots.Snapshotter) snapshots.Snapshotter
- func NewSnapshotter(name string, snapshotter snapshots.Snapshotter, ns string, idmap *idtools.IdentityMapping) snapshot.Snapshotter
- type Store
- func NewContentStore(store content.Store, ns string) *Store
- func (c *Store) Abort(ctx context.Context, ref string) error
- func (c *Store) Delete(ctx context.Context, dgst digest.Digest) error
- func (c *Store) Info(ctx context.Context, dgst digest.Digest) (content.Info, error)
- func (c *Store) ListStatuses(ctx context.Context, filters ...string) ([]content.Status, error)
- func (c *Store) Namespace() string
- func (c *Store) ReaderAt(ctx context.Context, desc ocispecs.Descriptor) (content.ReaderAt, error)
- func (c *Store) Status(ctx context.Context, ref string) (content.Status, error)
- func (c *Store) Update(ctx context.Context, info content.Info, fieldpaths ...string) (content.Info, error)
- func (c *Store) Walk(ctx context.Context, fn content.WalkFunc, filters ...string) error
- func (c *Store) WithFallbackNS(ns string) content.Store
- func (c *Store) WithNamespace(ns string) *Store
- func (c *Store) Writer(ctx context.Context, opts ...content.WriterOpt) (content.Writer, error)
Functions ¶
func NSSnapshotter ¶
func NSSnapshotter(ns string, snapshotter snapshots.Snapshotter) snapshots.Snapshotter
func NewSnapshotter ¶
func NewSnapshotter(name string, snapshotter snapshots.Snapshotter, ns string, idmap *idtools.IdentityMapping) snapshot.Snapshotter
Types ¶
type Store ¶
func NewContentStore ¶
func (*Store) Abort ¶
func (*Store) Delete ¶
func (*Store) Info ¶
func (*Store) ListStatuses ¶
func (*Store) Namespace ¶
func (*Store) ReaderAt ¶
func (*Store) Status ¶
func (*Store) Update ¶
func (c *Store) Update(ctx context.Context, info content.Info, fieldpaths ...string) (content.Info, error)
func (*Store) Walk ¶
func (*Store) WithFallbackNS ¶
func (*Store) WithNamespace ¶
func (*Store) Writer ¶
Source Files ¶
- Version
- v0.14.0
- Published
- Jun 11, 2024
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 2 minutes ago –
Tools for package owners.