Documentation ¶
Index ¶
- Constants
- func ChangePlacementToAdminCluster(kubeconfigPath string) error
- func ChangePlacementToManagedCluster(kubeconfigPath string) error
- func DeployHelloHelidonApp(kubeConfigPath string, sourceDir string) error
- func DeployHelloHelidonProject(kubeconfigPath string, sourceDir string) error
- func HelidonNamespaceExists(kubeconfigPath string, namespace string) bool
- func VerifyAppDeleted(kubeconfigPath string, namespace string) bool
- func VerifyHelloHelidonDeletedAdminCluster(kubeconfigPath string, placedInCluster bool, namespace string, ...) bool
- func VerifyHelloHelidonDeletedInManagedCluster(kubeconfigPath string, namespace string, projectName string) bool
- func VerifyHelloHelidonInCluster(kubeConfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) bool
- func VerifyMCResources(kubeconfigPath string, isAdminCluster bool, placedInThisCluster bool, ...) bool
Constants ¶
const (
TestNamespace = "hello-helidon" // currently only used for placement tests
)
Variables ¶
This section is empty.
Functions ¶
func ChangePlacementToAdminCluster ¶ added in v0.15.0
ChangePlacementToAdminCluster patches the hello-helidon example to be placed in the admin cluster and uses the given kubeConfigPath as the cluster in which to do the patch
func ChangePlacementToManagedCluster ¶ added in v0.15.0
ChangePlacementToManagedCluster patches the hello-helidon example to be placed in the managed cluster and uses the given kubeConfigPath as the cluster in which to do the patch
func DeployHelloHelidonApp ¶
DeployHelloHelidonApp deploys the hello-helidon example application to the cluster with the given kubeConfigPath
func DeployHelloHelidonProject ¶
DeployHelloHelidonApp deploys the hello-helidon example's VerrazzanoProject to the cluster with the given kubeConfigPath
func HelidonNamespaceExists ¶
HelidonNamespaceExists - returns true if the hello-helidon namespace exists in the given cluster
func VerifyAppDeleted ¶
VerifyAppDeleted - verifies that the workload and pods are deleted on the the specified cluster
func VerifyHelloHelidonInCluster ¶
func VerifyHelloHelidonInCluster(kubeConfigPath string, isAdminCluster bool, placedInThisCluster bool, projectName string, namespace string) bool
VerifyHelloHelidonInCluster verifies that the hello helidon app resources are either present or absent depending on whether the app is placed in this 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
Types ¶
This section is empty.