images_manager

package
v1.1.4 Latest Latest
Warning

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

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

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