Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceCreator ¶
type NamespaceCreator interface {
Create(ctx context.Context, namespace *v1.Namespace, opts metav1.CreateOptions) (*v1.Namespace, error)
}
NamespaceCreator has methods required to create k8s ns.
type TestRunner ¶
type TestRunner struct {
// contains filtered or unexported fields
}
TestRunner executes registered tests
func NewTestRunner ¶
func NewTestRunner(nsCreator NamespaceCreator, tests map[string]UpgradeTest) (*TestRunner, error)
NewTestRunner is a constructor for TestRunner
func (*TestRunner) ExecuteTests ¶
func (r *TestRunner) ExecuteTests(stopCh <-chan struct{}) error
ExecuteTests executes all registered tests
func (*TestRunner) PrepareData ¶
func (r *TestRunner) PrepareData(stopCh <-chan struct{}) error
PrepareData prepares data for all registered upgrade tests
Click to show internal directories.
Click to hide internal directories.