sonobuoy

package
v0.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package sonobuoy provides functions to to run Kubernetes e2e tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertifiedConformance added in v0.10.0

func CertifiedConformance(ctx context.Context, cluster cluster.K8sProvider) error

CertifiedConformance runs conformance suite in certified mode collecting all the results.

func FastConformance added in v0.10.0

func FastConformance(ctx context.Context, cluster cluster.K8sProvider) error

FastConformance runs conformance suite in two passes: parallel + serial for non parallel-safe tests.

func Run

func Run(ctx context.Context, cluster cluster.K8sProvider, options *Options) error

Run the e2e test against cluster with provided options.

Types

type Options

type Options struct {
	RunTests []string
	Parallel bool

	RunTimeout    time.Duration
	DeleteTimeout time.Duration

	KubernetesVersion string

	UseSpinner      bool
	RetrieveResults bool

	ResultsPath string
}

Options for the tests.

func DefaultOptions

func DefaultOptions() *Options

DefaultOptions with hand-picked tests, timeouts, etc.

Jump to

Keyboard shortcuts

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