images_manager

package
v1.1.31 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 4 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
	Tag             string
	WithoutRegistry bool
	ImagesRepo      storage.ImagesRepo
	// contains filtered or unexported fields
}

func (*ImageInfo) GetImageDigest

func (d *ImageInfo) GetImageDigest(ctx context.Context) (string, error)

func (*ImageInfo) GetImageID

func (d *ImageInfo) GetImageID(ctx context.Context) (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(ctx context.Context) (string, error)
	GetImageDigest(ctx context.Context) (string, error)
	GetImageTag() string
}

Jump to

Keyboard shortcuts

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