Versions in this module Expand all Collapse all v1 v1.1.10 Dec 12, 2023 Changes in this version + const DefaultDockerfileName + const DefaultDockerignoreName + const DefaultLocalNameContext + const DefaultLocalNameDockerfile + const EmptyImageName + func DefaultMainContext(opts ...llb.LocalOption) *llb.State + func DetectGitContext(ref string, keepGit bool) (*llb.State, bool) + func DetectHTTPContext(ref string) (*llb.State, string, bool) + func WithInternalName(name string) llb.ConstraintsOpt + type BuildFunc func(ctx context.Context, platform *ocispecs.Platform, idx int) (client.Reference, *image.Image, error) + type Client struct + func NewClient(c client.Client) (*Client, error) + func (bc *Client) Build(ctx context.Context, fn BuildFunc) (*ResultBuilder, error) + func (bc *Client) BuildOpts() client.BuildOpts + func (bc *Client) HandleSubrequest(ctx context.Context, h RequestHandler) (*client.Result, bool, error) + func (bc *Client) IsNoCache(name string) bool + func (bc *Client) MainContext(ctx context.Context, opts ...llb.LocalOption) (*llb.State, error) + func (bc *Client) NamedContext(ctx context.Context, name string, opt ContextOpt) (*llb.State, *image.Image, error) + func (bc *Client) ReadEntrypoint(ctx context.Context, lang string, opts ...llb.LocalOption) (*Source, error) + type Config struct + BuildArgs map[string]string + BuildPlatforms []ocispecs.Platform + CacheIDNamespace string + CacheImports []client.CacheOptionsEntry + CgroupParent string + Epoch *time.Time + ExtraHosts []llb.HostIP + Hostname string + ImageResolveMode llb.ResolveMode + Labels map[string]string + MultiPlatformRequested bool + NetworkMode pb.NetMode + SBOM *SBOM + ShmSize int64 + Target string + TargetPlatforms []ocispecs.Platform + Ulimits []pb.Ulimit + type ContextOpt struct + AsyncLocalOpts func() []llb.LocalOption + CaptureDigest *digest.Digest + NoDockerignore bool + Platform *ocispecs.Platform + ResolveMode string + type RequestHandler struct + AllowOther bool + ListTargets func(context.Context) (*targets.List, error) + Outline func(context.Context) (*outline.Outline, error) + type ResultBuilder struct + func (rb *ResultBuilder) EachPlatform(ctx context.Context, ...) error + func (rb *ResultBuilder) Finalize() (*client.Result, error) + type SBOM struct + Generator string + type Source struct + Warn func(context.Context, string, client.WarnOpts)