actions

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterEachFinalCleanup

func AfterEachFinalCleanup(datas []model.TestDataProvider)

func CheckIfDeploymentExist added in v1.1.0

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

func CheckIfUsersExist

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

func CheckUsersAttributes

func CheckUsersAttributes(input model.UserInputs)

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 DeleteFirstUser

func DeleteFirstUser(data *model.TestDataProvider)

func DeleteGlobalKeyIfExist added in v1.1.0

func DeleteGlobalKeyIfExist(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, generation string)

func DeployProject added in v0.7.0

func DeployProject(data *model.TestDataProvider, generation string)

func DeployProjectAndWait added in v0.7.0

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

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 HelmDefaultUpgradeResouces

func HelmDefaultUpgradeResouces(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 ReactivateDeployment added in v1.1.0

func ReactivateDeployment(data *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 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 SaveTestAppLogs

func SaveTestAppLogs(input model.UserInputs)

func SuspendDeployment added in v1.1.0

func SuspendDeployment(data *model.TestDataProvider)

func UpdateDeployment added in v1.1.0

func UpdateDeployment(newData *model.TestDataProvider)

func UpdateDeploymentFromUpdateConfig added in v1.1.0

func UpdateDeploymentFromUpdateConfig(data *model.TestDataProvider)

func UpdateProjectID added in v0.7.0

func UpdateProjectID(data *model.TestDataProvider)

func WaitDeployment added in v1.1.0

func WaitDeployment(input model.UserInputs, generation string)

func WaitProject

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

func WaitProjectWithoutGenerationCheck added in v1.2.0

func WaitProjectWithoutGenerationCheck(data *model.TestDataProvider)

func WaitTestApplication

func WaitTestApplication(ns, label 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