Versions in this module Expand all Collapse all v0 v0.20.1 Jun 18, 2024 v0.20.0 Jun 18, 2024 Changes in this version + func Image(ref name.Reference, options ...Option) (v1.Image, error) + func Tag(src, dest name.Tag, options ...Option) error + func Write(tag name.Tag, img v1.Image, options ...Option) (string, error) + type Client interface + ImageHistory func(context.Context, string) ([]api.HistoryResponseItem, error) + ImageInspectWithRaw func(context.Context, string) (types.ImageInspect, []byte, error) + ImageLoad func(context.Context, io.Reader, bool) (types.ImageLoadResponse, error) + ImageSave func(context.Context, []string) (io.ReadCloser, error) + ImageTag func(context.Context, string, string) error + NegotiateAPIVersion func(ctx context.Context) + type ImageOption Option + type Option func(*options) + func WithBufferedOpener() Option + func WithClient(client Client) Option + func WithContext(ctx context.Context) Option + func WithUnbufferedOpener() Option