Documentation ¶
Index ¶
- Constants
- Variables
- func KubernetesComponentVersion(version string, component releasecomponents.KubernetesComponent) (string, error)
- func KubernetesTestComponentVersion(version string, component releasecomponents.KubernetesTestComponent) (string, error)
- func KubernetesVersionBundle(version string) (*versions.KubernetesVersion, error)
- func UpdateOneInfraVersionsConfigMap(ctx context.Context, client client.Client) error
- type ContainerdVersionDependencies
- type KubernetesVersionDependencies
- type TestInfo
Constants ¶
View Source
const ( // RawReleaseData represents the supported versions for this release RawReleaseData = `` /* 666-byte string literal not displayed */ )
View Source
const ( // RawTestData represents the supported versions for this release RawTestData = `` /* 634-byte string literal not displayed */ )
Variables ¶
View Source
var ( // ReleaseData includes all release versioning information ReleaseData *versionsapi.ReleaseInfo // TestData includes all test versioning information TestData *TestInfo // KubernetesVersions has a map of the supported Kubernetes versions KubernetesVersions map[string]versionsapi.KubernetesVersion // ContainerdTestVersions has a map of the testing containerd versions ContainerdTestVersions map[string]ContainerdVersionDependencies // KubernetesTestVersions has a map of the testing kubernetes // component versions KubernetesTestVersions map[string]KubernetesVersionDependencies )
View Source
var ( // BuildVersion is the oneinfra version provided at build time BuildVersion string )
Functions ¶
func KubernetesComponentVersion ¶
func KubernetesComponentVersion(version string, component releasecomponents.KubernetesComponent) (string, error)
KubernetesComponentVersion returns the component version for the given Kubernetes version and component
func KubernetesTestComponentVersion ¶
func KubernetesTestComponentVersion(version string, component releasecomponents.KubernetesTestComponent) (string, error)
KubernetesTestComponentVersion returns the test component version for the given Kubernetes version and component
func KubernetesVersionBundle ¶
func KubernetesVersionBundle(version string) (*versions.KubernetesVersion, error)
KubernetesVersionBundle returns the KubernetesVersion for the provided version
Types ¶
type ContainerdVersionDependencies ¶
type ContainerdVersionDependencies struct { Version string `json:"version"` CRIToolsVersion string `json:"criToolsVersion"` CNIPluginsVersion string `json:"cniPluginsVersion"` }
ContainerdVersionDependencies represents a supported containerd version for testing
type KubernetesVersionDependencies ¶
type KubernetesVersionDependencies struct { ContainerdVersion string `json:"containerdVersion"` PauseVersion string `json:"pauseVersion"` }
KubernetesVersionDependencies represents a supported Kubernetes version for testing
func KubernetesVersionTestDependencyBundle ¶
func KubernetesVersionTestDependencyBundle(version string) (*KubernetesVersionDependencies, error)
KubernetesVersionTestDependencyBundle returns the KubernetesVersionDependencies for the provided test version
type TestInfo ¶
type TestInfo struct { ContainerdVersions []ContainerdVersionDependencies `json:"containerdVersions"` KubernetesVersions map[string]KubernetesVersionDependencies `json:"kubernetesVersions"` }
TestInfo represents a list of supported component versions for testing
Click to show internal directories.
Click to hide internal directories.