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.
Click to show internal directories.
Click to hide internal directories.