Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDockerAuthProvider ¶
func NewDockerAuthProvider(configDir string) session.Attachable
NewDockerAuthProvider was pulled directly from the buildkit source code and modified to accept a config directory.
The Docker library exposes a couple of functions for loading authentication credentials but buildkit only leverages a method that pulls them from the DOCKER_CONFIG environment variable. Rather than setting in-proc envvars, I will submit an issue/PR with buildkit to see if they can include this option as well.
Types ¶
type BuildOptions ¶
type ClientBuilder ¶
type ClientBuilder struct {
// contains filtered or unexported fields
}
func NewClientBuilder ¶ added in v0.1.14
func NewClientBuilder(addr string) *ClientBuilder
func (*ClientBuilder) Build ¶ added in v0.1.14
func (b *ClientBuilder) Build(ctx context.Context) (*Client, error)
func (*ClientBuilder) WithDockerAuthConfig ¶ added in v0.1.14
func (b *ClientBuilder) WithDockerAuthConfig(configDir string) *ClientBuilder
func (*ClientBuilder) WithLogger ¶ added in v0.1.14
func (b *ClientBuilder) WithLogger(log logr.Logger) *ClientBuilder
func (*ClientBuilder) WithMTLSAuth ¶ added in v0.1.14
func (b *ClientBuilder) WithMTLSAuth(caPath, certPath, keyPath string) *ClientBuilder
type DiscardCloser ¶
func (DiscardCloser) Close ¶
func (DiscardCloser) Close() error
Click to show internal directories.
Click to hide internal directories.