todo_list

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployTodoListApp

func DeployTodoListApp(kubeconfigPath string, sourceDir string) error

DeployTodoListApp deploys the todo-list example application to the cluster with the given kubeConfigPath

func DeployTodoListProject

func DeployTodoListProject(kubeconfigPath string, sourceDir string) error

DeployTodoListProject deploys the todo-list example's VerrazzanoProject to the cluster with the given kubeConfigPath

func TodoListNamespaceExists

func TodoListNamespaceExists(kubeconfigPath string, namespace string) bool

TodoListNamespaceExists returns true if the todo-list namespace exists in the given cluster

func VerifyAppDeleted

func VerifyAppDeleted(kubeconfigPath string, namespace string) bool

VerifyAppDeleted verifies that the workload and pods are deleted on the specified cluster

func VerifyMCResources

func VerifyMCResources(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, namespace string) bool

VerifyMCResources verifies that the MC resources are present or absent depending on whether this is an admin cluster and whether the resources are placed in the given cluster

func VerifyMCResourcesDeleted

func VerifyMCResourcesDeleted(kubeconfigPath string, namespace string, projectName string) bool

VerifyMCResourcesDeleted verifies that any resources created by the deployment are deleted on the specified cluster

func VerifyTodoListDeleteOnAdminCluster

func VerifyTodoListDeleteOnAdminCluster(kubeconfigPath string, placedInCluster bool, namespace string, projectName string) bool

VerifyTodoListDeleteOnAdminCluster verifies that the todo-list app resources have been deleted from the admin cluster after the application has been deleted

func VerifyTodoListDeleteOnManagedCluster

func VerifyTodoListDeleteOnManagedCluster(kubeconfigPath string, namespace string, projectName string) bool

VerifyTodoListDeleteOnManagedCluster verifies that the todo-list app resources have been deleted from the managed cluster after the application has been deleted

func VerifyTodoListInCluster

func VerifyTodoListInCluster(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, projectName string, namespace string) (bool, error)

VerifyTodoListInCluster verifies that the todo-list app resources are either present or absent depending on whether the app is placed in this cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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