Documentation ¶
Index ¶
- func NewDynamicAuthProvider(fn CredentialsFn) session.Attachable
- type Client
- func (c *Client) ConfigureHosts(hostCredentials CredentialsFn, matchNonSSL TLSEnabledFn)
- func (c *Client) GetImage(ctx context.Context, name string) (*ListedImage, error)
- func (c *Client) PushImage(ctx context.Context, id string, image string) error
- func (c *Client) ResetHostConfigurations()
- func (c *Client) Session(ctx context.Context, localDirs map[string]string) (*session.Session, session.Dialer, error)
- func (c *Client) SetLogger(logger logr.Logger)
- func (c *Client) Solve(ctx context.Context, req *controlapi.SolveRequest, ...) error
- func (c *Client) TagImage(ctx context.Context, src, dest string) error
- type CredentialsFn
- type ListedImage
- type LogrWriter
- type TLSEnabledFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamicAuthProvider ¶
func NewDynamicAuthProvider(fn CredentialsFn) session.Attachable
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfigureHosts ¶
func (c *Client) ConfigureHosts(hostCredentials CredentialsFn, matchNonSSL TLSEnabledFn)
func (*Client) ResetHostConfigurations ¶
func (c *Client) ResetHostConfigurations()
func (*Client) Session ¶
func (c *Client) Session(ctx context.Context, localDirs map[string]string) (*session.Session, session.Dialer, error)
Session creates a new session and its dialer.
The localDirs should reference the "context" and "dockerfile" directories for a particular build.
func (*Client) Solve ¶
func (c *Client) Solve(ctx context.Context, req *controlapi.SolveRequest, ch chan *controlapi.StatusResponse) error
type CredentialsFn ¶
type ListedImage ¶
type LogrWriter ¶
LogrWriter is an interface adapter for logr.Logger and io.Writer
type TLSEnabledFn ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.