actions

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTeamResourcesWithNUsers added in v1.5.0

func AddTeamResourcesWithNUsers(data *model.TestDataProvider, teams []v1.Team, n int)

func AfterEachFinalCleanup

func AfterEachFinalCleanup(datas []model.TestDataProvider)

func CheckIfUsersExist

func CheckIfUsersExist(input model.UserInputs) func() bool

func CheckProjectConditionsNotSet added in v1.6.0

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 added in v1.4.0

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 added in v1.0.0

func CompareAdvancedDeploymentsSpec(requested model.DeploymentSpec, created mongodbatlas.AdvancedCluster)

func CompareDeploymentsSpec added in v1.1.0

func CompareDeploymentsSpec(requested model.DeploymentSpec, created mongodbatlas.Cluster)

func CompareServerlessSpec added in v1.0.0

func CompareServerlessSpec(requested model.DeploymentSpec, created mongodbatlas.Cluster)

func CreateConnectionAtlasKey added in v0.7.0

func CreateConnectionAtlasKey(data *model.TestDataProvider)

CreateConnectionAtlasKey create connection: global or project level

func CreateNamespaceAndSecrets added in v1.7.0

func CreateNamespaceAndSecrets(userData *model.TestDataProvider)

func CreateProjectWithCloudProviderAccess added in v1.7.2

func CreateProjectWithCloudProviderAccess(testData *model.TestDataProvider, atlasIAMRoleName string)

func DeleteAtlasGlobalKeyIfExist added in v1.6.0

func DeleteAtlasGlobalKeyIfExist(data model.TestDataProvider)

func DeleteDBUsersApps

func DeleteDBUsersApps(data model.TestDataProvider)

func DeleteDeploymentCRWithKeepAnnotation added in v1.3.0

func DeleteDeploymentCRWithKeepAnnotation(testData *model.TestDataProvider)

func DeleteFirstUser

func DeleteFirstUser(data *model.TestDataProvider)

func DeleteTestDataDeployments added in v1.4.0

func DeleteTestDataDeployments(data *model.TestDataProvider)

func DeleteTestDataProject added in v1.4.0

func DeleteTestDataProject(data *model.TestDataProvider)

func DeleteTestDataTeams added in v1.6.0

func DeleteTestDataTeams(data *model.TestDataProvider)

func DeleteTestDataUsers added in v1.7.0

func DeleteTestDataUsers(data *model.TestDataProvider)

func HelmDefaultUpgradeResources added in v1.3.0

func HelmDefaultUpgradeResources(data *model.TestDataProvider)

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)

helm update: delete user

func HelmUpgradeUsersRoleAddAdminUser

func HelmUpgradeUsersRoleAddAdminUser(data *model.TestDataProvider)

helm update: add user+change user role

func PrepareOperatorConfigurations added in v1.6.0

func PrepareOperatorConfigurations(userData *model.TestDataProvider) manager.Manager

func PrepareUsersConfigurations

func PrepareUsersConfigurations(data *model.TestDataProvider)

func ProjectCreationFlow added in v1.4.0

func ProjectCreationFlow(userData *model.TestDataProvider)

func ReactivateDeployment added in v1.1.0

func ReactivateDeployment(data *model.TestDataProvider)

func RedeployDeployment added in v1.4.0

func RedeployDeployment(testData *model.TestDataProvider)

func RemoveKeepAnnotation added in v1.3.0

func RemoveKeepAnnotation(testData *model.TestDataProvider)

func SaveDeploymentsToFile added in v1.6.0

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

func SaveProjectsToFile added in v1.4.0

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

func SaveTeamsToFile added in v1.6.0

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

func SaveTestAppLogs

func SaveTestAppLogs(input model.UserInputs)

func SaveUsersToFile added in v1.6.0

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

func SuspendDeployment added in v1.1.0

func SuspendDeployment(data *model.TestDataProvider)

func UpdateSpecOfSelectedDeployment added in v1.4.0

func UpdateSpecOfSelectedDeployment(spec v1.AtlasDeploymentSpec, indexOfDeployment int) func(data *model.TestDataProvider)

func WaitDeployment added in v1.1.0

func WaitDeployment(data *model.TestDataProvider, generation int)

func WaitDeploymentWithoutGenerationCheck added in v1.3.0

func WaitDeploymentWithoutGenerationCheck(data *model.TestDataProvider)

nolint: dupl

func WaitDeploymentWithoutGenerationCheckV2 added in v1.4.0

func WaitDeploymentWithoutGenerationCheckV2(data *model.TestDataProvider)

nolint: dupl

func WaitForConditionsToBecomeTrue added in v1.4.0

func WaitForConditionsToBecomeTrue(userData *model.TestDataProvider, conditionTypes ...status.ConditionType)

func WaitProjectWithoutGenerationCheck added in v1.2.0

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