Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckReleaseUsesExpectedContainerImages ¶
func CheckReleaseUsesExpectedContainerImages(gvk schema.GroupVersionKind, release Release)
Make sure that container images currently used (reported in NetworkAddonsConfig) are matching images expected for given release
func InstallOperator ¶ added in v0.43.0
func InstallOperator(release Release)
Installs given release (RBAC and Deployment)
func InstallRelease ¶
func InstallRelease(release Release)
Installs given release (CRD, RBAC and Deployment)
func UninstallOperator ¶ added in v0.43.0
func UninstallOperator(release Release)
Removes given release from cluster
Types ¶
type Release ¶
type Release struct { // Release version Version string // Containers and their images for given release Containers []cnao.Container // SupportedSpec for given release should be upgradable SupportedSpec cnao.NetworkAddonsConfigSpec // Manifest that can be used to install the operator in given release Manifests []string // CrdCleanUp is used to uninstall CRDs between upgrade tests CrdCleanUp []string }
func LatestRelease ¶
func LatestRelease() Release
Iterates registered releases and returns the latest (main) based on semver
Source Files ¶
Click to show internal directories.
Click to hide internal directories.