package common
import "k8s.io/kubernetes/test/e2e/cloud/gcp/common"
Index ¶
- func ClusterDowngradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs, nodeExtraEnvs []string) func(ctx context.Context)
- func ClusterUpgradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs, nodeExtraEnvs []string) func(ctx context.Context)
- func ControlPlaneUpgradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs []string) func(ctx context.Context)
- func GetUpgradeContext(c discovery.DiscoveryInterface) (*upgrades.UpgradeContext, error)
Functions ¶
func ClusterDowngradeFunc ¶
func ClusterDowngradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs, nodeExtraEnvs []string) func(ctx context.Context)
ClusterDowngradeFunc returns a function that performs full cluster downgrade (both nodes and control plane).
func ClusterUpgradeFunc ¶
func ClusterUpgradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs, nodeExtraEnvs []string) func(ctx context.Context)
ClusterUpgradeFunc returns a function that performs full cluster upgrade (both control plane and nodes).
func ControlPlaneUpgradeFunc ¶
func ControlPlaneUpgradeFunc(f *framework.Framework, upgCtx *upgrades.UpgradeContext, testCase *junit.TestCase, controlPlaneExtraEnvs []string) func(ctx context.Context)
ControlPlaneUpgradeFunc returns a function that performs control plane upgrade.
func GetUpgradeContext ¶
func GetUpgradeContext(c discovery.DiscoveryInterface) (*upgrades.UpgradeContext, error)
GetUpgradeContext return UpgradeContext for GCP provider.
Source Files ¶
upgrade_context.go upgrade_mechanics.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 18 packages
- Last checked
- 3 hours ago –
Tools for package owners.