package
2.27.2
Repository: https://github.com/kubermatic/kubermatic.git
Documentation: pkg.go.dev

# Functions

AssertContainsExactly failed the test if the actual slice does not contain exactly the element of the expected slice.
CheckConfigMap asserts that configMap deployed by helm chart has been created/ updated with the desired data and labels.
CopyDir copies source dir to destination dir.
CreateNamespaceWithCleanup creates a namespace with a generated name test-<something> and registers a hook on T.Cleanup that removes it at the end of the test.
EnsureClusterWithCleanup creates a cluster resource with a static name "default" and needed status fields for fetching it based on the namespacedname and registers a hook on T.Cleanup that removes it at the end of the test.
MapToReleaseStorageInfo maps the secrets containing the Helm release information to a smaller struct only containing the Name of the secret and the release version.
PackageChart packages the chart in chartDir into a chart archive file (i.e.
StartHttpRegistryWithAuthAndCleanup starts a Helm http registry with basic auth enabled and uploads charts archives matching glob and returns the registry URL.
StartHttpRegistryWithCleanup starts a Helm http registry and uploads charts archives matching glob and returns the registry URL.
StartHttpsRegistryWithAuthAndCleanup is the same as StartHttpRegistryWithAuthAndCleanup, but starts a TLS server instead.
StartHttpsRegistryWithCleanup is the same as StartHttpRegistryWithCleanup, but starts a TLS server instead.
StartOciRegistry start an oci registry and uploads charts archives matching glob and returns the registry URL.
StartOciRegistryWithAuth start an oci registry with authentication, uploads charts archives matching glob, returns the registry URL and registryConfigFile.
StartSecureOciRegistry start an oci registry and uploads charts archives matching glob and returns the registry URL and the generated PKI.
StartOciRegistryWithAuth start an oci registry with authentication, uploads charts archives matching glob, returns the registry URL and registryConfigFile.
StartTestEnvWithCleanup bootstraps the testing environment and return the to the kubeconfig.

# Constants

CmDataKey is the key in the values.yaml of examplechart / examplechart-v2 that holds custom configmap data.
ConfigmapName is the Name of the config map deployed by the examplechart and examplechart-v2.
ConfigmapName2 is the Name of the config map deployed by the examplechart and examplechart2.
DefaultVersionLabel is the default value of the version label the configmap deployed by pkg/applications/helmclient/testdata/examplechart chart.
DefaultVersionLabelV2 is the default value of the version label the configmap deployed by pkg/applications/helmclient/testdata/examplechart-v2 chart.
DeploySvcKey is the key values.yaml of examplechart-v2 to enable / disabled the deployment of the service.
EnableDNSLabelKey is the label key on cmData examplechart that allow test the enableDns deployOption.
SvcName is the name of the service deployed by chart chart-with-lb.
VersionLabelKey is the key in the values.yaml of examplechart / examplechart-v2 that holds custom version label value.

# Variables

DefaultData contains the default data of the configmap deployed by pkg/applications/helmclient/testdata/examplechart chart.
DefaultDataV2 contains the default data of the configmap deployed by pkg/applications/helmclient/testdata/examplechart-v2 chart.

# Structs

No description provided by the author
ReleaseStorageInfo holds information about the secret storing the Helm release information.