containerd

package
v0.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL