test

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HTTPPort is 80.
	HTTPPort = 80

	// AlternativeHTTPPort is 8080.
	AlternativeHTTPPort = 8080
)

Variables

View Source
var (
	ErrNotEqual    = errors.New("not equal")
	ErrDontContain = errors.New("don't contain")
)

Functions

func EnsureResolveAddress

func EnsureResolveAddress(
	tb testing.TB,
	tc ResolveAddressTestCase,
	clientsFn func() (k8s.Clients, func(tb testing.TB)),
)

EnsureResolveAddress thelper lint skipped for greater visibility of failure location.

func ResolveAddressTestCases

func ResolveAddressTestCases(namespace string, casefn func(tc ResolveAddressTestCase))

Types

type ResolveAddressTestCase

type ResolveAddressTestCase struct {
	Name string

	Objects []runtime.Object
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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