actions

package
v2.2.2-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

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 SaveDeploymentsToFile(ctx context.Context, k8sClient client.Client, ns string) error

func SaveProjectsToFile

func SaveProjectsToFile(ctx context.Context, k8sClient client.Client, ns string) error

func SaveTeamsToFile

func SaveTeamsToFile(ctx context.Context, k8sClient client.Client, ns string) error

func SaveTestAppLogs

func SaveTestAppLogs(input model.UserInputs)

func SaveUsersToFile

func SaveUsersToFile(ctx context.Context, k8sClient client.Client, ns string) error

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.

Directories

Path Synopsis
different ways to deploy operator
different ways to deploy operator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL