Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
BuildkitdAddr() string
// Solve calls Solve on the controller.
Solve(ctx context.Context, def *llb.Definition,
opt client.SolveOpt, statusChan chan *client.SolveStatus) (*client.SolveResponse, error)
Build(ctx context.Context, opt client.SolveOpt, product string,
buildFunc gateway.BuildFunc, statusChan chan *client.SolveStatus,
) (*client.SolveResponse, error)
Prune(ctx context.Context, keepDuration time.Duration,
keepStorage float64, filter []string, verbose, all bool) error
Close() error
}
Client is a client for the buildkitd daemon. It's up to the caller to close the client.
func NewMobyClient ¶ added in v0.3.12
Click to show internal directories.
Click to hide internal directories.