Documentation
¶
Index ¶
- func SuitesString(suites []*testginkgo.TestSuite, prefix string) string
- type ConfigClientGetter
- type DiscoveryClientGetter
- type TestSuiteSelectionFlags
- func (f *TestSuiteSelectionFlags) BindFlags(flags *pflag.FlagSet)
- func (f *TestSuiteSelectionFlags) SelectSuite(suites []*testginkgo.TestSuite, args []string) (*testginkgo.TestSuite, error)
- func (f *TestSuiteSelectionFlags) SetIOStreams(streams genericclioptions.IOStreams)
- func (f *TestSuiteSelectionFlags) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SuitesString ¶
func SuitesString(suites []*testginkgo.TestSuite, prefix string) string
TODO re-collapse SuitesString returns a string with the provided suites formatted. Prefix is printed at the beginning of the output.
Types ¶
type ConfigClientGetter ¶
type ConfigClientGetter interface {
GetConfigClient() (clientconfigv1.Interface, error)
}
type DiscoveryClientGetter ¶
type DiscoveryClientGetter interface {
GetDiscoveryClient() (discovery.AggregatedDiscoveryInterface, error)
}
type TestSuiteSelectionFlags ¶
type TestSuiteSelectionFlags struct {
TestFile string
// Regex allows a selection of a subset of tests
Regex string
genericclioptions.IOStreams
}
TestSuiteSelectionFlags is used to run a suite of tests by invoking each test as a call to a child worker (the run-tests command).
func NewTestSuiteSelectionFlags ¶
func NewTestSuiteSelectionFlags(streams genericclioptions.IOStreams) *TestSuiteSelectionFlags
func (*TestSuiteSelectionFlags) BindFlags ¶
func (f *TestSuiteSelectionFlags) BindFlags(flags *pflag.FlagSet)
func (*TestSuiteSelectionFlags) SelectSuite ¶
func (f *TestSuiteSelectionFlags) SelectSuite( suites []*testginkgo.TestSuite, args []string) (*testginkgo.TestSuite, error)
SelectSuite returns the defined suite plus the requested modifications to the suite in order to select the specified tests
func (*TestSuiteSelectionFlags) SetIOStreams ¶
func (f *TestSuiteSelectionFlags) SetIOStreams(streams genericclioptions.IOStreams)
func (*TestSuiteSelectionFlags) Validate ¶
func (f *TestSuiteSelectionFlags) Validate() error
Click to show internal directories.
Click to hide internal directories.