Documentation
¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) GetImage(ctx context.Context, name string) (*ListedImage, error)
- func (c *Client) ListImages(ctx context.Context, filters ...string) ([]ListedImage, error)
- func (c *Client) Push(ctx context.Context, image string, insecure bool) error
- func (c *Client) Session(ctx context.Context, localDirs map[string]string) (*session.Session, session.Dialer, error)
- func (c *Client) Solve(ctx context.Context, req *controlapi.SolveRequest, ...) error
- type ListedImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client holds the information for the client we will use for communicating with the buildkit controller.
func (*Client) Close ¶
func (c *Client) Close()
Close safely closes the client. This used to shut down the FUSE server but since that was removed it is basically a no-op now.
func (*Client) ListImages ¶
ListImages returns the images from the image store.
func (*Client) Session ¶
func (c *Client) Session(ctx context.Context, localDirs map[string]string) (*session.Session, session.Dialer, error)
Session creates the session manager and returns the session and it's dialer.
func (*Client) Solve ¶
func (c *Client) Solve(ctx context.Context, req *controlapi.SolveRequest, ch chan *controlapi.StatusResponse) error
type ListedImage ¶
Click to show internal directories.
Click to hide internal directories.