package containerd

import "github.com/moby/buildkit/snapshot/containerd"

Index

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

type Store struct {
	content.Store
	// contains filtered or unexported fields
}

func NewContentStore

func NewContentStore(store content.Store, ns string) *Store

func (*Store) Abort

func (c *Store) Abort(ctx context.Context, ref string) error

func (*Store) Delete

func (c *Store) Delete(ctx context.Context, dgst digest.Digest) error

func (*Store) Info

func (c *Store) Info(ctx context.Context, dgst digest.Digest) (content.Info, error)

func (*Store) ListStatuses

func (c *Store) ListStatuses(ctx context.Context, filters ...string) ([]content.Status, error)

func (*Store) Namespace

func (c *Store) Namespace() string

func (*Store) ReaderAt

func (c *Store) ReaderAt(ctx context.Context, desc ocispecs.Descriptor) (content.ReaderAt, error)

func (*Store) Status

func (c *Store) Status(ctx context.Context, ref string) (content.Status, error)

func (*Store) Update

func (c *Store) Update(ctx context.Context, info content.Info, fieldpaths ...string) (content.Info, error)

func (*Store) Walk

func (c *Store) Walk(ctx context.Context, fn content.WalkFunc, filters ...string) error

func (*Store) WithFallbackNS

func (c *Store) WithFallbackNS(ns string) content.Store

func (*Store) WithNamespace

func (c *Store) WithNamespace(ns string) *Store

func (*Store) Writer

func (c *Store) Writer(ctx context.Context, opts ...content.WriterOpt) (content.Writer, error)

Source Files

content.go snapshotter.go

Version
v0.17.0
Published
Oct 29, 2024
Platform
js/wasm
Imports
11 packages
Last checked
21 seconds ago

Tools for package owners.