repos

package
v0.0.0-...-b211a45 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

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

func (*Commands) Debug

func (r *Commands) Debug(dbg bool)

func (*Commands) Info

func (r *Commands) Info() error

func (*Commands) InfoById

func (r *Commands) InfoById(id string) error

func (*Commands) InfoByTag

func (r *Commands) InfoByTag(id string) error

func (*Commands) Labels

func (r *Commands) Labels() error

func (*Commands) LabelsById

func (r *Commands) LabelsById(id string) error

func (*Commands) LabelsByTag

func (r *Commands) LabelsByTag(id string) error

func (*Commands) List

func (r *Commands) List() error

func (*Commands) ListByName

func (r *Commands) ListByName(name string) error

func (*Commands) ListByNumber

func (r *Commands) ListByNumber(co int) error

func (*Commands) Revive

func (r *Commands) Revive() error

func (*Commands) Update

func (r *Commands) Update() error

func (*Commands) Volumes

func (r *Commands) Volumes() error

func (*Commands) VolumesById

func (r *Commands) VolumesById(id string) error

func (*Commands) VolumesByTag

func (r *Commands) VolumesByTag(id string) error

type Repository

type Repository struct {
	DB *storm.DB
	// contains filtered or unexported fields
}

func (*Repository) BackupSchema

func (r *Repository) BackupSchema() error

func (*Repository) CloseDB

func (r *Repository) CloseDB()

func (*Repository) Exists

func (r *Repository) Exists(id string) bool

func (*Repository) FindByLabel

func (r *Repository) FindByLabel(lbl string) ([]models.Image, error)

func (*Repository) FindByLongId

func (r *Repository) FindByLongId(id string) (models.Image, error)

func (*Repository) FindByShortId

func (r *Repository) FindByShortId(id string) (models.Image, error)

func (*Repository) FindByTag

func (r *Repository) FindByTag(tag string) ([]models.Image, error)

func (*Repository) FindByVolume

func (r *Repository) FindByVolume(vlm string) ([]models.Image, error)

func (*Repository) Get

func (r *Repository) Get(id string) (models.Image, error)

func (*Repository) GetAll

func (r *Repository) GetAll() ([]models.Image, error)

func (*Repository) GetImagesWithLabels

func (r *Repository) GetImagesWithLabels() ([]models.Image, error)

func (*Repository) GetImagesWithVolumes

func (r *Repository) GetImagesWithVolumes() ([]models.Image, error)

func (*Repository) GetLimit

func (r *Repository) GetLimit(count int) ([]models.Image, error)

func (*Repository) InitDB

func (r *Repository) InitDB()

func (*Repository) InitSchema

func (r *Repository) InitSchema()

func (*Repository) Put

func (r *Repository) Put(img docker.APIImages, imgDetails docker.Image) error

Jump to

Keyboard shortcuts

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