blob

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewBlobManager

func NewBlobManager(blobDir string, resolver *resolve.Resolver) *Manager

func (*Manager) CleanupBlobLayer

func (b *Manager) CleanupBlobLayer(ctx context.Context, blobDigest string, async bool) error

func (*Manager) GetBlobDir

func (b *Manager) GetBlobDir() string

func (*Manager) PrepareBlobLayer

func (b *Manager) PrepareBlobLayer(snapshot storage.Snapshot, labels map[string]string) error

Download blobs and bootstrap in nydus-snapshotter for preheating container image usage. It has to enable blobs manager when start nydus-snapshotter

func (*Manager) Remove

func (b *Manager) Remove(id string, async bool) error

func (*Manager) Run

func (b *Manager) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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