provider

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageProvider

type ImageProvider interface {
	// Has returns bool flag indicates image already exists or not
	Has() (bool, error)
	// Status returns bool flag indicates image creation status, image running status
	Status() (bool, bool, string, error)
	// Pull pulls image from the hub
	Pull() error
	// Create create image and returns identifier for image
	Create() (string, error)
	// Start start image
	Start(containerID string) error
	// Stop the image from running
	Stop(containerID string) error
}

ImageProvider defines Image Provider Contract

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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