registry

package
v0.0.0-...-4cf56e2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2014 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoParent = errors.New("registry: image has no parent")

Functions

This section is empty.

Types

type Image

type Image struct {
	ID              string           `json:"id"`
	ParentID        string           `json:"parent,omitempty"`
	Comment         string           `json:"comment,omitempty"`
	Created         time.Time        `json:"created"`
	Container       string           `json:"container,omitempty"`
	ContainerConfig *json.RawMessage `json:"container_config,omitempty"`
	Config          *json.RawMessage `json:"config,omitempty"`
	DockerVersion   string           `json:"docker_version,omitempty"`
	Author          string           `json:"author,omitempty"`
	Architecture    string           `json:"architecture,omitempty"`
	OS              string           `json:"os,omitempty"`
	Size            int64            `json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Image) Ancestors

func (img *Image) Ancestors() ([]*Image, error)

func (*Image) Close

func (i *Image) Close() error

func (*Image) Fetch

func (i *Image) Fetch() error

func (*Image) Read

func (i *Image) Read(p []byte) (int, error)

type Ref

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

func NewRef

func NewRef(s string) (*Ref, error)

func (*Ref) Get

func (r *Ref) Get() (*Image, error)

func (*Ref) ImageID

func (r *Ref) ImageID() string

Jump to

Keyboard shortcuts

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