frontend

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frontend

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

type FrontendLLBBridge

type FrontendLLBBridge interface {
	Solve(ctx context.Context, req SolveRequest) (*Result, error)
	ResolveImageConfig(ctx context.Context, ref string, opt gw.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.CachedResult
	Refs     map[string]solver.CachedResult
	Metadata map[string][]byte
}

func (*Result) EachRef

func (r *Result) EachRef(fn func(solver.CachedResult) 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
Package moby_buildkit_v1_frontend is a generated protocol buffer package.
Package moby_buildkit_v1_frontend is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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