package dockerutil
import "github.com/docker/buildx/util/dockerutil"
Index ¶
- func GetCurrentEndpoint(dockerCli command.Cli) (string, error)
- func GetDockerEndpoint(dockerCli command.Cli, name string) (*docker.EndpointMeta, error)
- type Client
- func NewClient(cli command.Cli) *Client
- func (c *Client) API(name string) (client.APIClient, error)
- func (c *Client) LoadImage(ctx context.Context, name string, status progress.Writer) (io.WriteCloser, func(), error)
- type ClientAPI
Functions ¶
func GetCurrentEndpoint ¶
GetCurrentEndpoint returns the current default endpoint value
func GetDockerEndpoint ¶
GetDockerEndpoint returns docker endpoint meta for given context
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an active docker object.
func NewClient ¶
NewClient initializes a new docker client.
func (*Client) API ¶
API returns a new docker API client.
func (*Client) LoadImage ¶
func (c *Client) LoadImage(ctx context.Context, name string, status progress.Writer) (io.WriteCloser, func(), error)
LoadImage imports an image to docker.
type ClientAPI ¶
ClientAPI represents an active docker API object.
func NewClientAPI ¶
Source Files ¶
- Version
- v0.10.4
- Published
- Mar 6, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 9 hours ago –
Tools for package owners.