Versions in this module Expand all Collapse all v0 v0.3.1 Oct 17, 2018 v0.3.0 Oct 12, 2018 Changes in this version + type BuildFunc func(context.Context, Client) (*Result, error) + type BuildOpts struct + Caps apicaps.CapSet + LLBCaps apicaps.CapSet + Opts map[string]string + Product string + SessionID string + Workers []WorkerInfo + type Client interface + BuildOpts func() BuildOpts + ResolveImageConfig func(ctx context.Context, ref string, opt ResolveImageConfigOpt) (digest.Digest, []byte, error) + Solve func(ctx context.Context, req SolveRequest) (*Result, error) + type FileRange struct + Length int + Offset int + type ReadDirRequest struct + IncludePattern string + Path string + type ReadRequest struct + Filename string + Range *FileRange + type Reference interface + ReadDir func(ctx context.Context, req ReadDirRequest) ([]*fstypes.Stat, error) + ReadFile func(ctx context.Context, req ReadRequest) ([]byte, error) + StatFile func(ctx context.Context, req StatRequest) (*fstypes.Stat, error) + type ResolveImageConfigOpt struct + LogName string + Platform *specs.Platform + ResolveMode string + type Result struct + Metadata map[string][]byte + Ref Reference + Refs map[string]Reference + func NewResult() *Result + func (r *Result) AddMeta(k string, v []byte) + func (r *Result) AddRef(k string, ref Reference) + func (r *Result) SetRef(ref Reference) + func (r *Result) SingleRef() (Reference, error) + type SolveRequest struct + Definition *pb.Definition + Frontend string + FrontendOpt map[string]string + ImportCacheRefs []string + type StatRequest struct + Path string + type WorkerInfo struct + ID string + Labels map[string]string + Platforms []specs.Platform