daemon

package
v0.0.0-...-dbfb0cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package daemon provides facilities for reading/writing v1.Image from/to a running daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(ref name.Reference, ro *ReadOptions) (v1.Image, error)

Image exposes an image reference from within the Docker daemon.

func Write

func Write(ref name.Reference, img v1.Image, wo WriteOptions) error

Write saves the image into the daemon as the given reference.

Types

type ImageSaver

type ImageSaver interface {
	ImageSave(context.Context, []string) (io.ReadCloser, error)
}

API interface for testing.

type ReadOptions

type ReadOptions struct {
	Buffer bool
}

type WriteOptions

type WriteOptions struct {
}

WriteOptions are used to expose optional information to guide or control the image write.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL