...

Package common

import "k8s.io/kubernetes/test/e2e/cloud/gcp/common"
Overview
Index

Overview ▾

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.