reffs

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDef

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

func OpenState

func OpenState(ctx context.Context, gw bkgw.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