docker

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config) (*Runtime, error)

func (*Runtime) Auth

func (r *Runtime) Auth(ctx context.Context, secret *types.SecretAuthData) (string, error)

func (*Runtime) Build

func (r *Runtime) Build(ctx context.Context, stream io.Reader, spec *types.SpecBuildImage, out io.Writer) (*types.Image, error)

func (*Runtime) Inspect

func (r *Runtime) Inspect(ctx context.Context, id string) (*types.Image, error)

func (*Runtime) List

func (r *Runtime) List(ctx context.Context) ([]*types.Image, error)

func (*Runtime) Pull

func (r *Runtime) Pull(ctx context.Context, spec *types.ImageManifest, out io.Writer) (*types.Image, error)

func (*Runtime) Push

func (r *Runtime) Push(ctx context.Context, spec *types.ImageManifest, out io.Writer) (*types.Image, error)

func (*Runtime) Remove

func (r *Runtime) Remove(ctx context.Context, ID string) error

func (*Runtime) Subscribe

func (r *Runtime) Subscribe(ctx context.Context) (chan *types.Image, error)

Jump to

Keyboard shortcuts

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