Documentation ¶
Index ¶
- Variables
- func Client(ctx context.Context, addr string) (*client.Client, context.Context, error)
- func Compile(ctx context.Context, cln *client.Client, w io.Writer, mod *ast.Module, ...) (solver.Request, error)
- func NewDockerCli(ctx context.Context) (dockerCli *dockercommand.DockerCli, auth imagetools.Auth, err error)
- func WithDefaultContext(ctx context.Context, cln *client.Client) context.Context
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.3+unknown"
Functions ¶
func Client ¶
Client returns a BuildKit client specified by addr based on BuildKit's connection helpers.
If addr is empty, an attempt is made to connect to docker engine's embedded BuildKit which supports a subset of the exporters and special `moby` exporter.
func Compile ¶
func Compile(ctx context.Context, cln *client.Client, w io.Writer, mod *ast.Module, targets []codegen.Target) (solver.Request, error)
Compile compiles targets in a module and returns a solver.Request.
func NewDockerCli ¶
func NewDockerCli(ctx context.Context) (dockerCli *dockercommand.DockerCli, auth imagetools.Auth, err error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
We make three passes over the CST in the checker.
|
We make three passes over the CST in the checker. |
cmd
|
|
pkg
|
|
rpc
|
|
Click to show internal directories.
Click to hide internal directories.