Documentation ¶
Index ¶
- func ArePodsWithLabelDeletedEventually(ctx context.Context, namespace string, coreClient *corev1client.CoreV1Client, ...) bool
- func ArePodsWithLabelRunningEventually(ctx context.Context, namespace string, coreClient *corev1client.CoreV1Client, ...) bool
- func DeleteCRDs(ctx context.Context, t *testing.T, cfg *rest.Config, crdNames []string) error
- func NewHelmDefaultConfig(t *testing.T, releaseName, releaseNamespace, kubeconfigPath string) *action.Configuration
- func Sed(t *testing.T, old, new, filePath string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArePodsWithLabelDeletedEventually ¶
func ArePodsWithLabelDeletedEventually( ctx context.Context, namespace string, coreClient *corev1client.CoreV1Client, labelSelector string, retryCount int, interval time.Duration) bool
ArePodsWithLabelDeletedEventually assert Pod deletion
func ArePodsWithLabelRunningEventually ¶
func ArePodsWithLabelRunningEventually( ctx context.Context, namespace string, coreClient *corev1client.CoreV1Client, labelSelector string, retryCount int, interval time.Duration) bool
ArePodsWithLabelRunningEventually asserts Pod successfully reaching Running state
func DeleteCRDs ¶
DeleteCRDs is there to delete CRDs especially when helm wouldn't after a 'helm uninstall'. Ref: https://helm.sh/docs/topics/charts/#limitations-on-crds
func NewHelmDefaultConfig ¶
func NewHelmDefaultConfig(t *testing.T, releaseName, releaseNamespace, kubeconfigPath string) *action.Configuration
NewHelmDefaultConfig generates a default action Configuration (for use with helm commands)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.