client

package
v0.0.0-...-44b843d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Solve(ctx context.Context, def *pb.Definition, frontend string, exporterAttr map[string][]byte, final bool) (Reference, error)
	ResolveImageConfig(ctx context.Context, ref string) (digest.Digest, []byte, error)
	Opts() map[string]string
	SessionID() string
}

TODO: make this take same options as LLBBridge. Add Return()

type Reference

type Reference interface {
	ReadFile(ctx context.Context, fp string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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