Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
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.