kubernetes/test/e2e/upgrades/node/sysctl.go

type SysctlUpgradeTest

// Setup creates two pods: one with safe sysctls, one with unsafe sysctls. It checks that the former
// launched and the later is rejected.
func (t *SysctlUpgradeTest) Setup(ctx context.Context, f *framework.Framework) {}

// Test waits for the upgrade to complete, and then verifies that a
// pod can still consume the ConfigMap.
func (t *SysctlUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}

// Teardown cleans up any remaining resources.
func (t *SysctlUpgradeTest) Teardown(ctx context.Context, f *framework.Framework) {}

func (t *SysctlUpgradeTest) verifySafeSysctlWork(ctx context.Context, f *framework.Framework) *v1.Pod {}

func (t *SysctlUpgradeTest) verifyUnsafeSysctlsAreRejected(ctx context.Context, f *framework.Framework) *v1.Pod {}

func sysctlTestPod(name string, sysctls map[string]string) *v1.Pod {}