buildkit

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, host string) (*client.Client, error)

NewClient returns a new Buildkit client based on the given host *or* environment variables.

Support host "schema": - docker-container://<container>?context=<context> : buildkitd runs into a docker container (create and start if doesn't exists) - podman-container://<container> : buildkitd runs into a podman container (create and start if doesn't exists) - unix://<path> : buildkitd runs directly on the host (fail if doesn't exists)

If host is empty, we will look at the follow environment variables - TKN_LOCAL_HOST : same schema as host parameter - BUILDKIT_HOST : same as unix://<path> - DOCKER_HOST : same as docker-container://<container>, can be used with TKN_LOCAL_HOST

"Possible" Future schema to be supported: - containerd-container://<container> : same as podman or docker but with containerd - runc://<container> : standalone runner on top of runc - crun://<container> : standalone runner on top of crun

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL