images

package
v0.0.0-...-bb62a0c Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List() ([]models.Image, error)

List returns list of images

Types

type Pull

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

Pull provides pulling of the images

func NewPull

func NewPull(img string) *Pull

NewPull provides initialization on the pulling

func (*Pull) Do

func (p *Pull) Do() error

Do starts operation of pulling Its pull image by layer and store it on tar file

func (*Pull) WithTag

func (p *Pull) WithTag(tag string)

WithTag provides adding of tags for image its overrides `latest` tag of the image

type Run

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

Run defines struct for running container

func NewRun

func NewRun(name, deviceName string) (*Run, error)

NewRun provides starting of the new container

func (*Run) Do

func (r *Run) Do() error

Do provides starting of container

Jump to

Keyboard shortcuts

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