Documentation ¶
Overview ¶
different ways to deploy operator
Index ¶
- func AfterEachFinalCleanup(datas []model.TestDataProvider)
- func CheckIfClusterExist(input model.UserInputs) func() bool
- func CheckIfUserExist(username, projecID string) func() bool
- func CheckIfUsersExist(input model.UserInputs) func() bool
- func CheckUsersAttributes(input model.UserInputs)
- func CheckUsersCanUseApp(data *model.TestDataProvider)
- func CheckUsersCanUseOldApp(data *model.TestDataProvider)
- func CompareClustersSpec(requested model.ClusterSpec, created mongodbatlas.Cluster)
- func CopyKustomizeNamespaceOperator(input model.UserInputs)
- func DeleteDBUsersApps(data *model.TestDataProvider)
- func DeleteFirstUser(data *model.TestDataProvider)
- func DeleteUserResources(data *model.TestDataProvider)
- func DeployNamespacedOperatorKuber(data *model.TestDataProvider)
- func DeployUserResourcesAction(data *model.TestDataProvider)
- func HelmDefaultUpgradeResouces(data *model.TestDataProvider)
- func HelmUpgradeChartVersions(data *model.TestDataProvider)
- func HelmUpgradeDeleteFirstUser(data *model.TestDataProvider)
- func HelmUpgradeUsersRoleAddAdminUser(data *model.TestDataProvider)
- func PrepareUsersConfigurations(data *model.TestDataProvider)
- func ReactivateCluster(data *model.TestDataProvider)
- func SaveK8sResources(resources []string, ns string)
- func SaveTestAppLogs(input model.UserInputs)
- func SuspendCluster(data *model.TestDataProvider)
- func UpdateCluster(newData *model.TestDataProvider)
- func UpdateClusterFromUpdateConfig(data *model.TestDataProvider)
- func WaitCluster(input model.UserInputs, generation string)
- func WaitProject(input model.UserInputs, generation string)
- func WaitTestApplication(ns, label string)
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 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 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.
Click to show internal directories.
Click to hide internal directories.