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 New(releaseImage *releaseinfo.ReleaseImage) *SimpleReleaseImageProvider
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)
Click to show internal directories.
Click to hide internal directories.