Documentation ¶
Index ¶
- func Build(opts ImageBuildOptions) (string, error)
- func Diff(id string) ([]string, error)
- func History(id string) ([][]string, error)
- func Import(opts ImageImportOptions) (string, error)
- func Inspect(id string) (string, error)
- func Prune() error
- func Pull(name string) error
- func Remove(id string) ([]string, error)
- func Save(imageID string, opts ImageSaveOptions) error
- func Search(term string) ([][]string, error)
- func Tag(id string, tag string) error
- func Tree(id string) (string, error)
- func Untag(id string) error
- type ImageBuildOptions
- type ImageImportOptions
- type ImageListReporter
- type ImageSaveOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶ added in v0.3.1
func Build(opts ImageBuildOptions) (string, error)
Build creates an image using a containerfile reference
func Import ¶ added in v0.3.1
func Import(opts ImageImportOptions) (string, error)
Import creates a container image from an archive
func Save ¶ added in v0.3.1
func Save(imageID string, opts ImageSaveOptions) error
Save saves an image on the local machine
Types ¶
type ImageBuildOptions ¶ added in v0.3.1
type ImageBuildOptions struct { ContainerFiles []string BuildOptions entities.BuildOptions }
ImageBuildOptions image build options
type ImageImportOptions ¶ added in v0.3.1
type ImageImportOptions struct { Source string Change []string Message string Reference string URL bool }
ImageImportOptions image import options
type ImageListReporter ¶
type ImageListReporter struct { Repository string `json:"repository,omitempty"` Tag string `json:"tag,omitempty"` entities.ImageSummary }
ImageListReporter image list report
Click to show internal directories.
Click to hide internal directories.