Documentation ¶
Overview ¶
Package microservices implements an E2E test based on the Google Online Boutique (https://github.com/GoogleCloudPlatform/microservices-demo) to assess the E2E functionality of Liqo
Index ¶
- Constants
- func CheckApplicationIsWorking(t ginkgo.GinkgoTInterface, options *k8s.KubectlOptions) error
- func CheckPodsNodeAffinity(ctx context.Context, homeClient kubernetes.Interface, namespace string) bool
- func DeployApp(t ginkgo.GinkgoTInterface, configPath, kubeResourcePath, namespace string) error
- func WaitDemoApp(t ginkgo.GinkgoTInterface, options *k8s.KubectlOptions)
Constants ¶
const (
// TestNamespaceName is the namespace name where the test is performed.
TestNamespaceName = "test-app"
)
Variables ¶
This section is empty.
Functions ¶
func CheckApplicationIsWorking ¶
func CheckApplicationIsWorking(t ginkgo.GinkgoTInterface, options *k8s.KubectlOptions) error
CheckApplicationIsWorking performs HTTP requests to the micro-service application to assess its functionality and availability.
func CheckPodsNodeAffinity ¶
func CheckPodsNodeAffinity(ctx context.Context, homeClient kubernetes.Interface, namespace string) bool
CheckPodsNodeAffinity checks if the pods deployed in the namespace are correctly mutated by the webhook.
func DeployApp ¶
DeployApp creates the namespace and deploy the applications. It returns an error in case of failures.
func WaitDemoApp ¶
func WaitDemoApp(t ginkgo.GinkgoTInterface, options *k8s.KubectlOptions)
WaitDemoApp waits until each service of the application has ready endpoints. It fails if this does not happen within the timeout (retries*sleepBetweenRetries).
Types ¶
This section is empty.