Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct { BuildID string Token string Platform string Addr string ServerName string CACert string Cert string Key string // contains filtered or unexported fields }
func Acquire ¶
Platform can be "amd64" or "arm64". This reports health continually to the Depot API and waits for the buildkit machine to be ready. This can be canceled by canceling the context.
func (*Machine) CheckReady ¶
func (*Machine) Connect ¶
Connect waits until the buildkitd is ready to accept connections. It tries to connect to the buildkitd every one second until it succeeds or the context is canceled.
func (*Machine) ReportHealth ¶
Click to show internal directories.
Click to hide internal directories.