microservices

package
v1.0.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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

View Source
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, serviceName string) 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

func DeployApp(t ginkgo.GinkgoTInterface, configPath, kubeResourcePath, namespace string) error

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.

Jump to

Keyboard shortcuts

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