reffs

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDef

func OpenDef(ctx context.Context, bk *buildkit.Client, def *pb.Definition) (fs.FS, error)

func OpenState

func OpenState(ctx context.Context, bk *buildkit.Client, st llb.State, opts ...llb.ConstraintsOpt) (fs.FS, error)

func ReferenceFS

func ReferenceFS(ctx context.Context, ref bkgw.Reference) fs.FS

Types

type FS

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

func (*FS) Open

func (fs *FS) Open(name string) (fs.File, error)

type File

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

func (*File) Close

func (f *File) Close() error

func (*File) Read

func (f *File) Read(p []byte) (int, error)

func (*File) Stat

func (f *File) Stat() (fs.FileInfo, error)

Jump to

Keyboard shortcuts

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