sonobuoy

package
v1.7.1 Latest Latest
Warning

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

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

Documentation

Overview

Package sonobuoy provides functions to run Kubernetes e2e tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertifiedConformance

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

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

func FastConformance

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