test

package
v2.21.9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainsExactly

func AssertContainsExactly[T comparable](t *testing.T, prefixMsg string, actual []T, expected []T)

AssertContainsExactly failed the test if the actual slice does not contain exactly the element of the expected slice.

Types

type ReleaseStorageInfo

type ReleaseStorageInfo struct {
	// Name of the secret containing release information.
	Name string

	// Version of the release.
	Version string
}

ReleaseStorageInfo holds information about the secret storing the Helm release information.

func MapToReleaseStorageInfo

func MapToReleaseStorageInfo(secrets []corev1.Secret) []ReleaseStorageInfo

MapToReleaseStorageInfo maps the secrets containing the Helm release information to a smaller struct only containing the Name of the secret and the release version.

Jump to

Keyboard shortcuts

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