frontend

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 378

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) (*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

Jump to

Keyboard shortcuts

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