actions

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 27 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 CheckConditionsNotSet added in v1.4.0

func CheckConditionsNotSet(userData *model.TestDataProvider, conditonTypes ...status.ConditionType)

CheckConditionsNotSet wait for Ready condition to become true and checks that input conditions are unset

func CheckIfDeploymentExist added in v1.1.0

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

func CheckIfUsersExist

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

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

func DeleteGlobalKeyIfExist(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 DeleteUserResources

func DeleteUserResources(data *model.TestDataProvider)

func DeleteUserResourcesDeployment added in v1.1.0

func DeleteUserResourcesDeployment(data *model.TestDataProvider)

func DeleteUserResourcesProject added in v0.7.0

func DeleteUserResourcesProject(data *model.TestDataProvider)

func DeployDeployment added in v1.1.0

func DeployDeployment(data *model.TestDataProvider)

func DeployProjectAndWait added in v0.7.0

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

func DeployUserResourcesAction

func DeployUserResourcesAction(data *model.TestDataProvider)

DeployUserResourcesAction deploy all user resources, wait, and check results

func DeployUsers added in v0.7.0

func DeployUsers(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 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 SaveDefaultOperatorLogs added in v0.8.0

func SaveDefaultOperatorLogs(input model.UserInputs)

SaveDefaultOperatorLogs save logs from default namespace

func SaveDeploymentDump added in v1.1.0

func SaveDeploymentDump(input model.UserInputs)

func SaveDeploymentToFile added in v1.5.0

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

func SaveK8sResources

func SaveK8sResources(resources []string, ns string)

func SaveK8sResourcesTo added in v1.0.0

func SaveK8sResourcesTo(resources []string, ns string, destination string)

func SaveOperatorLogs added in v0.8.0

func SaveOperatorLogs(input model.UserInputs)

SaveOperatorLogs save logs from user input namespace

func SaveProjectsToFile added in v1.4.0

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

func SaveTestAppLogs

func SaveTestAppLogs(input model.UserInputs)

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, conditonTypes ...status.ConditionType)

func WaitProject

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

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