containerd

package
v0.14.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 175

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NSSnapshotter added in v0.7.0

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 added in v0.12.0

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

func NewContentStore

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

func (*Store) Abort added in v0.12.0

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

func (*Store) Delete added in v0.12.0

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

func (*Store) Info added in v0.12.0

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

func (*Store) ListStatuses added in v0.12.0

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

func (*Store) Namespace added in v0.12.0

func (c *Store) Namespace() string

func (*Store) ReaderAt added in v0.12.0

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

func (*Store) Status added in v0.12.0

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

func (*Store) Update added in v0.12.0

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

func (*Store) Walk added in v0.12.0

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

func (*Store) WithFallbackNS added in v0.12.0

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

func (*Store) WithNamespace added in v0.12.0

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

func (*Store) Writer added in v0.12.0

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