Documentation
¶
Index ¶
- func NewRunCommand(streams genericclioptions.IOStreams) *cobra.Command
- type RunSuiteFlags
- func (f *RunSuiteFlags) BindFlags(flags *pflag.FlagSet)
- func (f *RunSuiteFlags) SetIOStreams(streams genericclioptions.IOStreams)
- func (f *RunSuiteFlags) SuiteWithKubeTestInitializationPreSuite() (*clusterdiscovery.ClusterConfiguration, error)
- func (f *RunSuiteFlags) ToOptions(args []string) (*RunSuiteOptions, error)
- type RunSuiteOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRunCommand ¶
func NewRunCommand(streams genericclioptions.IOStreams) *cobra.Command
Types ¶
type RunSuiteFlags ¶
type RunSuiteFlags 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 NewRunSuiteFlags ¶
func NewRunSuiteFlags(streams genericclioptions.IOStreams, fromRepository string, availableSuites []*testginkgo.TestSuite) *RunSuiteFlags
func (*RunSuiteFlags) BindFlags ¶
func (f *RunSuiteFlags) BindFlags(flags *pflag.FlagSet)
func (*RunSuiteFlags) SetIOStreams ¶
func (f *RunSuiteFlags) SetIOStreams(streams genericclioptions.IOStreams)
func (*RunSuiteFlags) SuiteWithKubeTestInitializationPreSuite ¶
func (f *RunSuiteFlags) SuiteWithKubeTestInitializationPreSuite() (*clusterdiscovery.ClusterConfiguration, error)
SuiteWithKubeTestInitializationPreSuite
- invokes the Kube suite in order to populate data from the environment for the CSI suite (originally, but now everything).
- ensures that the suite filters out tests from providers that aren't relevant (see exutilcluster.ClusterConfig.MatchFn) by loading the provider info from the cluster or flags.
func (*RunSuiteFlags) ToOptions ¶
func (f *RunSuiteFlags) ToOptions(args []string) (*RunSuiteOptions, error)
type RunSuiteOptions ¶
type RunSuiteOptions struct {
GinkgoRunSuiteOptions *testginkgo.GinkgoRunSuiteOptions
Suite *testginkgo.TestSuite
FromRepository string
CloudProviderJSON string
CloseFn iooptions.CloseFunc
genericclioptions.IOStreams
}
TODO collapse this with cmd_runsuite
func (*RunSuiteOptions) TestCommandEnvironment ¶
func (o *RunSuiteOptions) TestCommandEnvironment() []string
Click to show internal directories.
Click to hide internal directories.