imageprovider

package
v0.1.52 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseImageProvider

type ReleaseImageProvider interface {
	GetImage(key string) string
	ImageExist(key string) (string, bool)
	Version() string
	ComponentVersions() (map[string]string, error)
}

ReleaseImageProvider provides the functionality to retrieve OpenShift components' container image from a release image.

type SimpleReleaseImageProvider added in v0.1.49

type SimpleReleaseImageProvider struct {
	*releaseinfo.ReleaseImage
	// contains filtered or unexported fields
}

func New

func NewFromImages

func NewFromImages(componentsImages map[string]string) *SimpleReleaseImageProvider

func (*SimpleReleaseImageProvider) GetImage added in v0.1.49

func (p *SimpleReleaseImageProvider) GetImage(key string) string

func (*SimpleReleaseImageProvider) GetMissingImages added in v0.1.49

func (p *SimpleReleaseImageProvider) GetMissingImages() []string

func (*SimpleReleaseImageProvider) ImageExist added in v0.1.49

func (p *SimpleReleaseImageProvider) ImageExist(key string) (string, bool)

Jump to

Keyboard shortcuts

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