Documentation
¶
Index ¶
- func DeployTodoListApp(kubeconfigPath string, sourceDir string) error
- func DeployTodoListProject(kubeconfigPath string, sourceDir string) error
- func TodoListNamespaceExists(kubeconfigPath string, namespace string) bool
- func VerifyAppDeleted(kubeconfigPath string, namespace string) bool
- func VerifyMCResources(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) bool
- func VerifyMCResourcesDeleted(kubeconfigPath string, namespace string, projectName string) bool
- func VerifyTodoListDeleteOnAdminCluster(kubeconfigPath string, placedInCluster bool, namespace string, ...) bool
- func VerifyTodoListDeleteOnManagedCluster(kubeconfigPath string, namespace string, projectName string) bool
- func VerifyTodoListInCluster(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployTodoListApp ¶
DeployTodoListApp deploys the todo-list example application to the cluster with the given kubeConfigPath
func DeployTodoListProject ¶
DeployTodoListProject deploys the todo-list example's VerrazzanoProject to the cluster with the given kubeConfigPath
func TodoListNamespaceExists ¶
TodoListNamespaceExists returns true if the todo-list namespace exists in the given cluster
func VerifyAppDeleted ¶
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 ¶
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.