Documentation
¶
Index ¶
- func DeploySockShopApp(kubeconfigPath string, sourceDir string) error
- func DeploySockShopProject(kubeconfigPath string, sourceDir string) error
- func SockShopNamespaceExists(kubeconfigPath string, namespace string) bool
- func VerifyAppDeleted(kubeconfigPath string, namespace string) (bool, error)
- func VerifyMCResources(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) bool
- func VerifyMCResourcesDeleted(kubeconfigPath string, namespace string, projectName string) bool
- func VerifySockShopDeleteOnAdminCluster(kubeconfigPath string, placedInCluster bool, namespace string, ...) bool
- func VerifySockShopDeleteOnManagedCluster(kubeconfigPath string, namespace string, projectName string) bool
- func VerifySockShopInCluster(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploySockShopApp ¶
DeploySockShopApp deploys the sock-shop example application to the cluster with the given kubeConfigPath
func DeploySockShopProject ¶
DeploySockShopProject deploys the sock-shop example's VerrazzanoProject to the cluster with the given kubeConfigPath
func SockShopNamespaceExists ¶
SockShopNamespaceExists SockShopExists - returns true if the sock-shop 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 VerifySockShopDeleteOnAdminCluster ¶
func VerifySockShopDeleteOnAdminCluster(kubeconfigPath string, placedInCluster bool, namespace string, projectName string) bool
VerifySockShopDeleteOnAdminCluster verifies that the sock shop app resources have been deleted from the admin cluster after the application has been deleted
func VerifySockShopDeleteOnManagedCluster ¶
func VerifySockShopDeleteOnManagedCluster(kubeconfigPath string, namespace string, projectName string) bool
VerifySockShopDeleteOnManagedCluster verifies that the sock shop app resources have been deleted from the managed cluster after the application has been deleted
func VerifySockShopInCluster ¶
func VerifySockShopInCluster(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, projectName string, namespace string) (bool, error)
VerifySockShopInCluster verifies that the sock-shop app resources are either present or absent depending on whether the app is placed in this cluster
Types ¶
This section is empty.