Documentation ¶
Index ¶
- func AddTeamResourcesWithNUsers(data *model.TestDataProvider, teams []akov2.Team, n int)
- func AfterEachFinalCleanup(datas []model.TestDataProvider)
- func CheckIfUsersExist(input model.UserInputs) func() bool
- func CheckProjectConditionsNotSet(userData *model.TestDataProvider, conditionTypes ...status.ConditionType)
- func CheckUserExistInAtlas(data *model.TestDataProvider) func() bool
- func CheckUsersAttributes(data *model.TestDataProvider)
- func CheckUsersCanUseApp(data *model.TestDataProvider)
- func CheckUsersCanUseOldApp(data *model.TestDataProvider)
- func CompareAdvancedDeploymentsSpec(requested model.DeploymentSpec, created admin.AdvancedClusterDescription)
- func CompareServerlessSpec(requested model.DeploymentSpec, created admin.ServerlessInstanceDescription)
- func CreateConnectionAtlasKey(data *model.TestDataProvider)
- func CreateNamespaceAndSecrets(userData *model.TestDataProvider)
- func CreateProjectWithCloudProviderAccess(testData *model.TestDataProvider, atlasIAMRoleName string)
- func DeleteAtlasGlobalKeyIfExist(data model.TestDataProvider)
- func DeleteDBUsersApps(data model.TestDataProvider)
- func DeleteDeploymentCRWithKeepAnnotation(testData *model.TestDataProvider)
- func DeleteFirstUser(data *model.TestDataProvider)
- func DeleteTestDataDeployments(data *model.TestDataProvider)
- func DeleteTestDataProject(data *model.TestDataProvider)
- func DeleteTestDataTeams(data *model.TestDataProvider)
- func DeleteTestDataUsers(data *model.TestDataProvider)
- func HelmDefaultUpgradeResources(data *model.TestDataProvider)
- func HelmUpgradeChartVersions(data *model.TestDataProvider)
- func HelmUpgradeDeleteFirstUser(data *model.TestDataProvider)
- func HelmUpgradeUsersRoleAddAdminUser(data *model.TestDataProvider)
- func PrepareOperatorConfigurations(userData *model.TestDataProvider) manager.Manager
- func PrepareUsersConfigurations(data *model.TestDataProvider)
- func ProjectCreationFlow(userData *model.TestDataProvider)
- func ReactivateDeployment(data *model.TestDataProvider)
- func RedeployDeployment(testData *model.TestDataProvider)
- func RemoveKeepAnnotation(testData *model.TestDataProvider)
- func SaveDeploymentsToFile(ctx context.Context, k8sClient client.Client, ns string) error
- func SaveProjectsToFile(ctx context.Context, k8sClient client.Client, ns string) error
- func SaveTeamsToFile(ctx context.Context, k8sClient client.Client, ns string) error
- func SaveTestAppLogs(input model.UserInputs)
- func SaveUsersToFile(ctx context.Context, k8sClient client.Client, ns string) error
- func SuspendDeployment(data *model.TestDataProvider)
- func UpdateSpecOfSelectedDeployment(spec akov2.AtlasDeploymentSpec, indexOfDeployment int) func(data *model.TestDataProvider)
- func WaitDeployment(data *model.TestDataProvider, generation int)
- func WaitDeploymentWithoutGenerationCheck(data *model.TestDataProvider)
- func WaitDeploymentWithoutGenerationCheckV2(data *model.TestDataProvider)
- func WaitForConditionsToBecomeTrue(userData *model.TestDataProvider, conditionTypes ...status.ConditionType)
- func WaitProjectWithoutGenerationCheck(data *model.TestDataProvider)
- func WaitTestApplication(data *model.TestDataProvider, ns, labelKey, labelValue string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTeamResourcesWithNUsers ¶
func AddTeamResourcesWithNUsers(data *model.TestDataProvider, teams []akov2.Team, n int)
func AfterEachFinalCleanup ¶
func AfterEachFinalCleanup(datas []model.TestDataProvider)
func CheckIfUsersExist ¶
func CheckIfUsersExist(input model.UserInputs) func() bool
func CheckProjectConditionsNotSet ¶
func CheckProjectConditionsNotSet(userData *model.TestDataProvider, conditionTypes ...status.ConditionType)
CheckProjectConditionsNotSet wait for Ready condition to become true and checks that input conditions are unset
func CheckUserExistInAtlas ¶
func CheckUserExistInAtlas(data *model.TestDataProvider) func() bool
func CheckUsersAttributes ¶
func CheckUsersAttributes(data *model.TestDataProvider)
func CheckUsersCanUseApp ¶
func CheckUsersCanUseApp(data *model.TestDataProvider)
func CheckUsersCanUseOldApp ¶
func CheckUsersCanUseOldApp(data *model.TestDataProvider)
func CompareAdvancedDeploymentsSpec ¶
func CompareAdvancedDeploymentsSpec(requested model.DeploymentSpec, created admin.AdvancedClusterDescription)
func CompareServerlessSpec ¶
func CompareServerlessSpec(requested model.DeploymentSpec, created admin.ServerlessInstanceDescription)
func CreateConnectionAtlasKey ¶
func CreateConnectionAtlasKey(data *model.TestDataProvider)
CreateConnectionAtlasKey create connection: global or project level
func CreateNamespaceAndSecrets ¶
func CreateNamespaceAndSecrets(userData *model.TestDataProvider)
func CreateProjectWithCloudProviderAccess ¶
func CreateProjectWithCloudProviderAccess(testData *model.TestDataProvider, atlasIAMRoleName string)
func DeleteAtlasGlobalKeyIfExist ¶
func DeleteAtlasGlobalKeyIfExist(data model.TestDataProvider)
func DeleteDBUsersApps ¶
func DeleteDBUsersApps(data model.TestDataProvider)
func DeleteDeploymentCRWithKeepAnnotation ¶
func DeleteDeploymentCRWithKeepAnnotation(testData *model.TestDataProvider)
func DeleteFirstUser ¶
func DeleteFirstUser(data *model.TestDataProvider)
func DeleteTestDataDeployments ¶
func DeleteTestDataDeployments(data *model.TestDataProvider)
func DeleteTestDataProject ¶
func DeleteTestDataProject(data *model.TestDataProvider)
func DeleteTestDataTeams ¶
func DeleteTestDataTeams(data *model.TestDataProvider)
func DeleteTestDataUsers ¶
func DeleteTestDataUsers(data *model.TestDataProvider)
func HelmDefaultUpgradeResources ¶
func HelmDefaultUpgradeResources(data *model.TestDataProvider)
HelmDefaultUpgradeResources helm update should change at least 1 field: databaseusers, project, deployment
func HelmUpgradeChartVersions ¶
func HelmUpgradeChartVersions(data *model.TestDataProvider)
HelmUpgradeChartVersions upgrade chart version of crd, operator, and
func HelmUpgradeDeleteFirstUser ¶
func HelmUpgradeDeleteFirstUser(data *model.TestDataProvider)
HelmUpgradeDeleteFirstUser helm update: delete user
func HelmUpgradeUsersRoleAddAdminUser ¶
func HelmUpgradeUsersRoleAddAdminUser(data *model.TestDataProvider)
HelmUpgradeUsersRoleAddAdminUser helm update: add user+change user role
func PrepareOperatorConfigurations ¶
func PrepareOperatorConfigurations(userData *model.TestDataProvider) manager.Manager
func PrepareUsersConfigurations ¶
func PrepareUsersConfigurations(data *model.TestDataProvider)
func ProjectCreationFlow ¶
func ProjectCreationFlow(userData *model.TestDataProvider)
func ReactivateDeployment ¶
func ReactivateDeployment(data *model.TestDataProvider)
func RedeployDeployment ¶
func RedeployDeployment(testData *model.TestDataProvider)
func RemoveKeepAnnotation ¶
func RemoveKeepAnnotation(testData *model.TestDataProvider)
func SaveDeploymentsToFile ¶
func SaveProjectsToFile ¶
func SaveTeamsToFile ¶
func SaveTestAppLogs ¶
func SaveTestAppLogs(input model.UserInputs)
func SaveUsersToFile ¶
func SuspendDeployment ¶
func SuspendDeployment(data *model.TestDataProvider)
func UpdateSpecOfSelectedDeployment ¶
func UpdateSpecOfSelectedDeployment(spec akov2.AtlasDeploymentSpec, indexOfDeployment int) func(data *model.TestDataProvider)
func WaitDeployment ¶
func WaitDeployment(data *model.TestDataProvider, generation int)
func WaitDeploymentWithoutGenerationCheck ¶
func WaitDeploymentWithoutGenerationCheck(data *model.TestDataProvider)
WaitDeploymentWithoutGenerationCheck waits for deployment nolint: dupl
func WaitDeploymentWithoutGenerationCheckV2 ¶
func WaitDeploymentWithoutGenerationCheckV2(data *model.TestDataProvider)
WaitDeploymentWithoutGenerationCheckV2 waits for deployment nolint: dupl
func WaitForConditionsToBecomeTrue ¶
func WaitForConditionsToBecomeTrue(userData *model.TestDataProvider, conditionTypes ...status.ConditionType)
func WaitProjectWithoutGenerationCheck ¶
func WaitProjectWithoutGenerationCheck(data *model.TestDataProvider)
func WaitTestApplication ¶
func WaitTestApplication(data *model.TestDataProvider, ns, labelKey, labelValue string)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.