run_upgrade

package
v0.0.0-...-66566fd Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

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