Versions in this module Expand all Collapse all v1 v1.7.0 Nov 24, 2025 v1.6.0 Nov 11, 2025 Changes in this version + func CreateClusterRoleAndBindingForSA(ctx context.Context, name string, sa *corev1.ServiceAccount, ...) error + func CreateNamespace(ctx context.Context, name string) (*corev1.Namespace, error) + func CreateServiceAccount(ctx context.Context, name types.NamespacedName, clusterExtensionName string) (*corev1.ServiceAccount, error) + func CreateTestCatalog(ctx context.Context, name string, imageRef string) (*ocv1.ClusterCatalog, error) + func EnsureNoExtensionResources(t *testing.T, clusterExtensionName string) + func SkipIfFeatureGateDisabled(t *testing.T, fg string) + func TestCleanup(t *testing.T, cat *ocv1.ClusterCatalog, ...) + func TestInit(t *testing.T) (*ocv1.ClusterExtension, *ocv1.ClusterCatalog, *corev1.ServiceAccount, ...) + func TestInitClusterExtensionClusterCatalog(t *testing.T) (*ocv1.ClusterExtension, *ocv1.ClusterCatalog) + func TestInitServiceAccountNamespace(t *testing.T, clusterExtensionName string) (*corev1.ServiceAccount, *corev1.Namespace) + func ValidateCatalogUnpack(t *testing.T)