stargz

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileSystem

func NewFileSystem(ctx context.Context, opt ...NewFSOpt) (fs.FileSystem, error)

Types

type Blob

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

func (*Blob) ReadToc

func (bb *Blob) ReadToc() (io.Reader, error)

ReadToc read stargz toc content from blob

type NewFSOpt

type NewFSOpt func(d *filesystem) error

func WithDaemonConfig

func WithDaemonConfig(cfg config.DaemonConfig) NewFSOpt

func WithLogDir

func WithLogDir(dir string) NewFSOpt

func WithLogLevel

func WithLogLevel(logLevel string) NewFSOpt

func WithLogToStdout

func WithLogToStdout(logToStdout bool) NewFSOpt

func WithMeta

func WithMeta(root string) NewFSOpt

func WithNydusImageBinaryPath

func WithNydusImageBinaryPath(p string) NewFSOpt

func WithNydusdBinaryPath

func WithNydusdBinaryPath(p string) NewFSOpt

func WithNydusdThreadNum

func WithNydusdThreadNum(nydusdThreadNum int) NewFSOpt

func WithProcessManager

func WithProcessManager(pm *process.Manager) NewFSOpt

type Resolver

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

func NewResolver

func NewResolver() *Resolver

func (*Resolver) GetBlob

func (r *Resolver) GetBlob(ref, digest string, keychain authn.Keychain) (*Blob, error)

Jump to

Keyboard shortcuts

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