Documentation
¶
Index ¶
- Constants
- func GetBackwardCompatibleCAPIImage(ctx context.Context, pullSecret []byte, releaseProvider releaseinfo.Provider, ...) (string, error)
- func GetBackwardCompatibleConfigHash(config *v1beta1.ClusterConfiguration) (string, error)
- func GetBackwardCompatibleConfigString(stringData string) string
Constants ¶
View Source
const ImageStreamImportModeField = "imageStreamImportMode"
Variables ¶
This section is empty.
Functions ¶
func GetBackwardCompatibleCAPIImage ¶ added in v0.1.73
func GetBackwardCompatibleCAPIImage(ctx context.Context, pullSecret []byte, releaseProvider releaseinfo.Provider, releaseVersion semver.Version, component string) (string, error)
GetBackwardCompatibleCAPIImage returns a CAPI image pinned to a CAPI 1.10 compatible version. If the releaseVersion is 4.21 or higher. Otherwise an empty string is returned.
func GetBackwardCompatibleConfigHash ¶
func GetBackwardCompatibleConfigHash(config *v1beta1.ClusterConfiguration) (string, error)
GetBackwardCompatibleConfigHash returns a hash of ClusterConfiguration which is backward-compatible with CPO versions that doesn't hash the ImageSpec.
func GetBackwardCompatibleConfigString ¶
GetBackwardCompatibleConfigString returns a ClusterConfiguration which is backward-compatible with older CPO versions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.