run_upgrade

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 22 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunUpgradeCommand

func NewRunUpgradeCommand(streams genericclioptions.IOStreams) *cobra.Command

Types

type RunUpgradeSuiteFlags

type RunUpgradeSuiteFlags struct {
	GinkgoRunSuiteOptions   *testginkgo.GinkgoRunSuiteOptions
	TestSuiteSelectionFlags *suiteselection.TestSuiteSelectionFlags
	OutputFlags             *iooptions.OutputFlags
	AvailableSuites         []*testginkgo.TestSuite

	FromRepository     string
	ProviderTypeOrJSON string

	// Passed to the test process if set
	UpgradeSuite string
	ToImage      string
	TestOptions  []string

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

TODO collapse this with cmd_runsuite

func NewRunUpgradeSuiteFlags

func NewRunUpgradeSuiteFlags(streams genericclioptions.IOStreams, fromRepository string, availableSuites []*testginkgo.TestSuite) *RunUpgradeSuiteFlags

func (*RunUpgradeSuiteFlags) BindFlags

func (f *RunUpgradeSuiteFlags) BindFlags(flags *pflag.FlagSet)

func (*RunUpgradeSuiteFlags) SetIOStreams

func (f *RunUpgradeSuiteFlags) SetIOStreams(streams genericclioptions.IOStreams)

func (*RunUpgradeSuiteFlags) ToOptions

func (f *RunUpgradeSuiteFlags) ToOptions(args []string) (*RunUpgradeSuiteOptions, error)

type RunUpgradeSuiteOptions

type RunUpgradeSuiteOptions struct {
	GinkgoRunSuiteOptions *testginkgo.GinkgoRunSuiteOptions
	Suite                 *testginkgo.TestSuite

	ToImage        string
	FromRepository string

	TestOptions []string

	CloseFn iooptions.CloseFunc

	genericclioptions.IOStreams
}

TODO collapse this with cmd_runsuite

func (*RunUpgradeSuiteOptions) Run

func (*RunUpgradeSuiteOptions) TestCommandEnvironment

func (o *RunUpgradeSuiteOptions) TestCommandEnvironment() []string

func (*RunUpgradeSuiteOptions) UpgradeTestPreSuite

func (o *RunUpgradeSuiteOptions) UpgradeTestPreSuite() error

UpgradeTestPreSuite validates the test options and gathers data useful prior to launching the upgrade and it's related tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL