bkfs

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromState

func FromState(ctx context.Context, state *llb.State, client gwclient.Client, opts ...llb.ConstraintsOpt) (fs.ReadDirFS, error)

Types

type StateRefFS

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

func FromRef

func FromRef(ctx context.Context, ref gwclient.Reference) *StateRefFS

func (*StateRefFS) Open

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

func (*StateRefFS) ReadDir

func (st *StateRefFS) ReadDir(name string) ([]fs.DirEntry, error)

Jump to

Keyboard shortcuts

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