tester

package
Version: v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package tester defines EKS tester interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addon added in v1.5.0

type Addon interface {
	// Apply idempotently creates test objects
	Apply() error
	// Delete idempotently deletes test objects
	Delete() error
	// IsEnabled automatically skips the addon if false
	IsEnabled() bool
}

Addon is a new interface similar to tester. Instead of Name() reflection is used for object names IsEnabled() allows for generic addon skipping.

type Tester

type Tester interface {
	// Name returns the name of the tester.
	Name() string
	// Create creates test objects, and waits for completion.
	Create() error
	// Delete deletes all test objects.
	Delete() error
}

Tester defines tester.

Source Files

Jump to

Keyboard shortcuts

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