Documentation
¶
Index ¶
- func FromEnv(c *Client) error
- type Client
- func (c *Client) Close() error
- func (c *Client) ImageBuild(ctx context.Context, buildContext io.Reader, opts types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (c *Client) ImagePull(ctx context.Context, ref reference.Named) (digest.Digest, error)
- func (c *Client) ImagePullWithEvents(ctx context.Context, ref reference.Named) (chan events.PullEvent, error)
- func (c *Client) ImagePullWithState(ctx context.Context, ref reference.Named) (chan state.Pull, error)
- func (c *Client) RequestAuthenticate(req *http.Request, ref reference.Named) error
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
func NewWithOpts ¶
func (*Client) ImageBuild ¶ added in v0.2.0
func (c *Client) ImageBuild(ctx context.Context, buildContext io.Reader, opts types.ImageBuildOptions) (types.ImageBuildResponse, error)
func (*Client) ImagePullWithEvents ¶ added in v0.2.0
func (*Client) ImagePullWithState ¶ added in v0.2.0
type Opt ¶
func WithAuthProvider ¶
func WithDockerOpts ¶
func WithLogger ¶
func WithSugaredLogger ¶
func WithSugaredLogger(logger *zap.SugaredLogger) Opt
Click to show internal directories.
Click to hide internal directories.