actions

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

different ways to deploy operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterEachFinalCleanup

func AfterEachFinalCleanup(datas []model.TestDataProvider)

func CheckIfClusterExist

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

func CheckIfUserExist

func CheckIfUserExist(username, projecID string) 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 CompareClustersSpec

func CompareClustersSpec(requested model.ClusterSpec, created mongodbatlas.Cluster)

func CopyKustomizeNamespaceOperator

func CopyKustomizeNamespaceOperator(input model.UserInputs)

TODO make it private CopyKustomizeNamespaceOperator create copy of `/deploy/namespaced` folder with kustomization file for overriding namespace

func DeleteDBUsersApps

func DeleteDBUsersApps(data *model.TestDataProvider)

func DeleteFirstUser

func DeleteFirstUser(data *model.TestDataProvider)

func DeleteUserResources

func DeleteUserResources(data *model.TestDataProvider)

func DeployNamespacedOperatorKuber

func DeployNamespacedOperatorKuber(data *model.TestDataProvider)

func DeployUserResourcesAction

func DeployUserResourcesAction(data *model.TestDataProvider)

func HelmDefaultUpgradeResouces

func HelmDefaultUpgradeResouces(data *model.TestDataProvider)

helm update should change at least 1 field: databaseusers, project, cluster

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 ReactivateCluster

func ReactivateCluster(data *model.TestDataProvider)

func SaveK8sResources

func SaveK8sResources(resources []string, ns string)

func SaveTestAppLogs

func SaveTestAppLogs(input model.UserInputs)

func SuspendCluster

func SuspendCluster(data *model.TestDataProvider)

func UpdateCluster

func UpdateCluster(newData *model.TestDataProvider)

func UpdateClusterFromUpdateConfig

func UpdateClusterFromUpdateConfig(data *model.TestDataProvider)

func WaitCluster

func WaitCluster(input model.UserInputs, generation string)

func WaitProject

func WaitProject(input model.UserInputs, generation string)

func WaitTestApplication

func WaitTestApplication(ns, label string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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