Documentation ¶
Index ¶
- Constants
- func NewClient(ctx context.Context, bkOpts Opts) (*client.Client, error)
- func SolveToDocker(ctx context.Context, c *client.Client, st *llb.State, configData []byte, ...) error
- func SolveToLocal(ctx context.Context, c *client.Client, st *llb.State, outPath string) error
- func ValidateClient(ctx context.Context, c *client.Client) error
- type Config
- type Opts
Constants ¶
View Source
const (
DefaultAddr = "unix:///run/buildkit/buildkitd.sock"
)
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶ added in v0.3.0
NewClient returns a new buildkit client with the given addr. If addr is empty it will first try to connect to docker's buildkit instance and then fallback to DefaultAddr.
func SolveToDocker ¶ added in v0.3.0
func SolveToLocal ¶ added in v0.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.