sock_shop

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploySockShopApp

func DeploySockShopApp(kubeconfigPath string, sourceDir string) error

DeploySockShopApp deploys the sock-shop example application to the cluster with the given kubeConfigPath

func DeploySockShopProject

func DeploySockShopProject(kubeconfigPath string, sourceDir string) error

DeploySockShopProject deploys the sock-shop example's VerrazzanoProject to the cluster with the given kubeConfigPath

func SockShopNamespaceExists

func SockShopNamespaceExists(kubeconfigPath string, namespace string) bool

SockShopNamespaceExists SockShopExists - returns true if the sock-shop namespace exists in the given cluster

func VerifyAppDeleted

func VerifyAppDeleted(kubeconfigPath string, namespace string) (bool, error)

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 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.

Jump to

Keyboard shortcuts

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