tests

package
v1.11.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVarPrefix = "SCYLLA_OPERATOR_TESTS_"
)

Variables

This section is empty.

Functions

func NewRunCommand

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

func NewTestsCommand

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

Types

type IngressControllerOptions added in v1.11.0

type IngressControllerOptions struct {
	Address           string
	IngressClassName  string
	CustomAnnotations map[string]string
}

type RunOptions

type RunOptions struct {
	genericclioptions.IOStreams
	genericclioptions.ClientConfig
	TestFrameworkOptions

	Timeout               time.Duration
	Quiet                 bool
	ShowProgress          bool
	FlakeAttempts         int
	FailFast              bool
	LabelFilter           string
	FocusStrings          []string
	SkipStrings           []string
	RandomSeed            int64
	DryRun                bool
	Color                 bool
	Parallelism           int
	ParallelShard         int
	ParallelServerAddress string
	ParallelLogLevel      int32

	SelectedSuite *ginkgotest.TestSuite
}

func NewRunOptions

func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions

func (*RunOptions) Complete

func (o *RunOptions) Complete(args []string) error

func (*RunOptions) Run

func (o *RunOptions) Run(streams genericclioptions.IOStreams, cmd *cobra.Command) error

func (*RunOptions) Validate

func (o *RunOptions) Validate(args []string) error

type TestFrameworkOptions

type TestFrameworkOptions struct {
	ArtifactsDir                 string
	DeleteTestingNSPolicyUntyped string
	DeleteTestingNSPolicy        framework.DeleteTestingNSPolicyType
	IngressController            *IngressControllerOptions
}

func NewTestFrameworkOptions

func NewTestFrameworkOptions() TestFrameworkOptions

func (*TestFrameworkOptions) AddFlags

func (o *TestFrameworkOptions) AddFlags(cmd *cobra.Command)

func (*TestFrameworkOptions) Complete

func (o *TestFrameworkOptions) Complete() error

func (*TestFrameworkOptions) Validate

func (o *TestFrameworkOptions) Validate() error

Jump to

Keyboard shortcuts

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