Documentation ¶
Index ¶
- type Commands
- func (r *Commands) Debug(dbg bool)
- func (r *Commands) Info() error
- func (r *Commands) InfoById(id string) error
- func (r *Commands) InfoByTag(id string) error
- func (r *Commands) Labels() error
- func (r *Commands) LabelsById(id string) error
- func (r *Commands) LabelsByTag(id string) error
- func (r *Commands) List() error
- func (r *Commands) ListByName(name string) error
- func (r *Commands) ListByNumber(co int) error
- func (r *Commands) Revive() error
- func (r *Commands) Update() error
- func (r *Commands) Volumes() error
- func (r *Commands) VolumesById(id string) error
- func (r *Commands) VolumesByTag(id string) error
- type Repository
- func (r *Repository) BackupSchema() error
- func (r *Repository) CloseDB()
- func (r *Repository) Exists(id string) bool
- func (r *Repository) FindByLabel(lbl string) ([]models.Image, error)
- func (r *Repository) FindByLongId(id string) (models.Image, error)
- func (r *Repository) FindByShortId(id string) (models.Image, error)
- func (r *Repository) FindByTag(tag string) ([]models.Image, error)
- func (r *Repository) FindByVolume(vlm string) ([]models.Image, error)
- func (r *Repository) Get(id string) (models.Image, error)
- func (r *Repository) GetAll() ([]models.Image, error)
- func (r *Repository) GetImagesWithLabels() ([]models.Image, error)
- func (r *Repository) GetImagesWithVolumes() ([]models.Image, error)
- func (r *Repository) GetLimit(count int) ([]models.Image, error)
- func (r *Repository) InitDB()
- func (r *Repository) InitSchema()
- func (r *Repository) Put(img docker.APIImages, imgDetails docker.Image) error
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 NewCommands ¶
func NewCommands(p quant.Parrot, c utils.Configuration, r Repository, u utils.Utilities) *Commands
func (*Commands) LabelsById ¶
func (*Commands) LabelsByTag ¶
func (*Commands) ListByName ¶
func (*Commands) ListByNumber ¶
func (*Commands) VolumesById ¶
func (*Commands) VolumesByTag ¶
type Repository ¶
func NewRepository ¶
func NewRepository(p quant.Parrot, c utils.Configuration, u utils.Utilities) *Repository
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) FindByVolume ¶
func (r *Repository) FindByVolume(vlm string) ([]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) 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
Click to show internal directories.
Click to hide internal directories.