Documentation ¶
Index ¶
- func GetReleaseImage(ctx context.Context, hc *hyperv1.HostedCluster, client crclient.WithWatch, ...) *releaseinfo.ReleaseImage
- type FakeReleaseProvider
- func (*FakeReleaseProvider) GetMirroredReleaseImage() string
- func (*FakeReleaseProvider) GetOpenShiftImageRegistryOverrides() map[string][]string
- func (*FakeReleaseProvider) GetRegistryOverrides() map[string]string
- func (f *FakeReleaseProvider) Lookup(_ context.Context, image string, _ []byte) (*releaseinfo.ReleaseImage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReleaseImage ¶ added in v0.1.10
func GetReleaseImage(ctx context.Context, hc *hyperv1.HostedCluster, client crclient.WithWatch, releaseProvider *FakeReleaseProvider) *releaseinfo.ReleaseImage
Types ¶
type FakeReleaseProvider ¶
type FakeReleaseProvider struct { // Version of the returned release image. Defaults to 4.14.0 if unset. Version string // Allows image-based versioning ImageVersion map[string]string }
func (*FakeReleaseProvider) GetMirroredReleaseImage ¶ added in v0.1.13
func (*FakeReleaseProvider) GetMirroredReleaseImage() string
func (*FakeReleaseProvider) GetOpenShiftImageRegistryOverrides ¶ added in v0.1.10
func (*FakeReleaseProvider) GetOpenShiftImageRegistryOverrides() map[string][]string
func (*FakeReleaseProvider) GetRegistryOverrides ¶
func (*FakeReleaseProvider) GetRegistryOverrides() map[string]string
func (*FakeReleaseProvider) Lookup ¶
func (f *FakeReleaseProvider) Lookup(_ context.Context, image string, _ []byte) (*releaseinfo.ReleaseImage, error)
Click to show internal directories.
Click to hide internal directories.