Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromDocker ¶
FromDocker is a convenience function that returns a slice of ClientOpts that can be used to create a client for the buildkit GRPC and session APIs provided by dockerd.
func NewClient ¶
func NewClient(ctx context.Context, tr transport.Doer, opts ...client.ClientOpt) (*client.Client, error)
NewClient is a convenience wrapper which creates a buildkit client for the buildkit service provided by dockerd. This just wraps buildkit's client.New to include WithSessionDialer and WithGRPCDialer automatically in addition to the opts provided.
func WithGRPCDialer ¶
WithGRPCDialer creates a ClientOpt that can be used to create a client for the buildkit GRPC API provided by dockerd.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.