frontend

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 10 Imported by: 374

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheOptionsEntry added in v0.4.0

type CacheOptionsEntry = gw.CacheOptionsEntry

type Frontend

type Frontend interface {
	Solve(ctx context.Context, llb FrontendLLBBridge, opt map[string]string, inputs map[string]*pb.Definition) (*Result, error)
}

type FrontendLLBBridge

type FrontendLLBBridge interface {
	Solve(ctx context.Context, req SolveRequest) (*Result, error)
	ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt) (digest.Digest, []byte, error)
	Exec(ctx context.Context, meta executor.Meta, rootfs cache.ImmutableRef, stdin io.ReadCloser, stdout, stderr io.WriteCloser) error
}

type Result

type Result struct {
	Ref      solver.ResultProxy
	Refs     map[string]solver.ResultProxy
	Metadata map[string][]byte
}

func (*Result) EachRef

func (r *Result) EachRef(fn func(solver.ResultProxy) error) (err error)

type SolveRequest

type SolveRequest = gw.SolveRequest

type WorkerInfos

type WorkerInfos interface {
	WorkerInfos() []client.WorkerInfo
}

Directories

Path Synopsis
command
Package command contains the set of Dockerfile commands.
Package command contains the set of Dockerfile commands.
parser
Package parser implements a parser and parse tree dumper for Dockerfiles.
Package parser implements a parser and parse tree dumper for Dockerfiles.
pb

Jump to

Keyboard shortcuts

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