images_manager

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageInfo

type ImageInfo struct {
	Name              string
	WithoutRegistry   bool
	ImagesRepoManager ImagesRepoManager
	Tag               string
}

func (*ImageInfo) GetImageDigest

func (d *ImageInfo) GetImageDigest() (string, error)

func (*ImageInfo) GetImageId

func (d *ImageInfo) GetImageId() (string, error)

func (*ImageInfo) GetImageName

func (d *ImageInfo) GetImageName() string

func (*ImageInfo) GetImageTag

func (d *ImageInfo) GetImageTag() string

func (*ImageInfo) GetName

func (d *ImageInfo) GetName() string

func (*ImageInfo) IsNameless

func (d *ImageInfo) IsNameless() bool

type ImageInfoGetter

type ImageInfoGetter interface {
	IsNameless() bool
	GetName() string
	GetImageName() string
	GetImageId() (string, error)
	GetImageDigest() (string, error)
	GetImageTag() string
}

type ImageInfoGetterStub

type ImageInfoGetterStub struct {
	Name              string
	Tag               string
	ImagesRepoManager ImagesRepoManager
}

func (*ImageInfoGetterStub) GetImageId

func (d *ImageInfoGetterStub) GetImageId() (string, error)

func (*ImageInfoGetterStub) GetImageName

func (d *ImageInfoGetterStub) GetImageName() string

func (*ImageInfoGetterStub) GetImageTag

func (d *ImageInfoGetterStub) GetImageTag() string

func (*ImageInfoGetterStub) GetName

func (d *ImageInfoGetterStub) GetName() string

func (*ImageInfoGetterStub) IsNameless

func (d *ImageInfoGetterStub) IsNameless() bool

type ImagesRepoManager

type ImagesRepoManager interface {
	ImagesRepo() string
	ImageRepo(imageName string) string
	ImageRepoWithTag(imageName, tag string) string
}

Jump to

Keyboard shortcuts

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